Hello,
Currently in my form I have a lookup field to the Products entity and I have a Product Cost field.
I would like to add the standardcost of the product in the lookup field to the Product cost field. I am able to work with the name of the product but not the standardcost.
e.g.
Xrm.Page.getAttribute("lookupfield").getValue()[0].name //This returns the name of the product and I get set that value to another field.
I would like the same thing with the standard cost the product.
Thanks for your help.
CB
Hello,
You can use JavaScript and WebApi in order to retrieve the data you need. Check this post - functionalthoughts.com/.../
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,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156