DynDeveloper.com

DynDeveloper.com

Sign Up Now!Log In
mk3000 9/2/2016 2:51:53 PM

Enter/Match Invoice

Hello All,

I am having trouble driving in an enter match invoice using web services.  Long story short, I have a PO with two lines for the same item number.  Both lines are received on the same receipt document.  When attempting to create the object, the exception returned is "Divide by zero error encountered."  Has anyone ever seen this?  

What makes it more interesting is that I can invoice the two lines separately on two invoices, created back to back.  

Any help is appreciated, even if someone can share some insight as to what division may be taking place when a PO is being invoiced.  Code snippets can be provided if anyone cares to see what I am doing.

Thank you in advance,

Mike

Version: All
Section: Dynamics GP, eConnect, Web Services