I am trying to write a stored procedure in SQL server that pulls information from the [Change Log Entry] table so we can easily keep track of what changes have been made in NAV. The only problem is that I cannot find a table that includes the [Table Name] and [Field Name] for the corresponding columns [Table No_] and [Field No_] in the [Change Log Entry] table.Ā
Where can I find Table Name and Field Name? Is this information in the database?
I am working with NAV 2016.
Thank you for your help!
—————————— Marco Villarreal Farmers Investment Co Sahuarita AZ ——————————
actually the virtual tables within nav wont help you. can only be used within nav, in the nav dev. client.
table names: stored invirtual tablesĀ AllObj, AllObjWithCaption fields: stored in virtual table Field these virtual tables can then be used in pages, reports, etc.Ā
in your case you need access in sql. it’s quite different. so … to get the tables names you can use table dbo.Object.
to get the field names in sql you can use the sql system tables, e.g.
select COLUMN_NAME from INFORMATION_SCHEMA.COLUMNS where TABLE_CATALOG = <databasename> and TABLE_NAME = <tablename> — and ORDINAL_POSITION = <field no.>
—————————— Franz Kalchmair Microsoft MVP Senior Consultant Austria, Europe —————————— ——————————————-
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.
Report
You have already reported this .
Welcome to our new site!
Here you will find a wealth of information created for peopleĀ that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!