Sales Compensations
Clicmanager

Recalculate a Quote/Contract/Rebate Agreement/Compensation Plan

Calculates a Quote, Contract, Rebate Agreement, or Compensation Plan.<p>

Triggers a synchronous recalculation of the given CLIC document.

If a header formula calls switchToAsync() during the pre-phase, the synchronous calculation is aborted, all changes are rolled back, and an asynchronous job is created instead. In that case the response contains a JobStatusTracker object instead of the calculated CLIC header.

Use the typedId field in response.data[0] to distinguish the response type:

  • CLIC header — typedId ends with .Q, .C, .RA, or .CO (e.g. 42.Q)
  • JobStatusTracker (async) — typedId ends with .JST (e.g. 107.JST)

This endpoint is used in the REACT version only. It is not advisable to mix REACT endpoints together with Ember endpoints.

post/clicmanager.calculate/{typedId}

Request

Query parameters

validationTypestring

Configures user inputs validation (if all required fields are filled in) when a quote or contract is recalculated.<p>Possible values:<br>none – Disables the validation.<br>strict – Prevents the action to be executed if the validation fails.

Response

OK

Changes

No recorded changes to this operation across all 2 revisions of this API.