web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

eConnect GL Transaction with Analytics receiving Error

(0) ShareShare
ReportReport
Posted on by 20

 Hi, I am trying to process a GL transaction through eConnect. The example transaction (to keep it simple) contains 1 line of Analytics Distribution but it seems to keep returning the same error no matter what I try.

Error Number = 9469  Stored Procedure taAnalyticsDistribution  Error Description = Cannot find a distribution amount based on input values

 

Here is the xml that is being submitted:

<eConnect>
  <GLTransactionType>
    <eConnectProcessInfo p3:nil="true" xmlns:p3="http://www.w3.org/2001/XMLSchema-instance" />
    <taRequesterTrxDisabler_Items p3:nil="true" xmlns:p3="http://www.w3.org/2001/XMLSchema-instance" />
    <taGLTransactionLineInsert_Items>
      <taGLTransactionLineInsert>
        <BACHNUMB>CDGL0001</BACHNUMB>
        <JRNENTRY>3460</JRNENTRY>
        <SQNCLINE>16384</SQNCLINE>
        <CRDTAMNT>25</CRDTAMNT>
        <DEBITAMT>0</DEBITAMT>
        <ACTNUMST>000-1100-00</ACTNUMST>
        <DSCRIPTN>Test trans</DSCRIPTN>
      </taGLTransactionLineInsert>
      <taGLTransactionLineInsert>
        <BACHNUMB>CDGL0001</BACHNUMB>
        <JRNENTRY>3460</JRNENTRY>
        <SQNCLINE>32768</SQNCLINE>
        <CRDTAMNT>0</CRDTAMNT>
        <DEBITAMT>25</DEBITAMT>
        <ACTNUMST>000-1100-00</ACTNUMST>
        <DSCRIPTN>Test trans</DSCRIPTN>
      </taGLTransactionLineInsert>
    </taGLTransactionLineInsert_Items>
    <taAnalyticsDistribution_Items>
      <taAnalyticsDistribution>
        <DOCNMBR>3460</DOCNMBR>
        <aaTrxDim>DIM1</aaTrxDim>
        <aaTrxDimCode>DIM1CODE3</aaTrxDimCode>
      </taAnalyticsDistribution>
    </taAnalyticsDistribution_Items>
    <taGLTransactionHeaderInsert>
      <BACHNUMB>CDGL0001</BACHNUMB>
      <JRNENTRY>3460</JRNENTRY>
      <REFRENCE>CDGL000120120405</REFRENCE>
      <TRXDATE>2017/03/06</TRXDATE>
      <TRXTYPE>0</TRXTYPE>
    </taGLTransactionHeaderInsert>
    <taMdaUpdate_Items p3:nil="true" xmlns:p3="http://www.w3.org/2001/XMLSchema-instance" />
  </GLTransactionType>
</eConnect>

What I suspect is that in my code I am trying to associate the the analytics line to a GL transaction line through the use of line sequence number. When I attempt to set this value and attempt to set the Doc Type to 0 the values are not reflected in the eConnect serialized xml.

I have been trying a bunch of different scenarios, playing with values in an attempt to get the transaction to go through but I just keep getting the same error.

Regards,

Mike

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Michael,

    providing the fields that values appear default from setup results the same error?

    Thanks,

    Nataraj S

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Dan Liebl Profile Picture

Dan Liebl 2

#2
Shravan Attelli Profile Picture

Shravan Attelli 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans