Hi
I have a serial number look view records, but I just want it to show serial numbers of only the product I have added in the form.
Basically want to filter the serial numbers with the product selected
Any kind of help will be appreciated
Hi
I have a serial number look view records, but I just want it to show serial numbers of only the product I have added in the form.
Basically want to filter the serial numbers with the product selected
Any kind of help will be appreciated
Hi Steve,
Thank you for the reply, and sorry for replying back so late. This particular button was created by someone else not me. But I am pretty sure they have created a button using ribbon workbench but not sure of the lookupobject() method used in command. can you please help me or provide me with a reference article which can help me achieving this from scratch as I am new to MS Dynamics.
Any help is appreciated.
Thank you
Hi Smehra33,
Do you create the button with Ribbon Workbench? If so, do you use the lookupObjects() method to open a lookup view in the command?
If yes, you could pass filters parameter to achieve this. Otherwise, please provide more detail.
lookupObjects doc:
Thank You Steve for the reply, I have already filtered the look up field, but here the scenario is different. They have created a button on the sub-grid ribbon and called a Look up view which shows all the SN irrespective of products and I want to filter according to the product selected.
I would appreciate if you could guide me through this
Regards
Hi Smehra33,
You can enable the Related Records Filtering setting of your lookup field on your form. Please refer to this blog:
Or
You can also use addCustomFilter() method.
Reference:
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