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
More About This Author
Array
- Business Central21 March 2024Dynamics 365 Business Central: receive notifications when AppSource apps updates are available in a tenant
- Business Central18 March 2024The 2nd edition of “Mastering Dynamics 365 Business Central” is here…
- Business Central13 March 2024Dynamics 365 Business Central: introducing the Page Scripting tool
- Business Central6 March 2024Azure Spring Clean: Deploying Azure OpenAI in the enterprise world.