随笔分类 -  X++

上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要:Using x++ code Through to the name of extend or Enum data type obtain to be used for table object inherit from AX Data Dictionary.you can enter the name of extend or enum data type,and then obtain to table or map or view from data Dictionary!Wrote by Jimmy on Nov. 29th 2010Code as below: 阅读全文
posted @ 2010-11-29 17:36 Fandy Xie 阅读(497) 评论(0) 推荐(0)
摘要:static void Jimmy_TableListDictoryData(args a) { Dictionary Dictionary = new Dictionary(); int tableCounter = Dictionary.tableNext(0); Dialog Dialog ... 阅读全文
posted @ 2010-11-29 17:20 Fandy Xie 阅读(371) 评论(0) 推荐(0)
摘要:Label & Language 阅读全文
posted @ 2010-11-29 14:34 Fandy Xie 阅读(556) 评论(0) 推荐(0)
摘要:static void Jimmy_ImagesSavedFullScreen(Args _args) { /** Useing X++ code saved as full Screen Resolution Image wrote by Jimmy on Nov. 29th 2010 */ Image img = new Image(); fileName ... 阅读全文
posted @ 2010-11-29 11:23 Fandy Xie 阅读(454) 评论(0) 推荐(0)
摘要:Sometimes, the developer needs of a given table based on records and the table field names, get to the field values. In fact,It's very simple, just on the common data record can be directly referenced... 阅读全文
posted @ 2010-11-28 21:10 Fandy Xie 阅读(276) 评论(0) 推荐(0)
摘要:1)Iuse Visual Studio 2008 to create a Class Library (name space)project named:JimmyXieyf.CSharpScript,and then added to the project in this class:ScriptRunner.JimmyXieyf.CSharpScript.ScriptRunner 2)se... 阅读全文
posted @ 2010-11-28 20:51 Fandy Xie 阅读(486) 评论(0) 推荐(0)
摘要:During development you may encounter one of these. This usually leaves your Ax session in an unusable state that you can’t close properly. However, there’s no need to get out the big guns ... 阅读全文
posted @ 2010-11-26 22:32 Fandy Xie 阅读(234) 评论(0) 推荐(0)
摘要:There are methods in AX which allow to encrypt and decrypt data easily. Those methods are WinAPIServer::cryptProtectData() for encryption and WinAPIServer::cryptUnProtectData() for decryption. As inpu... 阅读全文
posted @ 2010-11-25 14:26 Fandy Xie 阅读(503) 评论(0) 推荐(0)
摘要:static void Jimmy_FindoutFolderSubFiles(Args _args) { /***** The functions is used to find out specified the folder for all the files Worte by Jimmy on Nov. 25th 2010 */ System.IO.DirectoryInfo D... 阅读全文
posted @ 2010-11-25 09:04 Fandy Xie 阅读(249) 评论(0) 推荐(0)
摘要:static void Jimmy_FileTextIoWriteRead(Args _args) { TextIo txIoRead,txIoWrite; FileIOPermission fioPermission; container ConData; int xx,LenD... 阅读全文
posted @ 2010-11-24 17:35 Fandy Xie 阅读(1146) 评论(0) 推荐(0)
摘要:The following X++ code is tested in Dynamics AX 2009 development environment!Wrote by : Jimmy Nov 24th 2010 阅读全文
posted @ 2010-11-24 16:52 Fandy Xie 阅读(443) 评论(0) 推荐(0)
摘要:static void Jimmy_priceDiscTableFromMOQ(Args _args) { priceDiscTable priceDiscTable; test test; int i; ; ttsbegin; test.selectForUpdate(true); while se... 阅读全文
posted @ 2010-11-24 15:36 Fandy Xie 阅读(363) 评论(0) 推荐(0)
摘要:static void Jimmy_resetUserData(Args _args) { DialogButton button; SysLastValue sysLastValue; Dialog Dialog = new Dialog("@SYS70748"); DialogField dlg = Dialog.a... 阅读全文
posted @ 2010-11-24 15:30 Fandy Xie 阅读(271) 评论(0) 推荐(0)
摘要:When we use the Dynamics AX to send email, sometimes we will run into an CDO.Message issue with error message Method ‘send’ in COM object of class ‘CDO.Message’ returned error code 0×80040211 (unknown) which means: unknown.The error codes listed below are really useful when troubleshooting the i 阅读全文
posted @ 2010-11-22 09:50 Fandy Xie 阅读(2171) 评论(0) 推荐(0)
摘要:1)Method 1 useing X++ Code creating Number sequence module. wrote by Jimmypublic static void Jimmy_NumberSequences(){ NumberSequenceTable numberSequenceTable; NumberSequenceReference numberSequenceReference; NumberSequenceCode NumberSequence = "WHS_PDJ"; Name Txt = "PO Delivery Journa 阅读全文
posted @ 2010-11-15 08:35 Fandy Xie 阅读(1006) 评论(0) 推荐(0)
摘要:/***Our client asked for a job to remove the identical copy from VAR layer.For some unknown reason, some AOT objects are touched in VAR layer but actually are identical copy. When the developer compar... 阅读全文
posted @ 2010-11-12 13:55 Fandy Xie 阅读(367) 评论(0) 推荐(0)
摘要:How do I find Ledger Transaction Detail?below X++ Code wrote by Jimmy oct 25th 20101) declarationpublic class ReportRun extends ObjectRun{ TmpLedgerBase TmpLedgerBase; //Jimmy 2010-05-27 LedgerTransMo... 阅读全文
posted @ 2010-10-25 16:30 Fandy Xie 阅读(896) 评论(0) 推荐(0)
摘要:Remark by Jimmy Oct. 22th 2010User groups(Form) - > permission (Button)-> permissions (tab)->Security - > administrator - > Miscellaneous - > form personalization - > form persona... 阅读全文
posted @ 2010-10-22 19:44 Fandy Xie 阅读(226) 评论(0) 推荐(1)
摘要:In AX 2009,The system has been added some of new tables.such as below as.1)default order settings( InventItemPurchSetup,InventItemSalesSetup,InventItemInventSetup)   setup some of Max,Min order setup ... 阅读全文
posted @ 2010-10-22 14:04 Fandy Xie 阅读(312) 评论(0) 推荐(0)
摘要:It seems that when I have a query with more than 1 datasource, the SysQuery::countTotal() will give you the sum of the RecId values of all the records.example X++ Codewrote by : Jimmy Oct 12th 2010in ... 阅读全文
posted @ 2010-10-12 11:23 Fandy Xie 阅读(479) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 下一页