Hi ,
I have this dialog :
public void run(Args _args) { dialog.run(); if (dialog.closedOk()) { BatchClass::main(_args); } }
When I click on button "Ok" I want to pass args in the 2end class that extends runBase Batch :
When I click on button Ok , this form will be opening :
public static void main(Args _args) { BatchClass batchClass; batchClass = BatchClass::construct(); batchClass.caption(); if(batchClass.prompt()) { RoleVersion = _args.record(); //When I run this code on batch the value of // Role version was nul RoleVersion.run(); } }
I don't understand why args is null when I run this class in batch.