With the release of business central new property is introduced to find the table relation of given field. This property is called as’ Relation’ which returns integer value

Lets see how we can find that .

To make it created one page extension and added one action button to display the value of table of given field.

If you see the highlighted area where in I have used relation property to find table id of CITY field of customer table.

Output of this simple code as follows

Hope this will help you

Stay tuned for more..


Discover more from BCAIHUB — Business Central & AI Consulting

Subscribe to get the latest posts sent to your email.

6 responses to “How to find Table Relation in Business Central.”

  1. […] returns integer value Lets see how we can find that . To make it created one page extension… Read the full text. Read Complete Post and […]

  2. […] How to find Table Relation in Business Central. […]

    1. Ammolh Saallvi Avatar

      But I think it is new for the developer of BC as it was not part of C/AL isn’t it

    2. Natalie Karolak Avatar

      Sorry, the link was broken. The double – – (only directly after “/relation-function”) has been converted to a single long -.

  3. Nomadding Nina Avatar

    Hello mate nice ppost

Leave a Reply

242,426 hits

Discover more from BCAIHUB — Business Central & AI Consulting

Subscribe now to keep reading and get access to the full archive.

Continue reading