project BLF > class Transaction > method StartTransaction
Description
Start a global transaction, or add a subtransaction level to the global transaction.
Each level needs an individual commit or abort call.
Parameters
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
BLF
QadFinancials
program code (program1/transaction.p)
assign viTransactionLevel = viTransactionLevel + 1
viTransactionCount = viTransactionCount + 1.
find first tLevels where
tLevels.tiTransactionLevel = viTransactionLevel no-error.
if not available tLevels
then create tLevels.
assign tLevels.tiTransactionLevel = viTransactionLevel
tLevels.tiTransactionCount = viTransactionCount.