Tuesday, 16 July 2013

Job for SSRS Report:

static void debugreport(Args _args)
    {
      /*  JmgEmplSignedInDP empl;
        JmgEmplSignedInContract con;
        Query q;
        ;
         empl = new JmgEmplSignedInDP();
        con = new JmgEmplSignedInContract();
        q = new Query(querystr(JmgEmplSignedInQuery));
        empl.parmQuery(q);
        empl.parmDataContract(con);
         empl.processReport();*/
         AlkhaldiPOTransRptDP empl;
        AlkhaldiPOTransRptContract con;
        Query q;
        AlkhaldiPOTransTmp      AlkhaldiPOTransTmp;
        ;
         empl = new AlkhaldiPOTransRptDP();
        con = new AlkhaldiPOTransRptContract();
        q = new Query(querystr(AlkhaldiPOTransQry));
        empl.parmQuery(q);
        empl.parmDataContract(con);
         empl.processReport();
        AlkhaldiPOTransTmp = empl.getLedgerJournalTmp();

    //    empl.insertalkPOTranstmp();
    }


Job for SSRS Report:

 static void DpDebug(Args _args)
{
    SaleInvTmp      SaleInvTmp;
    SalesInvDp    SalesInvDp;
    SaleInvContract SaleInvContract;
    SalesInvDp   dataprovider = new SalesInvDp();
   // SaleInvContract = new SaleInvContract();
    dataprovider.processReport();
    SaleInvTmp = dataprovider.getSaleInvTmp();
}



Job for SSRS Report:

static void Debugging(Args _args)
{
    /*ProdRouteTrans  prodRouteTrans;
    ConsSummaryMTmp  consSummaryMTmp;
    ProductConsumptionSummaryReportDP   dataprovider = new ProductConsumptionSummaryReportDP();*/
    SalesConfirmDp  dataprovider = new SalesConfirmDp();
    recId ret;
    //ContractClass    contract    = new ConsSummaryMContractClass();
    SalesConfirmContract    contract    = new SalesConfirmContract();
    SalesConfirmDetailsTmp  SalesConfirmDetailsTmp;
    salesConfirmHeaderTmp  salesConfirmHeaderTmp;
    ;
 // contract.parmAgentCode(“CEU-000009″);
    /*contract.parmFromDate(str2Date(“12/15/2012″,213));
    contract.parmToDate(str2Date(“12/15/2012″,213));
   // contract.parmProdUnitId(“2″);
    contract.parmwrkCtrlId(“CFW1″);
    dataProvider.parmDataContract(contract);
    dataProvider.processReport();
    consSummaryMTmp = dataProvider.getConsSummaryMTmp();*/
  //  ACWATransferhistoryTmp = dataProvider.getNSGFinalQuittanceAvowalTmp();
     //pause;
   /* ;
    while select prodRouteTrans group by TransRefId
         where (prodRouteTrans.TransRefId == “PRD_00000002″ || prodRouteTrans.TransRefId == “PRD_00000010″)
            && prodRouteTrans.TransType == ProdRouteTransType::Qty
          //  && prodRouteTrans.DateWIP == str2Date(“12/5/2012″,213)
            && prodRouteTrans.ProdUnitId == “1″
            && prodRouteTrans.WrkCtrId == “00102″
    {
        info(prodRouteTrans.TransRefId);
    }
    */
    ret = 5637145081;
    contract.parmDocumentTitle(“confirmation copy”);
    contract.parmFormLetterRecordId(0);
    //contract.parmRecordId(recId _recordId = 5637145081);

dataprovider.parmDataContract(contract);
    dataprovider.processReport();
    SalesConfirmDetailsTmp = dataprovider.getSalesConfirmDetailsTmp();
    SalesConfirmHeaderTmp = dataprovider.getSalesConfirmHeaderTmp();
}

No comments:

Post a Comment