ARCNM Preview Cost
arcnm_preview_costAnswer 'what would this part cost if …' on a calculation that is already priced: name the factors to move, and optionally a different lot size, and read back the whole itemised cost sheet plus the change per cost category. It is FREE — it consumes none of the organization's included calculations — and it WRITES NOTHING: no new calculation, no change to this one, no change to the costing environment. The part is genuinely re-priced through the same engine, so the answer is a price and not an estimate. Use it to search the factor space: read the bands with arcnm_cost_factors, move one factor at a time to learn what each is worth, then combine the ones that pay. Adjustments are checked against each factor's band first, and a request that cannot be answered exactly is refused by name rather than answered approximately. To make a change stick, save it afterwards through the endpoint the factor's edit_path names. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lot_size | No | ||
| adjustments | No | ||
| calculation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delta | No | Change per top-level cost category, new minus current. A category on only one side carries its whole amount, so a line that appears or disappears is visible rather than skipped. | |
| currency | No | ||
| guidance | Yes | ||
| lot_size | No | Lot size this preview was priced at. | |
| unit_cost | No | Cost per part under the adjustments — the manufacturing cost, on the same basis as the calculation's own unit cost, so the two are directly comparable. The offer price with your surcharges and mark-up on top is the sum of every top-level line in ``cost_lines``. | |
| cost_lines | No | The previewed cost sheet as a tree, same shape as arcnm_cost_breakdown's. | |
| reconciled | No | Whether every tier of the previewed sheet added up to the line above it. False means a tier was dropped rather than shown not adding up — read the amounts, not the missing tier. | |
| adjustments | No | The factor values this preview was priced at, echoed back. | |
| total_delta | No | Change in the cost per part against the priced calculation: new minus current, in the currency above. | |
| calculation_id | Yes |