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?
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
*duplicate*
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
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).
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156