Finance and operations

Useful Job

X++: Export all Dynamics AX 2012 embedded icons

X++: Export all Dynamics AX 2012 embedded icons

Have you ever wanted a folder containing all the icons in AX2012? Then I think you have also searched for a folder somewhere on the server containing the icons and pictures? Search no more! Since I couldn’t find this folder or a piece of code […]

X++: Create a list of child classes or find extended methods

X++: Create a list of child classes or find extended methods

Jet another small X++ job: This job shows a list of child classes per parent class. If you want so see the parent-child relationship in AX2012, the best way is to Right click on the class > Add-ons > Type hierarchy browser. The Type hierarchy […]

List of table fields and types in CSV file

List of table fields and types in CSV file

I wrote a job today to create a list of fields in a table and each field’s data type. You specify a table name in the variables, and it he job exports a list of non-system fields in the format: “Displayed name” (label), “Technical Name” […]

X++ “Cross reference” for extended data types

I wrote a job to check which fields uses a specific enum. This week I needed something similar for an extended data type and I modified it to work with EDTs instead. The cross reference on the environment I am currently working on is not […]

X++ “Cross reference” for Base Enums

While I love using the cross reference function in Dynamics AX 2012 (and am training myself to use it more often), the cross reference in our environments are often not up to date. Unfortunately this is especially true for our client development environments. I wrote […]

Generate a list of shared projects per layer

Today I add to compare the projects in an acceptance environment with the projects in the test environment. I did this so that I can make backups of the projects in test that are not in acceptance yet, before I import the acceptance model store. […]

Workbook.ExportAsFixedFormat in Microsoft Dynamics AX

How to export a file to PDF in Dynamics AX Microsoft has an extremely useful .NET method named ExportAsFixedFormat() for exporting office files to PDF. For example, you can invoke the ExportAsFixedFormat() method on an Excel Workbook object and a PDF file is then created […]

How to generate a list of field names and field properties

How to generate a list of field names and field properties

Today I quickly wanted to see which fields in the PurchLine table are mandatory. Purchline is a large table, so instead of checking the properties of each field, I quickly wrote a job that displays an info log of all the mandatory fields. I used […]