Notifications
Announcements
No record found.
I have a Field Service environment where Products are unique. Each Product is a unique piece and cannot be sold twice. For that reason it would be helpful when I use the product lookup in the Work Order Product record to filter only the products that aren't yet in the customer asset entity. How can I achieve this?
Hi Sabrina,
You can create a custom view between Product and CustomerAsset and use that view in addCustomView function. You can also use addCustomFilter to display the results in lookups.
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/controls/addcustomfilter
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/controls/addcustomview
Here is a community thread for reference
https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/273499/addcustomview-in-addpresearch-removes-value-from-the-lookup-after-saving-the-code/897356
Hope this helps
Best Regards
PG
Hi SabrinaDB,
Did you achieve this?
Please mark some answer verified if it provided resolution to the issue faced.
Best regards
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 45 Super User 2025 Season 2
Daniyal Khaleel 27 Most Valuable Professional
Soundari 15