I can succesfully upload transactions that have no sales tax into GP. I can sucesfully do a manual sales transaction inside GP with a sales tax attached by virtue of choosing a particular customer and the Tax detail ID. However through econnect I am getting erros.
Could someone please suggest what are the steps involved .
I have the following code but the tax amount does not get posted correctly. Please suggest if I am missing some steps thanks
Dim
objtaSOPTax(1) As
taSopLineIvcTaxInsert_ItemsTaSopLineIvcTaxInsert
Dim objTax As New
taSopLineIvcTaxInsert_ItemsTaSopLineIvcTaxInsert
objTax.SOPTYPE = objtaSopHdrIvcInsert.SOPTYPE
objTax.SOPNUMBE = objtaSopHdrIvcInsert.SOPNUMBE
objTax.CUSTNMBR =
"TaxCustomer"
objTax.TAXDTLID = "TAXID"
objTax.TDTTXSLS = decTotal - decSalesTax
objTax.TDTTXSLSSpecified =
True
objTax.TAXTYPE = 0
objTax.STAXAMNT = decSalesTax
'objTax.STAXAMNT = decSalesTax
objTax.SALESAMT = decTotal - decSalesTax
objtaSOPTax(0) = objTax
*This post is locked for comments
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,963 Most Valuable Professional
nmaenpaa 101,156