Editar

Compartilhar via


Record.Modify([Boolean]) Method

Version: Available or changed with runtime version 1.0.

Modifies a record in a table.

Syntax

[Ok := ]  Record.Modify([RunTrigger: Boolean])

Parameters

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

[Optional] RunTrigger
 Type: Boolean
Specifies whether to run the AL code in the OnModify Trigger. If this parameter is true, then the code in the OnModify trigger is executed. If this parameter is false (default), then the code in the OnModify trigger is not executed.

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.

Record Data Type
Get Started with AL
Developing Extensions
AL Database Methods and Performance on SQL Server