コード例 #1
0
        private static COPXmlFactory.RTTIE031.LossCarryForward __Fill(RTTIE031_SrvRef.RTTIE231Response1 e)
        {
            COPXmlFactory.RTTIE031.LossCarryForward fobj = new LossCarryForward();

            //LOAD ERRORS INTO OBJECT
            fobj.ERROR_INFO = new ERROR_INFO();

            fobj.ERROR_INFO.PROGRAM = e.RTTIE231Response._SMA._PROGRAM;
            fobj.ERROR_INFO.LINE    = e.RTTIE231Response._SMA.ERRORLINE.ToString();
            fobj.ERROR_INFO.MESSAGE = e.RTTIE231Response._SMA.MESSAGE;
            fobj.ERROR_INFO.ERROR   = e.RTTIE231Response._SMA.SYSTEMERROR.ToString();

            //LOAD LCF_INFO
            fobj.LCF_INFO            = new LCF_INFO();
            fobj.LCF_INFO.ACCOUNT_ID = e.RTTIE231Response._ELCF.ACCOUNTID;
            fobj.LCF_INFO.YEAR_X     = e.RTTIE231Response._ELCF.YEARX;
            fobj.LCF_INFO.EST_PAID_X = e.RTTIE231Response._ELCF.ESTPAIDX;
            fobj.LCF_INFO.YEAR       = e.RTTIE231Response._ELCF.YEAR;
            fobj.LCF_INFO.AMOUNT     = CopMvcUtil.ConvDigitToCurrency(e.RTTIE231Response._ELCF.AMOUNT);
            fobj.LCF_INFO.COMMENT    = e.RTTIE231Response._ELCF.COMMENT;
            fobj.LCF_INFO.YEAR_1     = e.RTTIE231Response._ELCF.YEAR1;
            fobj.LCF_INFO.INCOME_1   = CopMvcUtil.ConvDigitToCurrency(e.RTTIE231Response._ELCF.INCOME1);
            fobj.LCF_INFO.COMMENT_1  = e.RTTIE231Response._ELCF.COMMENT1;
            fobj.LCF_INFO.YEAR_2     = e.RTTIE231Response._ELCF.YEAR2;
            fobj.LCF_INFO.INCOME_2   = CopMvcUtil.ConvDigitToCurrency(e.RTTIE231Response._ELCF.INCOME2);
            fobj.LCF_INFO.COMMENT_2  = e.RTTIE231Response._ELCF.COMMENT2;
            fobj.LCF_INFO.YEAR_3     = e.RTTIE231Response._ELCF.YEAR3;
            fobj.LCF_INFO.INCOME_3   = CopMvcUtil.ConvDigitToCurrency(e.RTTIE231Response._ELCF.INCOME3);
            fobj.LCF_INFO.COMMENT_3  = e.RTTIE231Response._ELCF.COMMENT3;


            return(fobj);
        }
コード例 #2
0
ファイル: RTTIE031.cs プロジェクト: DCSUser1/eGovPhase2
        private static COPXmlFactory.RTTIE031.LossCarryForward __Fill(LCF_RTTIE031_SrvRef.TT031E00Response_SMA _SMA, LCF_RTTIE031_SrvRef.TT031E00Response_ELCF _ELCF)
        {
            COPXmlFactory.RTTIE031.LossCarryForward fobj = new LossCarryForward();

            //LOAD ERRORS INTO OBJECT
            fobj.ERROR_INFO = new ERROR_INFO();
            if (_SMA != null)
            {
                fobj.ERROR_INFO.PROGRAM = _SMA._PROGRAM;
                fobj.ERROR_INFO.LINE    = _SMA.ERRORLINE.ToString();
                fobj.ERROR_INFO.MESSAGE = _SMA.MESSAGE;
                fobj.ERROR_INFO.ERROR   = _SMA.SYSTEMERROR.ToString();
            }
            //LOAD LCF_INFO
            fobj.LCF_INFO = new LCF_INFO();

            fobj.LCF_INFO.ACCOUNT_ID = _ELCF.ACCOUNTID;
            fobj.LCF_INFO.YEAR_X     = _ELCF.YEARX;
            fobj.LCF_INFO.EST_PAID_X = CopMvcUtil.ConvDigitToCurrency(_ELCF.ESTPAIDX);
            fobj.LCF_INFO.YEAR       = _ELCF.YEAR;
            fobj.LCF_INFO.AMOUNT     = CopMvcUtil.ConvDigitToCurrency(_ELCF.AMOUNT);
            fobj.LCF_INFO.COMMENT    = _ELCF.COMMENT;
            fobj.LCF_INFO.YEAR_1     = _ELCF.YEAR1;
            fobj.LCF_INFO.INCOME_1   = CopMvcUtil.ConvDigitToCurrency(_ELCF.INCOME1);
            fobj.LCF_INFO.COMMENT_1  = _ELCF.COMMENT1;
            fobj.LCF_INFO.YEAR_2     = _ELCF.YEAR2;
            fobj.LCF_INFO.INCOME_2   = CopMvcUtil.ConvDigitToCurrency(_ELCF.INCOME2);
            fobj.LCF_INFO.COMMENT_2  = _ELCF.COMMENT2;
            fobj.LCF_INFO.YEAR_3     = _ELCF.YEAR3;
            fobj.LCF_INFO.INCOME_3   = CopMvcUtil.ConvDigitToCurrency(_ELCF.INCOME3);
            fobj.LCF_INFO.COMMENT_3  = _ELCF.COMMENT3;


            return(fobj);
        }
コード例 #3
0
 private static LossCarryForward __Call(LossCarryForward e)
 {
     e = __RTTIE031_F_I(e);
     return(e);
 }