Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Accounts Receivable and Accounts Payable Days Outstanding KPI increasing daily

(0) ShareShare
ReportReport
Posted on by 300

W7317.ScreenClip000015.jpg"/resized-image.ashx/__size/550x0/__key/CommunityServer-Discussions-Components-Files/32/7624.ScreenClip000014.jpg" border="0" />

My question is what is happening that could cause something like this to happen? I am not an accountant, after talking with our accountants we are stumped as to why this would keep increasing daily. Any help would be greatly appreciated.

Thanks!

*This post is locked for comments

  • Kyle Reierson Profile Picture
    300 on at
    Re: Accounts Receivable and Accounts Payable Days Outstanding KPI increasing daily

    Just took a look at the KPI's this morning and the Accounts Receivable Days Outstanding is now at 97.1 days. Last period shows 67.1. The PJOURNAL table I posted about last week is empty. The Accounts Payable Days Outstanding KPI is at 53 days with the last period at 25 days. I'm positive these current period numbers are wrong but now I am at a loss as to why they are so far off and seem to be increasing quite a bit each day. i will post back tomorrow to show the daily increase.

    Now that I think of it this all started happening right around the time I received some recalc scripts from Microsoft. It was talked about in this thread community.dynamics.com/.../172738.aspx

    Could be purely coincidence but maybe not, figured I would mention that just in case it has anything to do with the issue.

  • Kyle Reierson Profile Picture
    300 on at
    Re: Accounts Receivable and Accounts Payable Days Outstanding KPI increasing daily

    Ok so 15 minutes after posting this I refreshed my home screen and the KPI was not correct but much closer with the Receivables outstanding KPI showing 100 days to pay.

    After doing a little digging I found a SQL Server Agent job called Remove Posted PJOURNALs From All Companies that runs every 30 minutes. The quick and dirty is this job calls a stored procedure which calls another stored procedure which finally executes this statement:

    "delete PJOURNAL where REPORT = 1"

    I have never been in this PJOURNAL table before but I saw it was still populated with 600 or so rows, all with that REPORT column set to 1. After looking over the stored procedure it looked to me that the next time the job runs all these rows should be removed.

    I forced the SQL Server Agent job to execute and all the rows were removed, and it seems the KPI's are displaying correct numbers. Curious as to why these rows weren't getting removed every half hour when the job runs. I guess I will have to take a look at that PJOURNAL table next time the days outstanding starts to increase again.

    Anyway, hopefully this will help someone else experiencing this issue or lead to a solution as to why they aren't getting cleared out.

    Cheers.

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 >

Featured topics

Product updates

Dynamics 365 release plans