Class TDCFinishPreOperation
Field level :
--------------
void clicked()
{
Args args = new Args();
super();
args.record(ProdParmReportFinished);
TDCFinishPreOperation::main(args);
}
-----------------------------------------------------------------------------
Scenario 2: Form level
------------------------------
void init()
{
args args;
ProdTable prodTableLocal ;
ProjId projId;
if(!element.args().caller())
throw error(strFmt("@NCC174",'NCProjProdWizardEdit'));
// get record from the Class, not from callerForm
args = element.args().caller().getArgs();
prodTableLocal = args.record();
this.setProdTable(prodTableLocal);
this.setParentProjId(prodTableLocal.ProjId);
super();
this.insertProjToProdValues();
//----------------BLR97124
}
Field level :
--------------
void clicked()
{
Args args = new Args();
super();
args.record(ProdParmReportFinished);
TDCFinishPreOperation::main(args);
}
-----------------------------------------------------------------------------
Scenario 2: Form level
------------------------------
void init()
{
args args;
ProdTable prodTableLocal ;
ProjId projId;
if(!element.args().caller())
throw error(strFmt("@NCC174",'NCProjProdWizardEdit'));
// get record from the Class, not from callerForm
args = element.args().caller().getArgs();
prodTableLocal = args.record();
this.setProdTable(prodTableLocal);
this.setParentProjId(prodTableLocal.ProjId);
super();
this.insertProjToProdValues();
//----------------BLR97124
}