Discount Implementation by Custom Utility based on Product Style in AX 2012 Retail

Hello guys, we are back once again with a very interesting topic, In retail we can apply discount based on Product Category or based on Product Variant which requires a manual effort. In your business you may meet…

Read more

How to fix/hide suspended values in financial dimension lookup for Microsoft Dynamics AX 2012

There are certain events where you want to display specific financial dimension values for certain entities. That’s where it comes in. Suppose you have a financial dimension with following values shown in snapshot & you have two entities…

Read more

Fix for the lookup error in Microsoft Dynamics 365 ‘More than one form was opened…’

After implementing lookup in D365 I encountered an error “More than one form was opened at once for the lookup control” while interacting with control as shown below. Lookup Code FormControlEventHandler(formControlStr(SalesTable, LC_AssetGroup_LC_AssetId), FormControlEventType::Lookup)] public static void LC_AssetGroup_LC_AssetId_OnLookup(FormControl sender, FormControlEventArgs e) { Query …

Read more

Microsoft Dynamics AIF Services Performance optimization

Hey readers, today I will tell you a bit about improving the performance of custom AIF services. I was given a task to create a .Net application for a client. The application allowed the user to select a…

Read more

Creating new Sales Pickinglist X++

On recent project, customer put up a requirement which was pretty unusual among common scenarios of sales picking. Customer wants a new sales pickinglist on cancellation of items on a single picking route.  In order to achieve this…

Read more

Getting address by type X++

This post shows the code which helps in retrieving the address of Party (Customer, Vendor etc.) by providing the type of addresses. Function which takes Party and LogisticsLocationRoleType (Invoice, Delivery, Shipping etc.) public static LogisticsPostalAddress getPostalAddressByType(DirPartyRecId _party, LogisticsLocationRoleType _type) {  …

Read more

Table event execution sequence in Dynamics AX

This post will provide information of sequence of event triggering while working on Table Browser and Data in Dynamics AX. Field data change Deleting record Updating record   Saving record When Table Browser opens Pressing Ctr+N on Table…

Read more

Implementing Singleton in X++

The singleton pattern is one of the simplest design patterns: it involves only one class which is responsible to instantiate itself, to make sure it creates not more than one instance; in the same time it provides a global point…

Read more

Highlighting record in Grid

It is possible to use colours in grids on Axapta forms. This can be a useful method to highlight particular rows, or grid cells within a row, based on the data in the record. The method displayOption() method on a form datasource…

Read more

Create purchase order from sales order – X++ code

Following job will create the link purchase order for sales order. I have created this job in AX 2009 and I am assuming that it will also work with AX 2012   //Create the Purchase order from Sales…

Read more

Recent Comments

    Archives

    Categories