Skip to main content

Posts

Writing a Test Job in AX7, Use of Like Operator and Bulk Update of Retail Screen Layout Button Properties

Hi All, I aim to achieve three things with this post, i.e. to demonstrate 1. How we can execute a test job in AX7 which most of us already know in the good old AX 2012 as an AOT Node.  2. Use of like operator in AX uses asterik '*' instead of '%' which we use in SQL 3. Changing Layouts of Retail Screens need not be tedious and time consuming by changing properties of each button manually. Article updated and moved here -Hitesh Manglani

Return order not updating on hand inventory AX 2012 R3 CU8

Helped a colleague with this issue, though we have configured the return locations as described here  however the inventory is still not updating as expected on processing a return order With an LCS issue search found the below solution here To resolve this issue a change will need to be make to the Retail Product Hierarchy. Open the Retail product hierarchy form. (Retail > Setup > Category hierarchies > Retail product hierarchy). In the Retail product hierarchy form, on the Basic product properties FastTab, enter the return policy name in the Name field in the Return Policy group for the category in the product hierarchy where your product is assigned.  Also make sure you select the legal entity which you are using and assign Return Policy for that legal entity under the Basic product properties.

Microsoft.IdentityModel.Clients.ActiveDirectory;

Recently my colleague was trying to use a code snippet referencing a .NET Framework 2.0 library Microsoft.IdentityModel.Clients.ActiveDirectory within his .NET Framework 4.5 console app. After some searching we found that we need to use a nuget Package which can be downloaded from the below link. https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory Hope this helps. Regards Hitesh

A simple customization in MPOS (Blank Operation) with AX7

Hi All, I recently had to add a Blank Operation to Modern POS (MPOS) to open a url from MPOS. Blank Operation as you may already be aware enable you to extend Microsoft Dynamics Retail for POS by adding custom logic that can be triggered from the Retail POS Register buttons. The way to implement Blank Operations in MPOS  is different from Enterprise POS as MPOS is a modern app as compared to EPOS which is a windows forms based app. So lets explore a very simple customization i.e. we want to open a URL on triggering a button from MPOS. 1. We would need to start with AX to add a button to the layout of MPOS. If you do not want to disturb the standard layouts its better to copy one of the existing layouts and then modify it using the designer. Please note the designer only opens in Internet Explorer so it will save you time by not trying to open it in other browsers e.g Chrome 2. Next we need to add this layout to the Store where we intend to use it...

My FN key seems be turned "on"

When typing in my keyboard suddenly noticed that the some keys are working as if Fn Key is already pressed. This post helped me resolve the issue My FN key seems be turned "on"  1. Press "fn+scroll" 2. Hold Shift + Numlock 3. Plug in an external keyboard then press Numlock then remove it then try using the on-board keyboard again. 4. If you don't have an external keyboard try these steps: - Press Windows + R on your keyboard then type in "osk" in the Run box that will appear. - Once the on screen keyboard is open press the following keys several times: Numlock, Scrolllock and capslock 1. 

Connecting to a another SQL Server instance on the same network/LAN

If you need to connect to another SQL Server instance on the same network you need to ensure the following settings are in place- 1. Your login should be added to the SQL Server instance you are trying to connect to. 2. The SQL Server instance should have Allow Remote Connections as checked.      a. Goto Instance Properties      b. Connections      c. Check "Allow remote connections to this server". 3. SQL Server Browser Service should be running in the machine you are trying to access. 4. TCP/IP Protocol should be enabled for the SQL Server     Steps         a.  Run SQL Server Configuration Manager         b. Go to SQL Server Network Configuration > Protocols for SQLEXPRESS         c. Make sure TCP/IP is enabled. Hope this helps!! Hitesh