compensationsDetailCreateNewRevision: "compensationsDetailCreateNewRevision" = 'compensationsDetailCreateNewRevision'

Method name for PRE compensationsDetailCreateNewRevisionPre and POST compensationsDetailCreateNewRevision

Triggered after pressing a button Create new revision on compensation plans list or compensation plan detail. This method has specific API where is one extra property available in compensationPlansDetailCreateNewRevision but it is not available in compensationPlansDetailCreateNewRevisionPre and vice versa. So be careful!

Additional Properties:

  • compensationPlanNewRevisionAPI: Is available only for method compensationPlansDetailCreateNewRevision! Method is designed like compensationPlanAPI.
  • compensationPlanOriginAPI: Is available only for method compensationPlansDetailCreateNewRevisionPre! Method is designed like compensationPlanAPI.
export const compensationsDetailCreateNewRevision = async ({ api, compensationPlanOriginAPI, compensationPlanNewRevisionAPI }) => {
// TODO: Add your code
return;
}