DataTransfer.UpdateAuditFields([Boolean]) Method

Version: Available or changed with runtime version 10.0.

Sets if audit fields should be updated. If the value is set to false, the audit fields are not updated when calling the CopyFields method. Default value is true.

Note

From runtime version 16.0 and onward, this method is supported in Business Central online.

Syntax

[UpdateAuditFields := ]  DataTransfer.UpdateAuditFields([UpdateAuditFields: Boolean])

Note

This method can be invoked using property access syntax.

Parameters

DataTransfer
 Type: DataTransfer
An instance of the DataTransfer data type.

[Optional] UpdateAuditFields
 Type: Boolean
Sets if audit fields should be updated. If the value is set to false, the audit fields are not updated when calling the CopyFields method.

Return Value

[Optional] UpdateAuditFields
 Type: Boolean
Gets if audit fields should be updated. If the value is set to false, the audit fields are not updated when calling the CopyFields method.

DataTransfer Data Type
Getting Started with AL
Developing Extensions