HcmWorkerV2

I was asked to investigate why some changes disappeared from Employess form in F&O. If I open Human resources > Workers > Employees and right-click the form, it shows that its name is HcmWorker. That’s expected. But it’s a lie. There is a feature called Streamlined employee entry (HcmWorkerV2Feature class) and if it’s enabled, another form …

Continue reading ‘HcmWorkerV2’ »

Weird behaviour after moving a form to another package

I recently had to move a form to another package, because we decided to extract some functionality to its own independent package. I moved files, built both packages and everything looked fine, so I started making changes for a new requirement. But later I noticed something strange in the form. When I opened the form, …

Continue reading ‘Weird behaviour after moving a form to another package’ »

Summarized values in AX form

Users sometimes want to see both individual transactions in a grid of a Dynamics AX form, and some summarized values, such as the total amount or the number of lines (often above or below the grid). Iterating through the whole datasource and getting values one by one isn’t efficient, especially if the query returns many …

Continue reading ‘Summarized values in AX form’ »

Refreshing form parts

When using form parts in AX 2012, you sometimes need to explicitly refresh their data based on an event in the main form. It may not be completely obvious how to do it, but it’s not too complicated in the end. Form parts are actually forms by themselves and if you know how to manipulate …

Continue reading ‘Refreshing form parts’ »

Replacement groups in AX 2012

AX 2012 introduced a new type of form control called “Replacement group”. It’s very handy, nevertheless quite a few developers still don’t know about it or are not sure how to use it effectively. This post is not going to details; the intention is rather to show something simple, though still from end to end. …

Continue reading ‘Replacement groups in AX 2012’ »