rp_batchlog::unlockbatch

Unlocks a batch

o.unlockbatch( tnBatch, tlForceUnlock)

Return Value

True or False

Parameters

tnBatch
The batch number to unlock

tlForceUnlock
Whether to force the unlock despite not having a valid lock code in the property
o.cBatchLockCode

Example

o.UnLockBatch(234)

The above would unlock batch 234 if the correct batclock code is found in the propery
o.cBatchLockCode.  If not then an error would occur

OR

o.UnLockBatch(234,.T.)

The above would unlock batch 234 no matter what

See also:

Class rp_batchlog | Class rp_batchlog | Class rp_batchlog | rp_batchlog::cbatchlockcode | rp_batchlog::lockbatch | rp_batchlog::lcreatenewbatch


Last Updated: 23/11/2005