Skip to main content

Notifications

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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 601 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 416

#3
Adis Profile Picture

Adis 384 Super User 2025 Season 1

Product updates

Dynamics 365 release plans