Copy field from purchparmline to vendpackingslipjour and vendpackingsliptrans

I am added two customized fields in field shold update to the vendpackingslipjour , another field should update vendpackingsliptrans.could u plz give me suggestions.


Look at this white paper to understand the form letter framework.…/hh272871.aspx

thank u sir .


purchparmline = _parmline as purchparmline ;

vendpackingsliptrans.amount = purchparmline .amount ;


select sum(amount) from purchparmline

where purchparmline .parmid == purchparmtable.parmid

&& purchparmline .tablerefid == purchparmtable.tablerefid ;

vendpackingslipjour .amount = purchparmline .amount;