|
06.08.2008, 00:05 | #1 |
Участник
|
gatesasbait: System-generated find() and exist() methods on tables
Источник: http://gatesasbait.spaces.live.com/B...B9F5!241.entry
============== Good afternoon, The following job will output correct (but not best practice) code for find() and exist() methods for any table (that has a primary key), to a text file: public static void genFindNExist(Args _args) { SysDictTable sysDictTable; AsciiIO asciiIO = new AsciiIO('C:\\Documents and Settings\\#your user#\\Desktop\\asciio.txt', 'a'); ; sysDictTable = new SysDictTable(tablenum(AnyTableName)); asciiIO.write(sysDictTable.getSourceFind()); asciiIO.write(sysDictTable.getSourceExist()); } Источник: http://gatesasbait.spaces.live.com/B...B9F5!241.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|