SBM ModScript Reference → Programming SBM ModScript → Object Types → AppRecord → AppRecord Lock() Method
(SBM On-Premise/PaaS only) Locks the calling AppRecord, so other users will not attempt to update it.
Parameter | Type | Description |
---|---|---|
stealLock |
bool |
(Optional) Defaults to false, meaning if this item is already locked, no lock will be established. If true, any existing lock on this record will be broken, and changes made by the former lock holder are lost. |
Type | Description |
---|---|
bool |
Returns true if the record is locked by another user. |
SBM ModScript version: 11.3.
None.
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.