Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Which Smartlist and criterias could I use to get an AR Aging?

Posted on by 1,921

Thanks

 

Francis

*This post is locked for comments

  • LMuollo Profile Picture
    LMuollo 10 on at
    RE: Which Smartlist and criterias could I use to get an AR Aging?

    Hello Rob,

    what do you mean when you say that "the built in aging buckets...those give you the customer's balance, not the balance of the document"

    Ive noticed that the documents arent in the right buckets, but maybe GP uses a different criteria...

    Also, if i I want it to consider the due date of the document I have to build the smartlist myself? Its not a standard?

    Thanks!

  • Suggested answer
    Rob Klaproth Profile Picture
    Rob Klaproth 1,730 on at
    RE: Which Smartlist and criterias could I use to get an AR Aging?

    Hi Francis,

    I know this question was posted a long time ago and you have received many answers to your question, but I didn't see anyone answer how you can create a DETAILED aging in SmartList.  It is possible, but you can NOT use the built in aging buckets because those give you the customer's balance, not the balance of the document.

    You will need SmartList Builder if you are on GP2010 or 10.0.  If you are you are on GP2013 SP1 or higher for you can use SmartList designer for free.

    To accomplish this you will create calculated fields for each of your aging buckets...NOTE: By doing this, you are HARD CODING the calculations into the report - it will completely ignore your AR aging routine or any of your buckets that you have defined in GP, and goes entirely off the document date, although you could modify this to go off due date since due date is coded into the document details.

    Each calculated field will look something like this:

    CASE WHEN Datediff(day, [RM20101].[DOCDATE], Getdate()) <= 30 THEN [RM20101].[CURTRXAM] ELSE 0 END

    You will add one of these for each aging, i.e. for 30-60 it will look like this:

    CASE WHEN Datediff(day, [RM20101].[DOCDATE], Getdate()) <= BETWEEN 31 AND 60 THEN [RM20101].[CURTRXAM] ELSE 0 END

    NOTE:  You are creating one calculated field for each aging bucket.

    Let me know if you have any questions about this.  

  • Francis Larocque Profile Picture
    Francis Larocque 1,921 on at
    Re: Re: Re: Re: Re: Re: Re: Re: Re: Which Smartlist and criterias could I use to get an AR Aging?

    There's also an SSRS report available.  However it is not Excel ready.  You have to modify it.  Not quite awesome.

  • Victoria Yudin Profile Picture
    Victoria Yudin 22,766 on at
    Re: Re: Re: Re: Re: Re: Re: Re: Which Smartlist and criterias could I use to get an AR Aging?

    Leslie,

    Yep, that's what I typically do for the historical aging report.  For the current aging, though, a lot of times I have been asked for additional data (for example linking to the SOP tables for a user defined field), or a different way of presenting it...so I prefer to do that in SQL. 

  • L Vail Profile Picture
    L Vail 65,271 on at
    Re: Re: Re: Re: Re: Re: Re: Which Smartlist and criterias could I use to get an AR Aging?

    I have often taken a different route and just made the canned report 'Excel Friendly'. It works like a charm and the table definitions have already been done for me!

    Kind regards,

    Leslie

  • Victoria Yudin Profile Picture
    Victoria Yudin 22,766 on at
    Re: Re: Re: Re: Re: Re: Which Smartlist and criterias could I use to get an AR Aging?

    LOL Frank!  Is that a hint?  ;-)  It's difficult to do this generically in a view, like I usually post, because aging can be done differently (due date vs. doc. date) and different customers have different names and days for their aging buckets.  And some want aging by GL date, while others want it by doc date...  So it's often a lot easier to tell someone how to do it, so they can do it with their own settings.

  • Victoria Yudin Profile Picture
    Victoria Yudin 22,766 on at
    Re: Re: Re: Re: Re: Which Smartlist and criterias could I use to get an AR Aging?

    Francis,

    Just looking at your reply to Ian - keep in mind that in some cases the only thing that will match the GP report is the overall total due.  If the aging process has not been run in GP and/or if you are calculating aging columns differently, the individual aging bucket totals may not match.  If the only goal is to match the GP report, there is actually a column in the RM20101 table that holds the position of the GP aging bucket that the transaction is in currently - AGNGBUKT.  I typically prefer to do my own calculation on what aging bucket the transactions should be in, so that my report is not relying on someone running the Aging process in GP.  Also, in some cases the RM module is setup to leave all credits in the Current aging bucket - this is not typically recommended, but some companies prefer it. 

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    Frank Hamelly | MVP... 4,029 Super User 2024 Season 2 on at
    Re: Re: Re: Re: Re: Which Smartlist and criterias could I use to get an AR Aging?

    I should have known Victoria would have a solution to this - I spoke too soon Frances!

    Why has no one ever posted a script or a view for this in any of the blogs or forums - I looked everywhere before answering Frances! LOL

  • Francis Larocque Profile Picture
    Francis Larocque 1,921 on at
    Re: Re: Re: Re: Which Smartlist and criterias could I use to get an AR Aging?

    That's amazing Victoria, thanks a lot!

  • Victoria Yudin Profile Picture
    Victoria Yudin 22,766 on at
    Re: Re: Re: Which Smartlist and criterias could I use to get an AR Aging?

    Francis,

    SmartList out-of-the-box will not give you a detailed current aging, only summary.  The good news is that this is pretty easy to get from the tables.  The data for all unpaid AR transactions is in RM20101 - filter on CURTRXAM <> 0.  I also typically link to the RM00101 table on CUSTNMBR to get some additional customer details.  The other critical piece is the type of transaction (RMDTYPAL) in RM20101.  From http://victoriayudin.com/gp-tables/rm-tables/:

    Add these:
    1 – Sale / Invoice
    2 – Reserved for scheduled payments
    3 – Debit Memo
    4 – Finance Charge
    5 – Service Repair
    6 – Warranty

    And subtract these:
    7 – Credit Memo
    8 – Return
    9 – Payment

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans