随笔分类 - AX2012
摘要:This topic has not yet been rated-Rate this topichttp://msdn.microsoft.com/EN-US/library/bb190066.aspxUpdated:December 16, 2011Applies To:Microsoft Dy...
阅读全文
摘要:tile label using [#99ccff]property BackgroundColor - > expression=Iif(Fields!Flag.Value = "1", "Green","Transparent")
阅读全文
摘要:To refresh datasource args caller, you must add override method close on form like source code below :public void close(){ FormRun callerForm; ; callerForm = element.args().caller(); callerForm.dataSource().reread(); // callerForm.dataSource().refresh(); // -1 means...
阅读全文
摘要:To get financial dimension value from worker position, add a new method inhcmWorkerTable with script like below:public static str getDimensionValue (HcmWorkerRecId _workerRecId, Name _DimensionName, utcdatetime _asOfDate = DateTimeUtil::utcNow()){ DimensionAttribute...
阅读全文
摘要:1. Add a new method inhcmWorkertable, and add this script :public static client void lookupWorkerByLegalEntity(FormStringControl _lookupctrl, Int64 _LegalEntity){ SysTableLookup sysTableLookup; Query query = new Query(); QueryBuildDataSource qu...
阅读全文
摘要:static void THK_importLedgerJournalTrans(Args _args){ Filename fileName = "C:\\Users\\ksiu3880\\Desktop\\GL Journal test.xlsx"; LedgerJournalId ledgerJournalId = "000425_010"; Name nameDimensionAttribute1 = "Department"...
阅读全文
摘要:static void FAN_GLImport(Args _args){ AxLedgerJournalTable header = new AxLedgerJournalTable(); AxLedgerJournalTrans trans = new AxLedgerJournalTrans(); container ledgerDim, offsetDim; LedgerJournalNameId ledgerJournalNameId = "GeneralJR"; Dimen...
阅读全文
摘要:In this post, I will take you through a very simple functionality called the intercompany accounting in dynamics AX 2012. This is a simple walk through of the setup required to be able to do intercompany transactions and also we will post and verify the ledger updates for an actual intercompany tran
阅读全文
摘要:Common requirement is to show the reports in customer’s language.[example : Quotations, sales confirmations, invoices, Free text invoices, Return order acknowledgements , Agreements, Purchase order confirmations etc].This was easily achievable in Dynamics AX 2009 reports by usingelement.design().lan
阅读全文
摘要: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
阅读全文
摘要:在AX2012的Form开发中,微软引入了新的控件ReferenceGroup,它用在Lookup其他表RecId的时候显示更人性化的字段,它的使用还必须从表的索引说起。AX2012的表有这些索引(http://msdn.microsoft.com/en-us/library/hh812105.aspx):Primary key:主键用来唯一标识一条纪录,比如InventTable的ItemIdx索引,包含ItemId字段,用它标识唯一的一个物料,AX2012要求主键必须只有一个字段,当然必须是唯一的。Alternate Key:可以包含多个字段且索引必须是唯一的,其属性AllowDuplic
阅读全文
摘要:1.//Create party for the vendorpublic void createParty(VendorRequestCreate _vendorRequestCreate){ ; if(_vendorRequestCreate.DirPartyType == DirPartyBaseType::Person) { dirPerson.Name = _vendorRequestCreate.VendorName; dirPerson.NameAlia...
阅读全文
摘要: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...
阅读全文
摘要:Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012The only buttons in the action pane that should be enabled are those that perform valid actions for the current selection in the list. Buttons that cannot perform an action must appear in a
阅读全文
摘要:对于我们开发人员来说,系统默认的字体,本人实在不喜欢,尤其是属性字体【太小,太细,根本看不清】,每次做一个新项目【AX2012】第一件事就是更改字体。由于AX2012没有像AX2009那样,可以工具选项中自定义更改字体。微软也真是的,干吗把这个功能取消呢。有点不解啊。所以就写个小Job,update一下。static void THK_7519_ChangeUserFont(Args _args){ UserInfo UserInfo; container con;// #! INCIDENT !#.LAST.07.11.12.JXie7519:; ttsBegin...
阅读全文
摘要:Well I hope everyone is having a fine week so far. Oh Wednesdays, the furthermost point between two weekends. It's a day of great productivity, as we push towards that glimpse, and hope for our Saturday and Sunday. To help you out during the middle of this week, I thought it was time we spent a
阅读全文
摘要:// 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 ...
阅读全文
摘要:You selected "Repeat header rows on each page" or "Keep header rows visible while scrolling" in the tablix properties dialog, but it doesn't seem to work as expected? You might want to try the following four steps if you are using a "table"-style layout:in the group
阅读全文
摘要: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
阅读全文
摘要:setp 1. First create New Edit.setp 2.Create New TableFirst Table Name is NParentRelthen drag and drop the newly created Edt in NParentRel Tablesetp 3.Create Index for new created EDT in NParentRel Tablethe properties on index is AllowDuplicates to Noand Alternativekey to Yessetp 4.then select the NP
阅读全文

浙公网安备 33010602011771号