Sorry... i forgot it...
but it is here:
Microsoft.GreatPlains.eConnect Version=10.0.0.0
Microsoft.Dynamics.GP.eConnect
Sql procedure error codes returned:
Error Number = 235 Stored Procedure taSopHdrIvcInsert Error Description = Document amount does not equal (Subtotal+Freight+Misc+TaxAmt+FreightTax+MiscTax-TradeDisc)
Node Identifier Parameters: taSopHdrIvcInsert
SOPNUMBE = COTM1-0000771
SOPTYPE = 1
Related Error Code Parameters for Node : taSopHdrIvcInsert
SUBTOTAL = 225.9800
FREIGHT = Note: This parameter was not passed in, no value for the parameter will be returned.
MISCAMNT = Note: This parameter was not passed in, no value for the parameter will be returned.
TAXAMNT = Note: This parameter was not passed in, no value for the parameter will be returned.
FRTTXAMT = Note: This parameter was not passed in, no value for the parameter will be returned.
MSCTXAMT = Note: This parameter was not passed in, no value for the parameter will be returned.
TRDISAMT = Note: This parameter was not passed in, no value for the parameter will be returned.
DOCAMNT = Note: This parameter was not passed in, no value for the parameter will be returned.
<taSopHdrIvcInsert><SOPTYPE>1</SOPTYPE><DOCID>QUOTE.MATRIX</DOCID><LOCNCODE>MATRIX</LOCNCODE><DOCDATE>01-04-2012</DOCDATE><CUSTNMBR>11111111111111111</CUSTNMBR><SUBTOTAL>225.9800</SUBTOTAL><BACHNUMB>COT60</BACHNUMB><CREATETAXES>1</CREATETAXES><CURNCYID>DOLAR</CURNCYID><SOPNUMBE>COTM1-0000771 </SOPNUMBE></taSopHdrIvcInsert>
at Microsoft.Dynamics.GP.eConnect.eConnectMethods.ExecStoredProcedures(String xml)
at Microsoft.Dynamics.GP.eConnect.eConnectMethods.eConnect_EntryPoint(String ConnectionString, ConnectionStringType ConnectionType, String sXML, SchemaValidationType ValidationType, String eConnectSchema)
I have verified that items in orders directly in Dynamics GP, and dont have stock of that items, and didnt allow me to proceed with the order, but if when i tried to make a quote i can save the quote...
I check the values and all is correct...
By econnect xml, i have the same error when i serialized orders and quotes...
Thanks for your time...