ROLLBACK() |
DEVELOPER |
Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > ROLLBACK()
|
|
Purpose |
ROLLBACK() immediately issues a rollback request. |
Syntax |
#variable = ROLLBACK() |
Operation |
#variable is a numeric scratch variable. It is set to zero if the rollback is successful. |
Remarks |
If the rollback fails, PROIV terminates. |
Example |
IF application-error THEN |
You should be aware of the implications of a forced rollback (such as loss of fetch currency and release of locks). It is normally sufficient to rely on the implicit rollbacks issued by PROIV. |
Topic ID: 520106