locked
The SOPTYPE and DOCID elements must be supplied in the taSopHdrIvcInsert if a SOPNUMBE is not included ERROR. RRS feed

  • Question

  • Hello,

    I am getting a "The SOPTYPE and DOCID elements must be supplied in the taSopHdrIvcInsert if a SOPNUMBE is not included." error while importing a plain text order into GP Dynamics 2013 and Windows Server 2012 Standard via Kodak Business Extensions. The plain text file is below, the full error is below that:

    [BEGIN_ORDER_HEADER]
    Schema=6
    OrderNumber=0617033
    CustomerNumber=8115
    CustomerName=Peachtree Imaging
    CustomerAddress=
    CustomerCity=
    CustomerState=GA
    CustomerZip=
    CustomerPhone=404-680-2830
    ConfirmTo=bob@hsphoto.com
    PaymentMethod=
    OrderTypeID=
    OrderDate=
    Reference=
    PurchaseOrder= 0617033
    OriginalOrder=14745a99ba7_1
    ProductDescription=
    ProductQty=
    ProductCode=
    ShipTotal=
    ShipToName=
    ShipToAddress1=
    ShipToAddress2=
    ShipToCity=
    ShipToState=
    ShipToZip=
    ShipToLines=
    ShipToPhone=
    ShipToEmail=bob@hsphoto.com
    ShipToAltPhone=
    ShipToNotes=
    OrderNotes=
    ProductDescription=Credit Card On Account
    ProductQty=1
    ProductCode=
    CatalogID=Photographic Prints
    DateExpected=
    RushDate=
    OrderAmount=
    CreditCardNumber=
    CreditCardName=
    CreditCardExpiration=
    CreditCardCVV=
    [BEGIN_ORDER_DETAIL]
    [BEGIN_ALBUMS_ORDER]
    NumberOfAlbums=0
    [BEGIN_CD_ORDER]
    NumberOfCDs=0
    [BEGIN_WEB_UPLOAD_ORDER]
    [BEGIN_NEG_SERVICES]
    [BEGIN_CROP_SERVICES]
    [BEGIN_DIGITAL_ORDER]
    Book Type = 
    PackageID=0001
    StudioPackageID=
    ProductDescription=11 x 14
    ProductQty=1
    ProductCode=4011D
    Instructions=
    [END_OF_ORDER]

    The full error:

    Action:
    Create

    Current User Name:
    DYNAMICS\Administrator

    Input parameters:

    Exception type:
    Microsoft.Dynamics.GP.eConnect.eConnectException

    Exception message:
    The SOPTYPE and DOCID elements must be supplied in the taSopHdrIvcInsert if a SOPNUMBE is not included.

    Stack Trace:
       at Microsoft.Dynamics.GP.eConnect.SOPTransactionType.ParseTransctionHeader(String[]& nodeNames)
       at Microsoft.Dynamics.GP.eConnect.SOPTransactionType.ParseTransactionLines()
       at Microsoft.Dynamics.GP.eConnect.MessageManager.ParseTransactionTypes(EntityMessage message)
       at Microsoft.Dynamics.GP.eConnect.eConnectMethods.EntityImportImplementation(String connectionString, String sXML, Boolean isTransaction)
       at Microsoft.Dynamics.GP.eConnect.eConnectMethods.CreateEntity(String connectionString, String sXML)

    Details:

     Action: Create Current User Name: DYNAMICS\Administrator Input parameters: Exception type: Microsoft.Dynamics.GP.eConnect.eConnectException Exception message: The SOPTYPE and DOCID elements must be supplied in the taSopHdrIvcInsert if a SOPNUMBE is not included. Stack Trace: at Microsoft.Dynamics.GP.eConnect.SOPTransactionType.ParseTransctionHeader(String[]& nodeNames) at Microsoft.Dynamics.GP.eConnect.SOPTransactionType.ParseTransactionLines() at Microsoft.Dynamics.GP.eConnect.MessageManager.ParseTransactionTypes(EntityMessage message) at Microsoft.Dynamics.GP.eConnect.eConnectMethods.EntityImportImplementation(String connectionString, String sXML, Boolean isTransaction) at Microsoft.Dynamics.GP.eConnect.eConnectMethods.CreateEntity(String connectionString, String sXML)  

    Kodak has been tinkering with user/database permissions with no success...
    Thanks for your help,
    Bill


    Wednesday, November 12, 2014 2:34 PM