Step 1:
Create a Form and add datasource.
Step 2:
Add a Button and write code under Clicked() method for passing parameter.
void clicked()
{
FormRun formRun;
Args args = New Args();
super();
args.name("SalesTableListPage");
args.record(SalesTable);
formRun = ClassFactory.formRunclass(args);
formRun.init();
formRun.run();
formRun.wait();
}
Step 3:
Write code in "SalesTableListPageInteraction" class Initializing() method.
public void initializing()
{
super();
SalesTable SalesTable11 ;
if(this.listPage().listPageArgs() && this.listPage().listPageArgs().externalRecord())
{
SalesTable11 = this.listPage().listPageArgs().externalRecord();
info("Success");
}
}
Create a Form and add datasource.
Step 2:
Add a Button and write code under Clicked() method for passing parameter.
void clicked()
{
FormRun formRun;
Args args = New Args();
super();
args.name("SalesTableListPage");
args.record(SalesTable);
formRun = ClassFactory.formRunclass(args);
formRun.init();
formRun.run();
formRun.wait();
}
Step 3:
Write code in "SalesTableListPageInteraction" class Initializing() method.
public void initializing()
{
super();
SalesTable SalesTable11 ;
if(this.listPage().listPageArgs() && this.listPage().listPageArgs().externalRecord())
{
SalesTable11 = this.listPage().listPageArgs().externalRecord();
info("Success");
}
}