Shut down Ax Application through Button click

void clicked() { info  i = new info( ); super(); i.shutdown(true); }

Advertisements

Current user and its employee Name

private name Get() { str UserId; Name  name; ; sUserId = curUserId(); info( "Current user ID is " + UserId ); name= HcmWorker::find(DirPersonuser::findUserWorkerReference(UserId)).name(); info ("Name is  " + name); return name; }