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
GDL 11/1/2011 6:13:34 PM

Problem with taSOPDistribution

Error Message:

taSopDistribution expects parameter @I_vSOPTYPE

The following is the XML and each distribution has SOPTYPE specified. Where is the error?

<?xml version="1.0" ?>
    <SOPTransactionType>
        <eConnectProcessInfo xsi:nil="true"/>
        <taRequesterTrxDisabler_Items xsi:nil="true"/>
        <taUpdateCreateItemRcd xsi:nil="true"/>
        <taUpdateCreateCustomerRcd xsi:nil="true"/>
        <taCreateCustomerAddress_Items xsi:nil="true"/>
        <taSopSerial_Items xsi:nil="true"/>
        <taSopLotAuto_Items xsi:nil="true"/>
        <taSopLineIvcInsert_Items>
            <taSopLineIvcInsert>
                <SOPTYPE>3</SOPTYPE>
                <SOPNUMBE>INV0001819</SOPNUMBE>
                <CUSTNMBR>1000694</CUSTNMBR>
                <DOCDATE>11/1/2011</DOCDATE>
                <LOCNCODE>WAREHOUSE</LOCNCODE>
                <ITEMNMBR>Date</ITEMNMBR>
                <QUANTITY>1</QUANTITY>
                <ITEMDESC>Completed: 1/1/1990</ITEMDESC>
                <DOCID>STDINV</DOCID>
            </taSopLineIvcInsert>
            <taSopLineIvcInsert>
                <SOPTYPE>3</SOPTYPE>
                <SOPNUMBE>INV0001819</SOPNUMBE>
                <CUSTNMBR>1000694</CUSTNMBR>
                <DOCDATE>11/1/2011</DOCDATE>
                <LOCNCODE>WAREHOUSE</LOCNCODE>
                <ITEMNMBR>MISC</ITEMNMBR>
                <UNITPRCE>125.0000</UNITPRCE>
                <XTNDPRCE>125.00</XTNDPRCE>
                <QUANTITY>1</QUANTITY>
                <ITEMDESC>Removal of Gran Mattino S/N 51201840</ITEMDESC>
                <DOCID>STDINV</DOCID>
            </taSopLineIvcInsert>
            <taSopLineIvcInsert>
                <SOPTYPE>3</SOPTYPE>
                <SOPNUMBE>INV0001819</SOPNUMBE>
                <CUSTNMBR>1000694</CUSTNMBR>
                <DOCDATE>11/1/2011</DOCDATE>
                <LOCNCODE>WAREHOUSE</LOCNCODE>
                <ITEMNMBR>SF-WO</ITEMNMBR>
                <UNITPRCE>30.0000</UNITPRCE>
                <XTNDPRCE>30.00</XTNDPRCE>
                <QUANTITY>1</QUANTITY>
                <ITEMDESC>Service Fee for Work Order</ITEMDESC>
                <DOCID>STDINV</DOCID>
            </taSopLineIvcInsert>
        </taSopLineIvcInsert_Items>
        <taSopLineIvcInsertComponent_Items xsi:nil="true"/>
        <taSopTrackingNum_Items xsi:nil="true"/>
        <taSopCommissions_Items xsi:nil="true"/>
        <taSopLineIvcTaxInsert_Items>
            <taSopLineIvcTaxInsert>
                <SOPTYPE>3</SOPTYPE>
                <SOPNUMBE>INV0001819</SOPNUMBE>
                <CUSTNMBR>1000694</CUSTNMBR>
                <TAXDTLID>WD-IL-SALES-TX</TAXDTLID>
                <ACTINDX>42</ACTINDX>
                <STAXAMNT>2.48</STAXAMNT>
                <TDTTXSLS>30.0000</TDTTXSLS>
                <TXDTOTTX>2.48</TXDTOTTX>
            </taSopLineIvcTaxInsert>
        </taSopLineIvcTaxInsert_Items>
        <taCreateSopPaymentInsertRecord_Items xsi:nil="true"/>
        <taSopUserDefined xsi:nil="true"/>
        <taSopDistribution_Items>
            <taSopDistribution>
                <SOPTYPE>3</SOPTYPE>
                <SOPNUMBE>INV0001819</SOPNUMBE>
                <DISTTYPE>9</DISTTYPE>
                <ACTINDX>42</ACTINDX>
                <CRDTAMNT>2.48</CRDTAMNT>
                <CUSTNMBR>1000694</CUSTNMBR>
            </taSopDistribution>
            <taSopDistribution xsi:nil="true"/>
            <taSopDistribution>
                <SOPTYPE>3</SOPTYPE>
                <SOPNUMBE>INV0001819</SOPNUMBE>
                <DISTTYPE>2</DISTTYPE>
                <ACTINDX>4</ACTINDX>
                <DEBITAMT>157.48</DEBITAMT>
                <CUSTNMBR>1000694</CUSTNMBR>
            </taSopDistribution>
            <taSopDistribution>
                <SOPTYPE>3</SOPTYPE>
                <SOPNUMBE>INV0001819</SOPNUMBE>
                <DISTTYPE>1</DISTTYPE>
                <ACTINDX>63</ACTINDX>
                <CRDTAMNT>125.0000</CRDTAMNT>
                <CUSTNMBR>1000694</CUSTNMBR>
            </taSopDistribution>
            <taSopDistribution>
                <SOPTYPE>3</SOPTYPE>
                <SOPNUMBE>INV0001819</SOPNUMBE>
                <DISTTYPE>1</DISTTYPE>
                <ACTINDX>64</ACTINDX>
                <CRDTAMNT>30.0000</CRDTAMNT>
                <CUSTNMBR>1000694</CUSTNMBR>
            </taSopDistribution>
            <taSopDistribution>
                <SOPTYPE>3</SOPTYPE>
                <SOPNUMBE>INV0001819</SOPNUMBE>
                <DISTTYPE>13</DISTTYPE>
                <ACTINDX>122</ACTINDX>
                <CRDTAMNT>20.0000</CRDTAMNT>
                <CUSTNMBR>1000694</CUSTNMBR>
            </taSopDistribution>
            <taSopDistribution>
                <SOPTYPE>3</SOPTYPE>
                <SOPNUMBE>INV0001819</SOPNUMBE>
                <DISTTYPE>13</DISTTYPE>
                <ACTINDX>114</ACTINDX>
                <DEBITAMT>20.0000</DEBITAMT>
                <CUSTNMBR>1000694</CUSTNMBR>
            </taSopDistribution>
            <taSopDistribution>
                <SOPTYPE>3</SOPTYPE>
                <SOPNUMBE>INV0001819</SOPNUMBE>
                <DISTTYPE>13</DISTTYPE>
                <ACTINDX>120</ACTINDX>
                <CRDTAMNT>125.0000</CRDTAMNT>
                <CUSTNMBR>1000694</CUSTNMBR>
            </taSopDistribution>
            <taSopDistribution>
                <SOPTYPE>3</SOPTYPE>
                <SOPNUMBE>INV0001819</SOPNUMBE>
                <DISTTYPE>13</DISTTYPE>
                <ACTINDX>121</ACTINDX>
                <DEBITAMT>125.0000</DEBITAMT>
                <CUSTNMBR>1000694</CUSTNMBR>
            </taSopDistribution>
        </taSopDistribution_Items>
        <taAnalyticsDistribution_Items xsi:nil="true"/>
        <taSopMultiBin_Items xsi:nil="true"/>
        <taSopHdrIvcInsert>
            <SOPTYPE>3</SOPTYPE>
            <DOCID>STDINV</DOCID>
            <SOPNUMBE>INV0001819</SOPNUMBE>
            <ORIGNUMB>0</ORIGNUMB>
            <TAXSCHID>WD-IL-ST-SCHD</TAXSCHID>
            <SHIPMTHD>GROUND</SHIPMTHD>
            <TAXAMNT>2.48</TAXAMNT>
            <LOCNCODE>WAREHOUSE</LOCNCODE>
            <DOCDATE>11/1/2011 12:00:00 AM</DOCDATE>
            <CUSTNMBR>1000694</CUSTNMBR>
            <CSTPONBR>Kraft WO: 0552120</CSTPONBR>
            <ShipToName>Walgreens # 9674 (District 258)</ShipToName>
            <ADDRESS1>133 West 8Th Avenue</ADDRESS1>
            <CITY>Homestead</CITY>
            <STATE>PA</STATE>
            <ZIPCODE>15120</ZIPCODE>
            <SUBTOTAL>155.0000</SUBTOTAL>
            <DOCAMNT>157.48</DOCAMNT>
            <BACHNUMB>eCON3051429</BACHNUMB>
            <PRBTADCD>PRIMARY</PRBTADCD>
            <USINGHEADERLEVELTAXES>1</USINGHEADERLEVELTAXES>
            <CREATEDIST>0</CREATEDIST>
            <CURNCYID>Z-US$</CURNCYID>
            <FREIGTBLE>3</FREIGTBLE>
        </taSopHdrIvcInsert>
        <taSopToPopLink xsi:nil="true"/>
        <taSopUpdateCreateProcessHold xsi:nil="true"/>
        <taCreateSOPTrackingInfo xsi:nil="true"/>
        <taMdaUpdate_Items xsi:nil="true"/>
    </SOPTransactionType>
</eConnect>
Version: GP 2010
Section: 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