List Production Schedule Finishing Lines
Beta/v1/operations/production-schedules/{id}/finishing-linesThis endpoint is idempotent. Learn more
Returns the second stage of a schedule: how many of which finished good to make from the knitted parts, week by week.
The constraint plan says how much greige to knit and deliberately does not say what to turn it into — a family's demand is pooled onto the greige precisely so the buffer can sit at the undifferentiated stage, where it is cheapest. These lines are where that pooling is undone, against each finished SKU's own stock position, its own orders, and the hours the rest of the factory has that week.
Levelled, not merely allocated. Work that does not fit a week moves to the next one rather than being dropped, so the plan never asks the second stage for more hours than it has. Two things bound it, and they are reported separately in the schedule's diagnostics because they call for opposite responses: a SKU held back for want of greige is a knitting problem, and a SKU held back for want of hours is a finishing one.
Everything is counted in the constraint item's unit, so greige_consumed here and planned_quantity on the constraint plan are directly comparable — which is what lets the two stages be reconciled rather than only read side by side.
idstringID of the schedule version.
week_indexoptional integerOnly the finishing planned for this week, zero-based from the start of the horizon.
item_idoptional stringOnly the finishing planned for this finished good.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of production_schedule_finishing_lineResources in this page.
idstringFinishing line ID.
objectstringenumValues:production_schedule_finishing_lineResource type identifier.
production_scheduleentitynullableThe schedule version this belongs to.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
week_indexintegerZero-based week offset from the start of the horizon.
week_starts_atstring (date-time)First day of the week this is planned in.
itementitynullableThe finished good to make.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
skustringSKU of the finished good, as it stood when the plan was generated.
greige_itementitynullableThe constraint item it is made from.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
greige_skustringSKU of that constraint item.
departmententitynullableThe department that does the work.
Absent for a finished good nobody has ever scanned a finishing step for, which means the plan knows what to make but not yet where.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
production_stepentitynullableThe production step the work runs at.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
planned_quantitynumberUnits of the finished good to make.
unitstringnullableAbbreviation of the unit everything on this line is counted in.
planned_lotsintegerHow many lots the quantity breaks into.
planned_lot_unitsnumberUnits in one lot.
planned_run_hoursnumberHours of the second stage's capacity this line consumes.
greige_consumednumberUnits of the constraint item this takes out of the greige buffer.
Equal to planned_quantity unless a finishing yield loss means a finished unit costs more than one knitted one.
firm_unitsnumberHow much of the week's draw on this SKU is an order rather than a forecast.
projected_on_hand_beforenumberThis SKU's own projected stock before the line lands.
projected_on_hand_afternumberAnd after it lands.
statusstringenumValues:plannedreleasedin_progressWhere the line stands.
sourcestringenumValues:solvermanualWhether the solver produced this line or a person did.
is_frozenbooleanWhether the line sits inside the published frozen window.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Responses
Successful response for List Production Schedule Finishing Lines