<eConnect xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>">
<SOPTransactionType>
<taUpdateCreateCustomerRcd >
</CUSTNMBR><!-- (REQUIRED) string(15) Customer number-->
</HOLD><!-- i4 Hold status:-->
<!-- 0=Not on hold;-->
<!-- 1=On hold-->
<!-- Default is zero on new record-->
</INACTIVE><!-- i4 Inactive:-->
<!-- 0=Active;-->
<!-- 1=Inactive-->
<!-- Default is zero on new record-->
</CUSTNAME><!-- string(64) Customer name-->
</SHRTNAME><!-- string(15) Short name; if not passed in, default is CUSTNAME-->
</STMTNAME><!-- string(64) Statement name; if not passed in, default is CUSTNAME-->
</CUSTCLAS><!-- string(15) Customer class ID-->
</CUSTPRIORITY><!-- i4 Customer priority; valid input values 1 (none) to 100-->
<!-- Default is one on new record-->
</ADRSCODE><!-- string(15) Primary address ID-->
</CNTCPRSN><!-- string(60) Contact person-->
</ADDRESS1><!-- string(60) Customer address one-->
</ADDRESS2><!-- string(60) Customer address two-->
</ADDRESS3><!-- string(60) Customer address three-->
</CITY><!-- string(35) City-->
</STATE><!-- string(29) State-->
</ZIPCODE><!-- string(10) Zip code-->
</CCode><!-- string(6) Country code-->
</COUNTRY><!-- string(60) Country-->
</PHNUMBR1><!-- string(21) Phone one-->
</PHNUMBR2><!-- string(21) Phone two-->
</PHNUMBR3><!-- string(21) Phone three-->
</FAX><!-- string(21) Fax-->
</UPSZONE><!-- string(3) UPS zone-->
</SHIPMTHD><!-- string(15) Shipping method-->
</TAXSCHID><!-- string(15) Tax schedule ID-->
</SHIPCOMPLETE><!-- i4 Ship complete documents:-->
<!-- 0=False;-->
<!-- 1=True-->
<!-- Default is zero on new record-->
</PRSTADCD><!-- string(15) Primary ship to address code-->
</PRBTADCD><!-- string(15) Primary bill to address code-->
</STADDRCD><!-- string(15) Statement to address code-->
</SLPRSNID><!-- string(15) Salesperson ID-->
</SALSTERR><!-- string(15) Sales territory-->
</USERDEF1><!-- string(20) User-defined one-->
</USERDEF2><!-- string(20) User-defined two-->
</COMMENT1><!-- string(30) Comment one-->
</COMMENT2><!-- string(30) Comment two-->
</CUSTDISC><!-- number Trade discount-->
</PYMTRMID><!-- string(20) Payment terms ID-->
</DISGRPER><!-- i4 Discount grace period-->
</DUEGRPER><!-- i4 Due date grace period-->
</PRCLEVEL><!-- string(10) Price level-->
</NOTETEXT><!-- string(8000) Note text-->
</BALNCTYP><!-- i4 Balance type:-->
<!-- 0=Open item;-->
<!-- 1=Balance forward-->
<!-- Default is zero on new record-->
</FNCHATYP><!-- i4 Finance charge type:-->
<!-- 0=None;-->
<!-- 1=Percent;-->
<!-- 2=Amount-->
<!-- Default is zero for new record-->
</FNCHPCNT><!-- number Finance charge percent; used if FNCHATYP=1-->
</FINCHDLR><!-- number Finance charge dollar; used if FNCHATYP=2-->
</MINPYTYP><!-- i4 Minimum payment type:-->
<!-- 0=No minimum;-->
<!-- 1=Percent; 2=Amount-->
<!-- Default is zero for new record-->
</MINPYPCT><!-- number Minimum payment percent; used if MINPYTYP=1-->
</MINPYDLR><!-- number Minimum payment dollar amount; used if MINPYTYP=2-->
</CRLMTTYP><!-- i4 Credit limit type:-->
<!-- 0=No credit;-->
<!-- 1=Unlimited;-->
<!-- 2=Amount-->
<!-- Default is zero on new record-->
</CRLMTAMT><!-- number Credit limit amount; used if CRLMTTYP=2-->
</CRLMTPER><!-- i4 Credit limit period; used if CRLMTTYP=2 and the credit limit warning is used in Microsoft Dynamics GP application-->
</CRLMTPAM><!-- number Credit limit period amount; used if CRLMTTYP=2 and the credit limit warning is used in Microsoft Dynamics GP application-->
</MXWOFTYP><!-- i4 Maximum write-off type: 0=Not allowed;-->
<!-- 1=Unlimited;-->
<!-- 2=Maximum-->
<!-- Default is zero for new record-->
</MXWROFAM><!-- number Maximum write-off amount; used if MXWOFTYP=2-->
</Revalue_Customer><!-- i4 Revalue customer:-->
<!-- 0=Do not revalue;-->
<!-- 1=Revalue-->
<!-- Default is one for new record-->
</Post_Results_To><!-- i4 Post results to:-->
<!-- 0=Receivables/Discount Account;-->
<!-- 1=Sales offset-->
<!-- Default is zero on new records-->
</ORDERFULFILLDEFAULT><!-- i4 Order fulfillment shortage:-->
<!-- 1=None;-->
<!-- 2=Back order remaining;-->
<!-- 3=Cancel remaining-->
<!-- Default is one on new record-->
</INCLUDEINDP><!-- i4 Include in demand planning: 0=Do not include;-->
<!-- 1=Include-->
<!-- Default is one on new record-->
</CRCARDID><!-- string(15) Credit card ID-->
</CRCRDNUM><!-- string(20) Credit card number-->
</CCRDXPDT><!-- datetime Credit card expiration date-->
</BANKNAME><!-- string(30) Bank name-->
</BNKBRNCH><!-- string(20) Bank branch-->
</USERLANG><!-- i4 User language; default is zero on new record-->
</TAXEXMT1><!-- string(25) Tax exempt one-->
</TAXEXMT2><!-- string(25) Tax exempt two-->
</TXRGNNUM><!-- string(25) Tax registration number-->
</CURNCYID><!-- string(15) Currency ID-->
</RATETPID><!-- string(15) Rate type ID-->
</STMTCYCL><!-- i4 Statement Cycle:-->
<!-- 1=No Statement;-->
<!-- 2=Weekly;-->
<!-- 3=Biweekly;-->
<!-- 4=Semimonthly;-->
<!-- 5=Monthly;-->
<!-- 6=Bimonthly;-->
<!-- 7=Quarterly-->
</KPCALHST><!-- i4 Maintain history calendar year:-->
<!-- 0=Do not maintain history;-->
<!-- 1=Maintain history-->
<!-- Default is 1 on new record-->
</KPERHIST><!-- i4 Maintain history fiscal year:-->
<!-- 0=Do not maintain history;-->
<!-- 1=Maintain history-->
<!-- Default is 1 on new record-->
</KPTRXHST><!-- i4 Maintain history transaction:-->
<!-- 0=Do not maintain history;-->
<!-- 1=Maintain history-->
<!-- Default is 1 on new record-->
</KPDSTHST><!-- i4 Maintain history distribution:-->
<!-- 0=Do not maintain history;-->
<!-- 1=Maintain history-->
<!-- Default is 1 on new record-->
</Send_Email_Statements><!-- i4 Send e-mail statements:-->
<!-- 0=Do not sent statements;-->
<!-- 1=Send statements-->
<!-- Default is zero on new record-->
</ToEmail_Recipient><!-- string(80) To email recipient; separate each recipient with a semicolon-->
</CcEmail_Recipient><!-- string(80) Carbon copy email recipient; separate each recipient with a semicolon-->
</BccEmail_Recipient><!-- string(80) Blind carbon copy email recipient; separate each recipient with a semicolon-->
</CHEKBKID><!-- string(15) Checkbook ID-->
</DEFCACTY><!-- i4 Cash account from: 0=Checkbook;-->
<!-- 1=Customer-->
<!-- Default is zero on new record-->
</RMCSHACTNUMST><!-- string(75) Cash account; only valid if DEFCACTY=1-->
</RMARACTNUMST><!-- string(75) Accounts receivable account-->
</RMSLSACTNUMST><!-- string(75) Sales account-->
</RMCOSACTNUMST><!-- string(75) Cost of sales account-->
</RMIVACTNUMST><!-- string(75) Inventory account-->
</RMTAKACTNUMST><!-- string(75) Terms discount taken account-->
</RMAVACTNUMST><!-- string(75) Terms discount available account-->
</RMFCGACTNUMST><!-- string(75) Finance charges account-->
</RMWRACTNUMST><!-- string(75) Write-offs account-->
</RMSORACTNUMST><!-- string(75) Sales order returns account-->
</RMOvrpymtWrtoffACTNUMST><!-- string(75) Overpayment write-offs account-->
</GPSFOINTEGRATIONID><!-- string(30) Front office integration ID-->
</INTEGRATIONSOURCE><!-- i4 Integration source-->
</INTEGRATIONID><!-- string(30) Integration ID-->
</UseCustomerClass><!-- i4 Flag to have class setting roll down to elements not passed in; uses the CUSTCLAS class to roll down-->
</CreateAddress><!-- i4 Flag to allow a primary address code to be created on the fly:-->
<!-- 0=Do not create address code;-->
<!-- 1=Create address code-->
</UpdateIfExists><!-- i4 Flag to allow customer data to be updated if it exists:-->
<!-- 0=Do not update;-->
<!-- 1=Update if record exists;-->
<!-- 2=Create if record does not exist and exits without error if record does exist-->
</RequesterTrx><!-- i4 Requester transaction:-->
<!-- 0=False;-->
<!-- 1=True (if True, it populates the requester shadow table)-->
</USRDEFND1><!-- string(50) User-defined field developer use only-->
</USRDEFND2><!-- string(50) User-defined field developer use only-->
</USRDEFND3><!-- string(50) User-defined field developer use only-->
</USRDEFND4><!-- string(8000) User-defined field developer use only-->
</USRDEFND5><!-- string(8000) User-defined field developer use only-->
</taUpdateCreateCustomerRcd >
<taCreateCustomerAddress_Items >
<taCreateCustomerAddress>
</CUSTNMBR><!-- (REQUIRED) string(15) Customer number-->
</ADRSCODE><!-- (REQUIRED) string(15) Address ID-->
</SLPRSNID><!-- string(15) Salesperson ID-->
</UPSZONE><!-- string(3) UPS zone-->
</SHIPMTHD><!-- string(15) Shipping method-->
</TAXSCHID><!-- string(15) Tax schedule-->
</CNTCPRSN><!-- string(60) Contact person-->
</ADDRESS1><!-- string(60) Customer address one-->
</ADDRESS2><!-- string(60) Customer address two-->
</ADDRESS3><!-- string(60) Customer address three-->
</COUNTRY><!-- string(60) Customer country-->
</CITY><!-- string(35) Customer city-->
</STATE><!-- string(29) Customer state-->
</ZIPCODE><!-- string(10) Customer zip-->
</PHNUMBR1><!-- string(21) Phone one-->
</PHNUMBR2><!-- string(21) Phone two-->
</PHNUMBR3><!-- string(21) Phone three-->
</FAX><!-- string(21) Fax-->
</GPSFOINTEGRATIONID><!-- string(30) Front office integration ID-->
</INTEGRATIONSOURCE><!-- i4 Integration source-->
</INTEGRATIONID><!-- string(30) Integration ID-->
</CCode><!-- string(6) Country code-->
</LOCNCODE><!-- string(10) Location code-->
</SALSTERR><!-- string(15) Sales territory-->
</USERDEF1><!-- string(20) User defined 1-->
</USERDEF2><!-- string(20) User defined 2-->
</UpdateIfExists><!-- i4 Flag to allow updates to customer data:-->
<!-- 0=No not update;-->
<!-- 1=Update if exists-->
</RequesterTrx><!-- i4 Requester transaction:-->
<!-- 0=False;-->
<!-- 1=True (if True, it populates the requester shadow table)-->
</USRDEFND1><!-- string(50) User-defined field developer use only-->
</USRDEFND2><!-- string(50) User-defined field developer use only-->
</USRDEFND3><!-- string(50) User-defined field developer use only-->
</USRDEFND4><!-- string(8000) User-defined field developer use only-->
</USRDEFND5><!-- string(8000) User-defined field developer use only-->
</taCreateCustomerAddress>
</taCreateCustomerAddress_Items >
<taSopLineIvcInsert_Items>
<taSopLineIvcInsert>
</SOPTYPE><!-- (REQUIRED) i4 1=Quote;-->
<!-- 2=Order;-->
<!-- 3=Invoice;-->
<!-- 4=Return;-->
<!-- 5=Back order;-->
<!-- 6=Fulfillment order-->
</SOPNUMBE><!-- (REQUIRED) string(21) Invoice number-->
</CUSTNMBR><!-- (REQUIRED) string(15) Customer number-->
</DOCDATE><!-- (REQUIRED) datetime Invoice date-->
</LOCNCODE><!-- string(10) Location code-->
</ITEMNMBR><!-- (REQUIRED) string(30) Item number-->
</AutoAssignBin><!-- i4 Auto assign bin will use either the SOFULFILLMENT or SORETURN bin-->
</UNITPRCE><!-- number Unit price for item-->
</XTNDPRCE><!-- number Extended price for line item-->
</QUANTITY><!-- (REQUIRED) number Quote=Quantity to order;-->
<!-- Order and Bkorder=Quantity to invoice;-->
<!-- Invoice=Billed quantity;-->
<!-- Return=Total quantity-->
</MRKDNAMT><!-- number Markdown amount-->
</MRKDNPCT><!-- number Markdown percent; if MRKDNPCT is utilized, in <taSopHdrIvcInsert> the element DEFPRICING must be set to 1 or error 67 will occur.-->
</COMMNTID><!-- string(15) Comment ID-->
</COMMENT_1><!-- string(50) Comment 1-->
</COMMENT_2><!-- string(50) Comment 2-->
</COMMENT_3><!-- string(50) Comment 3-->
</COMMENT_4><!-- string(50) Comment 4-->
</UNITCOST><!-- number Unit cost used only for non-IV items or Return type documents-->
</PRCLEVEL><!-- string(10) Price level-->
</ITEMDESC><!-- string(100) Item description-->
</TAXAMNT><!-- number Tax amount on line item without freight and miscellaneous tax-->
</QTYONHND><!-- number Return quantity type: On hand-->
</QTYRTRND><!-- number Return quantity type: Returned-->
</QTYINUSE><!-- number Return quantity type: In use-->
</QTYINSVC><!-- number Return quantity type: In service-->
</QTYDMGED><!-- number Return quantity type: Damaged-->
</NONINVEN><!-- i4 Non-inventory:-->
<!-- 0=No;-->
<!-- 1=Yes-->
</LNITMSEQ><!-- i4 Line item sequence number; by default, the line item sequence number will be autoincremented by 16,384 for each SOP line if it is not passed in; if the value needs to be passed in, we recommend passing in a value of 16,384 for the first line and increment the value by 16,384 for each subsequent line (that is, pass in a value of 16,384 for the first SOP line and then 32,768 for the second SOP line)-->
</DROPSHIP><!-- i4 Drop ship flag 1=Drop ship-->
</QTYTBAOR><!-- number Quantity to back order-->
</DOCID><!-- string(15) Document ID; if left blank, line will autoallocate and fulfill-->
</SALSTERR><!-- string(15) Sales territory-->
</SLPRSNID><!-- string(15) Salesperson ID-->
</