DictTable

Dear Friends

What is DictTable? Why we sue this and what is the purpose.

I will waiting for you reply

Regards

Venkey

DictTable is a class that provides information about tables (and maps and views). It will tell you, for example, how many fields a table has. Look at its methods in documentation on MSDN.

It is one of the Refection API available in AX, helps to get the metadata of the tables. Example: the field count using

\System Documentation\Classes\DictTable\fieldCnt

index count, \System Documentation\Classes\DictTable\indexCnt

Hi Kranthi,Adam

is there a way to read the code in the method of dictable (dataPrCompany)

DictTable.dataPrCompany().

i assume that this is kernel application we can’t read or modify… but i passionate to understood the way they implemented here…

No, it’s not possible. It’s a kernel class, i.e. it’s compiled C++ code or something.

Nevertheless I believe that it simply looks at SaveDataPerCompany property on table.

thanks Adam

Please mark a reply (replies) that helped you as the verified solution.

By the way, I’m not Adam. :slight_smile:

sorry by the mistake…

Thanks Martin…

By the way I’m not able to mark it as a verified solution as I.m not the author [:D]

Ah, I didn’t notice. Please create a new thread next time.