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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Analytical Accounting Unposted

(0) ShareShare
ReportReport
Posted on by

Do the flippin' Analytical Accounting tables not have the means of finding the grant ID (aatrxdimcode) for unposted journal entries?  It seems like the table favor posted and historical  entries only.

Frustrating as all get out!

Categories:
I have the same question (0)
  • Verified answer
    Lucas Reuss Profile Picture
    on at
    RE: Analytical Accounting Unposted

    Hello John,

    The Unposted Journal Entry information for Analytical Accounting are held within the AAG1000x tables.  Listed as follows:

    AAG10000 - AA Work Header

    AAG10001 - AA Work Distributions

    AAG10002 - AA Work Assignments

    AAG10003 - AA Work Codes

    They are all connected using the aaGLWordHdrID, which is connected to the Journal Entry (JRNENTRY) number in the AAG10000 table.

    If you have the All AA GL script from us from a previous support case, you can utilize that to pull all of the GL and AA results for the Journal Entry to see the Codes on it in SQL.

    Otherwise, you can use something like the following script to pull just GL and AA Unposted Information using the Journal Entry in question.  You will want to put the Journal Entry where noted in the script and then run the results to Text by going to Query | Results To | Results to Text, and then Execute the script.

    /**********************************************************/

    Declare @JRNENTRY int

    Set @JRNENTRY = 12345 --Replace with Journal Entry Number in question

    Print 'GL Work Header - GL10000'

    Print '=============================='

    Select * from GL10000 where JRNENTRY = @JRNENTRY

    Print 'GL Work Distributions - GL10001'

    Print '=============================='

    Select * from GL10001 where JRNENTRY = @JRNENTRY

    Print 'AA Work Header - AAG10000'

    Print '=============================='

    Select * from AAG10000 where JRNENTRY = @JRNENTRY

    Print 'AA Work Distributions - AAG10001'

    Print '=============================='

    Select * from AAG10001 where aaGLWorkHdrID in (Select aaGLWorkHdrID from AAG10000 where JRNENTRY = @JRNENTRY)

    Print 'AA Work Assignments - AAG10002'

    Print '=============================='

    Select * from AAG10002 where aaGLWorkHdrID in (Select aaGLWorkHdrID from AAG10000 where JRNENTRY = @JRNENTRY)

    Print 'AA Work Codes - AAG10003'

    Print '=============================='

    Select * from AAG10003 where aaGLWorkHdrID in (Select aaGLWorkHdrID from AAG10000 where JRNENTRY = @JRNENTRY)

    /**********************************************************/

    Let me know if that helps!

    Regards,

  • Community Member Profile Picture
    on at
    RE: Analytical Accounting Unposted

    Wonderful!  Thank you, for the quick and thorough response, Lucas!

    John

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 835 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans