Example of adding a custom user action

If you have a custom user action in the Employee or WorkAssignment business class, it can be added to the Actions menu. Actions can only be added from the Employee or WorkAssignment business classes. To add a custom user action, add action is and the name of the action.

In this example, add the TerminateAsMgr action from the Employee business class and the TransferAsMgr action from the WorkAssignment business class. The default actions for add work assignment, transfer, promote, and terminate have been removed.

Note: You must use an existing LPL relation from Employee to WorkAssignment for the TransferAsMgr action.
Note: The custom user form name created for each custom user action must match the custom user action name. In this examples, the custom user form names are named TerminateAsMgr and TransferAsMgr.

  Actions
    action is ActiveEmployeeWorkAssignmentsForManagerRel.SimpleChangePayRate
    action is TerminateAsMgr
      label is “Reduce Headcount”
    action is ActiveEmployeeWorkAssignmentsForManagerRel.TransferAsMgr

When the My Teams page is reloaded, the default change pay rate action and the two new actions are displayed on the employee action menu.