Database.IsInWriteTransaction() Method
Version: Available or changed with runtime version 11.0.
Checks whether or not you are in a write transaction.
Syntax
WriteTransactionStatus := Database.IsInWriteTransaction()
Note
This method can be invoked without specifying the data type name.
Return Value
WriteTransactionStatus
Type: Boolean
A Boolean indicating if you are in a write transaction.
Related information
Database Data Type
Getting Started with AL
Developing Extensions