Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Divide by zero error encountered: Enter/Match Invoice

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I am using GP 2013.

I created a PO with one item in GP.

This item has 2 receivings.

I wanted to enter/match an invoice to this item which spans 2 shipments.

I am using eConnect to push invoices to GP.

I used: taPopEnterMatchInvToShpMultiLine_ItemsTaPopEnterMatchInvToShpMultiLine

to enter/match an invoice to this PO.

When I try to do so, I ran into the exception: 

Exception : System.Data.SqlClient.SqlException (0x80131904): Divide by zero error encountered.

I am not sure how to use taPopEnterMatchInvToShpMultiLine_ItemsTaPopEnterMatchInvToShpMultiLine.

Can some one give me a sample code for my scenario mentioned above?

Thanks in advance..!

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Divide by zero error encountered: Enter/Match Invoice

    Hi,

    Did you ever find the answer to this?

    I have come across the same issue.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,399 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans