Skip to content

Instantly share code, notes, and snippets.

@ztirom
Created August 28, 2017 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ztirom/489346a502ed8e58798bf85ce0813951 to your computer and use it in GitHub Desktop.
Save ztirom/489346a502ed8e58798bf85ce0813951 to your computer and use it in GitHub Desktop.
AX7 Reset User Session WMDP
public Object dialog()
{
Dialog dialog;
FormBuildStringControl control;
dialog = super();
dialog.caption("WHS: Reset user session");
fieldWHSUserId = dialog.addField(extendedTypeStr(WHSUserId), "Select User");
control = fieldWHSUserId.control();
control.registerOverrideMethod(methodStr(FormStringControl, lookup),
methodStr(WHSUserSession, lookup), this);
return dialog;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment