example with detaillevel key

This commit is contained in:
Paul Trowbridge 2025-08-26 16:31:31 -04:00
parent a79a6d973f
commit 59a28591bd

View File

@ -1,73 +1,75 @@
{
"details": [
{
"label": "Model Inputs",
"label": "History",
"detailLevel": 10,
"details": [
{
"label": "Base Cost",
"value": 1.22446,
"type": "currency"
}
]
},
{
"label": "Peer Target",
"details": [
{
"label": "Peer Median Margin",
"value": 36.873,
"type": "percent",
"note": "DIR|102 - HANGING POTS|110 - INJECTION|Tier 2"
}
]
},
{
"label": "Target Support",
"detailLevel": 1,
"details": [
{
"label": "Tier 1 Truckload",
"value": 80,
"label": "Last Quote",
"detailLevel": 10,
"value": 0.1012,
"type": "currency",
"note": "reviewed floor price"
},
{
"label": "Warehouse",
"value": 1.2,
"type": "percent"
"note": "XNS0T1G3G18B096 | Ord# 1008338 | 2025-06-12 | Qty 19,200"
}
]
},
{
"label": "Factor Adjustment",
"label": "List",
"detailLevel": 10,
"details": [
{
"label": "Package UOM",
"value": -0.01,
"type": "percent"
"label": "Code: GUAU",
"detailLevel": 10,
"value": 0.11,
"type": "currency",
"note": "List Min Qty: 9,600"
}
]
},
{
"label": "# of Pallets",
"value": 0.02,
"type": "percent",
"note": "0.03"
"label": "Target Calculation",
"detailLevel": 10,
"details": [
{
"label": "XNS0T1G3",
"detailLevel": 10,
"value": 0.08,
"type": "currency",
"note": "Base Floor"
},
{
"label": "Urgency",
"value": 0.03,
"type": "percent",
"note": "Top Priority"
"label": "Channel:WHS",
"detailLevel": 10,
"value": 0.2,
"type": "Percent",
"note": "Premium"
},
{
"label": "State Adder/Subtractor",
"value": -0.02,
"type": "percent",
"note": "OH"
"label": "Volume:1-8",
"detailLevel": 10,
"value": 0.1,
"type": "Percent",
"note": "Premium"
},
{
"label": "Branding",
"value": 0,
"type": "currency"
"label": "Target",
"detailLevel": 10,
"value": 0.1056,
"type": "currency",
"note": "Total"
}
]
},
{
"label": "Guidance",
"detailLevel": 10,
"details": [
{
"label": "Price",
"detailLevel": 10,
"value": 0.1012,
"type": "currency",
"note": "Using target price, capped to not exceed last price"
}
]
}