Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Analytical Accounting Unposted

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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:
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Analytical Accounting Unposted

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

    John

  • Verified answer
    Lucas Reuss Profile Picture
    Lucas Reuss 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,

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans