It looks like you're new here. If you want to get involved, click one of these buttons!
I'm attempting to create the code unit that ara3n suggested but am not sure where/how some of this code can be put into the code unit (designer mode). Example: How or where do you enter the "TempGLEntry@1000000000 : TEMPORARY Record 17;" ??? I don't see a way to enter this in the designer.
I've seen other postings with code displayed in the way that ara3n has put it in his posting. How do you get a code unit to display all of the properties and code the way that has been posted here? Can this code be imported some how, as is?
Yes I did. I still had the error. I then tried posting the invoice without selecting the shipment and invoice problem and that posted and it also adjusted the outstanding amount to match the amount including tax on the sales line.
Yes at the end you simply Error('').
Anything you have inserted into your TempGLEntry in your single instance codeunit stays in there.
That is how in my example I'm showing the glentry after a consistency error, which is just like any other error.