Price List Creation and Calculation Process

pricelist creation and calculation.drawio
Figure 1. The process of price list setup and calculation

Price List Creation

  1. The user creates a new price list, selects the products to be calculated.

  2. On the pricelist parameters definition, the user selects the pricing logic to be used. Note, that if there was some default logic defined in partition configuration, it will be used, if the user does not select any specific logic.

  3. The system executes the price list logic in Input Generation mode, to retrieve the list of input fields definitions.

  4. The logic calculates/creates the definitions of the input fields.

  5. The system gets the list of input fields from the logic context and adds the input fields to the PL object. Also shows the input fields on the page.

  6. The user enters the values to the custom input fields

  7. The user selects the elements to be mapped to a price list line item.

Price List Calculation

  1. The user starts the calculation of the price list.

  2. The system queries the list of products to be calculated.

  3. For each product, the system will:

    1. take the product ID and put that ID under SKU to the logic context

    2. executes the price list logic in standard mode

      1. the logic calculates the results for the SKU and provides the results via elements output

    3. create the price list item (PLI), and store put/map there:

      • some product attributes, like label, uom and currency

      • the outputs of logic visible elements (selected in the price list setup)

      • result, dynamic currency and dynamic uom, if defined

Found an issue in documentation? Write to us.