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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

eConnect for invoice matching against a PO

(0) ShareShare
ReportReport
Posted on by

I created an eConnect integration to match Receipts against Purchase Orders in Dynamics GP.  The integration works fine when there is no tax. 

But when there is tax I get Error Code 4805 which is "taPopEnterMatchInvHdr, Tax detail amount does not match the header tax amounts, POPRCTNM, TAXAMNT FRTTXAMT MSCTXAMT," 

There is no Freight Tax or Misc Tax.  

I'm using these two eConnect stored procedures (from within TIBCO Scribe):  taPopRcptHdrInsert and taPopRcpLineInsert

I'm testing with one header record and one detail record. I verified that the Tax Amount is the same in both the header and detail.

Do I also need to use: taPopRcptLineTaxInsert?

We're on version 2018 of Dynamics GP.

Thank you.

-Michael

Categories:
I have the same question (0)
  • Verified answer
    Derek Albaugh Profile Picture
    Microsoft Employee on at

    Looking at this error information in the taPopEnterMatchInvHdr procedure:

    select @TAXAMNTH = (isnull(sum(TXDTOTTX),0)) from POP10360 (nolock) where POPRCTNM = @I_vPOPRCTNM and RCPTLNNM <> 0 and BKOUTTAX = 0

    if (@TAXAMNTH <> @I_vTAXAMNT + @I_vFRTTXAMT + @I_vMSCTXAMT)

    begin

    select @O_iErrorState = 4805  

    It does look like these values have to be manually entered, which is what I verified speaking with my resources as well.

    The taPopIvcTaxInsert procedure you mentioned does have these values in it, that you can specify, so may be what you want to look at:

    @I_vTAXAMNT numeric (19,5)=0,  

    @I_vFRTTXAMT numeric (19,5)=0,  

    @I_vMSCTXAMT numeric(19,5)=0,  

    Thanks

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 671

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 621 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 589 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans