Microsoft Dynamics AX Technical Support Blog

All postings are provided "AS IS" with no warranties, and confers no rights. See terms at http://www.microsoft.com/info/copyright.htm!

Browse by Tags

Tagged Content List
  • Blog Post: AIF: How to add extra non database field into XSD.

    The idea is to add new extra field into schema definition and into whole AIF process but do not have this field part of table or query. It could be simple “counted” field. For now, we will start with new table and new query. When you generate document services by wizard, make sure that Generate AxBC...
  • Blog Post: Microsoft Dynamics AX 2012 Workflow error: “Failed to find workflow version”

    Some time ago we run into strange problem when running Vendor add justification workflow (VendRequestNVJTemplate). After creating Vendor Request in Employee Service we can see it in Procurement and sourcing > Common > Vendor Requests > Vendor Requests Pending Approval where the request gets...
  • Blog Post: Synchronizing AX to Outlook Cannot edit a record in Activities (smmActivites) An update conflict occured

    We recently came across a problem with Outlook synchronization with the AX2009 client. The problem was that sometimes when a user synchronized it failed with the error message: "Cannot edit a record in Activities (smmActivites). An update conflict occured due to another user process deleting the record...
  • Blog Post: How to reduce the file size of PDF files generated by AX 2009

    PDF files generated from Microsoft Dynamics AX can get quite large in size. In this thread I share some hints on how you can potentially reduce the size of the generated PDF file. Images During PDF generation each image will be temporarily converted to a 24bit BMP file and afterwards stored as a JPG...
  • Blog Post: Setting marked Alerts to Read (or Unread) the “Unread” column doesn't get updated properly

    Recently we recieved an issue where a user managing his Alerts in AX 2012 found, setting a selection of Alerts to "Read" failed to update the UI of the Alert notifications screen properly. How found: The user clicked the Alert Bell on the AX Client's status bar to open Alert Notification form. In...
  • Blog Post: Record level security is not enforced in code or is it?

    I recently came across an unusual behaviour of record level security, that I don’t think has been documented before, so I thought I would share it with you. The situation here is that there is an employee with emplId=”RLS”, and there is a user group configured with record level security...
  • Blog Post: Using skipDeleteActions with doDelete still calls the delete actions

    Recently we came across an issue where running code like this: Unit unit; ; select firstonly forupdate unit where unit.UnitId == 'cl'; unit.skipDeleteActions(true); unit.doDelete(); This results in the delete still being called on Tables\UnitConvert (via the cascaded delete action on Tables\Unit...
  • Blog Post: How to: Add a new operation to AIF Document Service.

    There are couple of document services in AX without all standard operation out of the box. A lot of time there is a need to get a sample of create operation. Usually in that situations we get a read (or find) operation to read data and then use this response as a basic template for create (or update...
  • Blog Post: How batch processing works under the hood AX2009

    In this article I am going to explain how batch processing in AX2009 works, I don't mean how to set up a batch group or any of that kind of thing that you find in the manual, what I mean is what each AOS is doing in the background to decide how and when to pick up batches and process and complete them...
  • Blog Post: Multiline Fields in AX Document Management

    It's relatively easy to create a nice looking Word document out of a Sales Order in Dynamics AX by using the built in Document Management feature. The problem starts when trying to create a document with multiple order lines where some of the items have a multi line description. In this case the...
  • Blog Post: Print medium change in dialog not working on certain reports

    Recently we were able to solve an issue with the print medium on certain reports. It is not changed immediately in a report print dialog option when it is generated from a class that extends RunBaseReportDialog . This works fine when printing a standard report without extending from the RunBaseReportDialog...
  • Blog Post: Thickness of lines in PDF file is much too wide compared to the printout

    You may have noticed that when printing a report to PDF which is having a layout that is using shapes or lines, then there are some differences between the PDF an the printout. The thickness of the lines in the PDF file is much too wide compared to the printout. When having a look to the code the...
  • Blog Post: Batch tasks show no operation progress

    Recently I coded an AX 2009 server bound batch job using AOT\Classes\tutorial_runbasebatch and wanted to show the progress of the job within the Batch tasks form. I was using the common interfaces in RunBase and also RunBaseProgress and found that this is not increasing the Progress in the Batch tasks...
  • Blog Post: How label flushing works under the hood

    Recently I've been working with a few unusual issues with missing labels, in various different circumstances, one of these lead me to investigate label flushing - this is the process which takes newly created labels and moves them into the actual label files (*.ald files). This investigation was based...
  • Blog Post: Working with CLR Exceptions in Dynamics AX X++ code

    Did you sometimes face the following generic error messages and wondered what they mean? Object 'CLRObject' could not be created ClrObject static method invocation error Those error messages mean that you are working with .NET Framework objects and that in those an Exception (a CLR Exception) was raised...
  • Blog Post: Wrong data shown in the grid, if the table field is an Int 64 and the form control is an IntEdit instead of an int64edit.

    As you might know you can place different controls for integer values on a form. E.g. Int64Edit for 64 bit integers or IntEdit for 32 bit values. Some time ago during developing I found that there might be an issue if you are having an Int 64 in a table and on a form control you have an IntEdit instead...
  • Blog Post: How can the Role Center be individually turned off?

    The Role Center in Dynamics AX 2009 is based on the Dynamics AX 2009 Enterprise Portal. As soon as you install Enterprise Portal the Role Center will also be enabled. If you do not want to use the Role Center you can hide it by going to Administration | Setup | Internet | Enterprise Portal | Web sites...
  • Blog Post: Forms with a high number of records take a significant time to show

    You might have seen this before in the Dynamics AX 2009 Client, that if you open a transaction Form like CustTransOpen the very first row is displayed quickly, however all other rows of the Grid are shown after a significant time. In between the Dynamics AX 2009 Client is unresponsive (frozen). The reason...
  • Blog Post: How to hide the Navigation Pane in AX 2009

    Recently we got the requirement to hide the Navigation Pane in AX. It turned out that this is quite easy to achieve by using the following code: xInfo info; ; info = new xInfo(); info.navPane().navPaneVisible(false); --author: Amitha Madathil Pottayil --editor: Daniel...
  • Blog Post: Dynamics User Control is shown as hidden in Dynamics Ax 2009 Enterprise Portal

    Sometimes it happens that even those that Dynamics User Control Web Part is available on the page some users cannot see it. When you go to Site Action –> Edit Page you can see that Dynamics User Control Web Part is there but with status Hidden. Changing this setting in SharePoint Web Part properties...
  • Blog Post: MS Project Integration resources with comma fail to export

    During my investigation of Dynamics Ax Project Integration functionality I run into following problem. When a resource (in my case Employee) has a ‘,’ (comma) in its name (field DirPartyTable,Name and this resource get synchronize with Ms Project Server the export will fail with error: An error occurred...
  • Blog Post: Creating an MSMQ message that can be consumed by AX AIF process

    Last week I had the need to use the MSMQ adapter in AX2009. Setting up the AX and Windows side of this was pretty straightforward as there is a great article on TechNet detailing how to do this ( http://technet.microsoft.com/en-us/library/aa834340.aspx ). This meant I could generate outgoing messages...
  • Blog Post: Identifying damaged Table objects in the AOT MetaData

    It happens very seldom, but sometimes the AOT MetaData is getting damaged, especially for Table objects. Indications of such an element “corruption” can be that you have one explicit Table in the AOT and every time you access this object either the Dynamics AX Client or the Dynamics AX...
  • Blog Post: Export to Excel can fail on a Windows Terminal Server

    Most of the time when I get involved in issues that are reported for the Dynamics AX Client running on a Windows Terminal Server, I can reproduce the issue also on a regular Client or using a Remote Desktop connection to a regular workstation. This issue is different, as I really had to use a Windows...
  • Blog Post: Visual Studio Dynamics AX report development how to associate X++ class with report dataSet

    Some time ago I run into following question regarding reporting development in Visual Studio 2008 To add a query to AxQuery you pass in a Dictionary object, but our range needs to be equivalent to: select * from InventTrans where DatePhysical < _paramDate && (DateFinancial == datenull() |...
Page 1 of 3 (52 items) 123