Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

How to create a funciton to filter Products in Orders?

Posted on by 20

Hey everyone.

Basically, ALL my products are from an ERP and my products are specific for each customer. Each product has a Customer Number associated.

I have a JS Function to get the customer financial detail when they choose the Customer. 

I was trying to do the same but for products.

The problem is that I cannot use the 

"Xrm.Page.getAttribute("FieldName").getValue();"

Because when you want to create a new item, it will redirect you to a new page and you can not get the attribute "productid" or any other field...
I wastrying something like this:

https://www.youtube.com/watch?v=sr4H1hTfRIQ

Any hints or tips?

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,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans