INSERT and INSERT(TRUE) in D365 BC

INSERT and INSERT(TRUE) in D365 BC:

(1) Introduction: When records enter in the tables via “AL” then the INSERT method is used. Note: when inserting records in a table, first initialize the table with method INIT.

(2) Syntax:

[Ok:= ] Record.Insert([RunTrigger: Boolean[, InsertWithSystemId: Boolean]])

(3) You can use this method in different types, as shown below-

  • RECORD.INSERT: Only Insert record in table.
RECORD.INSERT d365 method
  • RECORD.INSERT(TRUE): Insert record in table with validating INSERT trigger of table.
RECORD.INSERT(TRUE) method in d365 bc
  • RECORD.INSERT(False,True): Insert record in table with allowing to create own SYSTEMID.
RECORD.INSERT(False,True) in d365 bc

FlowFilter in Dynamics 365 BC
FlowField in Dynamics 365 BC
SchemaUpdateMode in AL in launch.json in D365 BC
How to Import EXCEL data in Business Central D365
Record.TransferFields(var Record [, Boolean]) Method– Microsoft Docs

Leave a Reply