This documentation is archived and is not being maintained.
JmgIpcLedgerEnter.run Method [AX 2012]
Contains the code that does the actual job of the class.
The transferred records are marked with the voucher of the ledger journal. If no lines were transferred, a warning is displayed.
myRunbase myRunbase;
myRunbase = myRunbase::construct();
if (myRunbase.prompt())
{
myRunbase.run();
//...
}
public void run()
{
if (! this.validate())
{
throw Error("Error message...");
}
try
{
ttsbegin;
ttscommit;
}
catch (exception::DeadLock)
{
retry;
}
}