Fields
Determines for which price list type the definition is. Values: PRICE_LIST, LIVE_PRICE_GRID.
headerFormulaNameName 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.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
[
{
"targetPage": "newModelPage",
"targetPageEntityType": "PriceSettingSimulation",
"targetPageTarget": "drawer",
"targetPageInputs": {
"FIRST_STEP_NAME": {
"FIRST_TAB_NAME": {
"SourceTypedId": "{typedId}",
"secondaryKeyColumnName": "Country"
}
}
}
}
] |
The context linking parameters and their meaning is described on page Context Linking. Here we describe only the special differences used for this link to the model.
targetPage - name of the page, which should be called. The newModelPage is one of the constants available in AppPages
targetPageEntityType - The name of the Model Class used for the simulation.
targetPageTarget - Defines, how the link is opened. The value drawer means, that the first Step (expected to have some input fields) of the model will be displayed on the right side of the price list/grid detail page.
targetPageInputs - values passed to the inputs first Step on the first Tab of the Model. To pass a value from the price list/grid entity, use the field name in composite brackets - e.g.
{typedId}