Hi Everyone,[NAV 2009 R2]
I am trying to sync data of the field "Territory code" from customer card to the new field(Custom field) in "Value entry" table. I have written below code in new field on validate trigger, but after posting sales order; my new field is not getting update in Value entry table.
New field- onValidate trigger()
IF "Source Type" = "Source Type":: Customer THEN BEGIN
"Territory Code" := Cust."Territory Code";
Please assist me, what i am doing mistake or what is the correct way to do for my requirement.