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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Accrued purchases report - AX 2012

(0) ShareShare
ReportReport
Posted on by 4,074

The documentation for this report (http://msdn.microsoft.com/en-us/library/aa598272.aspx) states:

The Accrued purchases report displays details about product receipts that have been entered and posted, but not invoiced, as of the cutoff date that you specify. The report contains data that you can use to reconcile one or more accrued purchases accounts. Invoice details are displayed on the report when one of the following conditions is true:

  • The receipt transaction date is before or equal to the cutoff date, and the invoice transaction date is after the cutoff date.

  • The invoice transaction date is before or equal to the cutoff date, and the receipt transaction date is after the cutoff date.

The description makes it sound like I can look at a snapshot in time of Purchase Orders, seeing what's been received as of the cutoff date, and what remains to be invoiced.  However, if I run the report it completely filters off PO lines that have been invoiced and shows no relative information on them as the report description leads me to believe. 

For instance, I do not see any Invoice details related to a PO line that was received before the cutoff date, and invoiced after.  I see nothing: no records.

I did a little digging, and there is a line in the Report Data Provider class (VendAccruedPurchasesDP_NA) that shows clear as day the filtering out of Fully Matched records:

//Exclude fully matched records
SysQuery::findOrCreateRange(qr.query().dataSourceTable(tableNum VendPackingSlipTrans)),fieldNum(VendPackingSlipTrans,FullyMatched)).value(queryValue(NoYes::No));

Commenting out this one line now gives me all PO lines, but it's pretty useless because the numbers are all zero because the quantity which everything is calculated on is the remainPurchFinancialPosted - which is zero for fully matched records. 

Could anybody shed some light on this report for me?  What is it trying to show me?  Is it broken, or am I misinterpreting the description?

*This post is locked for comments

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

    Adam,

    Had this issue a few weeks ago.  MS support determined there was a bug in the report and they released a hot fix for this issue which resolved the issue on our application version.  What version are you on?

  • Andy Adamak Profile Picture
    4,074 on at

    We are running CU3 with no additional hotfixes.  Do you remember which KB it was?

  • Community Member Profile Picture
    on at

    Andy:

    KB Article Number (s) : 2778929  

  • Andy Adamak Profile Picture
    4,074 on at

    Tom,

    I can't find this KB hotfix anywhere.  It's for ax2012 right?  I even looked under the CU updates and did a search.. came up with nothing.  Where were you able to acquire it from?

    Thanks,

    Andy

  • HolliV Profile Picture
    235 on at

    Andy,

    Did you ever get your report to work?  I'm on AX2012R2 and having same issue.

    Holli

  • Andy Adamak Profile Picture
    4,074 on at

    Holli,

    I haven't had a chance to dig back into it since we've upgraded to R2.  My hope was that the hotfix Tom spoke of was included and this report would be updated in R2.  What you are saying tells me it isn't working, however when looking at the report data provider in R2 is has been reworked and the line of code I described is no longer there.  Are you sure your report class is unmodified and not existing on a different layer?  I would check that.  Like I said I haven't gotten around to checking this one back out, but when I do I will let you know.

  • Verified answer
    Community Member Profile Picture
    on at

    All,

    If you go to Microsoft Partner source and look at the CU 5 that was just release in April you will see the KB article 2778929.   The description for this KB is "2778929-You experience slow performance when you run the Accrued Purchases report.  DAXSE\GFM\GDL-SYS".  

    Doesn't seem like the right description for me but there you have it, the fix is in CU 5.

    Hope that helps.

    Tom

  • Verified answer
    Andy Adamak Profile Picture
    4,074 on at

    I just ran the report in R2 (no other CU/hotfixes).  It looks like it is working correctly.  I was able to verify orders received before the cutoff date but invoiced after were showing up on the report.  Things that were both received/invoiced before the cutoff did not.  The report also would show orders in the "Open order" status if it was partially received & not invoiced (before cutoff), but not if it was partially received and the received portion was invoiced before the cutoff.  

    In other words, it works in R2 :)

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans