Both Pricelist and Pricegrid are storing Price List and Price Grid store the header (speaking about the dashboard-like pricelist price list header) inputs, outputs and chart in a the configuration field of the PricelistPrice List/Pricegrid Grid entity.
Mostly you will need to use the headerInputs, which contains the values entered by user users to the header inputs.
Values
inputs – input Input fields defined in Pricelist/Pricegrid a Price List / Price Grid logic and entered by user users on the Parameters page , when defining the pricelistPrice List/pricegridGrid.
headerInputs – input Input fields defined in Pricelist/Pricegrid a Price List / Price Grid header logic and entered and saved by user users on the header dashboard-like part of the page.
outputChartDefinition – definition Definition of the chart, displayed in the middle part of the dashboard-like pricelistPrice List/grid Grid header.
outputs – result Result values of the pricelist Price List dashboard-like header.
This configuration information is stored as a Map, but in a JSON format.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Map currentItem = [ label : "PricelistHeader", configuration : ''' { "inputs": [], "headerInputs": [ { "name": "SpecialAdjPct", "label": "Enter Special Adjustment (in %)", "type": "USERENTRY", "value": 0.02 } ], "outputs": [], "outputChartDefinition": {} } ''', priceGridType : "SIMPLE", headerTypeUniqueName: "PricelistHeaderType", id : 363 ] |