Skip to content

Instantly share code, notes, and snippets.

@matejskubic
Created September 5, 2016 13:52
Show Gist options
  • Save matejskubic/052ebb3bda5afb152031dcdc06191bc1 to your computer and use it in GitHub Desktop.
Save matejskubic/052ebb3bda5afb152031dcdc06191bc1 to your computer and use it in GitHub Desktop.
AX 2012 Form init args diag
anytype a10 = element.args().dataset();
anytype a10str = tableId2name(element.args().dataset());
anytype a11 = element.args().record();
anytype a12 = element.args().refField();
anytype a12str = fieldId2name(element.args().dataset(), element.args().refField());
anytype a13 = element.args().selectField();
anytype a13str = fieldId2name(element.args().dataset(), element.args().selectField());
anytype a20 = element.args().lookupTable();
anytype a20str = tableId2name(element.args().lookupTable());
anytype a21 = element.args().lookupRecord();
anytype a22 = element.args().lookupField();
anytype a22str = fieldId2name(element.args().lookupTable(), element.args().lookupField());
anytype a23 = element.args().lookupValue();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment