Tuesday, December 28, 2021

Refresh form datasource from Class

 Auto Refresh form after uploaded data 

in Class main method 

static client void main(Args   _args)

{

YourClassName          testclass;

FormDataSource     callerds; 

;

testclass = new  YourClassName();

if(_args && _args.record() && _args.record().isFormDataSource())

{

    callerds = _args.record().DataSource();

}

    testclass.run();


//Refresh form DS

callerds.research();

}






update_recordset with joins

 update_recordset with joins update_recordSet storeTransfer         setting      TransactionId = transfertable.TransferId     join transfert...