I want to make a field to lookup all NAvision objects or specific objects(e.g all codeunits or Pages etc). but i dont know how to achieve this.
Asked
Active
Viewed 1,257 times
1
-
Explain best your question,thanks – Nicolás Alarcón Rapela Jul 16 '18 at 08:01
2 Answers
1
You need to refer to hidden system table called something like AllObjWithCaptions
. You can find it at the very bottom of the table list if you open lookup in table relation property of a field.

Mak Sim
- 2,148
- 19
- 30
1
create a field in the desired table go to the properties of the field and add AllObjWithCaption."Object ID" to the TableRelation.

Moiz Ahmed
- 101
- 5
-
Example TableRelation showing tables "Gen. Journal Line" or "Item Journal Line": AllObjWithCaption."Object ID" WHERE (Object Type=CONST(TableData),Object ID=FILTER(81|83)) – ian_scho Apr 14 '21 at 11:36