Lookup table display methods
- by DAXShekhar
public static client str lookupTableDisplayMethod(str _tableId) { SysDictTable dictTable = new SysDictTable(str2int(_tableId)); ListEnumerator enum; Map map = new Map(Types::String, Types::String); ; if (dictTable && dictTable.rights() > AccessType::NoAccess) { enum = dictTable.getListOfDisplayMethods().getEnumerator(); while (enum.moveNext()) { map.insert(enum.current(), enum.current()); } } return pickList(map, "Display method", tableid2pname(_tableId)); }