Deletes all records in a C/SIDE table that fall within a specified range.

Record.DELETEALL([RunTrigger])

Parameters

RunTrigger

Type: Boolean

Specifies whether to run the C/AL code in the OnDelete Trigger.

If this parameter is true, then the code in the OnDelete trigger will be executed. If this parameter is false (default), then the code in the OnDelete trigger will not be executed.

The default value is false.

Record

Type: Record

Identifies the table in which the deletion will occur. Only those records selected by the filters set for Record are deleted.

Expand imageExample

Expand imageSee Also