Skip to main content

Order Lifecycle

The order lifecycle is the commercial spine of PLM. A customer enquiry becomes a quote, an accepted quote converts to a sales order, the order is costed against its BOM, and the approved order is released to MES as a production order. Sample plans and labor cost estimation run alongside to validate feasibility and margin.

The flow

Quotes

A quote is the first commercial artifact. It starts as a draft, is submitted for review, and is accepted or rejected by the client. An accepted quote can be converted into a sales order in one call.

Create a quote

client_id
string
required
The client this quote is for.
style_id
string
Optional style this quote prices.
lines
array
required
Quote line items with quantity and unit price.
Response (201):

Move a quote through its states

Convert to a sales order

Once accepted, convert the quote directly into a sales order. Line items and pricing carry over.
Response (201):
Use PUT /api/v1/quotes/{quote_id} to revise pricing while the quote is still in draft. Submitted quotes should be revised through a new version rather than edited in place.

Sales Orders

The sales order is the confirmed commercial commitment. It tracks order quantities, delivery dates, and links to the costing and production order.
Most orders are created via convert-to-sales-order. Use POST /api/v1/orders directly only when there is no originating quote.

Costing Management

Costing turns the BOM into a cost sheet — material, labor, and overhead rolled into a unit cost and margin. Cost sheets are versioned and run through a submit → approve workflow before the order can be released to production.

Approval workflow

Analysis and versioning

target_margin
number
Target margin to evaluate the cost sheet against.
Cost sheets can be saved as reusable templates and instantiated for new orders:
Approved cost sheets post to Finindex via the cost-sheet GL endpoints (POST /api/v1/cost-sheets/{cost_sheet_id}/post-gl). See /finindex.

Labor Cost

Labor estimation prices the sewing operations behind a style. It can be run standalone or pulled into a cost sheet.

Sample Plans

Sample plans schedule and track the pre-production samples (proto, fit, PP) that validate a style before bulk production is released.
See the API Reference tab for the full endpoint list.

Next

Procurement

Source the materials the costed BOM demands.

MES Production

Where the approved order is produced.