Inserts a record into a table.
[Ok :=] RecordRef.INSERT([RunTrigger]) |
Parameters
- RecordRef
-
Type: RecordRef
The recordref that refers to the record that you want to insert.
- RunTrigger
-
Type: Boolean
Specifies whether to run the C/AL code in the OnInsert Trigger.
If this parameter is true, the code on the OnInsert trigger will be executed.
If this parameter is false, the code on the OnInsert trigger will not be exectued.