When you run a General Ledger transaction integration by using the eConnect Adapter, an error occurs in Integration Manager for Microsoft Dynamics GP 10.0


Symptoms


When you run a General Ledger transaction integration by using the eConnect Adapter in Integration Manager for Microsoft Dynamics GP, you receive the following error:
DOC 1 ERROR: System.Data.SqlClient.SqlError: Procedure or function 'taAnalyticsDistribution' expects parameter '@I_vDOCNMBR', which was not supplied.

Cause


The SQL Table cannot grab the next Journal Entry number.

Resolution


You must have the Journal Entry number in the source file, and you must map the Journal Entry field.
  1. Open the Destination Mapping window.
  2. Click the General Journal folder.
  3. Change the Journal Entry number field to Use Source Field.
  4. Select the source from the Source drop-down list.