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

This method is supported only in Business Central on-premises.

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.

See Also

DataTransfer Data Type
Getting Started with AL
Developing Extensions