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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Record from Record ID

(0) ShareShare
ReportReport
Posted on by 171

If I have a Record ID value, what would be the simplest way to get the record from it?

I can think of using the RecordID and getting the Record Reference from it, then from the Record Reference using the Field Reference to get the value of the Primary Key and then using Get/FindFirst to get to the actual record variable.

Is there any better way to do this?

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,045 Moderator on at
    RE: Record from Record ID

    Is this the method you are looking for ? The recordref.get ?

    docs.microsoft.com/.../recordref-get-method

  • Verified answer
    YUN ZHU Profile Picture
    93,222 Super User 2025 Season 2 on at
    RE: Record from Record ID

    Hi, hope the following will help.

    https://yzhums.com/21163/

    Thanks.

    ZHU

  • RahulBansode Profile Picture
    171 on at
    RE: Record from Record ID

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 2,828

#2
Sumit Singh Profile Picture

Sumit Singh 2,617

#3
YUN ZHU Profile Picture

YUN ZHU 1,861 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans