When I send a purchase order to GP through econnect, it raised an error:
Cannot insert the value NULL into column 'USERID', table 'RP.dbo.SOP10104'; column does not allow nulls. INSERT fails.
at Microsoft.Dynamics.GP.eConnect.EntityMessageProcessor.ExecuteSqlCommands(XElement transactionNode, EntityMessage message)
at Microsoft.Dynamics.GP.eConnect.eConnectMethods.ProcessMessageImport(EntityMessage message)
at Microsoft.Dynamics.GP.eConnect.eConnectMethods.EntityImportImplementation(String connectionString, String sXML, Boolean isTransaction)
at Microsoft.Dynamics.GP.eConnect.eConnectMethods.ProcessEntityImport(String connectionString, String sXML, Boolean isTransaction)
at Microsoft.Dynamics.GP.eConnect.eConnectMethods.CreateTransactionEntity(String connectionString, String sXML)
Same purchase order with another item will not cause this problem.
Then I open GP, create an order on GP with the item which cause this problem, and open 'sales holds processing', insert this order with APPROVAL, and chick process, then send xml again with econnect as I did before, the econnect works!
I don't know why and don't want to resolve this problem with the method of create order on GP, could anyone give me any suggestion?
Thank you very much.
*This post is locked for comments