compensationsDelete: "compensationsDelete" = 'compensationsDelete'

Method name for PRE compensationsDeletePre and POST compensationsDelete

This method is triggered after pressing the Delete button on compensation plan detail page /#/sc/compensation-plans/<compensationPlanId>, or when deleting from compensation plans list /#/sc/compensation-plans.

Notes: POST and PRE returns same deletedQuotes array of object.

Additional Properties:

  • deletedQuotes: Returns array of object of the deleted compensation plans.
export const compensationsDelete = async ({ api, deletedCompensationPlans }) => {
// TODO: Add your code
return;
}