Example of adding an action
You can add actions to the Employee
or WorkAssignment
business classes. To add an action, add action is
and the name of the action.
In this example, add the ChangeRelationshipToOrganization
action from the
Employee
business class and the InactivateWorkAssignment
action from the WorkAssignment
business class.
Note: You must use an existing LPL relation from
Employee
to
WorkAssignment
for the InactivateWorkAssignment
action.
Actions
action is ActiveEmployeeWorkAssignmentsForManagerRel.SimpleChangePayRate
action is ActiveEmployeeWorkAssignmentsForManagerRel.SimpleAddWorkAssignment
action is ActiveEmployeeWorkAssignmentsForManagerRel.SimplePromote
action is ActiveEmployeeWorkAssignmentsForManagerRel.SimpleTransfer
action is SimpleTerminate
action is ChangeRelationshipToOrganization
action is ActiveEmployeeWorkAssignmentsForManagerRel.InactivateWorkAssignment
When the My Teams page is reloaded, the two new actions are displayed on the employee action menu.