Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version: Available or changed with runtime version 1.0.
Sets the FlowFields that you specify to be automatically calculated when the record is retrieved from the database.
Syntax
[Ok := ]  Record.SetAutoCalcFields([Field1: Any,...])
Parameters
Record
 Type: Record
An instance of the Record data type.
[Optional] Field1
 Type: Any
Return Value
[Optional] Ok
 Type: Boolean
true if the operation was successful; otherwise false.   If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
Example
See AL Database Methods and Performance on SQL Server - SetAutoCalcFields.
Related information
Record Data Type
Get Started with AL
Developing Extensions
AL Database Methods and Performance on SQL Server