Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Last Account Number showing y-yyyy-yyy when report option is saved

(0) ShareShare
ReportReport
Posted on by 855

If I run a report 'Cross-Reference by Journal Entry' it runs fine the first time on a brand new option.  I am not restricting it by anything and it pulls in all accounts showing nothing for the beginning account number and nothing for the ending account number.  However, once I click save and save the option name, when I run the report again, the ending account number has y's in it with a few dots about the y.  So what this is doing is making the ending account number "Y".  This is an issue becuase they have account numbrs starting with "Z" so it is dropping the journal entries for those accounts.

As long as I DON'T save the report option and creaete a new one every time, I get the values I need.  But once the report option is saved, it doesn't work.  I have tested this in the customer's GP10 and GP2013 test environment since we are upgrading them and it does the same in both.  I also looked at the GL70500 table and do see the yyyy in the columns for that report and others.  

When I test this on my computer though, it doesn't do this so seems like this is an issue for my customer's data only, maybe something in the table.  When I look at the Fabrikam company the YYYs are in that table too GL70500 yet the ending account number still stays blank when the option name is saved.  So I am not seeing this in Fabrikam.  

I have re-created the reports.dic many times, plus security is looking at the original report.  

Any thoughts on how to correct this?

*This post is locked for comments

  • L Vail Profile Picture
    65,271 on at
    RE: Last Account Number showing y-yyyy-yyy when report option is saved

    Which sorting order is their SQL using?

  • Suggested answer
    Sheila Ochoa Profile Picture
    855 on at
    RE: Last Account Number showing y-yyyy-yyy when report option is saved

    Thanks Tom for the article, I appreciate it.  I did look at their setup and that wasn't the issue.  I did find though that the table GL70500 had a length of 5 for the ending account numbers columns (EDGACNUM_1...).  So in a test company, I made some backups o the GL70500 and GL70501 tables.  Then I dropped and recreated the tables and stored procedures (using SQL Maintenance) for General Ledger Report Options and General Ledger Report Options Temporary.  After doing this the report ran fine when saved.  And when the table was re-created the length of the ending account numbers in that table are 9, not 5.  I am not sure why the length of that field was at 5 and not 9 but believe that has something to do with the way the report is working.

    Something to consider though, if you drop these tables and stored procedures and re-create them, you will lose all of the Financial report options that have been saved.  This might not be something they want to lose.

  • Sheila Ochoa Profile Picture
    855 on at
    RE: Last Account Number showing y-yyyy-yyy when report option is saved

    I read the article and I understand what it is saying.  However, this report works and pulls all accounts including the "Z" accounts when you run it the first time. It excludes the accounts with "Z" after the report option is saved.  I guess at that point it is using the last value saved in this table for that report which is the Y.  But this report does not allow you to enter the range for accounts so you aren't even able to put in Z as an ending account number.  Reports - Financial - Cross Reference - Journal Entry.

  • Tim Foster Profile Picture
    8,515 on at
    RE: Last Account Number showing y-yyyy-yyy when report option is saved

    See the exciting KB at:

    mbs2.microsoft.com/.../KBDisplay.aspx

    Tim

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans