lunes, 13 de mayo de 2013
SSRS Debug VendAgingReport
static void TestAntiguedadProve(Args _args)
{
VendAgingReportDP dp=new VendAgingReportDP();
VendAgingReportContract contract=new VendAgingReportContract();
Query q;
QueryRun qr;
VendAgingReportTmp VendAgingReportTmp;
;
contract.parmStartDate(today()-300);
contract.parmZeroDate(today()-300);
contract.parmDateTransactionDuedate(DateTransactionDuedate::DocumentDate);
contract.parmAgingBuckets("CLASICO");
contract.parmPrintAgingBucketDescription(NoYesCombo::No);
contract.parmInterval(0);
contract.parmPeriod(DayMonth::Day);
contract.parmDirection(ForwardBackwardPrinting::Forward);
contract.parmDetailed(NoYes::Yes);
contract.parmPrintZeroOrNegative(NoYes::Yes);
dp.parmDataContract(contract);
q = new Query(querystr(VendAgingReport));
qr=new QueryRun(q);
if(qr.prompt())
{
dp.parmQuery(qr.query());
dp.processReport();
VendAgingReportTmp= dp.getVendAgingReportTmp();
while select * from VendAgingReportTmp
{
info(VendAgingReportTmp.AccountNum);
}
}
}
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario