Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Getting product dimensions based on selected itemid

Posted on by Microsoft Employee

Hello, I am trying to produce the following screen,

the user selects an item,then selects the dimensions to generate a transfer journal.How can I filter the dimensions based on the selected item? 

I have added inventdim datasource and dimensions datagroup, however the selected item's dimensions (size,color,style) doesnt show up on the lookups.Is there any example that I could use to produce this screen?

1104.Screenshot_5F00_1.jpg

Actually the purchline's item selection is a good example to that, however I couldn't figure out how it does that.

Regards

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Getting product dimensions based on selected itemid

    *duplicate*

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Getting product dimensions based on selected itemid

    Cheers,I did the relations with InventDim table, and if I filter Inventtable, all dims are listed based on the selected item.God bless abstraction :P

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Getting product dimensions based on selected itemid

    You can use query objects to first look and then apply your dimensions when the user selects a new item number.  Multiple ways to do this depending on the behavior you want.  You could force most of the lookup code onto the validateWrite method if you have this in a custom table.  If not, I would override methods on the forms datasource fields (either override modified method or performLookupMethod).

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans