Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Fields

targetType

Determines for which price list type the definition is. Values: PRICE_LIST, LIVE_PRICE_GRID.

headerFormulaName

Name of the logic which will be used to calculate the header of the price list / price grid.

calculationFormulaName

(since 8.0) Name of the price list / price grid logic. This logic will define the custom input fields and then calculate every line of the price list/grid.

matrixFormulaName

(since 8.0) Name of the matrix logic which will supply values for the second dimension (i.e. key2 field) for each item.

matrixFormulaElementName

(since 8.0) Name of the element of the matrix logic which returns the values for the second dimension.

customActionLogics

(since 9.0) List of Custom Mass Action logic names which can be used on the LPG detail page.

contextualActions

(since 10.0) JSON array with list of actions (Context Links), which could be performed from the price list/grid detail page. They will be represented by special buttons at the top of the price list/grid detail page. For example of usage, see Technical User Reference of the Price List Impact Simulation.

Contextual Actions

Code Block
languagejson
themeMidnight
titleSample of contextualActions content (with placeholders instead of some values)
linenumbersfalse
[
  {
    "targetPage": "newModelPage",
    "targetPageEntityType": "MODEL_CLASS_NAME",
    "targetPageTarget": "drawer",
    "targetPageInputs": {
      "FIRST_STEP_NAME": {
        "FIRST_TAB_NAME": {
          "INPUT_FIELD_NAME_1": "VALUE_1",
          "INPUT_FIELD_NAME_2": "VALUE_2"
        }
      }
    }
  }
]

The contextual actions are configured as context linking parameters and their meaning . The general meaning of the context linking parameters is described on page Context Linking. Here we describe This article describes only the special differences used for this link to the modelby contextual actions.

  • targetPage - name of the page, which should be called. The newModelPage is one of the constants constant’s value available in AppPages

  • targetPageEntityType - The name of the Model Class used for the price list simulation.

  • targetPageTarget - Defines, how the link is opened. The value drawer means, that the content of first Step Tab (expected to have some input fields) of the first Step of the model will be displayed on the right side of the price list/grid detail page.

  • targetPageInputs - values passed to the inputs of the first Tab of the first Step of the Model. To pass dynamically a value from the price list/grid entity, use the field name in composite brackets - e.g. {typedId}, to pass in the actual value of typedId field of the price list/grid, from which we’re calling the context action.