JmgIpcLedgerEnter.run Method [AX 2012]

Contains the code that does the actual job of the class.

public void run()

Run On

Called

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

Community Additions

ADD
Show: