摘要: Export to Excel/Word - COM-Interface Axapta has subset of classes which can be used for exporting data into Excel viaCOMin your own way. You can find them in theAOT( Application O... 阅读全文
posted @ 2012-02-15 17:51 perock 阅读(341) 评论(0) 推荐(0) 编辑
摘要: Progress Bar [edit]Introduction A progress bar is a graphical representation of a job's progress and is used extensively in the standard application. By using a progress bar, use... 阅读全文
posted @ 2012-02-15 17:50 perock 阅读(482) 评论(0) 推荐(0) 编辑
摘要: Using Timer If you want perform a periodic task you can usebatch processing, but there is another option to perform local fast periodic tasks -timers. You can call thesetTimeO... 阅读全文
posted @ 2012-02-15 17:49 perock 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Expressions in query ranges One of least understood but most powerful Axapta features is the so-calledExpressions in query rangessyntax. This isnotthe same as simply using a Query... 阅读全文
posted @ 2012-02-15 17:44 perock 阅读(453) 评论(0) 推荐(0) 编辑
摘要: FTP from Axapta fromDevelopment Axaptaby (Dahlsgaard Jan) add at theclass declarationof theWinInet classthe following: DLLFunction internetConnect;DLLFunction ftpGetFi... 阅读全文
posted @ 2012-02-15 17:41 perock 阅读(387) 评论(0) 推荐(0) 编辑
摘要: Map Class Map (Foundation class)consist of a data set that contains a key and a corresponding value, where the key is unique. The key and the value need not be from the same data typ... 阅读全文
posted @ 2012-02-15 17:40 perock 阅读(929) 评论(0) 推荐(0) 编辑
摘要: Box class Box is a class used for showing an information- or confirmation box to the user. [edit]Example if (Box::yesNo("Is it safe to delete this?", DialogButton::No, "Delete inventory") == Dialog... 阅读全文
posted @ 2012-02-15 17:39 perock 阅读(295) 评论(0) 推荐(0) 编辑
摘要: Set Class Set consist of a data set that contains values of the same type, where value is unique. A Set is alway sorted on the value. Contents [hide] 1 How to use 1.1 Define ... 阅读全文
posted @ 2012-02-15 17:35 perock 阅读(373) 评论(0) 推荐(0) 编辑
摘要: static void NJ_MF_Test_ExcelIoTest(Args _args) { ExcelIo io; #Excel dialogField dialogFilename; Dialog dialog = new Dialog("Excel Upload"); container con; ;... 阅读全文
posted @ 2012-02-15 16:49 perock 阅读(1446) 评论(0) 推荐(0) 编辑
摘要: Edit方法参数个数可以有两个也可以有三个,如果有三个参数那么第二个参数一定要是Table edit NoYes markLine(boolean _set, InventTable _table, NoYes _value) { if (_set) { //Add or remove the selected line from th... 阅读全文
posted @ 2012-02-15 16:17 perock 阅读(319) 评论(0) 推荐(0) 编辑
摘要: void updateDesign() { FormDataObject fldItemName; // Only allow the item name to be modified if it's a service item // // Notice that this effects the controls both on the... 阅读全文
posted @ 2012-02-15 15:16 perock 阅读(315) 评论(0) 推荐(0) 编辑
摘要: public void displayOption(Common _record, FormRowDisplayOption _options) { GridColours gridColoursLocal = _record; ; super(_record, _options); // If highlight flag is set,... 阅读全文
posted @ 2012-02-15 14:04 perock 阅读(459) 评论(0) 推荐(0) 编辑
摘要: SysEmailBatch The SysEmailBatch class is used for sending emails from Axapta. SysEmailBatch mailer; mailer = SysEMailBatch::construct();mailer.parmPriority(emailPriority::Normal);mailer.parmSender... 阅读全文
posted @ 2012-02-15 12:56 perock 阅读(258) 评论(0) 推荐(0) 编辑
摘要: Multi Column Report [edit]Data Structure This is tutorial how to create multiple columns on a report. The report designer has no support for multi column rendering; Like in Word where you can set a ... 阅读全文
posted @ 2012-02-15 12:46 perock 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 临时表方法:table.setTmp() 将一个表作为临时表使用tmpTable.Data() 一般配合 doinsert()使用,从参数表中Copy一行记录后插入到临时表.tmpTable.SetTmpData(Common cursor) 设置tmpTable中的内容到cursor中临时表在报表中:将临时表传递给报表做数据源调用SetRecord()方法:this.queryRun()... 阅读全文
posted @ 2012-02-15 12:38 perock 阅读(675) 评论(0) 推荐(0) 编辑