JmgLoadArchivedTermReg.run Method [AX 2012]

Performs the actual job of the class. Loads the archived file name into the JmgTermRegArchive file.

public void run()

Run On

Called

The following example demonstrates the use of this method.

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; 
    }

Community Additions

ADD
Show: