JmgArchiveFutureRegistrations.run Method [AX 2012]
Performs the actual job of the class. Registrations with a timestamp in the future compared to the current system time are moved from the JmgTermReg table to the JmgTermRegArchive table.
The following example demonstrates the use of this method.
public static void main(Args _args)
{
JmgArchiveFutureRegistrations jmgArchiveFutureRegistrations;
jmgArchiveFutureRegistrations = new JmgArchiveFutureRegistrations();
if (jmgArchiveFutureRegistrations.prompt())
{
jmgArchiveFutureRegistrations.run();
}
}
Community Additions
ADD
Show: