上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 53 下一页
This X++ Code Snippet post describes how you can easily copy records by running over all of the fields of the from-record. During this looping over all the fields, you can exclude some fields if needed.Create following method in a class:Jimmy_GlobalstaticvoidJimmy_CopyoingField(Common_from,Common_to Read More
posted @ 2011-08-04 09:55 Fandy Xie Views(291) Comments(0) Diggs(0) Edit
staticvoidJimmy_InventOnHandPhysical(Args_args){InventOnHandinventOnHand=newInventOnHand();InventDimParminventDimParm;ItemId_ItemId="10-1000";;inventDimParm.initFromInventDim(InventDim::findOrCreateBlank());inventOnHand.parmInventDimParm(inventDimParm);inventOnHand.parmItemId(_itemId);inve Read More
posted @ 2011-08-04 09:35 Fandy Xie Views(632) Comments(0) Diggs(0) Edit
Business requirement: update planned order upon modification of a salesline without master scheduling.Sometimes you want to see changes made on a SalesLine immediately on the reference Planned Order, without Master Scheduling. This post describes how you can make a little code adaptation to achieve Read More
posted @ 2011-08-04 09:13 Fandy Xie Views(698) Comments(0) Diggs(0) Edit
I often have received the data requirement from the Soucing department.such as below.Hi Jimmy,Could you please based on as below standard run out list with all supplier, unit price, MOQ, Last 12 months purchase QTY us?Thanks!...................Hi JimmyThanks for your work. I have two questions as fo Read More
posted @ 2011-08-01 16:35 Fandy Xie Views(1702) Comments(0) Diggs(0) Edit
This code is used to create a simple form with overview and general tab when table name is passed to it. Before creating the form make sure the table contains overview, identification and description field group as per the best practice. Also check that label of Table is given which help in creating Read More
posted @ 2011-07-25 14:08 Fandy Xie Views(583) Comments(0) Diggs(0) Edit
As in Dynamics AX 2009, XML is widely used , so I got a code which will help to create XML file.staticvoidJimmy_CreateXMLFile(Args_args){//AsinDynamicsAX2009,XMLiswidelyused,soIgotacodewhichwillhelptocreateXMLfile.XmlDocumentdoc;XmlElementnodeXml;XmlElementnodeTable;XmlElementnodeAccount;XmlElementn Read More
posted @ 2011-07-25 13:54 Fandy Xie Views(2115) Comments(0) Diggs(0) Edit
Recently I wanted to avoid that the infolog pops-up with several 'No Device'error messages when opening the AX client with ConfigKey Telephony Integration enabled. This error message is caused by the ActiveX component for the phone integration on form smmPhone which returns an error for each Read More
posted @ 2011-07-19 22:06 Fandy Xie Views(910) Comments(0) Diggs(0) Edit
How to using x++ code achieve Lookup files list with entire folderEffect as below ImageWrote by Jimmy xie at 2011-07-19 Enjoying... ... (*^__^*) ... .../*How to using x++ code achieve Lookup files list with entire folderWrote by Jimmy xie at 2011-07-19*/static void Jimmy_LookupFileFolder(Args _args) Read More
posted @ 2011-07-19 10:43 Fandy Xie Views(510) Comments(0) Diggs(0) Edit
Using the following Jobs function can check spelling and grammar with english in Dynamics AX .// Created on 13 七月 2011 at 16:51:40 by Jimmy xiestatic void Jimmy_SpellingChecker(Args _args){ boolean ret; SysSpellChecker sp = SysSpellChecker::newLanguageId("en-us");//调用word里面的语法检查功能,目前只支持英文 Read More
posted @ 2011-07-13 16:50 Fandy Xie Views(369) Comments(0) Diggs(0) Edit
When you are finished renamed the Item number, you must record original Item number, related configure and so on!static void Jimmy_ItemRenamedAfterUpdate(Args _args){ InventTableCompany ITCompany,delITCompany; InventTable IT,ITUpdateOrg; ConfigTable ConfigTable; InventDimCombination Combination; Dia Read More
posted @ 2011-07-13 15:59 Fandy Xie Views(365) Comments(0) Diggs(0) Edit
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 53 下一页