compensationsDetailNewCheck: "compensationsDetailNewCheck" = 'compensationsDetailNewCheck'

Method name for PRE compensationsDetailNewCheckPre and POST compensationsDetailNewCheck

This method is triggered after pressing the New Compensation Plan button at /#/sc/compensation-plans, but before the compensation plan is created. If this method return false a compensation plan will not be created and user will stay at compensation plans list. In this method you don't have access to compensationPlanAPI, but you can use other api for checking conditions from CRMs.

Example: (Basic)

export const compensationsDetailNewCheck = async ({ api }) => {
// TODO: Add your code
return;
}

Generated using TypeDoc