摘要: public void run{ CustTable custTable, tmpDatasource;; // Ensure RLS is used custTable.recordLevelSecurity(true); while select custTable { tmpDataSource.data(custTable); tmpDataSource.insert(); } formDataSource.setTmp(); formDataSource.checkRecord(false); formDataSource.setTmpData(tmpDatasource); sup 阅读全文
posted @ 2011-03-31 10:32 perock 阅读(402) 评论(0) 推荐(0) 编辑
摘要: AX中临时表分两种类型: 1。如果AOT事先有定义一个表的临时表,那么就直接使用这个表的临时表。static void TableTmpInsertRecord(Args _args){ TmpCustLedger custTmpLedger; ; custTmpLedger.AccountNum = '1000'; custTmpLedger.Name = 'NameValue'; custTmpLedger.Balance01 = 2345000; custTmpLedger.insert();}2。如果AOT中没有定义临时表,则可用A++来声明一个临时表。 阅读全文
posted @ 2011-03-31 10:07 perock 阅读(453) 评论(0) 推荐(0) 编辑