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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Getting product dimensions based on selected itemid

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    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).

  • Community Member Profile Picture
    on at

    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

  • Community Member Profile Picture
    on at

    *duplicate*

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dserp Profile Picture

dserp 4

#2
dekion Profile Picture

dekion 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans