private static COPXmlFactory.RTTIE039.NPTRETURN __RTTIE039_F_U(COPXmlFactory.RTTIE039.NPTRETURN e) { RTTIE239_SrvRef.RTTIE239 serv_req = new RTTIE239_SrvRef.RTTIE239(); serv_req._ENPT = new RTTIE239_SrvRef._ENPT(); serv_req._ENPT.ACCOUNTID = e.NPT_INFO.ACCOUNT_ID; serv_req._ENPT.PERIODX = CopMvcUtil.ConvDateDecimalString(e.NPT_INFO.PERIOD); serv_req._ENPT.VERSIONX = e.NPT_INFO.VERSION; serv_req._ENPT.RETURNSTATUS = e.NPT_INFO.RETURN_STATUS; serv_req._ENPT.LASTUPDATEDATEX = CopMvcUtil.ConvDateDecimalString(e.NPT_INFO.LAST_UPD_DATE); serv_req._ENPT.RECORDINGDATEX = CopMvcUtil.ConvDateDecimalString(e.NPT_INFO.RECORDING_DATE); serv_req._ENPT.EXTENSIONDATEX = CopMvcUtil.ConvDateDecimalString(e.NPT_INFO.EXTENSION_DATE); serv_req._ENPT.SEQUENCENUMBER = e.NPT_INFO.SEQUENCE; serv_req._ENPT.ADJUSTMENTREFERENCENUM = e.NPT_INFO.ADJUSTMENT_REF_NO; serv_req._ENPT.USERID = e.NPT_INFO.USER_ID; serv_req._ENPT.RATERES = CopMvcUtil.ConvNumberToDigit9(e.NPT_INFO.RESIDENT_RATE); serv_req._ENPT.RATENONRES = CopMvcUtil.ConvNumberToDigit9(e.NPT_INFO.NON_RES_RATE); serv_req._ENPT.PREPARERNAME = e.NPT_INFO.PREPARER_NAME; serv_req._ENPT.PREPARERPHONE = CopMvcUtil.ConvDecimal(e.NPT_INFO.PREPARER_PHONE); serv_req._ENPT.PREPARERPHONESpecified = CopMvcUtil.IsSpecified(e.NPT_INFO.PREPARER_PHONE); serv_req._ENPT.PREPARERPHONEEXT = e.NPT_INFO.PREPARER_PHONE_EXT; serv_req._ENPT.PREPARERIPADDRESS = e.NPT_INFO.PREPARER_IP_ADDRESS; serv_req._ENPT.PREPAREREMAILADDRESS = e.NPT_INFO.PREPARER_EMAIL_ADDRESS; serv_req._ENPT.PREPARERTYPE = e.NPT_INFO.PREPARER_WHO; serv_req._EAMTS = new RTTIE239_SrvRef._EAMTS(); serv_req._EAMTS.RESTAXABLEINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.RESIDENT_INCOME); serv_req._EAMTS.RESTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.RESIDENT_INCOME_TAX); serv_req._EAMTS.NONRESTAXINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.NON_RES_INCOME); serv_req._EAMTS.NONRESTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.NON_RES_INCOME_TAX); serv_req._EAMTS.TOTALTAXDUE1X = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.TOTAL_TAX); serv_req._EAMTS.BPTCREDITX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.BPT_TAX_CREDIT); serv_req._EAMTS.OTHERX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.OTHER_TAX_CREDIT); serv_req._EAMTS.TOTALCREDITSX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.TOTAL_PAY_CREDITS); serv_req._EAMTS.TOTALTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.TAX_DUE); serv_req._EAMTS.INTERESTPENALTYX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.INTEREST_PENALTY); serv_req._EAMTS.TOTALAMTDUEX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.TOTAL_DUE); serv_req._EAMTS.TAXOVERPAIDX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.OVERPAY); serv_req._EAMTS.NETPROFITESTX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.LINE11); serv_req._EAMTS.REFUNDAMTX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.REFUND); serv_req._EAMTS.BPTOVERPAYMENTX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.BPT_OVERPAY); serv_req._EAMTS.NPTOVERPAYMENTX = CopMvcUtil.ConvCurrencyToDigit(e.NPT_PG1.NPT_OVERPAY); RTTIE239_SrvRef.RTTIE239Response response = _client.RTTIE239(serv_req); e = __Fill(response); return(e); }
private static COPXmlFactory.RTTIE028.TOBACCORETURN __RTTIE028_F_U(COPXmlFactory.RTTIE028.TOBACCORETURN e) { RTTIE228_SrvRef.RTTIE228 serv_req = new RTTIE228_SrvRef.RTTIE228(); serv_req._ETOB = new RTTIE228_SrvRef._ETOB(); serv_req._ETOB.ACCOUNTID = e.TOBACCO_INFO.ACCOUNT_ID; serv_req._ETOB.VERSIONX = e.TOBACCO_INFO.VERSION; serv_req._ETOB.PERIODX = CopMvcUtil.ConvDateDecimal(e.TOBACCO_INFO.PERIOD).ToString(); serv_req._ETOB.LASTUPDATEDATEX = CopMvcUtil.ConvDateDecimal(e.TOBACCO_INFO.LAST_UPD_DATE).ToString(); serv_req._ETOB.USERID = e.TOBACCO_INFO.USER_ID; serv_req._ETOB.RECORDINGDATEX = CopMvcUtil.ConvDateDecimal(e.TOBACCO_INFO.RECORDING_DATE).ToString(); serv_req._ETOB.SEQUENCENUM = e.TOBACCO_INFO.SEQUENCE; serv_req._ETOB.ADJUSTMENTREFERENCENUM = e.TOBACCO_INFO.ADJUSTMENT_REF_NO; serv_req._ETOB.RATEITEM = CopMvcUtil.ConvNumberToDigit9(e.TOBACCO_INFO.RATE_ITEM); serv_req._ETOB.RATEPACK = CopMvcUtil.ConvNumberToDigit9(e.TOBACCO_INFO.RATE_PACK); serv_req._ETOB.RATEPAPER = CopMvcUtil.ConvNumberToDigit9(e.TOBACCO_INFO.RATE_PAPER); serv_req._ETOB.PREPARERNAME = e.TOBACCO_INFO.PREPARER_NAME; serv_req._ETOB.PREPARERPHONE = e.TOBACCO_INFO.PREPARER_PHONE; serv_req._ETOB.PREPARERPHONEEXT = e.TOBACCO_INFO.PREPARER_PHONE_EXT; serv_req._ETOB.PREPARERIPADDRESS = e.TOBACCO_INFO.PREPARER_IP_ADDRESS; serv_req._ETOB.PREPAREREMAILADDRESS = e.TOBACCO_INFO.PREPARER_EMAIL_ADDRESS; serv_req._ETOB.PREPARERTYPE = e.TOBACCO_INFO.PREPARER_WHO;; serv_req._EAMT = new RTTIE228_SrvRef._EAMT(); serv_req._EAMT.ITEMTOTALX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.ITEM_TOTAL); serv_req._EAMT.ITEMNOTPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.ITEM_NOT_PHILA).ToString(); serv_req._EAMT.ITEMPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.ITEM_PHILA).ToString(); serv_req._EAMT.ITEMTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.ITEM_TAX_DUE).ToString(); serv_req._EAMT.PACKTOTALX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PACK_TOTAL).ToString(); serv_req._EAMT.PACKNOTPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PACK_NOT_PHILA).ToString(); serv_req._EAMT.PACKPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PACK_PHILA).ToString(); serv_req._EAMT.PACKTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PACK_TAX_DUE).ToString(); serv_req._EAMT.PAPERTOTALX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PAPER_TOTAL).ToString(); serv_req._EAMT.PAPERNOTPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PAPER_NOT_PHILA).ToString(); serv_req._EAMT.PAPERPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PAPER_PHILA).ToString(); serv_req._EAMT.PAPERTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PAPER_TAX_DUE).ToString(); serv_req._EAMT.TOTALTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TOTAL_TAX_DUE).ToString(); serv_req._EAMT.CREDITSX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.CREDITS).ToString(); serv_req._EAMT.NETTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NET_TAX_DUE).ToString(); serv_req._EAMT.INTERESTPENALTYX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.INTEREST_PENALTY).ToString(); serv_req._EAMT.TOTALAMTDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TOTAL_AMOUNT_DUE).ToString(); serv_req._EAMT.REFUNDX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.REFUND).ToString(); serv_req._EAMT.ROLLFORWARDX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.ROLL_FORWARD).ToString(); RTTIE228_SrvRef.RTTIE228Response response = _client.RTTIE228(serv_req); e = __Fill(response); return(e); }
private static COPXmlFactory.RTTIE036.SCHOOLRETURN __RTTIE036_F_U(COPXmlFactory.RTTIE036.SCHOOLRETURN e) { RTTIE236_SrvRef.RTTIE236 serv_req = new RTTIE236_SrvRef.RTTIE236(); serv_req._ESIT = new RTTIE236_SrvRef._ESIT(); serv_req._ESIT.ACCOUNTID = e.SCHOOL_INFO.ACCOUNT_ID; serv_req._ESIT.VERSIONX = e.SCHOOL_INFO.VERSION; serv_req._ESIT.PERIODX = CopMvcUtil.ConvDateDecimal(e.SCHOOL_INFO.PERIOD).ToString(); serv_req._ESIT.LASTUPDATEDATEX = CopMvcUtil.ConvDateDecimal(e.SCHOOL_INFO.LAST_UPD_DATE).ToString(); serv_req._ESIT.EXTENSIONDATEX = CopMvcUtil.ConvDateDecimal(e.SCHOOL_INFO.EXTENSION_DATE).ToString(); serv_req._ESIT.RECORDINGDATEX = CopMvcUtil.ConvDateDecimal(e.SCHOOL_INFO.RECORDING_DATE).ToString(); serv_req._ESIT.SEQUENCENUM = e.SCHOOL_INFO.SEQUENCE; serv_req._ESIT.ADJUSTMENTREFERENCENUM = e.SCHOOL_INFO.ADJUSTMENT_REF_NO; serv_req._ESIT.RATE = CopMvcUtil.ConvNumberToDigit9(e.SCHOOL_INFO.RATE); serv_req._ESIT.PREPARERNAME = e.SCHOOL_INFO.PREPARER_NAME; serv_req._ESIT.PREPARERPHONE = e.SCHOOL_INFO.PREPARER_PHONE; serv_req._ESIT.PREPARERPHONEEXT = e.SCHOOL_INFO.PREPARER_PHONE_EXT; serv_req._ESIT.PREPARERIPADDRESS = e.SCHOOL_INFO.PREPARER_IP_ADDRESS; serv_req._ESIT.PREPAREREMAILADDRESS = e.SCHOOL_INFO.PREPARER_EMAIL_ADDRESS; serv_req._ESIT.PREPARERTYPE = e.SCHOOL_INFO.PREPARER_WHO;; serv_req._EAMT = new RTTIE236_SrvRef._EAMT(); serv_req._EAMT.NETTAXABLEDIVIDENDSX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NET_TAX_DIVIDENDS); serv_req._EAMT.TAXABLEINTERESTX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAXABLE_INTEREST).ToString(); serv_req._EAMT.SCORPDISTRIBUTIONSX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.S_CORP_DISTRIBUTIONS).ToString(); serv_req._EAMT.PARTNERSHIPINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PARTNERSHIP_INCOME).ToString(); serv_req._EAMT.BENEFICIARYINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.BENEFICIARY_INCOME).ToString(); serv_req._EAMT.SHORTTERMGAINSX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.SHORT_TERM_GAINS).ToString(); serv_req._EAMT.NETRENTALINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NET_RENTAL_INCOME).ToString(); serv_req._EAMT.OTHERTAXABLEINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.OTHER_TAXABLE_INCOME).ToString(); serv_req._EAMT.TOTALTAXABLEINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TOTAL_TAXABLE_INCOME).ToString(); serv_req._EAMT.DEDUCTIBLEEXPENSESX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.DEDUCTIBLE_EXPENSES).ToString(); serv_req._EAMT.NETTAXABLEINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NET_TAXABLE_INCOME).ToString(); serv_req._EAMT.GROSSTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.GROSS_TAX_DUE).ToString(); serv_req._EAMT.CREDITSX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.CREDITS).ToString(); serv_req._EAMT.TAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_DUE).ToString(); serv_req._EAMT.REFUNDAMTX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_REFUND).ToString(); serv_req._EAMT.OVERPAYMENTX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_OVERPAID).ToString(); serv_req._EAMT.USERID = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.USER_ID).ToString(); RTTIE236_SrvRef.RTTIE236Response response = _client.RTTIE236(serv_req); e = _Fill(response); return(e); }
private static COPXmlFactory.RTTIE029.LIQUORRETURN __RTTIE029_F_U(COPXmlFactory.RTTIE029.LIQUORRETURN e) { RTTIE229_SrvRef.RTTIE229 serv_req = new RTTIE229_SrvRef.RTTIE229(); serv_req._ELIQ = new RTTIE229_SrvRef._ELIQ(); serv_req._ELIQ.ACCOUNTID = e.LIQUOR_INFO.ACCOUNT_ID; serv_req._ELIQ.VERSIONX = e.LIQUOR_INFO.VERSION; serv_req._ELIQ.PERIODX = CopMvcUtil.ConvDateDecimal(e.LIQUOR_INFO.PERIOD).ToString(); serv_req._ELIQ.LASTUPDATEDATEX = CopMvcUtil.ConvDateDecimal(e.LIQUOR_INFO.LAST_UPD_DATE).ToString(); serv_req._ELIQ.USERID = e.LIQUOR_INFO.USER_ID; serv_req._ELIQ.RECORDINGDATEX = CopMvcUtil.ConvDateDecimal(e.LIQUOR_INFO.RECORDING_DATE).ToString(); serv_req._ELIQ.SEQUENCENUM = e.LIQUOR_INFO.SEQUENCE_NO; serv_req._ELIQ.ADJUSTMENTREFERENCENUM = e.LIQUOR_INFO.ADJUSTMENT_REF_NO; serv_req._ELIQ.RATE = CopMvcUtil.ConvNumberToDigit9(e.LIQUOR_INFO.RATE); serv_req._ELIQ.PREPARERNAME = e.LIQUOR_INFO.PREPARER_NAME; serv_req._ELIQ.PREPARERPHONE = CopMvcUtil.ConvDecimal(e.LIQUOR_INFO.PREPARER_PHONE); serv_req._ELIQ.PREPARERPHONEEXT = e.LIQUOR_INFO.PREPARER_PHONE_EXT; serv_req._ELIQ.PREPARERIPADDRESS = e.LIQUOR_INFO.PREPARER_IP_ADDRESS; serv_req._ELIQ.PREPAREREMAILADDRESS = e.LIQUOR_INFO.PREPARER_EMAIL_ADDRESS; serv_req._ELIQ.PREPARERTYPE = e.LIQUOR_INFO.PREPARER_WHO;; serv_req._EAMT = new RTTIE229_SrvRef._EAMT(); serv_req._EAMT.TOTALGROSSX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TOTAL_GROSS); serv_req._EAMT.FOODEXCLUSIONX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.FOOD_EXCLUSION).ToString(); serv_req._EAMT.OTHEREXCLUSIONX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.OTHER_EXCLUSION).ToString(); serv_req._EAMT.TOTALEXCLUSIONX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TOTAL_EXCLUSION).ToString(); serv_req._EAMT.TAXABLEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAXABLE).ToString(); serv_req._EAMT.TOTALTAXX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TOTAL_TAX).ToString(); serv_req._EAMT.TAXPAIDX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_PAID).ToString(); serv_req._EAMT.NETTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NET_TAX_DUE).ToString(); serv_req._EAMT.TAXOVERPAIDX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_OVERPAID).ToString(); RTTIE229_SrvRef.RTTIE229Response response = _client.RTTIE229(serv_req); e = __Fill(response); return(e); }
private static COPXmlFactory.RTTIE037.BPTezReturn __RTTIE037_F_U(COPXmlFactory.RTTIE037.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(); _SMA.ERRORLINE = string.Empty; _SMA.MESSAGE = string.Empty; _SMA.SYSTEMERROR = string.Empty; _EBPT.ACCOUNTID = e.BPT_INFO.ACCOUNT_ID; _EBPT.VERSIONX = ""; _EBPT.PERIODX = CopMvcUtil.ConvDateDecimalString(e.BPT_INFO.PERIOD); _EBPT.RETURNSTATUS = ""; _EBPT.LASTUPDATEDATEX = ""; _EBPT.RECORDINGDATEX = ""; _EBPT.EXTENSIONDATEX = ""; _EBPT.SEQUENCENUM = ""; _EBPT.ADJUSTMENTREFERENCENUM = ""; _EBPT.USERID = ""; _EBPT.NETRATE = e.BPT_INFO.NET_RATE; _EBPT.GROSSRATE = e.BPT_INFO.GROSS_RATE; _EBPT.PREPARERNAME = e.BPT_INFO.PREPARER_NAME; _EBPT.PREPARERPHONESpecified = true; _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); string SMA = CopMvcUtil.GetXMlFromObject(_SMA); string EBPT = CopMvcUtil.GetXMlFromObject(_EBPT); string EPG1 = CopMvcUtil.GetXMlFromObject(_EPG1); string EEZPG2 = CopMvcUtil.GetXMlFromObject(_EEZPG2); string NEW2014FIELDS = CopMvcUtil.GetXMlFromObject(_NEW2014FIELDS); _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.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); }
private static COPXmlFactory.RTTIE028.TOBACCORETURN __RTTIE028_F_U(COPXmlFactory.RTTIE028.TOBACCORETURN e) { TOBACCO_RTTIE028_SrvRef.TT028E00 serv_req = new TOBACCO_RTTIE028_SrvRef.TT028E00(); TOBACCO_RTTIE028_SrvRef.TT028E00_SMA _SMA = new TOBACCO_RTTIE028_SrvRef.TT028E00_SMA(); TOBACCO_RTTIE028_SrvRef.TT028E00_ETOB _ETOB = new TOBACCO_RTTIE028_SrvRef.TT028E00_ETOB(); TOBACCO_RTTIE028_SrvRef.TT028E00_EAMT _EAMT = new TOBACCO_RTTIE028_SrvRef.TT028E00_EAMT(); TOBACCO_RTTIE028_SrvRef.TT028E00Response_SMA _SMAResponse = new TOBACCO_RTTIE028_SrvRef.TT028E00Response_SMA(); TOBACCO_RTTIE028_SrvRef.TT028E00Response_ETOB _ETOBResponse = new TOBACCO_RTTIE028_SrvRef.TT028E00Response_ETOB(); TOBACCO_RTTIE028_SrvRef.TT028E00Response_EAMT _EAMTResponse = new TOBACCO_RTTIE028_SrvRef.TT028E00Response_EAMT(); _ETOB.ACCOUNTID = e.TOBACCO_INFO.ACCOUNT_ID; _ETOB.VERSIONX = e.TOBACCO_INFO.VERSION; _ETOB.PERIODX = CopMvcUtil.ConvDateDecimal(e.TOBACCO_INFO.PERIOD).ToString(); _ETOB.LASTUPDATEDATEX = CopMvcUtil.ConvDateDecimal(e.TOBACCO_INFO.LAST_UPD_DATE).ToString(); _ETOB.USERID = e.TOBACCO_INFO.USER_ID; _ETOB.RECORDINGDATEX = CopMvcUtil.ConvDateDecimal(e.TOBACCO_INFO.RECORDING_DATE).ToString(); _ETOB.SEQUENCENUM = e.TOBACCO_INFO.SEQUENCE; _ETOB.ADJUSTMENTREFERENCENUM = e.TOBACCO_INFO.ADJUSTMENT_REF_NO; _ETOB.RATEITEM = CopMvcUtil.ConvNumberToDigit9(e.TOBACCO_INFO.RATE_ITEM); _ETOB.RATEPACK = CopMvcUtil.ConvNumberToDigit9(e.TOBACCO_INFO.RATE_PACK); _ETOB.RATEPAPER = CopMvcUtil.ConvNumberToDigit9(e.TOBACCO_INFO.RATE_PAPER); _ETOB.PREPARERNAME = e.TOBACCO_INFO.PREPARER_NAME; _ETOB.PREPARERPHONE = CopMvcUtil.GetDecimal(e.TOBACCO_INFO.PREPARER_PHONE); _ETOB.PREPARERPHONEEXT = e.TOBACCO_INFO.PREPARER_PHONE_EXT; _ETOB.PREPARERIPADDRESS = e.TOBACCO_INFO.PREPARER_IP_ADDRESS; _ETOB.PREPAREREMAILADDRESS = e.TOBACCO_INFO.PREPARER_EMAIL_ADDRESS; _ETOB.PREPARERTYPE = e.TOBACCO_INFO.PREPARER_WHO; _ETOB.PREPARERPHONESpecified = true; _EAMT.ITEMTOTALX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.ITEM_TOTAL); _EAMT.ITEMNOTPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.ITEM_NOT_PHILA).ToString(); _EAMT.ITEMPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.ITEM_PHILA).ToString(); _EAMT.ITEMTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.ITEM_TAX_DUE).ToString(); _EAMT.PACKTOTALX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PACK_TOTAL).ToString(); _EAMT.PACKNOTPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PACK_NOT_PHILA).ToString(); _EAMT.PACKPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PACK_PHILA).ToString(); _EAMT.PACKTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PACK_TAX_DUE).ToString(); _EAMT.PAPERTOTALX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PAPER_TOTAL).ToString(); _EAMT.PAPERNOTPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PAPER_NOT_PHILA).ToString(); _EAMT.PAPERPHILAX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PAPER_PHILA).ToString(); _EAMT.PAPERTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PAPER_TAX_DUE).ToString(); _EAMT.TOTALTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TOTAL_TAX_DUE).ToString(); _EAMT.CREDITSX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.CREDITS).ToString(); _EAMT.NETTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NET_TAX_DUE).ToString(); _EAMT.INTERESTPENALTYX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.INTEREST_PENALTY).ToString(); _EAMT.TOTALAMTDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TOTAL_AMOUNT_DUE).ToString(); _EAMT.REFUNDX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.REFUND).ToString(); _EAMT.ROLLFORWARDX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.ROLL_FORWARD).ToString(); string ETOB = CopMvcUtil.GetXMlFromObject(_ETOB); string EAMT = CopMvcUtil.GetXMlFromObject(_EAMT); _SMAResponse = serv_req.CallTT028E00 (_SMA, _ETOB, _EAMT, out _ETOBResponse, out _EAMTResponse ); e = __Fill(_SMAResponse, _ETOBResponse, _EAMTResponse); return(e); }
private static COPXmlFactory.RTTIE030_2014.BPTlfReturn __RTTIE030_F_U(COPXmlFactory.RTTIE030_2014.BPTlfReturn e) { RTTIE230_SrvRef.RTTIE230 serv_req = new RTTIE230_SrvRef.RTTIE230(); serv_req._NEW2014FIELDS = new RTTIE230_SrvRef._NEW2014FIELDS(); 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._NEW2014FIELDS._STATNETDEDUCTIONAX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_A.STAT_NET_DEDUCTION_A_X); 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._NEW2014FIELDS._STATNETDEDUCTIONBX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_B.STAT_NET_DEDUCTION_B_X); 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._NEW2014FIELDS._STATEXCLUSIONDX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_SCH_D.STAT_EXCLUSION_D_X); 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.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.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.RTTIE037_2014.BPTezReturn __RTTIE037_F_U(COPXmlFactory.RTTIE037_2014.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); serv_req._NEW2014FIELDS = new RTTIE237_SrvRef._NEW2014FIELDS(); serv_req._NEW2014FIELDS.STATEXCLUSIONEZX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.STAT_EXCLUSION_EZ_X); serv_req._NEW2014FIELDS.STATNETDEDUCTION1X = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.STAT_NET_DEDUCTION_1_X); serv_req._NEW2014FIELDS.TAXABLESUBTOTALEZX = CopMvcUtil.ConvCurrencyToDigit(e.BPT_PG2.TAXABLE_SUBTOTAL_EZ_X); RTTIE237_SrvRef.RTTIE237Response response = _client.RTTIE237(serv_req); e = __Fill(response); return(e); }
private static COPXmlFactory.RTTIE036.SCHOOLRETURN __RTTIE036_F_U(COPXmlFactory.RTTIE036.SCHOOLRETURN e) { SIT_RTTIE036_SrvRef.TT036E00 serv_req = new SIT_RTTIE036_SrvRef.TT036E00(); SIT_RTTIE036_SrvRef.TT036E00_SMA _SMA = new SIT_RTTIE036_SrvRef.TT036E00_SMA(); SIT_RTTIE036_SrvRef.TT036E00_ESIT _ESIT = new SIT_RTTIE036_SrvRef.TT036E00_ESIT(); SIT_RTTIE036_SrvRef.TT036E00_EAMT _EAMT = new SIT_RTTIE036_SrvRef.TT036E00_EAMT(); SIT_RTTIE036_SrvRef.TT036E00Response_SMA _SMAResponse = new SIT_RTTIE036_SrvRef.TT036E00Response_SMA(); SIT_RTTIE036_SrvRef.TT036E00Response_ESIT _ESITResponse = new SIT_RTTIE036_SrvRef.TT036E00Response_ESIT(); SIT_RTTIE036_SrvRef.TT036E00Response_EAMT _EAMTResponse = new SIT_RTTIE036_SrvRef.TT036E00Response_EAMT(); _ESIT.ACCOUNTID = e.SCHOOL_INFO.ACCOUNT_ID; _ESIT.VERSIONX = e.SCHOOL_INFO.VERSION; _ESIT.PERIODX = CopMvcUtil.ConvDateDecimal(e.SCHOOL_INFO.PERIOD).ToString(); _ESIT.LASTUPDATEDATEX = CopMvcUtil.ConvDateDecimal(e.SCHOOL_INFO.LAST_UPD_DATE).ToString(); _ESIT.EXTENSIONDATEX = CopMvcUtil.ConvDateDecimal(e.SCHOOL_INFO.EXTENSION_DATE).ToString(); _ESIT.RECORDINGDATEX = CopMvcUtil.ConvDateDecimal(e.SCHOOL_INFO.RECORDING_DATE).ToString(); _ESIT.SEQUENCENUM = e.SCHOOL_INFO.SEQUENCE; _ESIT.ADJUSTMENTREFERENCENUM = e.SCHOOL_INFO.ADJUSTMENT_REF_NO; _ESIT.RATE = CopMvcUtil.ConvNumberToDigit9(e.SCHOOL_INFO.RATE); _ESIT.PREPARERNAME = e.SCHOOL_INFO.PREPARER_NAME; _ESIT.PREPARERPHONE = CopMvcUtil.GetDecimal(e.SCHOOL_INFO.PREPARER_PHONE); _ESIT.PREPARERPHONEEXT = e.SCHOOL_INFO.PREPARER_PHONE_EXT; _ESIT.PREPARERIPADDRESS = e.SCHOOL_INFO.PREPARER_IP_ADDRESS; _ESIT.PREPAREREMAILADDRESS = e.SCHOOL_INFO.PREPARER_EMAIL_ADDRESS; _ESIT.PREPARERTYPE = e.SCHOOL_INFO.PREPARER_WHO;; _ESIT.PREPARERPHONESpecified = true; _EAMT.NETTAXABLEDIVIDENDSX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NET_TAX_DIVIDENDS); _EAMT.TAXABLEINTERESTX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAXABLE_INTEREST).ToString(); _EAMT.SCORPDISTRIBUTIONSX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.S_CORP_DISTRIBUTIONS).ToString(); _EAMT.PARTNERSHIPINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.PARTNERSHIP_INCOME).ToString(); _EAMT.BENEFICIARYINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.BENEFICIARY_INCOME).ToString(); _EAMT.SHORTTERMGAINSX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.SHORT_TERM_GAINS).ToString(); _EAMT.NETRENTALINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NET_RENTAL_INCOME).ToString(); _EAMT.OTHERTAXABLEINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.OTHER_TAXABLE_INCOME).ToString(); _EAMT.TOTALTAXABLEINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TOTAL_TAXABLE_INCOME).ToString(); _EAMT.DEDUCTIBLEEXPENSESX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.DEDUCTIBLE_EXPENSES).ToString(); _EAMT.NETTAXABLEINCOMEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.NET_TAXABLE_INCOME).ToString(); _EAMT.GROSSTAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.GROSS_TAX_DUE).ToString(); _EAMT.CREDITSX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.CREDITS).ToString(); _EAMT.TAXDUEX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_DUE).ToString(); _EAMT.REFUNDAMTX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_REFUND).ToString(); _EAMT.OVERPAYMENTX = CopMvcUtil.ConvCurrencyToDigit(e.AMT_INFO.TAX_OVERPAID).ToString(); _EAMT.USERID = e.AMT_INFO.USER_ID; string _ESITT = CopMvcUtil.GetXMlFromObject(_ESIT); string _EAMTT = CopMvcUtil.GetXMlFromObject(_EAMT); _SMAResponse = serv_req.CallTT036E00 (_SMA, _ESIT, _EAMT, out _ESITResponse, out _EAMTResponse ); e = _Fill(_SMAResponse, _ESITResponse, _EAMTResponse); return(e); }
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); }
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.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); }