31 January, 2017 (15:05) | Dynamics 365 for operations | By: Howard Webb
Form lookups are nothing new in AX, and the patterns are the same in Dynamics 365. However sometimes we need to use a form extension which does not allow us to add a method directly on the form object. Instead we need to create an event against the form control to change the lookup. This […]
Tags: Dynamics, dynamics 365, Dynamics 365 for operations, Dynamics AX 7, Events, extension, FormControlEventType::Lookup, Lookup, onlookup, X++
5 December, 2016 (21:45) | Dynamics AX | By: Howard Webb
Sometimes we might want to allow the end user to select a field from a table within a form, for example if we are parameterizing the mapping values. To do with we will need the following items: A field to hold the field ID (EDT FieldID) A edit method on the form datasource A […]
Tags: AX, Creating a lookup to a field ID, Dynamics, Dynamics AX, SysTableFieldLookup, X++
5 December, 2016 (21:19) | Dynamics AX | By: Howard Webb
As standard if we have a form that uses a datasource that is linked to a date effective table we will only see the current record. In AX we can give the user a new button in the action pane which allow them to change that and show the records they need or want. To […]
Tags: AX, Date effective, Dynamics, Dynamics AX, Dynamics AX 7, Filter, X++
8 September, 2016 (11:09) | Dynamics AX | By: Howard Webb
In AX 7 we have a whole new UI that is web based and around that we also have a few new controls. With things being new I have tried to get one of the newer controls working. I struggled for documentation but in the end got the MediaViewerControl to display a video in a […]
Tags: AX, Dynamics, Dynamics AX, Dynamics AX 7, MediaViewerControl, video
26 August, 2016 (11:13) | Dynamics AX | By: Howard Webb
As I’ve just got my hands on AX 7 I wanted to do a little exercise that allowed me to work with form extensions and also the new event handlers. The task I attempted was to add a small street view thumbnail to the address grid that will show the view of the address. Unfortunately, […]
Tags: AX, Dynamics, Dynamics AX, Dynamics AX 7, extension, Google, Google street view, Overlayer, Street view, X++
26 January, 2016 (15:00) | Dynamics AX | By: Howard Webb
I’ve recently been asked to develop a mod to create a load, load line and a shipment for a SalesLine record from code. I had a quick look and could not see anything on the internet so below is the code I used. Sadly it seems that the shipment table does not have any init […]
Tags: 2012, AX, create load, create shipment, Dynamics, Dynamics AX, Dynamics AX 2012, Load, Microsoft Dynamics AX 2012 R3, SalesLine, shipment, TMS, Transportation management (TMS), Warehouse and Transportation management, Warehouse management (WHS), WHS, WHSandTMS, WHSLoadLine, WHSLoadTable, WHSShipmentTable, X++
11 January, 2016 (11:41) | Uncategorized | By: Howard Webb
As we all know that moving forward we should really be making better use of the SysOperationFramework. Having a little more time over xmas I decided to use the framework in a mod I was doing. The mod called for a new export to excel without using BIS. There is a Microsoft white paper about […]
Tags: 2012, AX, DataContractAttribute, DataMemberAttribute, Dynamics, Dynamics AX, Dynamics AX 2012, SysOperationFramework, X++
4 December, 2015 (20:16) | Dynamics AX | By: Howard Webb
I’ve recently needed to validate if a string was a colour hex value. There was not a standard method I could find to check (although I am convinced there must be a .net class I can use) but as speed was of the essence I wrote my own:
Tags: 2012, AX, color, colour, Dynamics, Dynamics AX, Dynamics AX 2012, hex, validate, validation, X++
27 November, 2015 (14:37) | Dynamics AX | By: Howard Webb
I needed to create a report which gathered the totals for a pending purchase invoice. Investigating the totals form You can see that it uses the class PurchTotals to calculate the total values. However this uses a PurchParmUpdate record, and at this point a permanent record in the table is not created yet. To get […]
Tags: 2012, AX, Dynamics, Dynamics AX, Dynamics AX 2012, Pending Invoice, PurchFormLetter, PurchParmUpdate, PurchTotals, report
15 September, 2015 (09:59) | Dynamics AX | By: Howard Webb
Recently a customer has asked us to develop a way to produce a sales line which contained an item that fully configured via product configurator. For those that are unaware of the process if an item is selected that is configurable you can answer a number of “questions” to allow configuration of an item via […]
Tags: 2012, AX, configurator, configure sales line, Dynamics, Dynamics AX, Product configurator, sales line, X++, XML