Skip to main content

Notifications

Community site session details

Community site session details

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

Explanation about FieldRef

(0) ShareShare
ReportReport
Posted on by 130

What is FieldRef, how do we use the FieldRef in Al, and please share example of using FieldRef.

  • Suggested answer
    YUN ZHU Profile Picture
    84,318 Super User 2025 Season 1 on at
    RE: Explanation about FieldRef

    Hi, Since it's unclear what your specific needs are, here are some of my tests, hoping to give you some inspiration.

    https://yzhums.com/20030/

    https://yzhums.com/21936/

    https://yzhums.com/10529/

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,029 Moderator on at
    RE: Explanation about FieldRef

    In order to understand field ref i think you should understand record ref as well

    docs.microsoft.com/.../recordref-data-type

    docs.microsoft.com/.../fieldref-data-type

    Record ref can reference any table in your database with out you having to know exactly what table you will work with when you declare the variable.

    So a field ref is basically a data type in AL that can reference any field in any given table in the database.

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 >

Featured topics

Product updates

Dynamics 365 release plans