Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Applied to Debits Tables

(0) ShareShare
ReportReport
Posted on by 40

Hi,

How do I find the relation being the credit memo and invoice it was applied against in the database.  I'm able to find both the credit memo doc and the invoice it was applied to, but not sure how I could link the two.  I've posted the screen shot of where in GP I could see this relationship. I want to get to this from the database perspective.

I'm pulling data for invoices from dbo.RM20101.

AppliedToDebit.PNG

thanks in advance.

Categories:
  • Hokuminaria Profile Picture
    Hokuminaria 2,950 on at
    RE: Applied to Debits Tables

    Hello gonchristopher.

    As Dean had mentioned, this information is stored in the RM20201(Work/Open) and RM30201(history). When you look at these tables, the fields that link the two documents are APTODCNM (Apply to Document Number) and APFRDCNM (Apply From Document Number). You can use these fields to see what they are applied to.

    An easy way to to see this is get into test and create a Debit and Credit Document and apply these together. Then look at the RM20201 and RM30201 to locate your Document Numbers so you can see how the fields look and are able to walk backwards as you know the document numbers.

    I hope this helps!

    Thank you!

  • gonchristopher Profile Picture
    gonchristopher 40 on at
    RE: Applied to Debits Tables

    I am able to find both documents in RM20201.  I would like to know where I could find the relationship between the CM and the invoice it was applied to.  thanks for your help.

  • Dean Marty Profile Picture
    Dean Marty on at
    RE: Applied to Debits Tables

    Good Day

    The applied information in RM is in either the RM20201 or RM30201 ( history ).  In that table you will find both the Invoice and CM doc numbers.

    Thanks!

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans