Tuesday 16 December 2014

"Copy from all" or "Template" in Sales Quotation: to copy customized fields values

For example: we have 2- customized fields in table SalesQuotationLine and needs to copy it's values when we follow "Copy from all" functionality in Axapta (Accounts receivable/Common forms/Sales Quotation Details/Function button/Copy from all)

Or: When we use template functionality during creation of new Sales quotation then above action should be applied.

Solution: Go to \Classes\SalesQuotationLineType\initFromSalesQuotationLine and add all customised fields and assign the value as others.


If you want to set some validation on this or any value then go to \Classes\SalesQuotationLineType_Sales\validateWrite



No comments:

Post a Comment