Regarding Sales Order Posting-AX 2012


I want to transfer a customized field value from sales table to CustTrans table, i tried writing code in SalesFormLetter class in CreatePayment method, still the value is not getting updated for customized field.

Has anyone done such thing, please share your ideas.

Version : AX 2012