Quantcast
Channel: Microsoft Dynamics GP Forum - Recent Threads
Viewing all articles
Browse latest Browse all 32807

Unbelievable: Subtotal does not match the line item totals

$
0
0

This the final piece of a 3-month integration project and I'm pulling my hair out.  GP is returning this subtotal error (2006  Stored Procedure taPopRcptHdrInsert) at completely random times.

I've actually seen cases where GP will reject my XML with this error... then 10 minutes later, it will go in just fine - WITH THE SAME EXACT XML!

I've read a lot on this... Don't specify the SUBTOTAL (which fails for me).  Don't specify the EXTCOST (which also fails for me).  Having seen the same failing XML actually pass sometimes makes me feel like it's something I need to change in the vendor in GP.  Any troubleshooting ideas would be much appreciated!

I suppose I should show a simple sample.  Due to the project, I'm forced to define my own distributions - here it is:

<taPopRcptLineInsert_Items>

     <taPopRcptLineInsert>

       <POPTYPE>3</POPTYPE>

       <POPRCTNM>3009PU</POPRCTNM>

       <ITEMNMBR>3636-C</ITEMNMBR>

       <ITEMDESC>36x36 Core</ITEMDESC>

       <VENDORID>DELL01</VENDORID>

       <RCPTLNNM>1</RCPTLNNM>

       <VNDITNUM>3636-C</VNDITNUM>

       <INVINDX>1</INVINDX>

       <UOFM>ea</UOFM>

       <UNITCOST>100</UNITCOST>

       <EXTDCOST>200</EXTDCOST>

       <NONINVEN>1</NONINVEN>

       <QTYSHPPD>2</QTYSHPPD>

       <QTYINVCD>2</QTYINVCD>

       <LOCNCODE>WAREHOUSE</LOCNCODE>

     </taPopRcptLineInsert>

   </taPopRcptLineInsert_Items>

   <taPopDistribution_Items>

     <taPopDistribution>

       <POPTYPE>3</POPTYPE>

       <POPRCTNM>3009PU</POPRCTNM>

       <ACTNUMST>000-4510-01</ACTNUMST>

       <DEBITAMT>200</DEBITAMT>

       <DISTTYPE>1</DISTTYPE>

       <VENDORID>DELL01</VENDORID>

     </taPopDistribution>

     <taPopDistribution>

       <POPTYPE>3</POPTYPE>

       <POPRCTNM>3009PU</POPRCTNM>

       <ACTNUMST>000-2100-00</ACTNUMST>

       <CRDTAMNT>200</CRDTAMNT>

       <DISTTYPE>7</DISTTYPE>

       <VENDORID>DELL01</VENDORID>

     </taPopDistribution>

   </taPopDistribution_Items>

   <taPopRcptHdrInsert>

     <POPRCTNM>3009</POPRCTNM>

     <POPTYPE>3</POPTYPE>

     <VNDDOCNM>3009</VNDDOCNM>

     <receiptdate>03/07/2014</receiptdate>

     <BACHNUMB>030714</BACHNUMB>

     <VENDORID>DELL01</VENDORID>

     <VENDNAME>Dell, Inc.</VENDNAME>

     <SUBTOTAL>200</SUBTOTAL>

     <PYMTRMID>(none)</PYMTRMID>

     <CREATEDIST>0</CREATEDIST>

   </taPopRcptHdrInsert>


Viewing all articles
Browse latest Browse all 32807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>