rebateAgreementsDetailAccountAssign: "rebateAgreementsDetailAccountAssign" = 'rebateAgreementsDetailAccountAssign'

Method name for PRE rebateAgreementsDetailAccountAssignPre and POST rebateAgreementsDetailAccountAssign

Triggered when a user selects an account from the dropdown menu after clicking the Assign Account button on the rebate agreement detail page, located at /#/rm/rebate-agreements/<rebateAgreementId>.

Notes: rebateAgreementCopyAPI is exclusively accessible within the rebateAgreementsDetailCopy method. Attempting to access rebateAgreementCopyAPI within the rebateAgreementsDetailCopyPre method will result in it being undefined.

Additional Properties:

  • accountId: Returns the id of the selected account from the dropdown.
export const rebateAgreementsDetailAccountAssign = async ({ api, rebateAgreementAPI, accountId }) => {
// TODO: Add your code
return;
}