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": [ "details": [
{ {
"label": "Model Inputs", "label": "History",
"detailLevel": 10,
"details": [ "details": [
{ {
"label": "Base Cost", "label": "Last Quote",
"value": 1.22446, "detailLevel": 10,
"type": "currency" "value": 0.1012,
}
]
},
{
"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,
"type": "currency", "type": "currency",
"note": "reviewed floor price" "note": "XNS0T1G3G18B096 | Ord# 1008338 | 2025-06-12 | Qty 19,200"
},
{
"label": "Warehouse",
"value": 1.2,
"type": "percent"
} }
] ]
}, },
{ {
"label": "Factor Adjustment", "label": "List",
"detailLevel": 10,
"details": [ "details": [
{ {
"label": "Package UOM", "label": "Code: GUAU",
"value": -0.01, "detailLevel": 10,
"type": "percent" "value": 0.11,
"type": "currency",
"note": "List Min Qty: 9,600"
}
]
}, },
{ {
"label": "# of Pallets", "label": "Target Calculation",
"value": 0.02, "detailLevel": 10,
"type": "percent", "details": [
"note": "0.03" {
"label": "XNS0T1G3",
"detailLevel": 10,
"value": 0.08,
"type": "currency",
"note": "Base Floor"
}, },
{ {
"label": "Urgency", "label": "Channel:WHS",
"value": 0.03, "detailLevel": 10,
"type": "percent", "value": 0.2,
"note": "Top Priority" "type": "Percent",
"note": "Premium"
}, },
{ {
"label": "State Adder/Subtractor", "label": "Volume:1-8",
"value": -0.02, "detailLevel": 10,
"type": "percent", "value": 0.1,
"note": "OH" "type": "Percent",
"note": "Premium"
}, },
{ {
"label": "Branding", "label": "Target",
"value": 0, "detailLevel": 10,
"type": "currency" "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"
} }
] ]
} }