RE: How Can I get last inserted Sopnumbe from sales order table.
can also tell me the reason behind this issue.
Microsoft.Dynamics.GP.eConnect.eConnectException
Message : Sql procedure error codes returned:
Error Number = 1008 Stored Procedure= taSopLineIvcInsert Error Description = Procedure taSopLot returned an error value
Node Identifier Parameters: taSopLineIvcInsert
SOPNUMBE = ORD0128913
SOPTYPE = 2
Error Number = 2621 Stored Procedure= taSopLot Error Description = The Quantity entered for this Lot is not available in the IV00300
Node Identifier Parameters: taSopLot
SOPNUMBE = ORD0128913
SOPTYPE = 2
ITEMNMBR = 10014238
Related Error Code Parameters for Node : taSopLot
ITEMNMBR = 10014238
LOCNCODE = DISTRIB
QTYTYPE = Note: This parameter was not passed in, no value for the parameter will be returned.