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