Record level security is not enforced in code or is it?

I recently came across an unusual behaviour of record level security, that I don’t think has been documented before, so I thought I would share it with you. The situation here is that there is an employee with emplId=”RLS”, and there is a user group configured with record level security which will allow members to…

0

Where is the System ID number sequence used? Will it run out?

 I was asked some questions recently about the “System ID” number sequence in AX – I don’t think this information was available anywhere else so I’ll share it through this post:  Q: Where is the BASI_1 number sequence (which is the “System ID” specified in the basic module) used? It seems to be increasing…

0

Using skipDeleteActions with doDelete still calls the delete actions

Recently we came across an issue where running code like this:     Unit unit;    ;    select firstonly forupdate unit where unit.UnitId == ‘cl’;    unit.skipDeleteActions(true);    unit.doDelete(); This results in the delete still being called on Tables\UnitConvert (via the cascaded delete action on Tables\Unit). This is because SkipDeleteActions() only works when using a set based operation (like…

1

BarcodeCode128 and Tilde Character

Recently we came across an issue with BarcodeCode128 barcodes – when using a tilde character (~) within a BarcodeCode128 barcode in AX the resulting barcode can be unreadable by scanners. The reason for this is that Code128 has three different code sets associated with it – using an escape character in the barcode string to…

0

Using AXC file for AX client.

If you are editing an AX 4.0/2009 configuration file (.axc) and adding new configuration values at the end of the file, please ensure to enter a new line (CR+LF), so that the last line entered can be read when it is being used. Text on the last line ending without a carriage return is ignored.  …

2