web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Site and Warehouse in PO

(0) ShareShare
ReportReport
Posted on by 6,648

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?

7242.Untitled.png

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Sukrut Parab Profile Picture
    71,710 Moderator on at

    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

  • Hossein.K Profile Picture
    6,648 on at

    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

  • Suggested answer
    Annette Theissen Profile Picture
    1,653 on at

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Sukrut Parab Profile Picture

Sukrut Parab 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans