Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Receivables Apply Tables

Posted on by 610

I was just curious if anyone knew how the receivables apply tables worked.  There is the table RM20201 which is the Apply Open table and then the RM30201 which is the Apply History table.  I thought that if someone moved Sales Documents to history, it would clear out of the Open table and be put in the History Table.  But I am finding that the same record exists in both.  This applies to my Historical Aged Trial Balance Stored Procedure that some of you might have.  I developed it and tested with companies that had never moved Sales Items to History.

My example is that there is an invoice for 350.00 from 2008.  It was paid exactly with a check for 350.00 in 2008.  The Apply Record for this Check (Payment, doc type 9) exists in both the RM20201 and the RM30201.  Everything is exactly the same except the DEX_ROW_ID.

Is this normal?  Because conceptually, I was unioning transaction and apply open and history tables and matching the two of them up, but not I am double applying payments and obviously that doesn't work.

*This post is locked for comments

  • Victoria Yudin Profile Picture
    Victoria Yudin 22,766 on at
    Re: Re: Re: Receivables Apply Tables

    Hi Kevin,

    This might help, at least as a starting point: http://victoriayudin.com/2010/02/15/sql-view-with-ar-apply-detail/.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Re: Re: Receivables Apply Tables

    Hi Kevin--

    I think, in the past, I have done a subquery to group the apply records.  I am not the most savvy, though, so you might come up with a more efficient approach :)

    Take care,
    Christina

  • Kevin Day Profile Picture
    Kevin Day 610 on at
    Re: Re: Receivables Apply Tables

    No, the payment was actually open and the voucher was in history.  I ran paid transaction removal for that one customer and now is says that the Payment is in History, the Tansaction is in History and the Apply record only appears in only the history Apply table.

    Now I just need to wrap my head around how to handle these cases, because I want to have my Stored Proc determine when and how much was applied to an invoice at a point in time, regardless of whether paid transaction removel was run or not.  At this point, I guess I need to get a distinct set when I union the Open and History Apply tables.

    Thanks for your help.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Receivables Apply Tables

    Yes, Kevin, I believe it is normal most of the time.  It happens when only one of the transactions moved to history.  Consider the following example...

    Invoice of $300

    Payment of $500

     This would result in an open credit of $200.  The payment is still open with open apply records, while the invoice (with its apply records) would be moved to history.

     Now, in your example, can you confirm that both the payment and invoice are in history?

    Take care,

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans