private string255 checkInventDimCombination(ItemId _ItemId, EcoResItemColorName _inventColorId, EcoResItemSizeName _inventSizeId){ EcoResSize _ecoResSize; Query ... Read More
一般在AX中有些编号是【装箱单号】是以0开头的字符串组成的编号,但是当我们导出且保存成csv或者xlsx格式的时候,打开文件时,系统加载字符串编号会自动默认为数字格式,会把编号最前面的O去除,且以数字的格式显示在界面上。导致数据显示异常。我们其实可以通过x++代码与Excel读取数据的原理解决这个问题。如tmpInventCardExpiry.PackingSlipId = PackingSlipId ? '="' + PackingSlipId + '"': ""; Read More
背景:对于有界面的应用程序来说, Windows增加了程序挂起的检查(Not Responding). 默认下原理是这样的:负责UI的线程在5秒内如果不能把发送给它的mouse/keyboard输入消息取走,那么Windows 的Desktop Manager 会创建一个ghost window在另外的进程(dwm.exe)上去。 Windows的任务管理器调用IsHungAppWindow来判断某个程序是否hung了。详细参看http://blogs.msdn.com/b/meason/archive/2010/01/04/windows-error-reporting-for-hangs. Read More
add the display method under the table methods nodes.public display WorkflowStatusUserName getApproverUserName(){ WorkflowTrackingStatusTable trackingStatusTable; WorkflowTrackingTable workflowTrackingTable; ; select firstOnly User from workflowTrackingTable ord... Read More
From: https://community.dynamics.com/ax/b/mukeshhirwani_dynamicsax/archive/2012/09/07/how-add-financial-dimension-on-forms-inside-ax2012.aspx1. Performa) Open AOT>>Data Dictionary>>Extended Data Types type/select DimensionDefault and drag it in table which will be used further as a datas Read More
When I worked for Microsoft I wrote a blog on how to send the X++ callstack in AX to the infolog. Here is that post: http://blogs.msdn.com/b/axsupport/archive/2010/08/02/how-to-send-the-callstack-to-the-infolog.aspxSending the callstack to the infolog is extremely helpful when troubleshooting an iss Read More
There are quite a few important keyboard shortcuts that can really save some time when entering data and moving around in AX 2012. One in particular – hitting the ESC key when you’re in a form – is one that new users don’t seem to get right away. I’ve seen a lot of records saved that shouldn’t have Read More
The Chart of accounts structure in Ax2012 has changed significantly from previous versions. In Ax2009, any table that stored dimensions would have a field called 'Dimension' (an n-element array). This applied to master data (customers, items, etc), as well as transactions, like entries in th Read More
在AX 系统中,用户可以自己添加财务维度(Finance Dimension)来满足财务核算和财务分析的要求。财务维度的设计在AX 2012 与AX 2009 及以前版本中的改动较大,相应的步骤和设置完全不同,用户需要执行哪些以下操作在AX2012系统中添加维度以保证其可以正确设置和使用:a. General ledger > Setup > Chart of account > Configure account structures > select one that is being used in your company by some of your Mai Read More
CIL Generation - AX 2012 - Error when generatingYou receive this when you run a full "Compile into .Net Framework CIL", togheter with "CIL generation: The given key was not present in the dictionary.". If this is the case, you have option A) that is run a complete AOT compile. Ho Read More