I'm configurating and testing intercompany transaction.
When I post a transaction (order to a vendor in the same database), I receive an error message: "IC Partner MN not exist as a Customer in current company".
MN is the company that is sending the order.
At the first time I didn’t configure the MN as customer in his company.
Then I configure MN as a costumer, and the same error appear.
If I change the IC Partner Code in the Company Information, the error message appears with this new code.
Could you please help me?
0
Comments
Isn’t supposed to be vendor having a IC Partner Code instead of a customer?
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
I don't know why it check the customer.
Can you run debugger and inform in witch codeunit/table appears that message.
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
Can you copy a few line where is the error message is from codeunit.
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
GetCompanyInfo;
IF ICOutboxPurchHdr."IC Partner Code" = CompanyInfo."IC Partner Code" THEN
ICPartner.GET(ICInboxTrans."IC Partner Code")
ELSE BEGIN
ICPartner.GET(ICOutboxPurchHdr."IC Partner Code");
ICPartner.TESTFIELD("Inbox Type",ICPartner."Inbox Type"::Database);
ICPartner.TESTFIELD("Inbox Details");
ICPartner.CHANGECOMPANY(ICPartner."Inbox Details");
ICPartner.GET(ICInboxTrans."IC Partner Code");
END;
IF ICPartner."Customer No." = '' THEN
ERROR(Text001,ICPartner.TABLECAPTION,ICPartner.Code,Customer.TABLECAPTION);
I don’t know why but the IC Partner Code for de MN code doesn’t have the customer number.
Because this field is hide, I did run to the table and insert the code.
Now I can do the IC transaction.
Thanks any way.
When you create a Vendor has a IC Partner and its database transactions. You must create in other company a customer with your current company.
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
That field isn't hidden, it's in customer card.
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
Have you made sure that company B has been setup correctly in company A ? this message suggests that the intercompany codes either have not been setup for MN or that it was setup incorrectly.