JmgPayTableCreateNewDateInterval.run Method [AX 2012]
Contains the code that does the actual job of the class.
Syntax
public void run()
Run On
Called
Remarks
This method creates a new JmgPayTable record based on the one specified. The new rate is calculated based on the entered values from the user. If the entered date interval overlaps the original, the user is prompted to confirm that the from date is adjusted.
Examples
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;
}
}