rebateAgreementsDetailTabSwitch: "rebateAgreementsDetailTabSwitch" = 'rebateAgreementsDetailTabSwitch'

Method name for PRE rebateAgreementsDetailTabSwitchPre and POST rebateAgreementsDetailTabSwitch

This method is activated on the rebate agreement detail page at /#/rm/rebate-agreements/<rebateAgreementId> when a user switches between tabs, such as transitioning from the Header tab to the Items tab.

Additional Properties:

  • tabName: Returns the name of the tab to which user has switched.
export const rebateAgreementsDetailTabSwitch = async ({ api, tabName, rebateAgreementAPI }) => {
// TODO: Add your code
return;
}