Hi CAMT,
I am facing the same problem, issue with Integrating General Ledger with Analytical Accounting Information using eConnect tool into Microsoft Dynamics GP.
The below given is the exact error message. In fact, I am passing the parameter "aaTrxDimID" and set the aaTrxDimID.specified to true, the field appears in the XML but still it pops the error saying "aaTrxDimID" parameter was not passed in.
When I manually create the entries in Microsoft Dynamics GP with the same data, it was creating without any errors.
Version:
The GP version is 2013 SP2
eConnect version is 2013 SP2
The following scenarios explain the issue:
Scenario 1:
If we pass the AA distribution parameter in econnect with Dimension and the Dimension code, the integration fails with the message “aaTrxDimID = Note: This parameter was not passed in, no value for the parameter will be returned”. Please find attached the error log message (errorlog.txt).
Note: I have checked the XML file and it does contain all the parameters including the aaTrxDimID.
AA distribution parameters:
<DOCNMBR>16409</DOCNMBR>
<DistSequence>16384</DistSequence>
<ACTNUMST>1810</ACTNUMST>
<DistRef>Purchases</DistRef>
<aaTrxDim>J</aaTrxDim>
<aaTrxDimCode>FLA1</aaTrxDimCode>
<aaTrxDimID>1</aaTrxDimID>
Scenario 2:
If we pass the AA distribution parameter in econnect with just the Dimension code, the integration is successful. But when validating the Analytical Accounting in GP we get a message: “Analytical Accounting code does not exist for the dimension”.
Note: When I checked the backend SQL AA tables, I noticed these tables were not populated in GP (AAG10001, AAG10002, AAG10003).
AA distribution parameters:
<DOCNMBR>16409</DOCNMBR>
<DistSequence>16384</DistSequence>
<ACTNUMST>1815</ACTNUMST>
<DistRef>Purchases</DistRef>
<aaTrxDimCode>FLA1</aaTrxDimCode>
<aaTrxDimID>1</aaTrxDimID>
Error Message:
Exception type:
Microsoft.Dynamics.GP.eConnect.eConnectException
Exception message:
Sql procedure error codes returned:
Error Number = 9398 Stored Procedure= taProcessAnalytics Error Description = error processing taAnalyticsDistribution
Node Identifier Parameters: taProcessAnalytics
Error Number = 9414 Stored Procedure= taAnalyticsDistribution Error Description = Transaction Dimension assignment does not exist
Node Identifier Parameters: taAnalyticsDistribution
Related Error Code Parameters for Node : taAnalyticsDistribution
aaTrxDimID = Note: This parameter was not passed in, no value for the parameter will be returned.
Error Number = 9436 Stored Procedure= taGLTransactionHeaderInsert Error Description = Could not process analytics
Node Identifier Parameters: taGLTransactionHeaderInsert
BACHNUMB = test1
JRNENTRY = 16410
REFRENCE = .net Import
TRXDATE = 1/15/2014 12:00:00 AM
TRXTYPE = 0
<taGLTransactionHeaderInsert>
<BACHNUMB>test1</BACHNUMB>
<JRNENTRY>16410</JRNENTRY>
<REFRENCE>.net Import</REFRENCE>
<TRXDATE>1/15/2014 12:00:00 AM</TRXDATE>
<TRXTYPE>0</TRXTYPE>
<USRDEFND1>FLA6</USRDEFND1>
<USRDEFND2>0</USRDEFND2>
</taGLTransactionHeaderInsert>
Kindly advice.
Thanks,
Shan