bool INSERT(bool runTrigger = true,
  bool scriptHandleException = false);


Use this function to inserts a new record.

runTrigger defines whether to run the local mobile app trigger, and by default, whether to run the OnInsert-table trigger in Microsoft Dynamics on synchronization as well. The synchoronization behaviour is defined in the ACF App Events codeunit.

scriptHandleException = true: If an error occurs, the Anveo Script will display an error message and halt the execution. The return value is not available.
scriptHandleException = false: If an error occurs, the return value is set to false. The Anveo Script wil not display an error message and the error handling has to be taken care of within the script.

WordPress Cookie Notice by Real Cookie Banner