/*************************************************** Created Date: 13 Jul 2013 Created By: Jimmy Xie(Tectura) Helpdesk Ticket#: TB001613 - Accounts Payable Positive Pay Description of Behavior: Pick specific table Expected Input: Expected Output: ***************************************************/ public static int pickSpecificTable_DNT(container _allowedTables) { Object formRun; container names; int i; #ResAppl Dictionary dict = new Dictionary(); DictTable dictTable; ; formRun = classfactory.createPicklist(); formRun.init(); for (i=1; i<=dict.tableCnt(); i++) { dictTable = new DictTable(dict.tableCnt2Id(i)); if(conFind(_allowedTables,dictTable.name())) { names += dictTable.name(); } } formRun.choices(names, #ImageTable); formRun.caption("@SYS9678"); formRun.run(); formRun.wait(); if (formRun.choice()) { return dict.tableName2Id(formRun.choice()); } return 0; }