Skip to main content

Posts

Showing posts from May, 2013

Troubleshooting Error: No License code available for language

Troubleshooting Error: No License code available for language EN-US.   Please use a licensed language Hi Friends I was setting up an AX Instance from an existing  database backup and I hit this below error. Error:  No License code available for language EN-US. Please use a licensed language Event Viewer Error: The Microsoft Dynamics AX Application Object Server is running  on an operating system that is not supported.  The supported operating system is Microsoft Windows Server 2003 with Service Pack 1. Solution: The language for the startup user needs to be setup as per the installation update dbo.USERINFO set LANGUAGE = 'EN-AU', HELPLANGUAGE = 'EN-AU' where ID = 'Admin' Happy  Daxing....

How to split a Form in two window

Hi Friends, To create a new form and want to show this form in two interrelated windows, like the following form on the basis of the header the line level information will update, so for get this type of design in your form you have to write three               methods in from design. 1. int mouseDown(int x, int y, int button, boolean ctrl, boolean shift) {     int ret;     ret = super(x, y, button, ctrl, shift);     return _formSplitterVertical.mouseDown(x, y, button, ctrl, shift); } 2 . int mouseMove(int x, int y, int button, boolean ctrl, boolean shift) {     int ret;     ret = super(x, y, button, ctrl, shift);     return _formSplitterVertical.mouseMove(x,y,button,ctrl,shift); } 3. int mouseUp(int x, int y, int button, boolean ctrl, boolean shift) {     int ret;     ret = super(x, y, button, ctrl, s...

Create Delete Actions through code in AX

Hi Folks, Let us create a delete action in InventTable for a testTable. SysDictTable table; Treenode treeNode, datreeNode; table = new sysdicttable(tablename2id("InventTable")); treeNode = table.treeNode(); treeNode = treeNode.AOTfindChild("DeleteActions"); DAtreeNode = treeNode.AOTadd('UNKNOWN'); DAtreeNode.AOTsetProperty("Table", "TestTable"); DAtreeNode.AOTsetProperty("DeleteAction","Cascade"); DAtreeNode.AOTsave(); In the above code , we get into the AOT node by  node and go till the delete actions of the table and then  create the delete actions for that table. After executing this code, just open the AOT and click on save icon.  Now, just close the AX client and re-open it again.  Now, you can find the delete actions created through code. Happy Daxing.....!

AX 2012 and Microsoft Lync / Microsoft office Communicator

Hi folks........... AX 2012 is simply powerful.........Microsoft Lync & Microsoft office Communicator have been integrated with AX 2012 and its pretty simple to do it............ But the Pre-requisites are AX 2012 client should be installed on                                 your machine and you have to be logged into                                 Microsoft Lync / Microsoft office Communicator.  Open Customer Details form   ( Accounts Receivable - > Common - >Customer -> All Customers) Click on New Customer button on the top of the form. Set the record type to 'Person' and fill other mandatory fields . and click on Save then close the form. 4.  Double Click the newly created customer record  on the          ...