-->
Version: Available or changed with runtime version 1.0.
Copies all matching fields in one record to another record.
Sign in to your Dynamics 365 Business Central account, or create a new account to run your entire business with a single business management solution. Dynamics 365 Business Central pricing Contact a partner to purchase or to get an assessment, consulting services, or additional pricing Dynamics 365 Business Central Essentials.
Syntax
Parameters
Record Type: RecordAn instance of the Record data type.
FromRecord
Type: Record
The record from which to copy.
Type: Record
The record from which to copy.
InitPrimaryKeyFields
Type: Boolean
Default: trueIf this parameter is true and the records are in the same table, both the timestamp and the Primary Key fields of the destination record will be changed.If this parameter is true and the records are not in the same table, then the Primary Key fields of the destination record will be changed but the timestamp of the destination record will not be changed.If this parameter is false, then neither the timestamp nor the Primary Key fields of the destination record are changed.
Type: Boolean
Default: trueIf this parameter is true and the records are in the same table, both the timestamp and the Primary Key fields of the destination record will be changed.If this parameter is true and the records are not in the same table, then the Primary Key fields of the destination record will be changed but the timestamp of the destination record will not be changed.If this parameter is false, then neither the timestamp nor the Primary Key fields of the destination record are changed.
Ms Dynamics Business Central
See Also
Dynamics Business Central Logo
Record Data Type
Getting Started with AL
Developing Extensions
Getting Started with AL
Developing Extensions