So, I am trying to add an Invoice with a little app that a made, but when i try to specify the "UoMEntry" i get the following Error :
"Attempted to read or write protected memory. This is often an indication that other memory has been corrupted".
I managed to break it to the following Exception :
"NullReferenceException" - "Object reference not set to an instance of an object."
please help me out here i need to finish this quickly.