rebateAgreementsDetailRecalculate: "rebateAgreementsDetailRecalculate" = 'rebateAgreementsDetailRecalculate'

Method name for PRE rebateAgreementsDetailRecalculatePre and POST rebateAgreementsDetailRecalculate

Triggered when a user press a Recalculate button at rebate agreement detail page /#/rm/rebate-agreements/<rebateAgreementId>.

Example: (Basic)

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

Example: (Basic RBA experiment, with edited label)

export const rebateAgreementsDetailRecalculate = async ({ rebateAgreementAPI }) => {
await rebateAgreementAPI.setHeaderValue('label', 'Interceptor experiment - recalculate RBA');
};

Generated using TypeDoc