Bearbeiten

Freigeben über


Record.Delete([Boolean]) Method

Version: Available or changed with runtime version 1.0.

Deletes a record in a table.

Syntax

[Ok := ]  Record.Delete([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 OnDelete Trigger. If this parameter is true, then the code in the OnDelete trigger is executed. If this parameter is false, then the code in the OnDelete trigger is not executed. The default value is false. This parameter is optional.

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