D365FFO – AX – Runbase – Allow multiple selection in a Lookup dialogue field

Reference article : https://vermaax.wordpress.com/2014/07/30/multi-value-select-for-lookup-in-dynamics-ax-2009/

DialogField dlgField = dialog.addField(…);
FormStringControl fsc = dlgField.control();
fsc.replaceOnLookup(false);

Let’s assume we have lookup for a control

If you put ReplaceOnLookup property to Yes (default), the control will not let you select more than one value.

Normal Lookup 2009

If you put ReplaceOnLookup property to No (default), the control will let you select more than one value.

Multi-value select

Leave a comment