Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here
DynDeveloper.com

DynDeveloper.com

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
Sign Up Now!Log In
Rich Stephens 1/9/2015 10:55:13 AM

Error updating POPRcptHdr for PO - PO0997 - Invalid object name 'PA01303'.

I am attempting to create a purchase receipt as a precursor to creating an invoice matched to a PO. I.E. "2 way matching".

I am using eConnect 12 on GP2013. I will be attempting to use this same code on GP2010 and GP2015, so if there are any additional changes I need to do to make this work on those as well, that would be helpful.

 The POPRCTNM I am using here (I assume should be the number for the shipping receipt I am creating, which I obtained using the

GetNextDocNumbers.GetNextPOPReceiptNumber() function.

The eConnect XML I am sending is:

<?xml version="1.0"?>
    <POPReceivingsType>
        <eConnectProcessInfo xsi:nil="true"/>
        <taRequesterTrxDisabler_Items xsi:nil="true"/>
        <taUpdateCreateItemRcd xsi:nil="true"/>
        <taUpdateCreateVendorRcd xsi:nil="true"/>
        <taCreateVendorAddress_Items xsi:nil="true"/>
        <taPopRcptLotInsert_Items xsi:nil="true"/>
        <taPopRcptSerialInsert_Items xsi:nil="true"/>
        <taPopRcptLineInsert_Items>
            <taPopRcptLineInsert>
                <POPTYPE>1</POPTYPE>
                <POPRCTNM>RCT1181</POPRCTNM>
                <PONUMBER>PO0997</PONUMBER>
                <ITEMNMBR>PHON-ATT-53BK</ITEMNMBR>
                <VENDORID>ADVANCED0001</VENDORID>
                <RCPTLNNM>16384</RCPTLNNM>
                <VNDITNUM>PHON-ATT-53BK</VNDITNUM>
                <QTYSHPPD>1.00000</QTYSHPPD>
                <AUTOCOST>1</AUTOCOST>
                <POLNENUM>16384</POLNENUM>
            </taPopRcptLineInsert>
        </taPopRcptLineInsert_Items>
        <taPopRcptMultiBin_Items xsi:nil="true"/>
        <taPopRcptLineTaxInsert_Items xsi:nil="true"/>
        <taPopRctUserDefined xsi:nil="true"/>
        <taPopDistribution_Items xsi:nil="true"/>
        <taAnalyticsDistribution_Items xsi:nil="true"/>
        <taPopRcptHdrInsert>
        <POPRCTNM>RCT1181</POPRCTNM>
        <POPTYPE>1</POPTYPE>
        <receiptdate>1/8/2015</receiptdate>
        <BACHNUMB>PAYABLES BATCH </BACHNUMB>
        <VENDORID>ADVANCED0001</VENDORID>
        <AUTOCOST>1</AUTOCOST>
        <NOTETEXT>http://sp2010dev/tap/Invoices/Invoice1.pdf</NOTETEXT>
        <USRDEFND4>http://sp2010dev/tap/Invoices/Invoice1.pdf</USRDEFND4>
    </taPopRcptHdrInsert>
        <taMdaUpdate_Items xsi:nil="true"/>
    </POPReceivingsType>
</eConnect>

I am getting the following error:

ERROR: Error updating POPRcptHdr for PO - PO0997 - Invalid object name 'PA01303'.

I am new to both GP and eConnect, so bear with me as I try to understand whatever answer you may give.

Thanks.

 


Version: GP 2013
Section: Dynamics GP, eConnect








Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables