private static COPXmlFactory.RTTIE039.NPTRETURN __RTTIE039_F_U(COPXmlFactory.RTTIE039.NPTRETURN e) { RTTIE040_SrvRef.TT040E00_ENPT _ENPT = new RTTIE040_SrvRef.TT040E00_ENPT(); RTTIE040_SrvRef.TT040E00_EAMTS _EAMTS = new RTTIE040_SrvRef.TT040E00_EAMTS(); RTTIE040_SrvRef.TT040E00 rttie040 = new RTTIE040_SrvRef.TT040E00(); // RTTIE040_SrvRef.TT040E00Response_SMA _SMAResponse = new RTTIE040_SrvRef.TT040E00Response_SMA(); RTTIE040_SrvRef.TT040E00Response_ENPT _ENPTResponse = new RTTIE040_SrvRef.TT040E00Response_ENPT(); RTTIE040_SrvRef.TT040E00Response_EAMTS _EAMTSResponse = new RTTIE040_SrvRef.TT040E00Response_EAMTS(); RTTIE040_SrvRef.TT040E00Response_SERR _SERRRespose = new RTTIE040_SrvRef.TT040E00Response_SERR(); rttie040.Timeout = 120000; _ENPT.ACCOUNTID = e.NPT_INFO.ACCOUNT_ID; _ENPT.PERIODX = CopMvcUtil.ConvDateDecimalString(e.NPT_INFO.PERIOD); _ENPT.VERSIONX = e.NPT_INFO.VERSION; _ENPT.RETURNSTATUS = e.NPT_INFO.RETURN_STATUS; _ENPT.LASTUPDATEDATEX = CopMvcUtil.ConvDateDecimalString(e.NPT_INFO.LAST_UPD_DATE); _ENPT.RECORDINGDATEX = CopMvcUtil.ConvDateDecimalString(e.NPT_INFO.RECORDING_DATE); _ENPT.EXTENSIONDATEX = CopMvcUtil.ConvDateDecimalString(e.NPT_INFO.EXTENSION_DATE); _ENPT.SEQUENCENUMBER = e.NPT_INFO.SEQUENCE; _ENPT.ADJUSTMENTREFERENCENUM = e.NPT_INFO.ADJUSTMENT_REF_NO; _ENPT.USERID = e.NPT_INFO.USER_ID; _ENPT.RATERES = CopMvcUtil.ConvNumberToDigit9(e.NPT_INFO.RESIDENT_RATE); _ENPT.BASERATERES = CopMvcUtil.ConvNumberToDigit9(e.NPT_INFO.BASE_RESIDENT_RATE); _ENPT.RATENONRES = CopMvcUtil.ConvNumberToDigit9(e.NPT_INFO.NON_RES_RATE); _ENPT.BASERATENONRES = CopMvcUtil.ConvNumberToDigit9(e.NPT_INFO.BASE_NON_RES_RATE); _ENPT.PREPARERNAME = e.NPT_INFO.PREPARER_NAME; _ENPT.PREPARERPHONE = CopMvcUtil.GetDecimal(e.NPT_INFO.PREPARER_PHONE); _ENPT.PREPARERPHONEEXT = e.NPT_INFO.PREPARER_PHONE_EXT; _ENPT.PREPARERPHONEEXT = e.NPT_INFO.PREPARER_PHONE_EXT; _ENPT.PREPARERIPADDRESS = e.NPT_INFO.PREPARER_IP_ADDRESS; _ENPT.PREPAREREMAILADDRESS = e.NPT_INFO.PREPARER_EMAIL_ADDRESS; _ENPT.PREPARERTYPE = e.NPT_INFO.PREPARER_WHO; _ENPT.PREPARERPHONESpecified = true; //New column addded for save corporation TAX _EAMTS.CORPPARTNERPERCENTX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.CORP_PARTNER_PERCENT); _EAMTS.RESTAXABLEINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.RESIDENT_INCOME); _EAMTS.RESTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.RESIDENT_INCOME_TAX); // _EAMTS.RESBASERATETAXABLEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.RESIDENT_BASE_INCOME_TAXABLE); _EAMTS.RESBASERATETAXX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.RESIDENT_BASE_INCOME_TAX); _EAMTS.TOTALRESTAXX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.RESIDENT_TOTAL_TAX); _EAMTS.NONRESTAXINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.NON_RES_INCOME); _EAMTS.NONRESTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.NON_RES_INCOME_TAX); // _EAMTS.NONRESBASERATETAXABLEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.NON_RES_BASE_INCOME_TAXABLE); _EAMTS.NONRESBASERATETAXX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.NON_RES_BASE_INCOME_TAX); _EAMTS.TOTALNONRESTAXX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.NON_RES_TOTAL_TAX); // _EAMTS.TOTALTAXDUE1X = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.TOTAL_TAX); _EAMTS.BPTCREDITX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.BPT_TAX_CREDIT); _EAMTS.OTHERX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.OTHER_TAX_CREDIT); _EAMTS.TOTALCREDITSX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.TOTAL_PAY_CREDITS); _EAMTS.TOTALTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.TAX_DUE); _EAMTS.INTERESTPENALTYX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.INTEREST_PENALTY); _EAMTS.TOTALAMTDUEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.TOTAL_DUE); _EAMTS.TAXOVERPAIDX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.OVERPAY); _EAMTS.NETPROFITESTX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.LINE11); // _EAMTS.OVERPAYMENTAVAILX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.OVERPAY_AVAILABLE); // _EAMTS.REFUNDAMTX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.REFUND); _EAMTS.BPTOVERPAYMENTX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.BPT_OVERPAY); _EAMTS.NPTOVERPAYMENTX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.NPT_OVERPAY); // string ENPT = CopMvcUtil.GetXMlFromObject(_ENPT); string EAMTS = CopMvcUtil.GetXMlFromObject(_EAMTS); _SMAResponse = rttie040.CallTT040E00(new RTTIE040_SrvRef.TT040E00_SMA(), _ENPT, _EAMTS, new RTTIE040_SrvRef.TT040E00_SERR(), out _ENPTResponse, out _EAMTSResponse, out _SERRRespose); e = __Fill(_SMAResponse, _ENPTResponse, _EAMTSResponse, _SERRRespose); return(e); }
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); }
private static COPXmlFactory.RTTIE030.BPTlfReturn __RTTIE030_F_U(COPXmlFactory.RTTIE030.BPTlfReturn e) { RTTIE230_SrvRef.RTTIE230 serv_req = new RTTIE230_SrvRef.RTTIE230(); serv_req._ELFBPT = new RTTIE230_SrvRef._ELFBPT(); serv_req._ELFBPT.ACCOUNTID = e.BPT_INFO.ACCOUNT_ID; serv_req._ELFBPT.VERSIONX = e.BPT_INFO.VERSION; serv_req._ELFBPT.PERIODX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.PERIOD); serv_req._ELFBPT.RETURNSTATUS = e.BPT_INFO.RETURN_STATUS; serv_req._ELFBPT.LASTUPDATEDATEX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.LAST_UPD_DATE); serv_req._ELFBPT.RECORDINGDATEX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.RECORDING_DATE); serv_req._ELFBPT.EXTENSIONDATEX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.EXTENSION_DATE); serv_req._ELFBPT.SEQUENCENUM = e.BPT_INFO.SEQUENCE; serv_req._ELFBPT.ADJREFNO = e.BPT_INFO.ADJUSTMENT_REF_NO; serv_req._ELFBPT.USERID = e.BPT_INFO.USER_ID; serv_req._ELFBPT.NETRATEX = CopMvcUtil.ConvNumberToDigit9(e.BPT_INFO.SCH_AB_TAX_RATE); serv_req._ELFBPT.GROSSRATEX = CopMvcUtil.ConvNumberToDigit9(e.BPT_INFO.SCH_D_TAX_RATE); serv_req._ELFBPT.MANUFACTURERRATEX = CopMvcUtil.ConvNumberToDigit9(e.BPT_INFO.SCH_E_M_TAX_RATE); serv_req._ELFBPT.WHOLESALERRATEX = CopMvcUtil.ConvNumberToDigit9(e.BPT_INFO.SCH_E_W_TAX_RATE); serv_req._ELFBPT.RETAILERRATEX = CopMvcUtil.ConvNumberToDigit9(e.BPT_INFO.SCH_E_R_TAX_RATE); serv_req._ELFBPT.LOSSCARRYFORWARDX = e.BPT_INFO.LOSS_CARRY_FOWARD; serv_req._ELFBPT.PREPARERNAME = e.BPT_INFO.PREPARER_NAME; serv_req._ELFBPT.PREPARERPHONE = CopMvcUtil.ConvDecimal(e.BPT_INFO.PREPARER_PHONE); serv_req._ELFBPT.PREPARERPHONEEXT = e.BPT_INFO.PREPARER_PHONE_EXT; serv_req._ELFBPT.PREPARERIPADDRESS = e.BPT_INFO.PREPARER_IP_ADDRESS; serv_req._ELFBPT.PREPAREREMAILADDRESS = e.BPT_INFO.PREPARER_EMAIL_ADDRESS; serv_req._ELFBPT.PREPARERTYPE = e.BPT_INFO.PREPARER_WHO; serv_req._ELFPG1 = new RTTIE230_SrvRef._ELFPG1(); serv_req._ELFPG1.TAXONNETX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NET_INCOME); serv_req._ELFPG1.TAXONGROSSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.GROSS_RECEIPTS); serv_req._ELFPG1.ACTUALTAXX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.TAX_DUE); serv_req._ELFPG1.ESTIMATEDTAXX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.ESTIMATED_TAX); serv_req._ELFPG1.TOTALTAXX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.TOTAL_TAX); serv_req._ELFPG1.NPTTAXCREDITX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NPT_TAX_CREDIT); serv_req._ELFPG1.BPTTAXCREDITX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.BPT_TAX_CREDIT); serv_req._ELFPG1.TOTALPAYMNTSCREDITSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.TOTAL_PAY_CREDITS); serv_req._ELFPG1.TAXDUEAMTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NET_TAX); serv_req._ELFPG1.INTERESTANDPENALTYAMTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.INTEREST_PENALTY); serv_req._ELFPG1.AMTOWED2X = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.AMOUNT_OWED); serv_req._ELFPG1.REFUNDAMTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.REFUND); serv_req._ELFPG1.NPTOVERPAYMENTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NPT_OVERPAY); serv_req._ELFPG1.BPTOVERPAYMENTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.BPT_OVERPAY); serv_req._ELFSCHA = new RTTIE230_SrvRef._ELFSCHA(); serv_req._ELFSCHA.NETINCOMELOSSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.NI_LOSS); serv_req._ELFSCHA.NETINCOMEPORTACTIVITIESX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.NI_PORT_ACTIVITIES); serv_req._ELFSCHA.NETINCOMEPUCICCX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.NI_PUC_ICC); serv_req._ELFSCHA.NETINCOMEPUBLICLAWX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.NI_PUBLIC_LAW); serv_req._ELFSCHA.INCOMEAPPORTIONEDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.I_APPORTIONED); serv_req._ELFSCHA.APPORTIONPERCENTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.I_APPORTIONED_PERCENT); serv_req._ELFSCHA.INCOMEAPPORTIONEDPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.I_APPORTIONED_PHILA); serv_req._ELFSCHA.INCOMENONBUSPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.I_NONBUS_PHILA); serv_req._ELFSCHA.INCOMECURRENTYEARX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.I_CURRENT_YEAR); serv_req._ELFSCHA.LOSSCARRYFORWARDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.LOSS_CARRY_FORWARD); serv_req._ELFSCHA.TAXABLEINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.I_TAXABLE); serv_req._ELFSCHA.TAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.TAX_DUE); serv_req._ELFSCHB = new RTTIE230_SrvRef._ELFSCHB(); serv_req._ELFSCHB._NETINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.NI_LOSS); serv_req._ELFSCHB._ADJNETINCOMEINTERESTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_NI_INTEREST); serv_req._ELFSCHB._ADJNETINCPORTACTIVITIESX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_NI_PORT_ACTIVITIES); serv_req._ELFSCHB._ADJNETINCOMEPUCICCX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_NI_PUC_ICC); serv_req._ELFSCHB._ADJNETINCOMEPUBLICLAWX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_NI_PUBLIC_LAW); serv_req._ELFSCHB._ADJRECEIPTSDIRX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_RECEIPTS_DIR); serv_req._ELFSCHB._ADJUSTEDINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_INCOME); serv_req._ELFSCHB._ADJRECEIPTSOTHERX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_RECEIPTS_OTHER); serv_req._ELFSCHB._ADJGROSSRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_GROSS_RECEIPTS); serv_req._ELFSCHB._GROSSPERCENTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_GROSS_PERCENT); serv_req._ELFSCHB._TOTALADJUSTMENTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_TOTAL); serv_req._ELFSCHB._NETINCOMEADJUSTEDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.NI_ADJUSTED); serv_req._ELFSCHB._NONBUSINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_NONBUS); serv_req._ELFSCHB._INCOMEAPPORTIONEDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_APPORTIONED); serv_req._ELFSCHB.APPORTIONPERCENTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_APPORTIONED_PERCENT); serv_req._ELFSCHB._INCOMEAPPORTIONEDPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_APPORTIONED_PHILA); serv_req._ELFSCHB._INCOMENONBUSPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_NONBUS_PHILA); serv_req._ELFSCHB._INCOMECURRENTYEARX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_CURRENT_YEAR); serv_req._ELFSCHB._LOSSCARRYFORWARDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.LOSS_CARRY_FORWARD); serv_req._ELFSCHB._INCOMETAXABLEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_TAXABLE); serv_req._ELFSCHB._TAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.TAX_DUE); serv_req._ELFSCHC1 = new RTTIE230_SrvRef._ELFSCHC1(); serv_req._ELFSCHC1._PROPERTYPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.TOTAL_AVG_PHILA); serv_req._ELFSCHC1._PROPERTYALLX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.TOTAL_AVG_ALL); serv_req._ELFSCHC1._PROPERTYFACTORX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.PROPERTY_FACTOR_PHILA); serv_req._ELFSCHC1._PAYROLLPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.PAYROLL_PHILA); serv_req._ELFSCHC1._PAYROLLALLX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.PAYROLL_ALL); serv_req._ELFSCHC1._PAYROLLFACTORX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.PAYROLL_FACTOR_PHILA); serv_req._ELFSCHC1._RECEIPTSPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.RECEIPTS_PHILA); serv_req._ELFSCHC1._RECEIPTSALLX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.RECEIPTS_ALL); serv_req._ELFSCHC1._RECEIPTSFACTORX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.RECEIPTS_FACTOR_PHILA); serv_req._ELFSCHC1._TOTALFACTORSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.TOTAL_FACTORS); serv_req._ELFSCHC1._AVERAGEFACTORSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.AVERAGE_FACTORS); serv_req._ELFSCHD = new RTTIE230_SrvRef._ELFSCHD(); serv_req._ELFSCHD._GROSSSALESX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.GR_SALES); serv_req._ELFSCHD._GROSSSERVICESX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.GR_SERVICES); serv_req._ELFSCHD._GROSSRENTALSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.GR_RENTALS); serv_req._ELFSCHD._TOTALRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.GR_TOTALS); serv_req._ELFSCHD._LESALESOUTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.LE_SALES_OUT); serv_req._ELFSCHD._LESERVICESOUTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.LE_SERVICES_OUT); serv_req._ELFSCHD._LERENTALSOUTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.LE_RENTALS_OUT); serv_req._ELFSCHD._LEOTHERAMTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.LE_OTHER); serv_req._ELFSCHD._NETTAXABLERECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.NET_TAXABLE_RECEIPTS); serv_req._ELFSCHD._LEMETHODRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.LE_TOTAL); serv_req._ELFSCHD._REGULARRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.TAXABLE_RECEIPTS); serv_req._ELFSCHD._TAXDUEREGULARX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.TAX_DUE); serv_req._ELFSCHD._TAXDUEALTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.TAX_DUE_ALT); serv_req._ELFSCHD._TOTALTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.TOTAL_TAX_DUE); serv_req._ELFSCHE = new RTTIE230_SrvRef._ELFSCHE(); serv_req._ELFSCHE._MALTRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.M_ALT_RECEIPTS); serv_req._ELFSCHE._MGOODSCOSTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.M_GOODS_COST); serv_req._ELFSCHE._MTAXBASEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.M_TAX_BASE); serv_req._ELFSCHE._MTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.M_TAX_DUE); serv_req._ELFSCHE._WALTRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.W_ALT_RECEIPTS); serv_req._ELFSCHE._WGOODSMATERIALSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.W_GOODS_MATERIALS); serv_req._ELFSCHE._WGOODSLABORX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.W_GOODS_LABOR); serv_req._ELFSCHE._WGOODSCOSTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.W_GOODS_COST); serv_req._ELFSCHE._WTAXBASEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.W_TAX_BASE); //serv_req._ELFSCHE.ta = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.LE_TOTAL); serv_req._ELFSCHE._WTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.W_TAX_DUE); serv_req._ELFSCHE._RALTRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.R_ALT_RECEIPTS); serv_req._ELFSCHE._RGOODSMATERIALSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.R_GOODS_MATERIALS); serv_req._ELFSCHE._RGOODSLABORX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.R_GOODS_LABOR); serv_req._ELFSCHE._RGOODSCOSTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.R_GOODS_COST); serv_req._ELFSCHE._RTAXBASEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.R_TAX_BASE); serv_req._ELFSCHE._RTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.R_TAX_DUE); serv_req._ELFSCHE._TOTALALTTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.TOTAL_TAX_DUE); RTTIE230_SrvRef.RTTIE230Response response = _client.RTTIE230(serv_req); e = __Fill(response); return(e); }
private static COPXmlFactory.RTTIE030_2015.BPTlfReturn __RTTIE030_F_U(COPXmlFactory.RTTIE030_2015.BPTlfReturn e) { RTTIE030_SrvRef.TT030E00_SMA _SMA = new RTTIE030_SrvRef.TT030E00_SMA(); RTTIE030_SrvRef.TT030E00_ELFBPT _ELFBPT = new RTTIE030_SrvRef.TT030E00_ELFBPT(); RTTIE030_SrvRef.TT030E00_ELFPG1 _ELFPG1 = new RTTIE030_SrvRef.TT030E00_ELFPG1(); RTTIE030_SrvRef.TT030E00_ELFSCHA _ELFSCHA = new RTTIE030_SrvRef.TT030E00_ELFSCHA(); RTTIE030_SrvRef.TT030E00_ELFSCHB _ELFSCHB = new RTTIE030_SrvRef.TT030E00_ELFSCHB(); RTTIE030_SrvRef.TT030E00_ELFSCHC1 _ELFSCHC1 = new RTTIE030_SrvRef.TT030E00_ELFSCHC1(); RTTIE030_SrvRef.TT030E00_ELFSCHD _ELFSCHD = new RTTIE030_SrvRef.TT030E00_ELFSCHD(); RTTIE030_SrvRef.TT030E00_ELFSCHE _ELFSCHE = new RTTIE030_SrvRef.TT030E00_ELFSCHE(); RTTIE030_SrvRef.TT030E00_NEW2014FIELDS _NEW2014FIELDS = new RTTIE030_SrvRef.TT030E00_NEW2014FIELDS(); RTTIE030_SrvRef.TT030E00_NEW2015FIELDS _NEW2015FIELDS = new RTTIE030_SrvRef.TT030E00_NEW2015FIELDS(); // RTTIE030_SrvRef.TT030E00 rttie030 = new RTTIE030_SrvRef.TT030E00(); rttie030.Timeout = 120000; // RTTIE030_SrvRef.TT030E00Response_SMA _SMAResponse = new RTTIE030_SrvRef.TT030E00Response_SMA(); RTTIE030_SrvRef.TT030E00Response_ELFBPT _ELFBPTResponse = new RTTIE030_SrvRef.TT030E00Response_ELFBPT(); RTTIE030_SrvRef.TT030E00Response_ELFPG1 _ELFPG1Response = new RTTIE030_SrvRef.TT030E00Response_ELFPG1(); RTTIE030_SrvRef.TT030E00Response_ELFSCHA _ELFSCHAResponse = new RTTIE030_SrvRef.TT030E00Response_ELFSCHA(); RTTIE030_SrvRef.TT030E00Response_ELFSCHB _ELFSCHBResponse = new RTTIE030_SrvRef.TT030E00Response_ELFSCHB(); RTTIE030_SrvRef.TT030E00Response_ELFSCHC1 _ELFSCHC1Response = new RTTIE030_SrvRef.TT030E00Response_ELFSCHC1(); RTTIE030_SrvRef.TT030E00Response_ELFSCHD _ELFSCHDResponse = new RTTIE030_SrvRef.TT030E00Response_ELFSCHD(); RTTIE030_SrvRef.TT030E00Response_ELFSCHE _ELFSCHEResponse = new RTTIE030_SrvRef.TT030E00Response_ELFSCHE(); RTTIE030_SrvRef.TT030E00Response_NEW2014FIELDS _NEW2014FIELDSResponse = new RTTIE030_SrvRef.TT030E00Response_NEW2014FIELDS(); RTTIE030_SrvRef.TT030E00Response_NEW2015FIELDS _NEW2015FIELDSResponse = new RTTIE030_SrvRef.TT030E00Response_NEW2015FIELDS(); RTTIE030_SrvRef.TT030E00Response_SERR _SERRResponse = new RTTIE030_SrvRef.TT030E00Response_SERR(); // _ELFBPT.ACCOUNTID = e.BPT_INFO.ACCOUNT_ID; _ELFBPT.VERSIONX = e.BPT_INFO.VERSION; _ELFBPT.PERIODX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.PERIOD); _ELFBPT.RETURNSTATUS = e.BPT_INFO.RETURN_STATUS; _ELFBPT.LASTUPDATEDATEX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.LAST_UPD_DATE); _ELFBPT.RECORDINGDATEX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.RECORDING_DATE); _ELFBPT.EXTENSIONDATEX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.EXTENSION_DATE); _ELFBPT.SEQUENCENUM = e.BPT_INFO.SEQUENCE; _ELFBPT.ADJREFNO = e.BPT_INFO.ADJUSTMENT_REF_NO; _ELFBPT.USERID = e.BPT_INFO.USER_ID; _ELFBPT.NETRATEX = CopMvcUtil.ConvNumberToDigit9(e.BPT_INFO.SCH_AB_TAX_RATE); _ELFBPT.GROSSRATEX = CopMvcUtil.ConvNumberToDigit9(e.BPT_INFO.SCH_D_TAX_RATE); _ELFBPT.MANUFACTURERRATEX = CopMvcUtil.ConvNumberToDigit9(e.BPT_INFO.SCH_E_M_TAX_RATE); _ELFBPT.WHOLESALERRATEX = CopMvcUtil.ConvNumberToDigit9(e.BPT_INFO.SCH_E_W_TAX_RATE); _ELFBPT.RETAILERRATEX = CopMvcUtil.ConvNumberToDigit9(e.BPT_INFO.SCH_E_R_TAX_RATE); _ELFBPT.LOSSCARRYFORWARDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_INFO.LOSS_CARRY_FOWARD); _ELFBPT.PREPARERNAME = e.BPT_INFO.PREPARER_NAME; _ELFBPT.PREPARERPHONE = CopMvcUtil.GetDecimal(e.BPT_INFO.PREPARER_PHONE); _ELFBPT.PREPARERPHONEEXT = e.BPT_INFO.PREPARER_PHONE_EXT; _ELFBPT.PREPARERIPADDRESS = e.BPT_INFO.PREPARER_IP_ADDRESS; _ELFBPT.PREPAREREMAILADDRESS = e.BPT_INFO.PREPARER_EMAIL_ADDRESS; _ELFBPT.PREPARERTYPE = e.BPT_INFO.PREPARER_WHO; _ELFBPT.PREPARERPHONESpecified = true; //_ELFPG1 _ELFPG1.TAXONNETX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NET_INCOME); _ELFPG1.TAXONGROSSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.GROSS_RECEIPTS); _ELFPG1.ACTUALTAXX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.TAX_DUE); _ELFPG1.ESTIMATEDTAXX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.ESTIMATED_TAX); _ELFPG1.TOTALTAXX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.TOTAL_TAX); _ELFPG1.NPTTAXCREDITX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NPT_TAX_CREDIT); _ELFPG1.BPTTAXCREDITX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.BPT_TAX_CREDIT); _ELFPG1.TOTALPAYMNTSCREDITSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.TOTAL_PAY_CREDITS); _ELFPG1.TAXDUEAMTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NET_TAX); _ELFPG1.INTERESTANDPENALTYAMTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.INTEREST_PENALTY); _ELFPG1.AMTOWED2X = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.AMOUNT_OWED); _ELFPG1.REFUNDAMTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.REFUND); _ELFPG1.NPTOVERPAYMENTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NPT_OVERPAY); _ELFPG1.BPTOVERPAYMENTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.BPT_OVERPAY); //_ELFSCHA _ELFSCHA.NETINCOMELOSSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.NI_LOSS); _ELFSCHA.NETINCOMEPORTACTIVITIESX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.NI_PORT_ACTIVITIES); _ELFSCHA.NETINCOMEPUCICCX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.NI_PUC_ICC); _ELFSCHA.NETINCOMEPUBLICLAWX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.NI_PUBLIC_LAW); _ELFSCHA.INCOMEAPPORTIONEDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.I_APPORTIONED); _ELFSCHA.APPORTIONPERCENTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.I_APPORTIONED_PERCENT); _ELFSCHA.INCOMEAPPORTIONEDPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.I_APPORTIONED_PHILA); _ELFSCHA.INCOMENONBUSPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.I_NONBUS_PHILA); _ELFSCHA.INCOMECURRENTYEARX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.I_CURRENT_YEAR); _ELFSCHA.LOSSCARRYFORWARDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.LOSS_CARRY_FORWARD); _ELFSCHA.TAXABLEINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.I_TAXABLE); _ELFSCHA.TAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.TAX_DUE); //_ELFSCHB _ELFSCHB._NETINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.NI_LOSS); _ELFSCHB._ADJNETINCOMEINTERESTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_NI_INTEREST); _ELFSCHB._ADJNETINCPORTACTIVITIESX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_NI_PORT_ACTIVITIES); _ELFSCHB._ADJNETINCOMEPUCICCX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_NI_PUC_ICC); _ELFSCHB._ADJNETINCOMEPUBLICLAWX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_NI_PUBLIC_LAW); _ELFSCHB._ADJRECEIPTSDIRX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_RECEIPTS_DIR); _ELFSCHB._ADJUSTEDINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_INCOME); _ELFSCHB._ADJRECEIPTSOTHERX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_RECEIPTS_OTHER); _ELFSCHB._ADJGROSSRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_GROSS_RECEIPTS); _ELFSCHB._GROSSPERCENTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_GROSS_PERCENT); _ELFSCHB._TOTALADJUSTMENTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.ADJ_TOTAL); // 2j B _ELFSCHB._NETINCOMEADJUSTEDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.NI_ADJUSTED); _ELFSCHB._NONBUSINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_NONBUS); _ELFSCHB._INCOMEAPPORTIONEDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_APPORTIONED); _ELFSCHB.APPORTIONPERCENTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_APPORTIONED_PERCENT); _ELFSCHB._INCOMEAPPORTIONEDPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_APPORTIONED_PHILA); _ELFSCHB._INCOMENONBUSPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_NONBUS_PHILA); _ELFSCHB._INCOMECURRENTYEARX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_CURRENT_YEAR); //9 B _ELFSCHB._LOSSCARRYFORWARDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.LOSS_CARRY_FORWARD); //11 B _ELFSCHB._INCOMETAXABLEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.I_TAXABLE); _ELFSCHB._TAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.TAX_DUE); //_ELFSCHC1 _ELFSCHC1._PROPERTYPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.TOTAL_AVG_PHILA); _ELFSCHC1._PROPERTYALLX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.TOTAL_AVG_ALL); _ELFSCHC1._PROPERTYFACTORX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.PROPERTY_FACTOR_PHILA); _ELFSCHC1._PAYROLLPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.PAYROLL_PHILA); _ELFSCHC1._PAYROLLALLX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.PAYROLL_ALL); _ELFSCHC1._PAYROLLFACTORX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.PAYROLL_FACTOR_PHILA); _ELFSCHC1._RECEIPTSPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.RECEIPTS_PHILA); _ELFSCHC1._RECEIPTSALLX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_C1.RECEIPTS_ALL); _ELFSCHC1._RECEIPTSFACTORX = CopMvcUtil.ConvFactorToDigit(Convert.ToDouble(e.BPT_SCH_C1.RECEIPTS_FACTOR_PHILA)); _ELFSCHC1._TOTALFACTORSX = CopMvcUtil.ConvFactorToDigit(0.0); _ELFSCHC1._AVERAGEFACTORSX = CopMvcUtil.ConvFactorToDigit(0.0); //_ELFSCHD _ELFSCHD._GROSSSALESX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.GR_SALES); _ELFSCHD._GROSSSERVICESX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.GR_SERVICES); _ELFSCHD._GROSSRENTALSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.GR_RENTALS); //3 D _ELFSCHD._TOTALRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.GR_TOTALS); _ELFSCHD._LESALESOUTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.LE_SALES_OUT); _ELFSCHD._LESERVICESOUTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.LE_SERVICES_OUT); //5b D _ELFSCHD._LERENTALSOUTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.LE_RENTALS_OUT); _ELFSCHD._LEOTHERAMTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.LE_OTHER); //5d D _ELFSCHD._NETTAXABLERECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.NET_TAXABLE_RECEIPTS_BEFORE); //6 D _ELFSCHD._LEMETHODRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.RECEIPTS_ALTERNATIVE_METHOD); //9 D _ELFSCHD._REGULARRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.NET_TAXABLE_RECEIPTS_AFTER); //8 D _ELFSCHD._TAXDUEREGULARX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.TAX_DUE); // 11 D _ELFSCHD._TAXDUEALTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.TAX_DUE_ALT); _ELFSCHD._TOTALTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.TOTAL_TAX_DUE); //_ELFSCHE _ELFSCHE._MALTRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.M_ALT_RECEIPTS); _ELFSCHE._MGOODSCOSTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.M_GOODS_COST); _ELFSCHE._MTAXBASEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.M_TAX_BASE); _ELFSCHE._MTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.M_TAX_DUE); _ELFSCHE._WALTRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.W_ALT_RECEIPTS); _ELFSCHE._WGOODSMATERIALSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.W_GOODS_MATERIALS); _ELFSCHE._WGOODSLABORX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.W_GOODS_LABOR); _ELFSCHE._WGOODSCOSTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.W_GOODS_COST); _ELFSCHE._WTAXBASEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.W_TAX_BASE); _ELFSCHE._WTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.W_TAX_DUE); _ELFSCHE._RALTRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.R_ALT_RECEIPTS); _ELFSCHE._RGOODSMATERIALSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.R_GOODS_MATERIALS); _ELFSCHE._RGOODSLABORX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.R_GOODS_LABOR); _ELFSCHE._RGOODSCOSTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.R_GOODS_COST); _ELFSCHE._RTAXBASEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.R_TAX_BASE); _ELFSCHE._RTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.R_TAX_DUE); _ELFSCHE._TOTALALTTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_E.TOTAL_TAX_DUE); //_NEW2014FIELDS _NEW2014FIELDS._STATNETDEDUCTIONAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.STAT_NET_DEDUCTION_A_X); //12 A _NEW2014FIELDS._STATNETDEDUCTIONBX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.STAT_NET_DEDUCTION_B_X); //10 B _NEW2014FIELDS._STATEXCLUSIONDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.STAT_EXCLUSION_D_X); //6 D // NEW2015FIELDS _NEW2015FIELDS._ADJUSTEDNETINCOMEAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.ADJUSTED_NET_INCOME); //2015 5 A _NEW2015FIELDS._TOTALNONBUSINCOMESAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.TOTAL_NONBUS_INCOMES); //2015 6 A _NEW2015FIELDS._TOTALTAXABLERECEIPTSDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.RECEIPTS_REGULAR_RATE); //2015 // Line 10 D // string ELFBPT = CopMvcUtil.GetXMlFromObject(_ELFBPT); string ELFPG1 = CopMvcUtil.GetXMlFromObject(_ELFPG1); string ELFSCHA = CopMvcUtil.GetXMlFromObject(_ELFSCHA); string ELFSCHB = CopMvcUtil.GetXMlFromObject(_ELFSCHB); string ELFSCHC1 = CopMvcUtil.GetXMlFromObject(_ELFSCHC1); string ELFSCHD = CopMvcUtil.GetXMlFromObject(_ELFSCHD); string ELFSCHE = CopMvcUtil.GetXMlFromObject(_ELFSCHE); string NEW2014FIELDS = CopMvcUtil.GetXMlFromObject(_NEW2014FIELDS); string NEW2015FIELDS = CopMvcUtil.GetXMlFromObject(_NEW2015FIELDS); // _SMAResponse = rttie030.CallTT030E00(new RTTIE030_SrvRef.TT030E00_SMA(), _ELFBPT, _ELFPG1, _ELFSCHA, _ELFSCHB, _ELFSCHC1, _ELFSCHD, _ELFSCHE, _NEW2014FIELDS, _NEW2015FIELDS, new RTTIE030_SrvRef.TT030E00_SERR(), out _ELFBPTResponse, out _ELFPG1Response, out _ELFSCHAResponse, out _ELFSCHBResponse, out _ELFSCHC1Response, out _ELFSCHDResponse, out _ELFSCHEResponse, out _NEW2014FIELDSResponse, out _NEW2015FIELDSResponse, out _SERRResponse); e = __Fill(_SMAResponse, _ELFBPTResponse, _ELFPG1Response, _ELFSCHAResponse, _ELFSCHBResponse, _ELFSCHC1Response, _ELFSCHDResponse, _ELFSCHEResponse, _NEW2014FIELDSResponse, _NEW2015FIELDSResponse, _SERRResponse ); return(e); }
private static COPXmlFactory.RTTIE027.WAGERETURN __RTTIE027_F_U(COPXmlFactory.RTTIE027.WAGERETURN e) { WAGE_RTTIE027_SrvRef.TT027E00 serv_req = new WAGE_RTTIE027_SrvRef.TT027E00(); WAGE_RTTIE027_SrvRef.TT027E00_EWAG _EWAG = new WAGE_RTTIE027_SrvRef.TT027E00_EWAG(); WAGE_RTTIE027_SrvRef.TT027E00_EAMT _EAMT = new WAGE_RTTIE027_SrvRef.TT027E00_EAMT(); WAGE_RTTIE027_SrvRef.TT027E00_SMA _SMA = new WAGE_RTTIE027_SrvRef.TT027E00_SMA(); WAGE_RTTIE027_SrvRef.TT027E00_SERR _SERR = new WAGE_RTTIE027_SrvRef.TT027E00_SERR(); WAGE_RTTIE027_SrvRef.TT027E00Response_SMA _SMAResponse = new WAGE_RTTIE027_SrvRef.TT027E00Response_SMA(); WAGE_RTTIE027_SrvRef.TT027E00Response_EAMT _EAMTResponse = new WAGE_RTTIE027_SrvRef.TT027E00Response_EAMT(); WAGE_RTTIE027_SrvRef.TT027E00Response_EWAG _EWAGResponse = new WAGE_RTTIE027_SrvRef.TT027E00Response_EWAG(); WAGE_RTTIE027_SrvRef.TT027E00Response_SERR _SERRResponse = new WAGE_RTTIE027_SrvRef.TT027E00Response_SERR(); _EWAG.ACCOUNTID = e.WAGE_INFO.ACCOUNT_ID; _EWAG.VERSIONX = e.WAGE_INFO.VERSION; _EWAG.PERIODX = CopMvcUtil.ConvDateDecimalString(e.WAGE_INFO.PERIOD); _EWAG.DOCUMENTCONTROLX = e.WAGE_INFO.DOCUMENT_CONTROL; _EWAG.ADJREFNO = e.WAGE_INFO.ADJ_REFNO_CONTROL; _EWAG.RETURNSTATUS = e.WAGE_INFO.RETURN_STATUS; _EWAG.SEQUENCENUM = e.WAGE_INFO.SEQUENCE; _EWAG.LASTUPDATEDATEX = CopMvcUtil.ConvDateDecimalString(e.WAGE_INFO.LAST_UPD_DATE); _EWAG.NUMBEROFRESIDENTSX = CopMvcUtil.ConvNumberToDigit7(e.WAGE_INFO.NO_OF_RESIDENTS); _EWAG.NUMBEROFNONRESIDENTSX = CopMvcUtil.ConvNumberToDigit7(e.WAGE_INFO.NO_OF_NONRESIDENTS); _EWAG.PHILAEMPLOYEESX = CopMvcUtil.ConvNumberToDigit7(e.WAGE_INFO.PHILA_EMPLOYEES); _EWAG.TOTALEMPLOYEESX = CopMvcUtil.ConvNumberToDigit7(e.WAGE_INFO.TOTAL_EMPLOYEES); _EWAG.RESRATEA = CopMvcUtil.ConvNumberToDigit9(e.WAGE_INFO.RESTAX_A); _EWAG.RESRATEB = CopMvcUtil.ConvNumberToDigit9(e.WAGE_INFO.RESTAX_B); _EWAG.NONRATEA = CopMvcUtil.ConvNumberToDigit9(e.WAGE_INFO.NONRESTAX_A); _EWAG.NONRATEB = CopMvcUtil.ConvNumberToDigit9(e.WAGE_INFO.NONRESTAX_B); _EWAG.FREQUENCY = e.WAGE_INFO.FREQUENCY; _EWAG.DUEDATE = CopMvcUtil.ConvDateDecimalString(e.WAGE_INFO.DUE_DATE); _EWAG.PREPARERNAME = e.WAGE_INFO.PREPARER_NAME; _EWAG.PREPARERPHONE = CopMvcUtil.GetDecimal(e.WAGE_INFO.PREPARER_PHONE); _EWAG.PREPARERPHONEEXT = e.WAGE_INFO.PREPARER_PHONE_EXT; _EWAG.PREPARERIPADDRESS = e.WAGE_INFO.PREPARER_IP_ADDRESS; _EWAG.PREPAREREMAILADDRESS = e.WAGE_INFO.PREPARER_EMAIL_ADDRESS; _EWAG.PREPARERTYPE = e.WAGE_INFO.PREPARER_WHO;; _EWAG.PREPARERPHONESpecified = true; _EAMT.GROSSCOMPENSATIONX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.GROSS_COMP); _EAMT.NONTAXABLECOMPX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NON_TAXABLE_COMP); _EAMT.TIPSWAGESX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TIPS_WAGES);// "000000000000000"; _EAMT.NETCOMPENSATIONX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NET_COMP); _EAMT.RESIDENTPAYROLLAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.RESIDENT_PAYROLL_A); _EAMT.RESIDENTTAXDUEAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.RESIDENT_TAX_DUE_A); _EAMT.RESIDENTPAYROLLBX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.RESIDENT_PAYROLL_B); _EAMT.RESIDENTTAXDUEBX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.RESIDENT_TAX_DUE_B); _EAMT.NONRESPAYROLLAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NON_RES_PAYROLL_A); _EAMT.NONRESTAXDUEAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NON_RES_TAX_DUE_A); _EAMT.NONRESPAYROLLBX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NON_RES_PAYROLL_B); _EAMT.NONRESTAXDUEBX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NON_RES_TAX_DUE_B); _EAMT.TOTALGROSSTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TOTAL_GROSS_TAX_DUE); _EAMT.TAXPAIDX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_PAID); _EAMT.TAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_DUE); _EAMT.TAXOVERPAIDX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_OVERPAID); _EAMT.POSTINGDATEX = CopMvcUtil.ConvDateDecimalString(e.AMT_INFO.POSTING_DATE); _EAMT.FILINGDATEX = CopMvcUtil.ConvDateDecimalString(e.AMT_INFO.FILING_DATE); _EAMT.USERID = e.AMT_INFO.USER_ID; string s = CopMvcUtil.GetXMlFromObject(_EWAG); string s1 = CopMvcUtil.GetXMlFromObject(_EAMT); _SMAResponse = serv_req.CallTT027E00 (_SMA, _EWAG, _EAMT, _SERR, out _EWAGResponse, out _EAMTResponse, out _SERRResponse ); e = _Fill(_SMAResponse, _EWAGResponse, _EAMTResponse, _SERRResponse); return(e); }
private static COPXmlFactory.RTTIE022.DelinquentForm __RTTIE222_F_P(COPXmlFactory.RTTIE022.DelinquentForm e) { RTTIE022_SrvRef.TT022E00_EMI _EMI = new RTTIE022_SrvRef.TT022E00_EMI(); RTTIE022_SrvRef.TT022E00_ETA _ETA = new RTTIE022_SrvRef.TT022E00_ETA(); RTTIE022_SrvRef.TT022E00 rttie022 = new RTTIE022_SrvRef.TT022E00(); RTTIE022_SrvRef.TT022E00Response_SMA _SMAResponse = new RTTIE022_SrvRef.TT022E00Response_SMA(); RTTIE022_SrvRef.TT022E00Response_EMI _EMIResponse = new RTTIE022_SrvRef.TT022E00Response_EMI(); RTTIE022_SrvRef.TT022E00Response_ETA _ETAResponse = new RTTIE022_SrvRef.TT022E00Response_ETA(); _EMI._ENTITYMASTERINFO = new RTTIE022_SrvRef.TT022E00_EMI_ENTITYMASTERINFO(); _EMI._ENTITYMASTERINFO.ENTITYTYPE = CopMvcUtil.GetDecimal(e.DEL_INFO.ENTITY_TYPE); _EMI._ENTITYMASTERINFO.ENTITYID = e.DEL_INFO.ENTITY_ID; _EMI._ENTITYMASTERINFO.FUNCTION = e.DEL_INFO.FUNCTION; _EMI._ENTITYMASTERINFO.ENTITYTYPESpecified = true; if (e.DEL_ACCTs.Count > 0) { _ETA._ENTITYTAXACCOUNTSs = new RTTIE022_SrvRef.TT022E00_ETA_ENTITYTAXACCOUNTS[e.DEL_ACCTs.Count]; for (int i = 0; i < e.DEL_ACCTs.Count; i++) { if (e.DEL_ACCTs[i].ACCOUNT_ID.Value != null) { _ETA._ENTITYTAXACCOUNTSs[i] = new RTTIE022_SrvRef.TT022E00_ETA_ENTITYTAXACCOUNTS(); _ETA._ENTITYTAXACCOUNTSs[i].FUNCTIONCODE = e.DEL_ACCTs[i].FUNCTION_CODE; _ETA._ENTITYTAXACCOUNTSs[i].ACCOUNTID = e.DEL_ACCTs[i].ACCOUNT_ID; _ETA._ENTITYTAXACCOUNTSs[i].INTERESTX = CopMvcUtil.ConvCurrencyToDigit(e.DEL_ACCTs[i].INTEREST_DUE).Substring(2); //change the method _ETA._ENTITYTAXACCOUNTSs[i].PENALTYX = CopMvcUtil.ConvCurrencyToDigit(e.DEL_ACCTs[i].PENALTY_DUE).Substring(2); _ETA._ENTITYTAXACCOUNTSs[i].PRINCIPALX = CopMvcUtil.ConvCurrencyToDigit(e.DEL_ACCTs[i].PRINCIPAL_DUE).Substring(2); _ETA._ENTITYTAXACCOUNTSs[i].PERIODX = CopMvcUtil.ConvDateDecimalString(e.DEL_ACCTs[i].PERIOD); _ETA._ENTITYTAXACCOUNTSs[i].OTHERX = CopMvcUtil.ConvCurrencyToDigit(e.DEL_ACCTs[i].OTHER_DUE).Substring(2); _ETA._ENTITYTAXACCOUNTSs[i].BRTADDRESS = e.DEL_ACCTs[i].BRT_ADDRESS; _ETA._ENTITYTAXACCOUNTSs[i].BRTENTITY = e.DEL_ACCTs[i].BRT_ENTITY; _ETA._ENTITYTAXACCOUNTSs[i].ACCOUNT = e.DEL_ACCTs[i].ACCOUNT_TYPE; _ETA._ENTITYTAXACCOUNTSs[i].FILL = e.DEL_ACCTs[i].FILL; } } } string eta = CopMvcUtil.GetXMlFromObject(_ETA); string emi = CopMvcUtil.GetXMlFromObject(_EMI); _SMAResponse = rttie022.CallTT022E00( //calling the service for status... new RTTIE022_SrvRef.TT022E00_SMA(), _EMI, _ETA, out _EMIResponse, out _ETAResponse ); e = _Fill(_SMAResponse, _EMIResponse, _ETAResponse); return(e); }
private static COPXmlFactory.RTTIE037.BPTezReturn __RTTIE037_F_U(COPXmlFactory.RTTIE037.BPTezReturn e) { RTTIE237_SrvRef.RTTIE237 serv_req = new RTTIE237_SrvRef.RTTIE237(); serv_req._EBPT = new RTTIE237_SrvRef._EBPT(); serv_req._EBPT.ACCOUNTID = e.BPT_INFO.ACCOUNT_ID; serv_req._EBPT.VERSIONX = e.BPT_INFO.VERSION; serv_req._EBPT.PERIODX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.PERIOD); serv_req._EBPT.RETURNSTATUS = e.BPT_INFO.RETURN_STATUS; serv_req._EBPT.LASTUPDATEDATEX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.LAST_UPD_DATE); serv_req._EBPT.RECORDINGDATEX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.RECORDING_DATE); serv_req._EBPT.EXTENSIONDATEX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.EXTENSION_DATE); serv_req._EBPT.SEQUENCENUM = e.BPT_INFO.SEQUENCE; serv_req._EBPT.ADJUSTMENTREFERENCENUM = e.BPT_INFO.ADJUSTMENT_REF_NO; serv_req._EBPT.USERID = e.BPT_INFO.USER_ID; serv_req._EBPT.NETRATE = e.BPT_INFO.NET_RATE; serv_req._EBPT.GROSSRATE = e.BPT_INFO.GROSS_RATE; serv_req._EBPT.PREPARERNAME = e.BPT_INFO.PREPARER_NAME; serv_req._EBPT.PREPARERPHONESpecified = CopMvcUtil.IsSpecified(e.BPT_INFO.PREPARER_PHONE); serv_req._EBPT.PREPARERPHONE = CopMvcUtil.ConvDecimal(e.BPT_INFO.PREPARER_PHONE); serv_req._EBPT.PREPARERPHONEEXT = e.BPT_INFO.PREPARER_PHONE_EXT; serv_req._EBPT.PREPARERIPADDRESS = e.BPT_INFO.PREPARER_IP_ADDRESS; serv_req._EBPT.PREPAREREMAILADDRESS = e.BPT_INFO.PREPARER_EMAIL_ADDRESS; serv_req._EBPT.PREPARERTYPE = e.BPT_INFO.PREPARER_WHO; serv_req._EPG1 = new RTTIE237_SrvRef._EPG1(); serv_req._EPG1.TAXONNETX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NET_TAX); serv_req._EPG1.TAXONGROSSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.GROSS_TAX); serv_req._EPG1.ACTUALTAXX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.ACTUAL_TAX); serv_req._EPG1.ESTIMATEDTAXX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.ESTIMATED_TAX); serv_req._EPG1.TOTALTAXX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.TOTAL_TAX); serv_req._EPG1.NPTTAXCREDITX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NPT_TAX_CREDIT); serv_req._EPG1.BPTTAXCREDITX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.BPT_TAX_CREDIT); serv_req._EPG1.TOTALPAYMNTSCREDITSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.TOTAL_PAY_CREDITS); serv_req._EPG1.TAXDUEAMTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.TAX_DUE); serv_req._EPG1.INTERESTANDPENALTYAMTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.INTEREST_PENALTY); serv_req._EPG1.AMTOWED2X = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.AMOUNT_OWED); serv_req._EPG1.REFUNDAMTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.REFUND); serv_req._EPG1.NPTOVERPAYMENTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.NPT_OVERPAY); serv_req._EPG1.BPTOVERPAYMENTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG1.BPT_OVERPAY); serv_req._EEZPG2 = new RTTIE237_SrvRef._EEZPG2(); serv_req._EEZPG2.NETINCOMELOSS1X = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.NET_INCOME_LOSS_1); serv_req._EEZPG2.NETINCOMELOSS2X = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.NET_INCOME_LOSS_2); serv_req._EEZPG2.LOSSCARRYFORWARDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.LOSS_CARRY_FORWARD); serv_req._EEZPG2.TAXABLEINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.TAXABLE_INCOME); serv_req._EEZPG2.TAXDUEXNET = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.TAX_DUE_NET); serv_req._EEZPG2.SALESRENTALSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.SALES_RENTAL); serv_req._EEZPG2.SERVICESX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.SERVICES); serv_req._EEZPG2.RENTALPROPERTYX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.RENTAL_PROPERTY); serv_req._EEZPG2.ROYALTIESX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.ROYALTIES); serv_req._EEZPG2.CAPITALGAINSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.CAPITAL_GAINS); serv_req._EEZPG2.STOCKGAINSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.STOCK_GAINS); serv_req._EEZPG2.DIVIDENDSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.DIVIDENDS); serv_req._EEZPG2.INTERESTX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.INTEREST); serv_req._EEZPG2.OTHERX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.OTHER); serv_req._EEZPG2.TAXABLEGROSSRECEIPTSX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.TAXABLE_GROSS_RCPTS); serv_req._EEZPG2.TAXDUEXGROSS = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.TAX_DUE_GROSS); RTTIE237_SrvRef.RTTIE237Response response = _client.RTTIE237(serv_req); e = __Fill(response); return(e); }
private static COPXmlFactory.RTTIE027.WAGERETURN __RTTIE027_F_U(COPXmlFactory.RTTIE027.WAGERETURN e) { RTTIE227_Srvref.RTTIE227 serv_req = new RTTIE227_Srvref.RTTIE227(); serv_req._EWAG = new RTTIE227_Srvref._EWAG(); serv_req._EWAG.ACCOUNTID = e.WAGE_INFO.ACCOUNT_ID; serv_req._EWAG.VERSIONX = e.WAGE_INFO.VERSION; serv_req._EWAG.PERIODX = CopMvcUtil.ConvDateDecimalString(e.WAGE_INFO.PERIOD); serv_req._EWAG.DOCUMENTCONTROLX = e.WAGE_INFO.DOCUMENT_CONTROL; serv_req._EWAG.ADJREFNO = e.WAGE_INFO.ADJ_REFNO_CONTROL; // serv_req._EWAG.en = e.WAGE_INFO.ENTITY_ID; serv_req._EWAG.RETURNSTATUS = e.WAGE_INFO.RETURN_STATUS; serv_req._EWAG.SEQUENCENUM = e.WAGE_INFO.SEQUENCE; serv_req._EWAG.LASTUPDATEDATEX = CopMvcUtil.ConvDateDecimalString(e.WAGE_INFO.LAST_UPD_DATE); serv_req._EWAG.NUMBEROFRESIDENTSX = CopMvcUtil.ConvNumberToDigit7(e.WAGE_INFO.NO_OF_RESIDENTS); serv_req._EWAG.NUMBEROFNONRESIDENTSX = CopMvcUtil.ConvNumberToDigit7(e.WAGE_INFO.NO_OF_NONRESIDENTS); serv_req._EWAG.PHILAEMPLOYEESX = CopMvcUtil.ConvNumberToDigit7(e.WAGE_INFO.PHILA_EMPLOYEES); serv_req._EWAG.TOTALEMPLOYEESX = CopMvcUtil.ConvNumberToDigit7(e.WAGE_INFO.TOTAL_EMPLOYEES); serv_req._EWAG.RESRATEA = CopMvcUtil.ConvNumberToDigit9(e.WAGE_INFO.RESTAX_A); serv_req._EWAG.RESRATEB = CopMvcUtil.ConvNumberToDigit9(e.WAGE_INFO.RESTAX_B); serv_req._EWAG.NONRATEA = CopMvcUtil.ConvNumberToDigit9(e.WAGE_INFO.NONRESTAX_A); serv_req._EWAG.NONRATEB = CopMvcUtil.ConvNumberToDigit9(e.WAGE_INFO.NONRESTAX_B); serv_req._EWAG.FREQUENCY = e.WAGE_INFO.FREQUENCY; serv_req._EWAG.DUEDATE = CopMvcUtil.ConvDateDecimalString(e.WAGE_INFO.DUE_DATE); serv_req._EWAG.PREPARERNAME = e.WAGE_INFO.PREPARER_NAME; serv_req._EWAG.PREPARERPHONE = e.WAGE_INFO.PREPARER_PHONE; serv_req._EWAG.PREPARERPHONEEXT = e.WAGE_INFO.PREPARER_PHONE_EXT; serv_req._EWAG.PREPARERIPADDRESS = e.WAGE_INFO.PREPARER_IP_ADDRESS; serv_req._EWAG.PREPAREREMAILADDRESS = e.WAGE_INFO.PREPARER_EMAIL_ADDRESS; serv_req._EWAG.PREPARERTYPE = e.WAGE_INFO.PREPARER_WHO;; serv_req._EAMT = new RTTIE227_Srvref._EAMT(); serv_req._EAMT.GROSSCOMPENSATIONX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.GROSS_COMP); serv_req._EAMT.NONTAXABLECOMPX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NON_TAXABLE_COMP); serv_req._EAMT.NETCOMPENSATIONX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NET_COMP); serv_req._EAMT.RESIDENTPAYROLLAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.RESIDENT_PAYROLL_A); serv_req._EAMT.RESIDENTTAXDUEAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.RESIDENT_TAX_DUE_A); serv_req._EAMT.RESIDENTPAYROLLBX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.RESIDENT_PAYROLL_B); serv_req._EAMT.RESIDENTTAXDUEBX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.RESIDENT_TAX_DUE_B); serv_req._EAMT.NONRESPAYROLLAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NON_RES_PAYROLL_A); serv_req._EAMT.NONRESTAXDUEAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NON_RES_TAX_DUE_A); serv_req._EAMT.NONRESPAYROLLBX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NON_RES_PAYROLL_B); serv_req._EAMT.NONRESTAXDUEBX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NON_RES_TAX_DUE_B); serv_req._EAMT.TOTALGROSSTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TOTAL_GROSS_TAX_DUE); serv_req._EAMT.TAXPAIDX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_PAID); serv_req._EAMT.TAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_DUE); serv_req._EAMT.TAXOVERPAIDX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_OVERPAID); serv_req._EAMT.POSTINGDATEX = CopMvcUtil.ConvDateDecimalString(e.AMT_INFO.POSTING_DATE); serv_req._EAMT.FILINGDATEX = CopMvcUtil.ConvDateDecimalString(e.AMT_INFO.FILING_DATE); serv_req._EAMT.USERID = e.AMT_INFO.USER_ID; RTTIE227_Srvref.RTTIE227Response response = _client.RTTIE227(serv_req); e = _Fill(response); return(e); }