Dynamics GP 2013 create Enter/Match Invoice, pop up error message "4852 Stored Procedure= taPopEnterMatchInvLine Error Description = Shipment Line Item does not exist to match Invoice against"

I have created a Purchase Order in GP, and created a PO Receiving Transaction for this PO. After that I use the e-Connect POPEnterMatchInvoiceType to create the Enter/Match Invoice. but e-Connect pops up error message "4852 Stored Procedure= taPopEnterMatchInvLine Error Description = Shipment Line Item does not exist to match Invoice against". The Xml file as below.

PO Number:PO2085, the PO Receiving No. is RCT1163. I checked the PO Receiving thru Receiving Transaction Entry and SQL table POP10500, the Receiving Data is correctly.

<?xml version="1.0" encoding="utf-8"?>

<eConnect xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema">

   <POPEnterMatchInvoiceType>

      <eConnectProcessInfo xsi:nil="true" />

      <taRequesterTrxDisabler_Items xsi:nil="true" />

      <taUpdateCreateItemRcd xsi:nil="true" />

      <taUpdateCreateVendorRcd xsi:nil="true" />

      <taCreateVendorAddress_Items xsi:nil="true" />

      <taPopRcptLineTaxInsert_Items xsi:nil="true" />

      <taPopDistribution_Items xsi:nil="true" />

      <taAnalyticsDistribution_Items xsi:nil="true" />

      <taPopEnterMatchLotInsert_Items xsi:nil="true" />

      <taPopEnterMatchSerialInsert_Items xsi:nil="true" />

      <taPopEnterMatchInvLine_Items>

         <taPopEnterMatchInvLine>

              <POPRCTNM>122</POPRCTNM>

             <POPMtchShpRcpt>RCT1163</POPMtchShpRcpt>

             <PONUMBER>PO2085</PONUMBER>

             <QTYINVCD>10</QTYINVCD>

             <ITEMNMBR>128 SDRAM</ITEMNMBR>

             <VENDORID>ACETRAVE0001</VENDORID>

             <UNITCOST>152.1</UNITCOST>

             <EXTDCOST>1521</EXTDCOST>

         </taPopEnterMatchInvLine>

     </taPopEnterMatchInvLine_Items>

    <taPopEnterMatchInvToShpMultiLine_Items xsi:nil="true" />

    <taPopEnterMatchInvHdr>

           <POPRCTNM>122</POPRCTNM>

           <VNDDOCNM>122</VNDDOCNM>

           <receiptdate>3/19/2013</receiptdate>

          <BACHNUMB>INVOICETESTEDI03/19/2013</BACHNUMB>

          <VENDORID>ACETRAVE0001</VENDORID>

          <SUBTOTAL>1521</SUBTOTAL>

       </taPopEnterMatchInvHdr>

    <taMdaUpdate_Items xsi:nil="true" />

</POPEnterMatchInvoiceType>

</eConnect>

  • Also I tested to add the  Element  <ShipRCPTLNNM>16384</ShipRCPTLNNM> into the taPopEnterMatchInvLine XmlNode, e-connect pops up the same error message.

Related
Recommended