Calculations Preview Cost
calculations_preview_costRead-onlyIdempotent
Answers 'what would this part cost if …' over a calculation that is already priced: name the factors to move and read back the whole cost sheet plus the change per category. It reuses this calculation's own inputs and produces nothing you keep — no new calculation, no change to this one, no change to your environment — and it consumes none of your included calculations. Adjustments are checked against each factor's band before anything is priced, and a request that cannot be answered exactly is refused by name rather than answered approximately.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lot_size | No | Quantity to price at. Omit to keep the quantity the calculation was priced for. | |
| adjustments | No | Factors to move, by name, each to the value given. The names are the ones a cost-sheet line lists in `factors` and the environment's factor endpoint publishes: a factor stated per process carries its process (`time.setup_efficiency.milling`), a shop-wide one does not. Every value is checked against that factor's own band before anything is priced. Leave empty to price the same factors at a different lot size. | |
| calculation_id | Yes |