Creates a Live Price Grid Type.
OK
object | |||||||||||||||||||||||||||||||||||||||||||
|
{- "operationType": "add",
- "textMatchStyle": "exact",
- "data": {
- "uniqueName": "Price Grid Type 1",
- "label": "Price Grid Type 1 Label",
- "targetDate": "2030-01-01",
- "userGroupViewDetails": "Group A",
- "userGroupEdit": "Group B",
- "userGroupCanUseType": "Group C",
- "headerFormulaName": "Header Formula",
- "dimensionType": "MATRIX",
- "calculationFormulaName": "Formula A",
- "matrixFormulaName": "Matrix Keys Generation Formula",
- "matrixFormulaElementName": "Element 123",
- "typeConfiguration": {
- "relativeTargetDateDays": 3,
- "preferencesSource": "123",
- "headerInputs": [
- {
- "name": "input",
- "label": "input",
- "type": "INTEGERUSERENTRY",
- "value": 10,
- "inputs": [ ]
}
], - "shotgunModeEnabled": false,
- "allowColumnTypeChange": false,
- "resultElementName": "resultPrice",
- "dynamicItemMode": "ADD_ONLY",
- "productFilterCriteria": {
- "_constructor": "AdvancedCriteria",
- "operator": "and",
- "criteria": [
- {
- "fieldName": "sku",
- "operator": "inSet",
- "value": [
- "B-0001",
- "B-0002"
]
}
]
}, - "uomOverrideElementName": "SecretFormula",
- "currencyOverrideElementName": "currencyElement",
- "autoApproveElementName": "resultPrice",
- "manualResultExpiryElementName": "ElementB",
- "maxIncreasePct": 1,
- "maxDecreasePct": 2,
- "calculationLogicInputs": [
- {
- "name": "Configuration",
- "label": "Configuration",
- "url": "ConfiguratorWithOptionsInputEntries",
- "type": "CONFIGURATOR",
- "value": { },
- "inputs": [ ],
- "parameterConfig": { },
- "formattingOptions": { }
}, - {
- "name": "warning",
- "label": "Add Warning?",
- "type": "BOOLEANUSERENTRY",
- "value": false,
- "inputs": [ ]
}, - {
- "name": "Quantity",
- "label": "Quantity",
- "type": "USERENTRY",
- "value": 100,
- "inputs": [ ],
- "parameterConfig": {
- "dataType": "float"
}
}, - {
- "name": "MassiveDiscount",
- "label": "MassiveDiscount",
- "lookupTableId": "2147483653",
- "url": "/lookuptablemanager.fetch/2147483653",
- "type": "LOOKUP",
- "inputs": [ ],
- "parameterConfig": { },
- "formattingOptions": { }
}, - {
- "name": "Customer",
- "label": "Customer",
- "lookupTableId": "2147483653",
- "url": "/fetch/C/",
- "type": "CUSTOMER",
- "inputs": [ ],
- "parameterConfig": { },
- "formattingOptions": { }
}, - {
- "name": "Decimal Places",
- "label": "Decimal Places?",
- "type": "OPTION",
- "inputs": [ ],
- "parameterConfig": {
- "dataType": "integer",
- "inputType": "drop-down"
}, - "formattingOptions": { },
- "valueOptions": [
- "0",
- "1",
- "2",
- "3",
- "4",
- "5"
]
}, - {
- "name": "Surcharge",
- "label": "Surcharge",
- "type": "MULTITIERENTRY",
- "valueHint": "each^^^€",
- "inputs": [ ],
- "parameterConfig": { },
- "formattingOptions": { }
}
], - "elementNames": [
- "testFormula",
- "ElementB",
- "resultPrice",
- "SecretFormula",
- "currencyElement"
], - "hiddenElementNames": [
- "SecretFormula"
], - "approvalTriggerFields": [
- "SecretFormula"
], - "userCanToggleVisibility": [
- "SecretFormula"
], - "approvalMappings": [
- "testFormula"
], - "overridableFields": [
- "calculationLogic"
], - "calcLogicInputsOverridableFields": [
- "Input A"
]
}, - "customActionLogics": {
- "key1": "value"
}, - "contextualActions": {
- "key2": "value"
}, - "buttonsConfiguration": {
- "key3": "value"
}
}
}
{- "response": {
- "data": [
- {
- "version": 0,
- "typedId": "3.PGTT",
- "uniqueName": "Price Grid Type 1",
- "label": "Price Grid Type 1 Label",
- "createdByName": "unity",
- "lastUpdateByName": "unity",
- "targetDate": "2030-01-01",
- "userGroupEdit": "Group B",
- "userGroupViewDetails": "Group A",
- "userGroupCanUseType": "Group C",
- "typeConfiguration": {
- "elementNames": [
- "testFormula",
- "ElementB",
- "resultPrice",
- "SecretFormula",
- "currencyElement"
], - "headerInputs": [
- {
- "name": "input",
- "type": "INTEGERUSERENTRY",
- "label": "input",
- "value": 10,
- "inputs": [ ]
}
], - "maxDecreasePct": 2,
- "maxIncreasePct": 1,
- "dynamicItemMode": "ADD_ONLY",
- "approvalMappings": [
- "testFormula"
], - "overridableFields": [
- "calculationLogic"
], - "preferencesSource": "123",
- "resultElementName": "resultPrice",
- "hiddenElementNames": [
- "SecretFormula"
], - "shotgunModeEnabled": false,
- "allowColumnTypeChange": false,
- "approvalTriggerFields": [
- "SecretFormula"
], - "productFilterCriteria": {
- "criteria": [
- {
- "value": [
- "B-0001",
- "B-0002"
], - "operator": "inSet",
- "fieldName": "sku"
}
], - "operator": "and",
- "_constructor": "AdvancedCriteria"
}, - "autoApproveElementName": "resultPrice",
- "calculationLogicInputs": [
- {
- "url": "ConfiguratorWithOptionsInputEntries",
- "name": "Configuration",
- "type": "CONFIGURATOR",
- "label": "Configuration",
- "value": { },
- "inputs": [ ],
- "parameterConfig": { },
- "formattingOptions": { }
}, - {
- "name": "warning",
- "type": "BOOLEANUSERENTRY",
- "label": "Add Warning?",
- "value": false,
- "inputs": [ ]
}, - {
- "name": "Quantity",
- "type": "USERENTRY",
- "label": "Quantity",
- "value": 100,
- "inputs": [ ],
- "parameterConfig": {
- "dataType": "float"
}
}, - {
- "url": "/lookuptablemanager.fetch/2147483653",
- "name": "MassiveDiscount",
- "type": "LOOKUP",
- "label": "MassiveDiscount",
- "inputs": [ ],
- "lookupTableId": "2147483653",
- "parameterConfig": { },
- "formattingOptions": { }
}, - {
- "url": "/fetch/C/",
- "name": "Customer",
- "type": "CUSTOMER",
- "label": "Customer",
- "inputs": [ ],
- "parameterConfig": { },
- "formattingOptions": { }
}, - {
- "name": "Decimal Places",
- "type": "OPTION",
- "label": "Decimal Places?",
- "inputs": [ ],
- "valueOptions": [
- "0",
- "1",
- "2",
- "3",
- "4",
- "5"
], - "parameterConfig": {
- "dataType": "integer",
- "inputType": "drop-down"
}, - "formattingOptions": { }
}, - {
- "name": "Surcharge",
- "type": "MULTITIERENTRY",
- "label": "Surcharge",
- "inputs": [ ],
- "valueHint": "each^^^€",
- "parameterConfig": { },
- "formattingOptions": { }
}
], - "relativeTargetDateDays": 3,
- "uomOverrideElementName": "SecretFormula",
- "userCanToggleVisibility": [
- "SecretFormula"
], - "currencyOverrideElementName": "currencyElement",
- "manualResultExpiryElementName": "ElementB",
- "calcLogicInputsOverridableFields": [
- "Input A"
]
}, - "buttonsConfiguration": {
- "key3": "value"
}, - "headerFormulaName": "Header Formula",
- "dimensionType": "MATRIX",
- "calculationFormulaName": "Formula A",
- "matrixFormulaName": "Matrix Keys Generation Formula",
- "matrixFormulaElementName": "Element 123",
- "customActionLogics": "{key1=value}",
- "contextualActions": {
- "key2": "value"
}, - "createDate": "2024-11-11T13:04:16",
- "createdBy": 1302,
- "lastUpdateDate": "2024-11-11T13:04:16",
- "lastUpdateBy": 1302,
- "id": 3
}
], - "status": 0
}
}