The sign of the invoice quantity and the sign of the purchase order quantity must be the same.

Dear All,

I am facing this error message (“The sign of the invoice quantity and the sign of the purchase order quantity must be the same.”) when I post the invoice through code.
I don’t understand why the error appear. Can someone tell what can be the solution?

Hi Misha,

The error is occurring because there is probably change is quantity sign in Po Lines to that of PO invoice lines.

Check the quantity field in Po and same on PO Invoice form, the quantity sign should be same, that is either it should be positive or negative.

Pranav…