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
Cust.GET("Source No.");
"Territory Code" := Cust."Territory Code";
MODIFY;
END;
Please assist me, what i am doing mistake or what is the correct way to do for my requirement.
Thanks,
Mani.
0
Answers
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Thank you so much for your reply,
I created flow-field in value entry table for the territory code of customer table, and data get synced.
Based on your suggestion:-
I checked codeunit:22 to write in value entry table, but i am not sure that where should i assign for territory code in new field of value entry table.
Thanks alot...
Regards,
Mani.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Dimension could be one of the Option provided you have significant amount of knowledge how Global and Shortcut Dimension works.
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/