The table 'Purchase Header' has a field named 'Receive' and a field named 'Invoice'. These are both booleans. When an order is received nor invoiced both are obviously 0. When an order is received but not invoiced 'Receive' is set to 1 and 'Invoice' is set to 1. When an order is both received and invoiced both are 1.
I now found a few records in my database where 'Receive' is equal to 0 and 'Invoice' is equal to 1, which should not be possible (I think). When I look at the underlying order lines there is no outstanding quantity or anything else out of the ordinary.
This is only the case for 11 rows out of more than 18.000. I have no idea why this happens. Does anybody have an idea?
0
Answers
When you hit the post process, you can select Receive, Invoice, Receive and Invoice. Depending on your selection it then sets those fields, and those values are used in the posting process.
Debug the posting process, you'll see what happens.
RIS Plus, LLC