Together we achieve

Posts Tagged ‘AX Tips’

Troubleshooting OLAP Errors in OLAP Storage Engine The attribute key cannot be found when processing: Table

I have been working as part-time BI and Sharepoint Developer/Admin alongwith my routine AX development. While working with Analysis Services and Cubes Processing, I have come across several errors, In today’s post, I will list down the troubleshooting steps involved to solve one such error, Hope it helps somebody out there…..

Read more

Dynamics AX 2012 Workflow: Unable to save workflow configuration

Lately we run into the problem when after creating workflow configuration for any process we are unable to save it. After we click button “Save and close” Dynamics AX asks if we want to activate workflow immediately. Regardless from the choice we …

Read more

Dynamics AX Help Online Search

This is an address to save for searching Dynamics AX Help on Microsoft site.http://www.microsoft.com/dynamics/ax/websearch/websearchax.htm

Read more

Tip: Illegal ‘closing bracket’ character when defining a macro

Just a very quick tip today, related to macros:

As you all know, there are multiple ways to define and use macros in X++.
For those that need a refresher, please look up the corresponding section on MSDN
(Direct link: http://msdn.microsoft.com/en-us/library/cc197107.aspx)

Below is a simple X++ job, that demonstrates an existing shortcoming in the #define command, and a possible workaround for this problem.

Continue reading…. SOURCEhttp://kashperuk.blogspot.com

Read more

AX 2012 – Editor tips and tricks for fast development/coding

Long back i seen video on new improvements made to existing X++ Editor. Lot of features have been introduced to get look and feel of visual studio editor.
Among all, I am very much impressed with 'Inserting Code Snippets' feature.
           - During coding in editor, if you want to create main method
           - You will make use of template and select main method or construct
           - But in 2012, just type main and click tab will insert main method prototype.

Th author made a nice video showing some code snippets.

Continue reading…. SOURCEhttp://learnax.blogspot.com.au

Read more

Preventing client crashes when applying new event handlers

Almost every time I create a new pre- or post-event handler and try to use use it immediately on a new Event Handler Subscription, the AX client crashes.You can prevent these crashes by saving the event handler class and restoring it, before …

Read more

AX for Retail: Receipt footer is not displaying Tax information

Issue description:
The customer adds the TAX information in the receipt footer, but the information is not printed on the receipt.
The issue has been identified to be a problem with the Seed data that is inserted when running the HQ/Setup/Parameter/Ini…

Read more

Dynamics AX 2009 Retail: Violation of PRIMARY KEY constraint while replicating an A-job

Topic: Error message in Retail Store Connect
When an A job is executed and it fails in the Retail Store Connect outgoingmessages table with the message “Violation of PRIMARY KEY constraint ‘PK_PRICEDISCTABLE’. Cannot insertduplicate key in object ‘dbo….

Read more

Solving Fill Utility errors on Microsoft Dynamics AX 2012 – Error executing code: Wrong argument types for comparison (another scenario)

Scenario:A user wishes to update the Item group for a released product.
They right-click on the Item group field and selects the Record Info menu item.
In the Record information form they click the Fill Utility button.
And get the following e…

Read more

Solving Fill Utility errors on Microsoft Dynamics AX 2012 – Error executing code: Wrong argument types for comparison

Scenario:A user wishes to update the Item group for a released product.
They right-click on the Item group field and selects the Record Info menu item.
In the Record information form they click the Fill Utility button.
We get the following er…

Read more