Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 


COMMIT

Creates a new revision of a record from a tracked table.

Syntax

Parameters

TABLE (required)
Name of the table

ASSET (required)
Value of the primary key for the record being committed.

KEEPLOCKED (optional)
Indicates lock status of record after commit. Set value to true to indicate the record is still locked by user after the commit.

ANNOTATION (optional)
Comment describing the new revision.

Description

The commit command creates a new revision of a record from a tracked table. The current user must have the record locked and have write access to the tracked table to perform this operation.

Error Numbers

The possible value of errno include:

Value
Description
-1000
Command failure. Check the errdetail variable for the specific error.

Example

The following example assumes all COMMIT parameters are exposed on an HTML form. It first checks whether the parameters exist, clears the value of errno, then commits the record.

See Also

DELETEREVISION
HISTORY
LOCK
RELEASE
RETRIEVEREVISION
ROLLBACK
SETVERSIONS
TRACKTABLE
UNLOCKRECORD
UNTRACKTABLE

  Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.