Tuesday, 15 October 2013

SSRS report calling code

static void CallDpClass(Args _args)
{
MachineBreakDownSlipTmp ACWATransferhistoryTmp;
MachineBreakDownSlip_queryDP dataprovider = new MachineBreakDownSlip_queryDP();
dataProvider.processReport();
NSGFinalSettlementForToledoTmp = dataProvider.getMachineBreakDownSlipTmp();
pause ;
}

static void CopyOfMano(Args _args)
{
    ProdRouteTrans  prodRouteTrans;
    ACWAPIPETotalItemProdPerMonthTmp  acwaPIPETotalItemProdPerMonthTmp;
    SandTestDP   dataprovider = new SandTestDP();
    ACWAPIPETotalItemProdPerMonthContract    contract    = new ACWAPIPETotalItemProdPerMonthContract();
    ;
    contract.parmFromDate(str2Date("07/05/2006",213));
    contract.parmToDate(str2Date("07/05/2006",213));
    contract.parmProdUnitId("2");
    contract.parmResource("301");
    dataProvider.parmDataContract(contract);
    dataProvider.processReport();
    acwaPIPETotalItemProdPerMonthTmp = dataProvider.getACWAPIPETotalItemProdPerMonthTmp();
}

No comments:

Post a Comment