随笔分类 -  X++

上一页 1 2 3 4 5 6 ··· 9 下一页
摘要:Below is the small code snippet to get the underlying query of the SSRS report, reset query, prompt the parameters form, add our own ranges and execute the report. You can customize the job as per your requirements. Below I have used CustBaseData.Report report and added my own range on customer grou 阅读全文
posted @ 2013-08-07 16:07 Fandy Xie 阅读(474) 评论(0) 推荐(0)
摘要:1.//Create party for the vendorpublic void createParty(VendorRequestCreate _vendorRequestCreate){ ; if(_vendorRequestCreate.DirPartyType == DirPartyBaseType::Person) { dirPerson.Name = _vendorRequestCreate.VendorName; dirPerson.NameAlia... 阅读全文
posted @ 2013-07-22 10:12 Fandy Xie 阅读(1061) 评论(0) 推荐(0)
摘要:For Example we wanna run a Job with name "FAN_TableList_CSV". So you must create a button and oferride method Clicked in this button by this code:void clicked(){ TreeNode tr; XInfo xInfo = new xInfo(); ; tr = xInfo.rootNode(); tr = treeNode::findNode("jobs").AOTfindChild("FA 阅读全文
posted @ 2013-07-19 22:55 Fandy Xie 阅读(261) 评论(0) 推荐(0)
摘要:static void FAN_int2ExcelColChar(Args _args){ Dialog dlg = new dialog("please enter int number"); DialogField dlgNum = dlg.addField(types::Integer,"数字"); int num; name name;str THK_int2ColChar(int _col){ int k, i; str ret;; i = _col; while(i > 0) { ... 阅读全文
posted @ 2013-07-19 16:02 Fandy Xie 阅读(258) 评论(0) 推荐(0)
摘要:/***************************************************************** (C) Copyright DENTSPLY International. All rights reserved. The use, disclosure, reproduction, modification, transfer, or transmittal of this work for any purpose in any form or by any means without written permission of DENTSPLY ... 阅读全文
posted @ 2013-07-19 11:18 Fandy Xie 阅读(565) 评论(0) 推荐(0)
摘要:/***************************************************************** (C) Copyright DENTSPLY International. All rights reserved. The use, disclosure, reproduction, modification, transfer, or transmittal of this work for any purpose in any form or by any means without written permission of DENTSPLY ... 阅读全文
posted @ 2013-07-19 11:10 Fandy Xie 阅读(459) 评论(0) 推荐(0)
摘要:/***************************************************Created Date: 13 Jul 2013Created By: Jimmy Xie(Tectura)Helpdesk Ticket#: TB001613 - Accounts Payable Positive PayDescription of Behavior: Pick specific tableExpected Input:Expected Output:***************************************************/public s 阅读全文
posted @ 2013-07-19 11:00 Fandy Xie 阅读(238) 评论(0) 推荐(0)
摘要:/***************************************************Created Date: 13 Jul 2013Created By: Jimmy Xie(Tectura)Helpdesk Ticket#: TB001613 - Accounts Payable Positive PayDescription of Behavior: Pick specific classExpected Input:Expected Output:***************************************************/public s 阅读全文
posted @ 2013-07-19 10:57 Fandy Xie 阅读(239) 评论(0) 推荐(0)
摘要:/***************************************************Created Date: 19 Jul 2013Created By: Jimmy Xie (Tectura)Helpdesk Ticket#: TB001613 - Accounts Payable Positive PayDescription of Behavior: Pick class methodExpected Input:Expected Output:***************************************************/public st 阅读全文
posted @ 2013-07-19 10:55 Fandy Xie 阅读(228) 评论(0) 推荐(0)
摘要:/***************************************************Created Date: 19 Jul 2013Created By: Jimmy Xie (Tectura)Helpdesk Ticket#: TB001613 - Accounts Payable Positive PayDescription of Behavior: Format extended dateExpected Input:Expected Output:***************************************************/public 阅读全文
posted @ 2013-07-19 10:47 Fandy Xie 阅读(427) 评论(0) 推荐(0)
摘要:How to create a dialog with the lookup as a control, the other control SalesId ItemId lookup is the only thing that SalesId.Done as follows.1.declare control by extended data type to use.class LookupDialog extends RunBase{ FormStringControl SalesIdCtrl, ItemIdCtrl; }2. Creation dialog.protected... 阅读全文
posted @ 2013-07-19 10:32 Fandy Xie 阅读(452) 评论(0) 推荐(0)
摘要:The job can be any string date format convert toAX date format.so that, Do not need to specify string date format, such as 123,132,321static void FAN_DateTimeNET(Args _args){ name name; transDate dt;transdate getTransDate(name _dateStr){ System.DateTime netDatetime; transdate ... 阅读全文
posted @ 2013-07-18 18:48 Fandy Xie 阅读(391) 评论(0) 推荐(0)
摘要:AX2009// USR Changed on 2013-07-10 at 12:57:46 by 7519 - Begin// USR Changed on 2013-07-10 at 12:57:46 by 7519 - Endpublic void comments_insertHeader(Editor e){ UserInfo userInfo; name name; str source; ; e.unmark(); e.gotoLine(1); e.gotoCol(1); /* Original ... 阅读全文
posted @ 2013-07-10 13:03 Fandy Xie 阅读(372) 评论(0) 推荐(0)
摘要:Is it possibile by code resize a form to fullscreen? (like button Maximize) ?// VAR Changed on 10 Jun 2013 at 12:17:41 by Fandy Xiepublic void activate(boolean _active){; super(_active); #define.SC_MAXIMIZE (61488) #define.WM_SYSCOMMAND (0x0112) WinAPI::SendMessage(element.hWnd(), #WM_SY... 阅读全文
posted @ 2013-07-10 12:20 Fandy Xie 阅读(412) 评论(0) 推荐(0)
摘要:对于我们开发人员来说,系统默认的字体,本人实在不喜欢,尤其是属性字体【太小,太细,根本看不清】,每次做一个新项目【AX2012】第一件事就是更改字体。由于AX2012没有像AX2009那样,可以工具选项中自定义更改字体。微软也真是的,干吗把这个功能取消呢。有点不解啊。所以就写个小Job,update一下。static void THK_7519_ChangeUserFont(Args _args){ UserInfo UserInfo; container con;// #! INCIDENT !#.LAST.07.11.12.JXie7519:; ttsBegin... 阅读全文
posted @ 2013-07-04 11:43 Fandy Xie 阅读(478) 评论(0) 推荐(0)
摘要:// This is a framework class. Customizing this class may cause problems with future upgrades to the software.class XppSource{ #define.defaultIndentColumns(4) #xppTexts int indentLevel; Source source;}// VAR Changed on 08 Nov 2012 at 13:55:27 by JXie7519Source comment(){ UserInfo ... 阅读全文
posted @ 2013-06-20 16:12 Fandy Xie 阅读(410) 评论(0) 推荐(0)
摘要:Suppose we want create number sequence forTestfield on form in Generalledger moduleConsideration: EDT-Test, Table-TestTable and Form- TestTableStep1.Create new EDT with name TestStep 2.Modify load module() method onNumberSeqModuleLedger class{datatype.parmDatatypeId(extendedTypeNum(Test));datatype.p 阅读全文
posted @ 2013-06-18 09:20 Fandy Xie 阅读(578) 评论(0) 推荐(0)
摘要:TwC: Validate access to return value from display/edit method.//BP Deviation Documenteddisplay freetext reportNote(){; return SalesParameters.ReportNote_DNT;} 阅读全文
posted @ 2013-05-17 17:49 Fandy Xie 阅读(573) 评论(0) 推荐(0)
摘要:try{ SysCompileIL::generateIL(); }catch{ SysCompileIL::mergeAssemblyFile(); throw Exception::Error;}SysCompileIL::mergeAssemblyFile(); 阅读全文
posted @ 2013-05-10 15:31 Fandy Xie 阅读(336) 评论(0) 推荐(0)
摘要:private string255 checkInventDimCombination(ItemId _ItemId, EcoResItemColorName _inventColorId, EcoResItemSizeName _inventSizeId){ EcoResSize _ecoResSize; Query ... 阅读全文
posted @ 2013-04-11 20:36 Fandy Xie 阅读(364) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 ··· 9 下一页