0 Replies Latest reply: Sep 28, 2012 7:52 AM by 886448 RSS

    Rate Engine

    886448
      Hi All, plsease help me, i want use rates subsystem in my java. i have set all values of CICRRTAN but how i will set values of UOM-CD, TOU-CD, SQI-CD, INIT-SQ and BILL-SQ of CICBSSQC. Regards
      CobolCopybookCICRRTAN dgdrx = cobolCIPRRTAN.getCobolCopybookCICRRTAN();
      CobolCopybookCICBSSQC dgdry = cobolCIPRRTAN.getCobolCopybookCICBSSQC();

      // Move Inputs
      //dgdrx.set_BILL_SEGMENT_SQ_CNT(new BigInteger("1"));

      System.out.println("Value fo SA ID : " + sa_id.getIdValue());

      dgdrx.get_INPUT_WRK().set_SA_ID(sa_id.getIdValue());
      dgdrx.get_INPUT_WRK().get_BS_PERIOD().set_START_DT(estStartDt);
      dgdrx.get_INPUT_WRK().get_BS_PERIOD().set_END_DT(cmResults.getReadDttm().getDate());
      dgdrx.get_INPUT_WRK().get_CONSUMPTION_PERIOD().set_START_DT(estStartDt.addDays(1));
      dgdrx.get_INPUT_WRK().get_CONSUMPTION_PERIOD().set_END_DT(cmResults.getReadDttm().getDate());
      dgdrx.get_INPUT_WRK().set_ACCOUNTING_DT(this.getProcessDateTime().getDate());
      dgdrx.get_INPUT_WRK().set_LANGUAGE_CD("ENG");
      dgdrx.get_INPUT_WRK().set_RETAIN_READ_COLL_SW(Bool.TRUE);
      dgdrx.get_INPUT_WRK().set_RETAIN_ITEM_COLL_SW(Bool.TRUE);
      dgdrx.get_INPUT_WRK().set_RETAIN_SQ_COLL_SW(Bool.TRUE);
      dgdrx.get_INPUT_WRK().set_RETAIN_SQ_RULE_SW(Bool.TRUE);

      now how to set
      UOM-CD, TOU-CD, SQI-CD, INIT-SQ and BILL-SQ of CICBSSQC