PM_CONTRACTS_DETAIL_NEW_CHECK: "contractsDetailNewCheck" = 'contractsDetailNewCheck'

Method name for PRE contractsDetailNewCheckPre and POST contractsDetailNewCheck

This method is triggered after pressing the New Contract button at /#/pm/contracts, but before the contact is created. If this method return false a contact will not be created and user will stay at contacts list. In this method you don't have access to contractAPI, but you can use other api for checking conditions from CRMs.

Example

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

Generated using TypeDoc