Hi,
It's all in x++ customization. user imports a list of orders.
I have created purchase order which in turn creates intercompany sales order
then i m posting sales order invoice and finally i am trying to post the purchase order which throws me below error
Customer tax invoice in company XYZ= 0.00, purchase is updated with 13,080.35.
This error is located in Class PurchInvoiceJournalCreate. I am not sure why CustINvoiceJourLocal.InvoiceAmount is 0. When i posted sales order , it must have the amount picked up from the corresponding purchase order and used the same in the sales invoice created in CustInvoiceJournal table.
Any help would be appreciated.
*This post is locked for comments