Hi All,
I have a Customized field Sales Type in sales header. The field is option and the values are Local, Export. Also the same field is the Sales Line ,but not a part of a primary key.
I need to insert the field (sales Type ) from sales header to the sales Line..The field is not part of a key so i cannot set the properties of subform.
So i caan insert the Sales type field in the Sales Line using the Code. where i need to write the code??in which trigger??? i have tried out ..but not get the result..
Please help me out!!!!!
Thanks in advance
subha
0
Comments
Try coding on FORM-OnActivateForm trigger...
Raja.B
oninsert or onvalidate of the "no" field using a simple get.
somthing like
salesheader.get("document type","document no");
salesline."sales type" := salesheader."sales type";
coding on the form I would try to avoid if at all possible.
http://www.BiloBeauty.com
http://www.autismspeaks.org