随笔分类 - X++
摘要:Sometimes you need to know what’s the difference between records. I made a simple function to do just that. It’s an example of how to use reflection and field IDs on records.It takes two r...
阅读全文
摘要:static void Jimmy_RenameKeyLookupValues(Args _args) { InventTable IT,ITupdate; Dialog dlg = new Dialog("updated to comoany Items infomation"); DialogField...
阅读全文
摘要:In many cases, we will need to TableId and RecId to directly access the data table records. For example, in Dynamics AX time to achieve full-text search, a reasonable design is to allow full-text sear...
阅读全文
摘要:get last saved dialog of valuesbelow as X++ Code remark by the Class and report.write down : Jimmy on September 07th 20101)Class2)Report
阅读全文
摘要:question I want to execute some client code on application startup. Where should I place this code?-->answerModify \Classes\Info\startupPost() method for Axapta 3.0 or\Classes\Info\workspaceWindowC...
阅读全文
摘要:We recently had a case where the customer wanted to change the language being used for a given AX user at runtime. The customer had sorted out how to change the language displayed in forms and reports...
阅读全文
摘要:AOT - > Classes - > Global - > LedgerName(...)get some of ledger Account name which account's levelRemark by Jimmy August 31th 2010
阅读全文
摘要:As the name implies QueryRun is the executor of a query linked to it. To construct a query you want QueryRun to execute, you need build classes:QueryQueryBuildDataSourceQueryBuildRangeQueryBuildFieldL...
阅读全文
摘要:/****The following X++ code was used to exhibit BOM numberRemark by Jimmy August 27th 2010*/Class name QVS_ExhibitBOMThe method of ParmExhibitBOMThe method of RankGetItemThe method of insertConsumeLis...
阅读全文
摘要:question?I have a big problem ... I have a diference between inventtrans and inventsum for some items ...I want to say that the qty in invetsum is not equal to the sum of qty in inventrans.What can i ...
阅读全文
摘要:Look up Enum type data complete infomation with Jobs.Such as : Index,Name,EnumValue,Label,ConfigurationKey....Remark by Jimmy August 03th 2010
阅读全文
摘要:Copy table data on Intercompany with X++ code.Remark by Jimmy August 03th 2010
阅读全文
摘要:Sometimes,We often need to lookup the dictionary date(such as table) list or modified the propertieson AOT .so,X++ code as below:Jimmy August 3th 2010Batch set up the field for table propertiesLook up...
阅读全文
摘要:Remark by Jimmy August 2th 2010
阅读全文
摘要:When a report doesn't fit on a page, depending on it's properties Ax will resize the report. This is a powerful and very useful feature.Now Ax will inform you that the report has been rescaled (Report...
阅读全文
摘要:There is a versatile function in Ax to perform rounding operations: round.This function rounds the first real argument to the nearest multiple of the second real argument. So plenty of possibilities, ...
阅读全文
摘要:useing X++ code calculate normal tables of sub Dictionary space size.remark by Jimmy July 14th 2010
阅读全文
摘要:AX 4.0 or 2009 must be running on the server side,otherwise system will pop-up permissions request failed error message!remark by Jimmy July 13th 2010
阅读全文
摘要:Useing x++ code Calculate period the on hand stockRemark by Jimmy July 13th 2010
阅读全文
摘要:1)Update Intercompany infomationvoid updateNewDimension(){/**Add by Jimmy 2010-07-12update New dimension*/ SalesLine UpInterSOCN,UpInterSOHK; PurchLine _purchLine; // SalesLine _salesLine; ; if(salesLine.isInterCompanyOrder()) { changecompany(salesLine.salesTable().InterCompanyCompanyId) { select fi
阅读全文

浙公网安备 33010602011771号