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.
See Also
Record Data Type
Get Started with AL
Developing Extensions
AL Database Methods and Performance on SQL Server
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈