Using Record Locking API’s [C BSFN]

Record Locking Mechanism
Courtesy ZOSOMAZ

Record locking is a basic functionality of an RDBMS. This is how we do it within JDE in business functions.
The API’s used for the cause are

  1. JDB_FetchKeyedForUpdate
  2. JDB_SelectKeyedForUpdate
  3. JDB_FetchForUpdate
  4. JDB_UpdateCurrent

As is very simple to use, given are the parameters with comments.
Download the following  files to view it in action.

Leave a Reply