コード例 #1
0
ファイル: RTTIE037_2016.cs プロジェクト: DCSUser1/eGovPhase2
        private static COPXmlFactory.RTTIE037_2016.BPTezReturn __RTTIE037_F_I(COPXmlFactory.RTTIE037_2016.BPTezReturn e)
        {
            BPTLFEZ_RT01E037_SrvRef.TT037E00_EBPT                  _EBPT                  = new BPTLFEZ_RT01E037_SrvRef.TT037E00_EBPT();
            BPTLFEZ_RT01E037_SrvRef.TT037E00                       serv_req               = new BPTLFEZ_RT01E037_SrvRef.TT037E00();
            BPTLFEZ_RT01E037_SrvRef.TT037E00Response_SMA           _SMAResponse           = new BPTLFEZ_RT01E037_SrvRef.TT037E00Response_SMA();
            BPTLFEZ_RT01E037_SrvRef.TT037E00Response_EBPT          _EBPTResponse          = new BPTLFEZ_RT01E037_SrvRef.TT037E00Response_EBPT();
            BPTLFEZ_RT01E037_SrvRef.TT037E00Response_EPG1          _EPG1Response          = new BPTLFEZ_RT01E037_SrvRef.TT037E00Response_EPG1();
            BPTLFEZ_RT01E037_SrvRef.TT037E00Response_EEZPG2        _EEZPG2Response        = new BPTLFEZ_RT01E037_SrvRef.TT037E00Response_EEZPG2();
            BPTLFEZ_RT01E037_SrvRef.TT037E00Response_NEW2014FIELDS _NEW2014FIELDSResponse = new BPTLFEZ_RT01E037_SrvRef.TT037E00Response_NEW2014FIELDS();


            _EBPT.ACCOUNTID    = e.BPT_INFO.ACCOUNT_ID;
            _EBPT.PERIODX      = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.PERIOD);
            _EBPT.RETURNSTATUS = e.BPT_INFO.RETURN_STATUS;



            _SMAResponse = serv_req.CallTT037E00
                               (new BPTLFEZ_RT01E037_SrvRef.TT037E00_SMA(), _EBPT,
                               new BPTLFEZ_RT01E037_SrvRef.TT037E00_EPG1(),
                               new BPTLFEZ_RT01E037_SrvRef.TT037E00_EEZPG2(),
                               new BPTLFEZ_RT01E037_SrvRef.TT037E00_NEW2014FIELDS(),
                               out _EBPTResponse,
                               out _EPG1Response,
                               out _EEZPG2Response,
                               out _NEW2014FIELDSResponse
                               );



            e = __Fill(_SMAResponse, _EBPTResponse, _EPG1Response, _EEZPG2Response, _NEW2014FIELDSResponse);

            return(e);
        }
コード例 #2
0
ファイル: RTTIE037_2016.cs プロジェクト: DCSUser1/eGovPhase2
        private static COPXmlFactory.RTTIE037_2016.BPTezReturn __RTTIE037_F_U(COPXmlFactory.RTTIE037_2016.BPTezReturn e)
        {
            BPTLFEZ_RT01E037_SrvRef.TT037E00               serv_req       = new BPTLFEZ_RT01E037_SrvRef.TT037E00();
            BPTLFEZ_RT01E037_SrvRef.TT037E00_SMA           _SMA           = new BPTLFEZ_RT01E037_SrvRef.TT037E00_SMA();
            BPTLFEZ_RT01E037_SrvRef.TT037E00_EBPT          _EBPT          = new BPTLFEZ_RT01E037_SrvRef.TT037E00_EBPT();
            BPTLFEZ_RT01E037_SrvRef.TT037E00_EPG1          _EPG1          = new BPTLFEZ_RT01E037_SrvRef.TT037E00_EPG1();
            BPTLFEZ_RT01E037_SrvRef.TT037E00_EEZPG2        _EEZPG2        = new BPTLFEZ_RT01E037_SrvRef.TT037E00_EEZPG2();
            BPTLFEZ_RT01E037_SrvRef.TT037E00_NEW2014FIELDS _NEW2014FIELDS = new BPTLFEZ_RT01E037_SrvRef.TT037E00_NEW2014FIELDS();

            serv_req.Timeout = 120000;
            BPTLFEZ_RT01E037_SrvRef.TT037E00Response_SMA           _SMAResponse           = new BPTLFEZ_RT01E037_SrvRef.TT037E00Response_SMA();
            BPTLFEZ_RT01E037_SrvRef.TT037E00Response_EBPT          _EBPTResponse          = new BPTLFEZ_RT01E037_SrvRef.TT037E00Response_EBPT();
            BPTLFEZ_RT01E037_SrvRef.TT037E00Response_EPG1          _EPG1Response          = new BPTLFEZ_RT01E037_SrvRef.TT037E00Response_EPG1();
            BPTLFEZ_RT01E037_SrvRef.TT037E00Response_EEZPG2        _EEZPG2Response        = new BPTLFEZ_RT01E037_SrvRef.TT037E00Response_EEZPG2();
            BPTLFEZ_RT01E037_SrvRef.TT037E00Response_NEW2014FIELDS _NEW2014FIELDSResponse = new BPTLFEZ_RT01E037_SrvRef.TT037E00Response_NEW2014FIELDS();

            _EBPT.ACCOUNTID              = e.BPT_INFO.ACCOUNT_ID;
            _EBPT.VERSIONX               = e.BPT_INFO.VERSION;
            _EBPT.PERIODX                = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.PERIOD);
            _EBPT.RETURNSTATUS           = e.BPT_INFO.RETURN_STATUS;
            _EBPT.LASTUPDATEDATEX        = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.LAST_UPD_DATE);
            _EBPT.RECORDINGDATEX         = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.RECORDING_DATE);
            _EBPT.EXTENSIONDATEX         = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.EXTENSION_DATE);
            _EBPT.SEQUENCENUM            = e.BPT_INFO.SEQUENCE;
            _EBPT.ADJUSTMENTREFERENCENUM = e.BPT_INFO.ADJUSTMENT_REF_NO;
            _EBPT.USERID       = e.BPT_INFO.USER_ID;
            _EBPT.NETRATE      = e.BPT_INFO.NET_RATE;
            _EBPT.GROSSRATE    = e.BPT_INFO.GROSS_RATE;
            _EBPT.PREPARERNAME = e.BPT_INFO.PREPARER_NAME;


            _EBPT.PREPARERPHONE = CopMvcUtil.GetDecimal(e.BPT_INFO.PREPARER_PHONE.ToString());


            _EBPT.PREPARERPHONEEXT     = e.BPT_INFO.PREPARER_PHONE_EXT;
            _EBPT.PREPARERIPADDRESS    = e.BPT_INFO.PREPARER_IP_ADDRESS;
            _EBPT.PREPAREREMAILADDRESS = e.BPT_INFO.PREPARER_EMAIL_ADDRESS;
            _EBPT.PREPARERTYPE         = e.BPT_INFO.PREPARER_WHO;

            _EPG1.TAXONNETX              = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NET_TAX);
            _EPG1.TAXONGROSSX            = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.GROSS_TAX);
            _EPG1.ACTUALTAXX             = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.ACTUAL_TAX);
            _EPG1.ESTIMATEDTAXX          = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.ESTIMATED_TAX);
            _EPG1.TOTALTAXX              = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.TOTAL_TAX);
            _EPG1.NPTTAXCREDITX          = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NPT_TAX_CREDIT);
            _EPG1.BPTTAXCREDITX          = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.BPT_TAX_CREDIT);
            _EPG1.TOTALPAYMNTSCREDITSX   = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.TOTAL_PAY_CREDITS);
            _EPG1.TAXDUEAMTX             = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.TAX_DUE);
            _EPG1.INTERESTANDPENALTYAMTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.INTEREST_PENALTY);
            _EPG1.AMTOWED2X              = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.AMOUNT_OWED);
            _EPG1.REFUNDAMTX             = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.REFUND);
            _EPG1.NPTOVERPAYMENTX        = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NPT_OVERPAY);
            _EPG1.BPTOVERPAYMENTX        = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.BPT_OVERPAY);

            _EEZPG2.NETINCOMELOSS1X       = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.NET_INCOME_LOSS_1);
            _EEZPG2.NETINCOMELOSS2X       = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.NET_INCOME_LOSS_2);
            _EEZPG2.LOSSCARRYFORWARDX     = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.LOSS_CARRY_FORWARD);
            _EEZPG2.TAXABLEINCOMEX        = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.TAXABLE_INCOME);
            _EEZPG2.TAXDUEXNET            = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.TAX_DUE_NET);
            _EEZPG2.SALESRENTALSX         = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.SALES_RENTAL);
            _EEZPG2.SERVICESX             = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.SERVICES);
            _EEZPG2.RENTALPROPERTYX       = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.RENTAL_PROPERTY);
            _EEZPG2.ROYALTIESX            = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.ROYALTIES);
            _EEZPG2.CAPITALGAINSX         = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.CAPITAL_GAINS);
            _EEZPG2.STOCKGAINSX           = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.STOCK_GAINS);
            _EEZPG2.DIVIDENDSX            = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.DIVIDENDS);
            _EEZPG2.INTERESTX             = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.INTEREST);
            _EEZPG2.OTHERX                = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.OTHER);
            _EEZPG2.TAXABLEGROSSRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.TAXABLE_GROSS_RCPTS);
            _EEZPG2.TAXDUEXGROSS          = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.TAX_DUE_GROSS);

            _NEW2014FIELDS.STATEXCLUSIONEZX   = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.STAT_EXCLUSION_EZ_X);
            _NEW2014FIELDS.STATNETDEDUCTION1X = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.STAT_NET_DEDUCTION_1_X);
            _NEW2014FIELDS.TAXABLESUBTOTALEZX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.TAXABLE_SUBTOTAL_EZ_X);

            _SMAResponse = serv_req.CallTT037E00
                               (_SMA, _EBPT, _EPG1, _EEZPG2, _NEW2014FIELDS, out _EBPTResponse,
                               out _EPG1Response,
                               out _EEZPG2Response,
                               out _NEW2014FIELDSResponse
                               );



            e = __Fill(_SMAResponse, _EBPTResponse, _EPG1Response, _EEZPG2Response, _NEW2014FIELDSResponse);

            return(e);
        }