rebateAgreementsDetailNewCheck: "rebateAgreementsDetailNewCheck" = 'rebateAgreementsDetailNewCheck'

Method name for PRE rebateAgreementsDetailNewCheckPre and POST rebateAgreementsDetailNewCheck

This method is triggered after pressing the New Rebate Agreement button at /#/rm/rebate-agreements, but before the rebate agreement is created. If this method return false a rebate agreement will not be created and user will stay at rebate agreements list. In this method you don't have access to rebateAgreementAPI, but you can use other api for checking conditions from CRMs.

Example: (Basic)

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

Generated using TypeDoc