While pushing expenses to Great Plains for the first time, the following error is encountered -

 

Timestamp:04/06/2014 15:30:42 Category:GP Exception Priority:1  EventId:102 Severity:Critical

                  Title:Exception while processing Expense Record GE106-0

           Message:Exception while processing Expense Record GE106-0 Transaction Count - 5Amount - 963.1500 Credit Entity - 7000 Currency USDFirst ERP Account ID -23-450-3228-0300 Exception Message - System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   --- End of inner exception stack trace ---

   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)

  at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

   --- End of inner exception stack trace ---

   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)

   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)

   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

   at GorillExpense.IntegrationApp.DynamicsGPService.DynamicsGP.CreatePayablesInvoice(PayablesInvoice payablesInvoice, Context Context, Policy policy)

   at GorillExpense.IntegrationApp.Classes.GPPayablesInvoiceUpload.GPProcessSingleBatch(List`1 exp, List`1 memoFlds, Decimal total_amt)

                 

-------------------------------

-------------------------------

Timestamp:04/06/2014 15:30:42 Category:Main GP Exception Priority:1  EventId:100 Severity:Critical

                  Title:Exception while processing GP Upload

           Message:GPPayablesInvoiceUpload.cs System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   --- End of inner exception stack trace ---

   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

   --- End of inner exception stack trace ---

   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)

   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)

   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

   at GorillExpense.IntegrationApp.DynamicsGPService.DynamicsGP.CreatePayablesInvoice(PayablesInvoice payablesInvoice, Context Context, Policy policy)

   at GorillExpense.IntegrationApp.Classes.GPPayablesInvoiceUpload.GPProcessSingleBatch(List`1 exp, List`1 memoFlds, Decimal total_amt)

   at GorillExpense.IntegrationApp.Classes.GPPayablesInvoiceUpload.GPProcessSingleExpense(List`1 ListExpenseInfo, List`1 Listsettings, List`1 ListConfigLabelInfo)

                 

-------------------------------

-------------------------------

Timestamp:04/06/2014 15:30:42 Category:Update UnSuccessful Priority:1  EventId:1 Severity:Information

                  Title:Failed

           Message:ExpesnseId = 106 ExpesnseNo = GE106

                 

-------------------------------



To resolve this issue, please make sure the functional currency exists and is setup for the particular company you are trying to post to