I don't know any built-in functionality to do what you want but you can use TreeNode to browse the AOT.

TreeNode treeNode;
TreeNode nextField;

treeNode = xInfo.rootNode().AOTfindChild("Data Dictionary").AOTfindChild("Tables");
treeNode = treeNode.AOTfirstChild();
nextField = treeNode.AOTfindChild("Fields");
properties = nextField.AOTgetProperties();

Check in the help, add some while loop and you're on your way.

Steeve...

-----Message d'origine-----
De�: Walter Becker [mailto:[EMAIL PROTECTED]
Envoy�: 7 mai 2004 09:58
��: [EMAIL PROTECTED]
Objet�: [development-axapta] How can I find (Axapta) Tables, who's field(s) contain a given extendedDataType?

For example:
      I must find all Tables with Fields who's ExtendedDataTypes are 'ListCodeId'.

How can I accomplish this search with Program Code?
Is there perhaps already existing functionality in Axapta?

Walter Becker
DDT





Yahoo! Groups Links







Yahoo! Groups Links

Reply via email to