随笔分类 -  X++

摘要:Sometimes,User hope you can help to resolve som problem(such as relrease Items on Item detail) ,So they are provide some of Items number listto you and respectively by commas! you can using below Jobs process Multiple Items respectively by commas!Wrote by Jimmy on April 21th 201101)static method in 阅读全文
posted @ 2011-04-21 15:47 Fandy Xie 阅读(318) 评论(0) 推荐(0)
摘要:Sometimes customer want to know how many records in that Form.(include user query or filtercondition).Well.Such as below X++ Code:Wrote by Jimmyon April 21th on 2011display int64 recCount(){//this method maybe replace under the datasource method(must be specify datasource) or Form method QueryRun qr 阅读全文
posted @ 2011-04-21 14:31 Fandy Xie 阅读(313) 评论(0) 推荐(0)
摘要:AX and CrystalReport interface.From :http://www.qiuhao.com/forum-redirect-tid-13482-goto-lastpost.html#lastpostvoid ViewCrystalReport() { Com comapp; Com reporting; str paramwhole; str paramfilename; str paramCond; str ViewYesNo; int ret; COMVariant variant;; variant = new COMvariant(COMVariantInOut 阅读全文
posted @ 2011-04-01 11:16 Fandy Xie 阅读(314) 评论(0) 推荐(0)
摘要:The following X++ code using calculate the personal tax of salary.wrote by Jimmy on March 21th 2011static void Jimmy_CalcPersonalIncomeTax2011(Args _args){ Dialog Dialog = new Dialog("计算个人所得税[2011-9开始实施]"); DialogField dlgSalerly = Dialog.addField(typeid(Amount),"工资收入","工资收入 阅读全文
posted @ 2011-03-21 10:39 Fandy Xie 阅读(356) 评论(0) 推荐(0)
摘要:This section will explore about customizing the Infolog in Ax through SysInfoAction, We generally use the infolog to display various type of messages , occasionally we also carry out some action through the Infolog, say for example opening a new form or the code from which the info originated these 阅读全文
posted @ 2011-03-09 11:21 Fandy Xie 阅读(454) 评论(0) 推荐(0)
摘要:The following code snippet creates a Meeting Request in OutLook Automatically. Place the codes in a Job and Execute it.It will automatically create a meeting Request in MS OutLook....... Allyou have to do is just give the invitees name in the Meeting Request window.static void Jimmy_OutlookAppointme 阅读全文
posted @ 2011-03-09 11:08 Fandy Xie 阅读(464) 评论(0) 推荐(0)
摘要:Sometimes,We are have to real numerals convert to txt string.So I wrote a X++ Code achieve it.(AOT - > Classes - > Global - > Jimmy_numeralsToTxt_CN)parameter 1 (Real numerals)parameter 2 (Ture - > Simplified Chinese; False - > Traditional Chinese)parameter 3 (Ture - > is Money; Fa 阅读全文
posted @ 2011-03-07 15:40 Fandy Xie 阅读(647) 评论(0) 推荐(0)
摘要:if the customer have not buy [Business analysis] License , then the standard reports will can't using to runningreportswith Batch jobsfunction in Dynamics AX 2009.so, I have a good Idear. just that Using some of x++ code achieve to it.Wrote by Jimmy xie on Feb 24th 2011Maincode below as:1)Batch 阅读全文
posted @ 2011-02-24 16:36 Fandy Xie 阅读(1467) 评论(0) 推荐(0)
摘要:Somtimes,Purchase or sale market User hope to know the customer or vendor address.so,I have used X++ code achieve to access to Google Maps.Come on!Enjoying...worte by Jimmy on Feb 16th 2011. 阅读全文
posted @ 2011-02-16 09:05 Fandy Xie 阅读(332) 评论(0) 推荐(0)
摘要:Using .net Code savedasfull Screen Resolution Image in Dynamics AX 2009Wrote by Jimmy Feb 11th 2011 阅读全文
posted @ 2011-02-11 09:46 Fandy Xie 阅读(567) 评论(0) 推荐(0)
摘要:Job as below.Wrote by Jimmy on Feb 11th 2011 阅读全文
posted @ 2011-02-11 09:03 Fandy Xie 阅读(1055) 评论(0) 推荐(0)
摘要:Using strPoke and strRFix function Generating serial numberWrote by Jimmy on Jan.26th 2011 阅读全文
posted @ 2011-01-26 09:59 Fandy Xie 阅读(442) 评论(0) 推荐(1)
摘要:Wrote by Jimmy on Jan 21th 20111)Jobs2)FormControls 阅读全文
posted @ 2011-01-21 09:46 Fandy Xie 阅读(1000) 评论(0) 推荐(0)
摘要:The following X++ code using to update system field values.Wrote by Jimmy Jan 20th 20111)Add the Static method(UpdateupdateSystemFieldValues) to the global class.2)Job invoking the global static method updateSystemFieldValues 阅读全文
posted @ 2011-01-20 19:00 Fandy Xie 阅读(477) 评论(0) 推荐(0)
摘要:static void Jimmy_DataBaseInfo(Args _args) { SqlSystem SqlSystem = new SqlSystem(); Session Session = new Session(); LoginProperty loginProperty = sqlSyste... 阅读全文
posted @ 2011-01-13 10:58 Fandy Xie 阅读(399) 评论(0) 推荐(0)
摘要:static void Jimmy_activateWindow(Args _args) { FormRun fr; Args args = new Args(); CustTable CustTable = CustTable::find("WIB-CHN"); ; args.name(formstr(CustTable)); ... 阅读全文
posted @ 2011-01-13 10:57 Fandy Xie 阅读(337) 评论(0) 推荐(0)
摘要:Wrote by Jimmy on DEC 31 20101)Using x++ code export to CSV file from dynamics AX 2009 (TextBuffer)remark : must beinit setup file path.2)Using x++ code export to CSV file from dynamics AX 2009(TextBuffer)remark : dialog saved as csv file path3)Using x++ code export to CSV file from dynamics AX 2009 阅读全文
posted @ 2010-12-31 16:35 Fandy Xie 阅读(3472) 评论(0) 推荐(0)
摘要:Using x++ code Reading to CSV filewrote by Jimmy on DEC31th 2010 阅读全文
posted @ 2010-12-31 16:21 Fandy Xie 阅读(522) 评论(0) 推荐(0)
摘要:CascadeA cascading deletion action will delete all records in the related table, where the foreign key is equivalent to the primary key of the current table. That is, deleting the parent record will also delete the child record(s) in the related table.This cascading will take place whether the delet 阅读全文
posted @ 2010-12-30 11:55 Fandy Xie 阅读(236) 评论(0) 推荐(0)
摘要:Wel all know the small dialog that gives the user usefull information about what is happening in Ax. In this post I will tell u some more about this.You can add information to the Infolog by calling:Infolog.add(…) info(…) warning(…) or checkfailed(…) error(…) You can add some structure in it by u 阅读全文
posted @ 2010-12-29 15:50 Fandy Xie 阅读(752) 评论(0) 推荐(0)