DynDeveloper.com

DynDeveloper.com

Sign Up Now!Log In
Falk0r 10/24/2016 3:56:18 PM

eConnect Sales Order Autogenerate Tax Issue

I am currently attempting to Import a sales order to GP using eConnect.   I am able to get the document to upload but am unable to get taxes to generate using "CREATETAXES".

I have tried several methods including the references on DynDevelopers; however, I was unable to get this to work.

I am using C#.

Here is my current XML file.

<?xml version="1.0" encoding="utf-8"?>
    <SOPTransactionType>
        <taSopLineIvcInsert_Items>
            <taSopLineIvcInsert>
                <SOPTYPE>2</SOPTYPE>
                <CUSTNMBR>ADVANCED0001</CUSTNMBR>
                <DOCDATE>7/11/2016 12:00:00 AM</DOCDATE>
                <LOCNCODE>Warehouse</LOCNCODE>
                <ITEMNMBR>1-A3261A</ITEMNMBR>
                <UNITPRCE>16000</UNITPRCE>
                <XTNDPRCE>16000</XTNDPRCE>
                <QUANTITY>1</QUANTITY>
                <DOCID>STDORD</DOCID>
                <ITMTSHID>USASTCITY-6*</ITMTSHID>
                <TAXSCHID>USASTCITY-6*</TAXSCHID>
            </taSopLineIvcInsert>
        </taSopLineIvcInsert_Items>
 
        <taSopHdrIvcInsert>
            <SOPTYPE>2</SOPTYPE>
            <DOCID>STDORD</DOCID>
            <TAXSCHID>USASTCITY-6*</TAXSCHID>
            <SHIPMTHD>GROUND</SHIPMTHD>
            <LOCNCODE>Warehouse</LOCNCODE>
            <DOCDATE>7/11/2016 12:00:00 AM</DOCDATE>
            <CUSTNMBR>ADVANCED0001</CUSTNMBR>
            <ShipToName>Warehouse</ShipToName>
            <ADDRESS1>129 Church Street</ADDRESS1>
            <CITY>New Haven</CITY>
            <STATE>CT</STATE>
            <ZIPCODE>06511</ZIPCODE>
            <COUNTRY>USA</COUNTRY>
            <SUBTOTAL>16000</SUBTOTAL>
            <DOCAMNT>16000</DOCAMNT>
            <BACHNUMB>Batch 1</BACHNUMB>
            <CREATETAXES>1</CREATETAXES>
            <DEFTAXSCHDS>1</DEFTAXSCHDS>
        </taSopHdrIvcInsert>
    </SOPTransactionType>
</eConnect>
Version: GP 2013
Section: Dynamics GP, eConnect