示例#1
0
        private static COPXmlFactory.RTTIE035new.UOFORM __RTTIE035_F_I(COPXmlFactory.RTTIE035new.UOFORM e)
        {
            RTTIE035_SrvRef.RTTIE235 serv_req = new RTTIE035_SrvRef.RTTIE235();

            serv_req._EUOL = new RTTIE035_SrvRef._EUOL();

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



            RTTIE035_SrvRef.RTTIE235Response response = _client.RTTIE235(serv_req);

            e = __Fill(response);

            return(e);
        }
示例#2
0
        private static COPXmlFactory.RTTIE035new.UOFORM __RTTIE035_F_I(COPXmlFactory.RTTIE035new.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);
        }
示例#3
0
        private static COPXmlFactory.RTTIE035new.UOFORM __RTTIE035_F_U(COPXmlFactory.RTTIE035new.UOFORM e)
        {
            RTTIE035_SrvRef.RTTIE235 serv_req = new RTTIE035_SrvRef.RTTIE235();

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

            serv_req._EUOL.PREPARERNAME         = e.UO_ACCT.PREPARER_NAME;
            serv_req._EUOL.PREPARERPHONE        = e.UO_ACCT.PREPARER_PHONE;
            serv_req._EUOL.PREPARERPHONEEXT     = e.UO_ACCT.PREPARER_PHONE_EXT;
            serv_req._EUOL.PREPARERIPADDRESS    = e.UO_ACCT.PREPARER_IP_ADDRESS;
            serv_req._EUOL.PREPAREREMAILADDRESS = e.UO_ACCT.PREPARER_EMAIL_ADDRESS;
            serv_req._EUOL.PREPARERTYPE         = e.UO_ACCT.PREPARER_WHO;;

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

            serv_req._EAMTS.FIXEDEXEMPTNX = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.FIXED_EXEMPTN);
            serv_req._EAMTS.ADJUSTEDTAXX  = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.ADJUSTED_TAX);



            if (e.UO3_PAGE.Count > 0)
            {
                serv_req._EUO3 = new RTTIE035_SrvRef._EUO3();
                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)
                {
                    serv_req._EUO3._DELQs = new RTTIE035_SrvRef._DELQ[r];
                }
                r = 0;
                for (int i = 0; i < e.UO3_PAGE.Count; i++)
                {
                    if (e.UO3_PAGE[i].ACCOUNT_ID.Value != null)
                    {
                        serv_req._EUO3._DELQs[r] = new RTTIE035_SrvRef._DELQ();

                        serv_req._EUO3._DELQs[r].PROCESSCODED = CopMvcUtil.GetString(e.UO3_PAGE[i].PROCESS_CODE);
                        serv_req._EUO3._DELQs[r].NAMED        = CopMvcUtil.GetString(e.UO3_PAGE[i].TENANT_NAME);
                        serv_req._EUO3._DELQs[r].ACCOUNTIDD   = CopMvcUtil.GetString(e.UO3_PAGE[i].ACCOUNT_ID);
                        serv_req._EUO3._DELQs[r].ENTITYIDD    = CopMvcUtil.GetString(e.UO3_PAGE[i].TENANT_ID);
                        serv_req._EUO3._DELQs[r].DELQAMTD     = CopMvcUtil.ConvCurrencyToDigit(e.UO3_PAGE[i].AMOUNT);
                    }
                }
            }


            RTTIE035_SrvRef.RTTIE235Response response = _client.RTTIE235(serv_req);

            e = __Fill(response);

            return(e);
        }
示例#4
0
        private static COPXmlFactory.RTTIE035new.UOFORM __RTTIE035_F_U(COPXmlFactory.RTTIE035new.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;;
            _EUOL.PREPARERPHONESpecified = true;

            _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.FIXEDEXEMPTNX = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.FIXED_EXEMPTN);
            _EAMTS.ADJUSTEDTAXX           = CopMvcUtil.ConvCurrencyToDigit(e.UO_AMTS.ADJUSTED_TAX);
            _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);
        }