web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Posting a sales transaction with a sales tax value into GP through econnect

(0) ShareShare
ReportReport
Posted on by 100

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

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
HP-11021721-0 Profile Picture

HP-11021721-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans