Styles
Get Style True Cost
Return the per-unit true cost for a style from its cost sheet.
Used by the sales order form to auto-fill (read-only) true cost when a style is
selected directly (i.e. not via quote conversion). True cost = material +
processing + logistics + overhead (unit price). Prefers the latest finalized
cost sheet (matching the deals pipeline); if none is finalized yet, falls back
to the latest cost sheet’s current (e.g. draft) version. Returns nulls (not
404) when the style has no cost sheet at all. source is “final” or “draft”.
GET
Get Style True Cost
Get Style True Cost