Category Archives: Sin categoría

HOW TO: Filter display fields on a form on Dynamics AX 2012

Today we are going to show you how to filter a display field on a form. As a recomendation this should be used as a last resort just when you can’t have a physical field on the form.

How to: Overwrite Print Management on a SSRS report on Dynamics AX 2012

Today we are going to show you how to overwrite the print management settings on a SSRS report, this can be useful if you make a custom design on a standard report.

AX 2012 SSRS ERROR: Error while trying to deserialize parameter

Today I’m going to show you how to correct the following error in SSRS reports.

How to: Generate the Packing Slip for a SalesOrder of type RequiredItem.

Today we are going to show you how to do a Packing Slip for a Sales Order that has been generated from a project.

How to: Read a directory on a batch job using .NET system classes instead of WINAPI

Today I’m going to show you how to read a directory and loop through its files but this will also work on a batch job.

Dynamics AX 2009/2012. Setting up the codification of a generated file.

Todat I’m going to show you a simple way of setting the output codification of a document using text.io.

Dynamics AX 2012: Error invoking “add” method of COM class

Scenary:

When an excel document is generated on AX the following message is shown:

Method ‘add’ in COM object of class ‘Documents’ returned error code 0x800… () which means: Word was unable to read this document. It may be corrupt.

How to: Get the physical inventory available of an item

Today we are going to show you how to get the physical inventory available from an item, this will also work with inventory dimensions so you can get the exact value per site,size,etc.

Retail POS in Dynamics AX 2012: process to call an external DLL from POS.

I am going to show you how to use an external DLL and use it in AX POS. Instead of doing code in POS we create a DLL outside POS and then use it. Using external DLL improves performance and we got better control in the customization. Below, I will ilustrate with an example. I create a Project and a method in CSHARP, generate a DLL, carry the DLL to the trigger POS directory, add reference and instantiate to our POS Project, call our DLL method and compile, generate the DLL trigger and replace the DLL route.

How to: Upload to FTP using .bat file

Today we are going to show you how to upload to any ftp site using x++ and a .bat file, this was done this way because we needed to upload to an ftp site that was hosted on an IBM file system.