
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?