compensationsDetailCopy: "compensationsDetailCopy" = 'compensationsDetailCopy'

Method name for PRE compensationsDetailCopyPre and POST compensationsDetailCopy

Triggered after pressing the Duplicate from compensation plans list /#/sc/compensation-plans or compensation plan detail /#/sc/compensation-plans/<compensationPlanId>.

Notes: compensationPlanCopyAPI is exclusively accessible within the compensationPlansDetailCopy method. Attempting to access compensationPlanCopyAPI within the compensationPlansDetailCopyPre method will result in it being undefined.

Additional Properties:

  • compensationPlanCopyAPI: This is a quoteAPI designed for interacting with a copy of the compensation plan.
  • compensationPlanOriginAPI: This is a quoteAPI designed for interacting with the original compensation plan.

Example: (Basic)

export const compensationsDetailCopy = async ({ api, compensationPlanOriginAPI, compensationPlanCopyAPI }) => {
// TODO: Add your code
return;
}

Generated using TypeDoc