Package net.pricefx.common.apibuilder.compensation


package net.pricefx.common.apibuilder.compensation
The header logic builder for Compensation Plans.

Entry point: the coProcessor binding variable of a Compensation Plan header logic.

  • CompensationBuilder manipulates the Compensation Plan from its header logic. It adds and updates header inputs and outputs, updates header fields, and changes the folder and item structure. getCompensationView() returns the current document.
  • CompensationHelper reads the Compensation Plan. Obtain it with coProcessor.getHelper(). It adds findAllWithCompensationConditionType(), which returns every line item of one Compensation Condition type.
  • CompensationStructure describes code-generated content for one level of the Compensation Plan folder tree. The parentId of the object defines the level. Pass it to coProcessor.addCompensationStructure().

CompensationBuilder extends CalculableLineItemCollectionBuilder, which carries most of the methods and documents the order in which the collected changes run. CompensationHelper extends LineItemHelper.

See Also:
  • Class
    Description
    Context for manipulating a Sales Compensation object in a compensation header calculation logic.
    A helper interface that assists in manipulating the compensation object.
    This is a helper object that is used to build up code generated content of a Compensation.