Skip to main content

Notifications

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

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
    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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans