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 Central24 April 2024Dynamics 365 Business Central: Edit in Excel and Long Running SQL queries
- Business Central15 April 2024Dynamics 365 Business Central 2024 Wave 2 release plans: “as is” and “to be”
- Business Central10 April 2024Dynamics 365 Business Central and Shopify connection: access key rotation.
- Business Central10 April 2024Azure Functions: .NET 7 support is ending and you should upgrade to .NET 8.