For example: we have 2- customized fields in table SalesLine and needs to copy it's values when we follow "Copy from all" functionality in Axapta (Accounts receivable/Common forms/Sales Order Details/Function button/Copy from all)
Solution: Go to \Classes\SalesLineType\initFromSalesLine, 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\SalesLineType\validateWrite
Solution: Go to \Classes\SalesLineType\initFromSalesLine, 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\SalesLineType\validateWrite
No comments:
Post a Comment