DynDeveloper.com

DynDeveloper.com

Sign Up Now! Log In
jjharden007 5/14/2018 3:30:35 PM

Econnect Error 4881 Stored Procedure= taPopEnterMatchInvToShpMultiLine Error Description = Receipt Line Number already exists

Hello!

We are trying to match shipment lines in econnect with variances and when we use taPopEnterMatchInvToShpMultiLine_Items we get the 4881 error. But we are just trying to match to the shipment receipt line. Below is our XML. ANy help will be very appreciated! 

<?xml version="1.0" encoding="utf-16"?>
<eConnect xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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>
      <taPopDistribution>
        <POPTYPE>2</POPTYPE>
        <POPRCTNM>TDRCPT00000001085</POPRCTNM>
        <ACTNUMST>22910-000-00-00</ACTNUMST>
        <DEBITAMT>124064</DEBITAMT>
        <DISTTYPE>9</DISTTYPE>
        <VENDORID>EEEEEEE</VENDORID>
      </taPopDistribution>
      <taPopDistribution>
        <POPTYPE>2</POPTYPE>
        <POPRCTNM>TDRCPT00000001085</POPRCTNM>
        <ACTNUMST>20000-000-00-00</ACTNUMST>
        <CRDTAMNT>124064</CRDTAMNT>
        <DISTTYPE>7</DISTTYPE>
        <VENDORID>EEEEEEE</VENDORID>
      </taPopDistribution>
    </taPopDistribution_Items>
    <taAnalyticsDistribution_Items xsi:nil="true" />
    <taPopEnterMatchLotInsert_Items xsi:nil="true" />
    <taPopEnterMatchSerialInsert_Items xsi:nil="true" />
    <taPopEnterMatchInvLine_Items>
      <taPopEnterMatchInvLine>
        <POPRCTNM>TDRCPT00000001085</POPRCTNM>
        <POPMtchShpRcpt>R167526</POPMtchShpRcpt>
        <ShipRCPTLNNM>16384</ShipRCPTLNNM>
        <PONUMBER>PO123061</PONUMBER>
        <QTYINVCD>193850</QTYINVCD>
        <ITEMNMBR>9000110000</ITEMNMBR>
        <VENDORID>EEEEEEE</VENDORID>
        <VNDITNUM>PP7143KNE1,  PP7032KN or 7033N </VNDITNUM>
        <VarianceAccount>11052-000-00-00</VarianceAccount>
        <UNITCOST>0.64</UNITCOST>
        <EXTDCOST>124064</EXTDCOST>
        <POLNENUM>16384</POLNENUM>
      </taPopEnterMatchInvLine>
    </taPopEnterMatchInvLine_Items>
    <taPopEnterMatchInvToShpMultiLine_Items>
      <taPopEnterMatchInvToShpMultiLine>
        <POPRCTNM>TDRCPT00000001085</POPRCTNM>
        <POPMtchShpRcpt>R167526</POPMtchShpRcpt>
        <PONUMBER>PO123061</PONUMBER>
        <QTYINVCD>193850</QTYINVCD>
        <ITEMNMBR>9000110000</ITEMNMBR>
        <ShipRCPTLNNM>16384</ShipRCPTLNNM>
        <VENDORID>EEEEEEE</VENDORID>
        <VarianceAccount>11052-000-00-00</VarianceAccount>
      </taPopEnterMatchInvToShpMultiLine>
    </taPopEnterMatchInvToShpMultiLine_Items>
    <taPopEnterMatchInvHdr>
      <POPRCTNM>TDRCPT00000001085</POPRCTNM>
      <VNDDOCNM>99827991</VNDDOCNM>
      <receiptdate>05/14/2018</receiptdate>
      <BACHNUMB>TD-05142018</BACHNUMB>
      <VENDORID>EEEEEEE</VENDORID>
      <SUBTOTAL>0</SUBTOTAL>
      <AUTOCOST>1</AUTOCOST>
      <TAXSCHID>
      </TAXSCHID>
      <USINGHEADERLEVELTAXES>1</USINGHEADERLEVELTAXES>
    </taPopEnterMatchInvHdr>
    <taMdaUpdate_Items xsi:nil="true" />
  </POPEnterMatchInvoiceType>
</eConnect>

Version: GP 2015, GP 2013
Section: .NET Development, Dynamics GP, eConnect