static void testSSRSDPCLS(Args _args)
{
VendInvoiceTmp tempTable;
VendInvoiceDP dataProvider = new VendInvoiceDP();
VendInvoiceContract contract = new VendInvoiceContract();
contract.parmFromDate(systemDateGet()-365);
contract.parmToDate(systemDateGet());
dataProvider.parmDataContract(contract);
dataProvider.processReport();
tempTable = dataProvider.getVendInvoiceTmp();
while select tempTable
{
info(tempTable.AVAVendName);
info(tempTable.AccountNum);
}
}
{
VendInvoiceTmp tempTable;
VendInvoiceDP dataProvider = new VendInvoiceDP();
VendInvoiceContract contract = new VendInvoiceContract();
contract.parmFromDate(systemDateGet()-365);
contract.parmToDate(systemDateGet());
dataProvider.parmDataContract(contract);
dataProvider.processReport();
tempTable = dataProvider.getVendInvoiceTmp();
while select tempTable
{
info(tempTable.AVAVendName);
info(tempTable.AccountNum);
}
}
No comments:
Post a Comment