Hi, I hope someone give me some idea what to do. I am running Nav 2009 R2 Classic and I want the system to automatically Gen. Prod. Posting group by copying from header to credit memo line when G/L accounts are entered. It seems that regular items are working that way but not G/L accounts. I think I created a function in Oninsert and created a code in function to copy the Gen. Prod. Posting group information to line but I get "The expression Code cannot be type-converted to a Option value". I think this is first time I try copy something in option field. What am I doing wrong?
Any idea will be appreciated. Have a great day.
0
Comments
I think you have missed something or I am unable to understand what you mean by coping from header and there is no option field involved. Further Gen. Prod. Posting Group does not exist on the header table.
http://ssdynamics.co.in
Thanks,