Hi,
We're using GP web service to update our Sale Invoices using the operation UpdateSalesInvoice operation. This only happens when we're pushing 4000 invoice lines, after 40 minutes of processing the GP web service returns the error "A transaction exception has been thrown. Please attempt operation again."
When I check the Web Service Exceptions Console. The exception message is "The transaction has aborted" and below is the stack trace output.
at System.Transactions.TransactionStateAborted.BeginCommit(InternalTransaction tx, Boolean asyncCommit, AsyncCallback asyncCallback, Object asyncState)
at System.Transactions.CommittableTransaction.Commit()
at System.Transactions.TransactionScope.InternalDispose()
at System.Transactions.TransactionScope.Dispose()
at Microsoft.Dynamics.GP.eConnect.eConnectMethods.EntityImportImplementation(String connectionString, String sXML, Boolean isTransaction)
at Microsoft.Dynamics.GP.eConnect.eConnectMethods.CreateEntity(String connectionString, String sXML)
at Microsoft.Dynamics.GP.EConnectAdapter.ExecuteWrite(String xml, String typeName, Context context, BusinessEvent eventType, BusinessObjectEventArgs args, EventLocation eventLocation)
at Microsoft.Dynamics.GP.EConnectAdapter.Update(BusinessObject businessObject, BusinessObject originalBusinessObject, Context context, Policy policy)
at Microsoft.Dynamics.GP.GreatPlainsBusinessService.PersistForUpdate(BusinessObject businessObject, BusinessObject originalBusinessObject, Context context, Policy policy)
at Microsoft.Dynamics.Common.BusinessService.Update(BusinessObject businessObject, Context context, Policy policy)
*This post is locked for comments