Notifications
Announcements
No record found.
I am upgrading some code from AX 2009 to 2012.
In AX 2009 I have inventTrans.CustVendAC.
How do I find the vendor account number, when I in AX 2012 have the inventTrans record?
*This post is locked for comments
Hi Morten Steengaard !
You can find ReferenceId value in InventTransOrigin table.
InventTrans.InventTransOrigin == InventTransOrigin.RecId.
If InventTrans record is the purchase order then ReferenceId - the number of Purchase Order. And then you can get vendor from PurchTable.
Hi Morten,
In AX2012, this field has been replaced with a Party reference representing a global address book record linked to a customer or vendor.
Thank you, André.
Thank you Rustem. You solved my problem.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2