Hello, want to book an invoice from a intercompany order. But during the booking process the check in the
PurchInvoiceJournalCreate class ends up with an message "invoice in Company xxx with parmid = can not be found".
So the check can't find any custInvoiceJour. But how can I solve that problem ?
*This post is locked for comments
Verified and working fine
Copy Invoice number from Sales order and provide this as the Invoice number on Purchase Order invoice posting. This solved the error for me.
Hi Hope you all doing well.
I know this discussion showing old. Hope you all got solution regarding this error as almost 1.5 year elapsed. However, when I realize to test this scenario I got same error as mention by "HCantarutti" but got no proper solution so I try my hard and counter my errors and solved. Yes Qamar khan is so close to solution.
The error mention above representing product receipt and invoice number of PO should be matched with packing list and invoice number of SO.
There is also some parameter which could be set according to requirement that will be shown on vendor and customer master foam General tab>click intercompany on setup button group and set parameters sale order policy and purchase order policy.
Did you find any solution ?
were you able to solve all this
Functionally you can post the inter-company PO invoice from the Sales Order invoice. For this you have to click on the Sales order invoice journal and look for "Intercompany" button, from there select intercompany invoice posting. If no bug involved then the reason may be of using the different invoice number than the one generated for sales order in the selling company.
Hi,
I bummed to this error my self and after trace, Ax will check sales order in company 2 but in sales line it should have Project Id. you can find it in class PurchInvoiceJournalCreate.
changecompany(purchTableLocal.InterCompanyCompanyId)
{
select count(RecId)
from salesTableLocal
where salesTableLocal.SalesId == purchTableLocal.InterCompanySalesId
&& salesTableLocal.ProjId != "";
My question is why?
For my case, yes the PO in company 1 is Project, but in company 2, why it need to have the same information ? and if yes, why it doesn't copied?
Thanks,
Hi,
I would suggest to use the debugger to find out why the customer invoice is not created. Probably caused by closed periods or something similar in the other company.
You need to have technical skills to do this debugging.
Hello,
in the purchase order I can follow the link to the original order or the intercompany sales order.
The intercompany sales order itself has a reference to the purchase order too.
The companies are also correct.
The purchase order header in company 1 and the sales order header in company 2 should have reference fields linking to each other. Can you check if these fields are correct and referencing to the correct companies and orders?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,902 Super User 2024 Season 2
Martin Dráb 229,316 Most Valuable Professional
nmaenpaa 101,156