29 September 2016

String length align to export in Notepad AX 2012

public str strAlign(str _string, int _length)
{
str ret;

ret = _string + strRep(' ', _length);
ret = subStr(ret, 1, _length);

return ret;
}

How to add the Display method in the form level in D365 F&O

 The below examle is to add the form -Data source level adding display method and assigning to form design control.