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.
-
Open the Destination Mapping window.
-
Click the General Journal folder.
-
Change the Journal Entry number field to Use Source Field.
-
Select the source from the Source drop-down list.