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


oiReturnStatusoutputintegerReturn status of the method.


Internal usage


BLF
method business.BusinessClassActions

QadFinancials
method BBankImportLineProcess.SaveAndProcess
method BCInvoiceAPMatching.CreateCInvoiceAPMatchingAllInOneTran
method BCInvoiceAPMatching.CreateCInvoiceAPMatchingOneInOneTran
method BCInvoiceJournalEntry.ApiStdMaintainTTV01
method BDInvoiceJournalEntry.ApiStdMaintainTT
method BDInvoiceMultiCy.UpdateDeductionDetailCy
method BDInvoiceMultiCy.UpdateDeductionDetailCyV01
method BERSProcessor.ERSProcessCreateBatchRequest
method BERSProcessor.ERSProcessFinish
method BERSProcessor.ERSProcessInit
method BGLCalendar.AdditionalUpdates
method BJournalEntryMultiCy.CreateMultiCyPostings
method BSelfBill.ApiCreateInvPrepayPayment
method BSharedSetMerge.MergeInit


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.