Get the EDT realation of particular table
static void getFieldRel(Args _args) { int i = 1; DictField dictField; DictRelation DR = new DictRelation(Tablenum(InventTable)); DictTable Dict = new DictTable(Tablenum(InventTable)); DictTable Formref; ; while(i <= Dict.fieldCnt()) { if(DR.loadFieldRelation(dict.fieldCnt2Id(i))) { Formref = new DictTable(DR.loadFieldRelation(dict.fieldCnt2Id(i))); info(“Table Name ” + Formref.name()); } i +=1; } pause; }
Read the original:
Get the EDT realation of particular table


