Hi,
I have Intercompany transaction that made me can post Sales invoice and then Generate the invoice to other entity as PO invoice.
(Setup: Vendor/Customer master > Tab General > Set up > Intercompany)
I have an issue with this particular invoice which I generated using same function, but throw error:
"The sign of the amount and quantity on the accounting distributions must match the sign on the source document line."
This the error log:

Because it failed to post in other entities, this invoice go to Pending invoice and when I tried to check the transaction, I found for this particular Accounting distribution has price variance.
This is the accounting distribution with price variance:

Fyi, I'm not using three-way matching, there's no matching policy. And this invoice was created from multiple POs.
Has anyone run into the same issue before and have solution for this?
Thanks!