Do you know the wonderful C/AL (ops, now AL) command called TRANSFERFIELDS? This command permits you to copy all matching fields in one record to another record:
Record.TRANSFERFIELDS(FromRecord [, InitPrimaryKeyFields])
TRANSFERFIELDS copies fields based on the Field No. Property of the fields. For each field in Record (the destination), the contents of the field that has the same Field…
Continue Reading demiliani’s Article on their blog
Dynamics 365 Business Central: TRANSFERFIELDS and Obsolete fields
Do you know the wonderful C/AL (ops, now AL) command called TRANSFERFIELDS? This command permits you to copy all matching fields in one record to another record: Record.TRANSFERFIELDS(FromRecord [, InitPrimaryKeyFields]) TRANSFERFIELDS copies fields based on the Field No. Property of the fields.
Blog Syndicated with demiliani’s Permission