This locks the batches
o.lockbatch( tnBatch, tcBatchType, tcUser)
Return Value
True or False
Parameters
tcBatch
tcBatchType
tcUser
Remarks
In all the examples given, a new batch would be created if no ACTIVE batch could be found
and the property o.lcreatenewbatch if set to TRUE
Example
o.LockBatch()
The above would lock the first "ACTIVE" batch for the current user and the batch type
specified in the property cBatchType and user specified in cUserID. Alternativley;
OR
o.LockBatch(232)
This would lock batch 232
OR
o.LockBatch(,"PAYMENT","ITRDS")
This would lock the first Active payment batch created by user "ITRDS"
See also:
Class rp_batchlog |
Class rp_batchlog |
rp_batchlog::cbatchlockcode |
rp_batchlog::unlockbatch |
rp_batchlog::lcreatenewbatch