This documentation is archived and is not being maintained.
DictTable.occEnabled Method [AX 2012]
Indicates whether the optimistic concurrency mode has been enabled for a table.
public boolean occEnabled()
Run On Called
Return Value Type:
boolean
true if the optimistic concurrency mode is enabled; otherwise, false .
When this mode is enabled, data is not locked from future modification when it is fetched from the database. Data is locked only when the actual update is performed.
The following example shows a call to the occEnabled method.
static public void Main(Args _args)
{
DictTable dt;
boolean enabled;
dt = new DictTable(tablenum(CustTable));
enabled = dt.occEnabled();
}