I have a customize field(Sales Order No.) on Purchase Order page. Now requirement was when Sales Order No. get selected from lookup(this field is coming from Sales Header) all the dimension attached to Sales Order should get update on Purchase order. I did it by validating Dim. SetId field. But now I am facing the problem if sometime someone just delete Sales Order No. from Purchase order the dimesions values are not updating(It should become blank.) If I changing sales order no. written code is giving expected result. NAV 2018
Can anyone tell where I am doing wrong??
Thanks in Advance.