lingdanglfw(DAX)

导航

2008年7月15日

Call Form By FormString

摘要: static void testCallForm(Args _args) { formrun FromNAme; Args parameters = new Args(); ; parameters.name(formstr("AAAItemIDTest")); parameters.parm("PurchTable"); //parameters.... 阅读全文

posted @ 2008-07-15 11:09 lingdanglfw 阅读(154) 评论(0) 推荐(0) 编辑

Send Mail

摘要: static void TestSendMail(Args _args) { SysMailer mail; ; mail = new SysMailer(); mail.quickSend('lingdanglfw@126.com','lingdanglfw@163.com', 'hahahahahahaha',"Hello"); } 阅读全文

posted @ 2008-07-15 11:08 lingdanglfw 阅读(158) 评论(0) 推荐(0) 编辑

Call DirectSQL in AX (other database by ODBC)

摘要: static void LoadInventTable(Args _args) { str sDSN = "MSDN"; LoginProperty Lp; OdbcConnection myConnection; statement myStatement; ResultSet ... 阅读全文

posted @ 2008-07-15 11:08 lingdanglfw 阅读(137) 评论(0) 推荐(0) 编辑

Call Direct SQL in X++

摘要: static void TestDirectSQLInXpp(Args _args) { str sqltxt = "select * from custtable where custtable.accountnum == '4001'"; source sqlcmd; XppCompiler compiler = new XppCompiler(); custt... 阅读全文

posted @ 2008-07-15 10:59 lingdanglfw 阅读(264) 评论(1) 推荐(0) 编辑

Exec SQL IN AX(self)

摘要: Class:(一定要配 Run On Server) resultSet TestDirectSQLTwo() { connection con=new connection(); statement stm=con.createStatement(); SqlStatementExecutePermission sq... 阅读全文

posted @ 2008-07-15 10:55 lingdanglfw 阅读(154) 评论(0) 推荐(0) 编辑