Пример #1
0
        private static COPXmlFactory.RTTIE035.UOFORM __RTTIE035_F_I(COPXmlFactory.RTTIE035.UOFORM e)
        {
            UOForm_RTTIE035_SrvRef.TT035E00_EUOL          _EUOL          = new UOForm_RTTIE035_SrvRef.TT035E00_EUOL();
            UOForm_RTTIE035_SrvRef.TT035E00               serv_req       = new UOForm_RTTIE035_SrvRef.TT035E00();
            UOForm_RTTIE035_SrvRef.TT035E00Response_SMA   _SMAResponse   = new UOForm_RTTIE035_SrvRef.TT035E00Response_SMA();
            UOForm_RTTIE035_SrvRef.TT035E00Response_EUOL  _EUOLResponse  = new UOForm_RTTIE035_SrvRef.TT035E00Response_EUOL();
            UOForm_RTTIE035_SrvRef.TT035E00Response_EAMTS _EAMTSResponse = new UOForm_RTTIE035_SrvRef.TT035E00Response_EAMTS();
            UOForm_RTTIE035_SrvRef.TT035E00Response_EUO3  _EUO3Response  = new UOForm_RTTIE035_SrvRef.TT035E00Response_EUO3();



            _EUOL.ACCOUNTID = e.UO_ACCT.ACCOUNT_ID;
            if (e.UO_ACCT.PERIOD.Value.Contains('/'))
            {
                _EUOL.PERIODX = CopMvcUtil.ConvDateDecimalString(e.UO_ACCT.PERIOD);
            }
            else
            {
                _EUOL.PERIODX = e.UO_ACCT.PERIOD;
            }
            _EUOL.RETURNSTATUS = e.UO_ACCT.RETURN_STATUS;


            _SMAResponse = serv_req.CallTT035E00
                               (new UOForm_RTTIE035_SrvRef.TT035E00_SMA(), _EUOL,
                               new UOForm_RTTIE035_SrvRef.TT035E00_EAMTS(),
                               new UOForm_RTTIE035_SrvRef.TT035E00_EUO3(),
                               out _EUOLResponse,
                               out _EAMTSResponse,
                               out _EUO3Response
                               );



            e = __Fill(_SMAResponse, _EUOLResponse, _EAMTSResponse, _EUO3Response);
            return(e);
        }
Пример #2
0
        private static COPXmlFactory.RTTIE035.UOFORM __RTTIE035_F_U(COPXmlFactory.RTTIE035.UOFORM e)
        {
            UOForm_RTTIE035_SrvRef.TT035E00       serv_req = new UOForm_RTTIE035_SrvRef.TT035E00();
            UOForm_RTTIE035_SrvRef.TT035E00_SMA   _SMA     = new UOForm_RTTIE035_SrvRef.TT035E00_SMA();
            UOForm_RTTIE035_SrvRef.TT035E00_EUOL  _EUOL    = new UOForm_RTTIE035_SrvRef.TT035E00_EUOL();
            UOForm_RTTIE035_SrvRef.TT035E00_EAMTS _EAMTS   = new UOForm_RTTIE035_SrvRef.TT035E00_EAMTS();
            UOForm_RTTIE035_SrvRef.TT035E00_EUO3  _EUO3    = new UOForm_RTTIE035_SrvRef.TT035E00_EUO3();

            serv_req.Timeout = 120000;
            UOForm_RTTIE035_SrvRef.TT035E00Response_SMA   _SMAResponse   = new UOForm_RTTIE035_SrvRef.TT035E00Response_SMA();
            UOForm_RTTIE035_SrvRef.TT035E00Response_EUOL  _EUOLResponse  = new UOForm_RTTIE035_SrvRef.TT035E00Response_EUOL();
            UOForm_RTTIE035_SrvRef.TT035E00Response_EAMTS _EAMTSResponse = new UOForm_RTTIE035_SrvRef.TT035E00Response_EAMTS();
            UOForm_RTTIE035_SrvRef.TT035E00Response_EUO3  _EUO3Response  = new UOForm_RTTIE035_SrvRef.TT035E00Response_EUO3();


            _EUOL.ACCOUNTID              = e.UO_ACCT.ACCOUNT_ID;
            _EUOL.VERSIONX               = e.UO_ACCT.VERSION;
            _EUOL.PERIODX                = CopMvcUtil.ConvDateDecimal(e.UO_ACCT.PERIOD).ToString();
            _EUOL.LASTUPDATEDATEX        = CopMvcUtil.ConvDateDecimal(e.UO_ACCT.LAST_UPD_DATE).ToString();
            _EUOL.USERID                 = e.UO_ACCT.USER_ID;
            _EUOL.RECORDINGDATEX         = CopMvcUtil.ConvDateDecimal(e.UO_ACCT.RECORDING_DATE).ToString();
            _EUOL.SEQUENCENUM            = e.UO_ACCT.SEQUENCE;
            _EUOL.ADJUSTMENTREFERENCENUM = e.UO_ACCT.ADJUSTMENT_REF_NO;
            _EUOL.RATE           = CopMvcUtil.ConvNumberToDigit9(e.UO_ACCT.RATE);
            _EUOL.BRTNUMBER      = CopMvcUtil.ConvNumberToDigit9(e.UO_ACCT.BRT_NUMBER);
            _EUOL.LOCATION       = CopMvcUtil.GetString(e.UO_ACCT.LOCATION);
            _EUOL.DUEDATE        = CopMvcUtil.ConvDateDecimal(e.UO_ACCT.DUE_DATE).ToString();
            _EUOL.ASSESSEDVALUEX = e.UO_ACCT.ASSESSED_VALUE;
            _EUOL.FREQUENCY      = e.UO_ACCT.FREQUENCY;
            _EUOL.PERIODCODE     = e.UO_ACCT.PERIOD_CODE;
            _EUOL.PERIODYY       = e.UO_ACCT.PERIOD_YY;

            _EUOL.PREPARERNAME         = e.UO_ACCT.PREPARER_NAME;
            _EUOL.PREPARERPHONE        = CopMvcUtil.GetDecimal(e.UO_ACCT.PREPARER_PHONE);
            _EUOL.PREPARERPHONEEXT     = e.UO_ACCT.PREPARER_PHONE_EXT;
            _EUOL.PREPARERIPADDRESS    = e.UO_ACCT.PREPARER_IP_ADDRESS;
            _EUOL.PREPAREREMAILADDRESS = e.UO_ACCT.PREPARER_EMAIL_ADDRESS;
            _EUOL.PREPARERTYPE         = e.UO_ACCT.PREPARER_WHO;;


            _EAMTS.MAXTAXX                = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.MAX_TAX);
            _EAMTS.VACANCYX               = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.VACANCY);
            _EAMTS.EXEMPTX                = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.EXEMPT);
            _EAMTS.RESIDENTIALX           = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.RESIDENTIAL);
            _EAMTS.DELINQUENTX            = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.DELINQUENT);
            _EAMTS.EDICREDITX             = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.KOZ_CREDIT);
            _EAMTS.TOTALDEDUCTIONSX       = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.TOTAL_DEDUCTIONS);
            _EAMTS.PERIODTAXX             = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.PERIOD_TAX);
            _EAMTS.DISCOUNTX              = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.DISCOUNT);
            _EAMTS.TAXDUEX                = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.TAX_DUE);
            _EAMTS.INTERESTPENALTYX       = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.INTEREST_PENALTY);
            _EAMTS.TOTALDUEX              = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.TOTAL_DUE);
            _EAMTS.DELINQUENTTENANTCOUNTX = e.UO_AMTS.DELINQUENT_TENANT_COUNT;



            if (e.UO3_PAGE.Count > 0)
            {
                int r = 0;

                for (int s = 0; s < e.UO3_PAGE.Count; s++)
                {
                    if (e.UO3_PAGE[s].ACCOUNT_ID.Value != null)
                    {
                        r++;
                    }
                }

                if (r > 0)
                {
                    _EUO3._DELQs = new UOForm_RTTIE035_SrvRef.TT035E00_EUO3_DELQ[r];
                }

                for (int i = 0; i <= r; i++)
                {
                    if (e.UO3_PAGE[i].ACCOUNT_ID.Value != null)
                    {
                        _EUO3._DELQs[i] = new UOForm_RTTIE035_SrvRef.TT035E00_EUO3_DELQ();
                        _EUO3._DELQs[i].PROCESSCODED = CopMvcUtil.GetString(e.UO3_PAGE[i].PROCESS_CODE);
                        _EUO3._DELQs[i].NAMED        = CopMvcUtil.GetString(e.UO3_PAGE[i].TENANT_NAME);
                        _EUO3._DELQs[i].ACCOUNTIDD   = CopMvcUtil.GetString(e.UO3_PAGE[i].ACCOUNT_ID);
                        _EUO3._DELQs[i].ENTITYIDD    = CopMvcUtil.GetString(e.UO3_PAGE[i].TENANT_ID);
                        _EUO3._DELQs[i].DELQAMTD     = CopMvcUtil.ConvCurrencyToDigit(e.UO3_PAGE[i].AMOUNT);
                    }
                }
            }

            _SMAResponse = serv_req.CallTT035E00
                               (_SMA, _EUOL,
                               _EAMTS,
                               _EUO3,
                               out _EUOLResponse,
                               out _EAMTSResponse,
                               out _EUO3Response
                               );



            e = __Fill(_SMAResponse, _EUOLResponse, _EAMTSResponse, _EUO3Response);
            return(e);
        }