// Add method in Controller class
protected void preRunmodifyContract()
{
query query;
String255 wh="";
SrsReportDataContract dataContract = this.parmReportContract();
SrsReportRdlDataContract contract = dataContract.parmRdlContract();
query = this.getFirstQuery();
wh = Query.dataSourceName('ReceiptAudit').findRange(fieldNum(ReceiptAudit,InventLocationId)).value();
if(wh!="")
contract.setValue("Warehouse",wh);
}
protected void preRunmodifyContract()
{
query query;
String255 wh="";
SrsReportDataContract dataContract = this.parmReportContract();
SrsReportRdlDataContract contract = dataContract.parmRdlContract();
query = this.getFirstQuery();
wh = Query.dataSourceName('ReceiptAudit').findRange(fieldNum(ReceiptAudit,InventLocationId)).value();
if(wh!="")
contract.setValue("Warehouse",wh);
}
No comments:
Post a Comment