Notifications
Announcements
No record found.
Hi everybody,
I want to find how to invoke StringEdit Site and Warehouse in PO in AOT(in Code)?
In fact,Which class or method use for set value of Site and Warehouse in PO?
*This post is locked for comments
Site and warehouse are inventory dimensions so if you want to set inventory dimensions on any lines like sales line or purchase line then you have to set inventdimId on those lines. You can create new inventdimId or search for existing inventdimId based on the input and assigned it to the line. Just search for how to assign inventdimID to purchline or sales line on the web and you can find plenty of examples
Hi Sukrut,
I know Site and warehouse are inventory dimensions,but I want to know which process(Class or Method) uses to save and invoke inventdimId in ax?
Because I'm adding a field like inventdimID to the purchtable and I would like to do it look like Site and warehouse.
Regards Hossein
Hello Hossein,
you would add another datasource for table InventDim to the purchTable form and join it to the purchTable datasource. Then you'd add the fields from that new inventDim datasource to the from.
You'd basically mimic what's done on the inventDim datasource that's joined to the purchLine.
Hope this helps!
Have a nice day,
Annette
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.
Priya_K 4
Martin Dráb 4 Most Valuable Professional
Sukrut Parab 2 Moderator