rebateAgreementsDetailCopy: "rebateAgreementsDetailCopy" = 'rebateAgreementsDetailCopy'

Method name for PRE rebateAgreementsDetailCopyPre and POST rebateAgreementsDetailCopy

Triggered after pressing the Duplicate from rebate agreements list /#/rm/rebate-agreements or rebate agreement detail /#/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:

  • rebateAgreementCopyAPI: This is a quoteAPI designed for interacting with a copy of the rebate agreement.
  • rebateAgreementOriginAPI: This is a quoteAPI designed for interacting with the original rebate agreement.
export const rebateAgreementsDetailCopy = async ({ api, rebateAgreementOriginAPI, rebateAgreementCopyAPI }) => {
// TODO: Add your code
return;
}