DynDeveloper.com

DynDeveloper.com

Sign Up Now!Log In
kretek 8/5/2015 3:07:22 PM

Econnect Adding SalesID and Sales Territory to Invoice

Hi

I am invoicing into GP with Econnect. Everything is inserting correctly except the

  <SALSTERR>ALL</SALSTERR>
  <SLPRSNID>HOU</SLPRSNID>

into the invoice lines. the header is populating fine

here is my xml

    <SOPTransactionType>
        <taSopLineIvcInsert_Items>
            <taSopLineIvcInsert>
                <SOPTYPE>3</SOPTYPE>
                <CUSTNMBR>NX0010</CUSTNMBR>
                <DOCDATE>08/05/2015</DOCDATE>
                <LOCNCODE>MAIN00</LOCNCODE>
                <ITEMNMBR>ZP3365</ITEMNMBR>
                <UNITPRCE>3.11000</UNITPRCE>
                <XTNDPRCE>37.3200</XTNDPRCE>
                <QUANTITY>12.000000</QUANTITY>
                <MRKDNAMT>0.00000</MRKDNAMT>
                <PRCLEVEL>ME</PRCLEVEL>
                <ITEMDESC>ZIPPO LIGHTER FLUID 12 OZ. CARTON OF 12</ITEMDESC>
                <DOCID>STDINV</DOCID>
                <SALSTERR>ALL</SALSTERR>
                <SLPRSNID>HOU</SLPRSNID>
                <PRSTADCD>SECONDAR</PRSTADCD>
                <SHIPMTHD>UPS</SHIPMTHD>
                <UOFM>1/12</UOFM>
            </taSopLineIvcInsert>
        </taSopLineIvcInsert_Items>
        <taSopCommissions_Items xsi:nil="true"/>
        <taSopHdrIvcInsert>
            <SOPTYPE>3</SOPTYPE>
            <DOCID>STDINV</DOCID>
            <SOPNUMBE>1361571</SOPNUMBE>
            <ORIGNUMB>1460291</ORIGNUMB>
            <SHIPMTHD>UPS</SHIPMTHD>
            <LOCNCODE>MAIN00</LOCNCODE>
            <DOCDATE>08/05/2015</DOCDATE>
            <CUSTNMBR>NX0010</CUSTNMBR>
            <SUBTOTAL>37.3200</SUBTOTAL>
            <DOCAMNT>37.3200</DOCAMNT>
            <SALSTERR>ALL</SALSTERR>
            <SLPRSNID>HOU</SLPRSNID>
            <USER2ENT>HOU</USER2ENT>
            <BACHNUMB>20150805</BACHNUMB>
            <PRSTADCD>SECONDAR</PRSTADCD>
            <PYMTRMID>NET 30 DAYS</PYMTRMID>
            <PRCLEVEL>ME</PRCLEVEL>
        </taSopHdrIvcInsert>
    </SOPTransactionType>
</eConnect>

-

Version: GP 2013
Section: .NET Development, eConnect