UpdateScheduleScenarioInput
Input for updating a schedule scenario. Only provided fields are changed.
Fields
New human-facing label. Omit to leave unchanged; cannot be set to blank.
New planner-assigned revision number. Omit to leave unchanged; must be at least 1.
New lifecycle status. Omit to leave unchanged.
Possible values (4)
DRAFTThe scenario is still being built: the planner is free to add, move and remove allocations, and nothing on the shop floor works to it yet.
PUBLISHEDThe scenario is the schedule currently in force — the one the shop floor is expected to work to.
ARCHIVEDSuperseded by a later scenario and kept only for history; no longer in force.
SIMULATIONA what-if run used to compare planning options. Never in force, however recent it is, and typically discarded once the comparison is over.
New scope, GLOBAL or PARTIAL. Omit to leave unchanged. Setting PARTIAL requires the scenario to have a targetProductionCellId, either already stored or set in the same update.
Possible values (2)
GLOBALThe scenario plans the whole plant, so every work centre in the tenant is in play and targetProductionCellId is null. The default when scope is omitted.
PARTIALThe scenario is confined to a single production cell, named by targetProductionCellId — which validation then requires.
TypeID of the production cell to confine the scenario to (prefix "pcl"). Omit to leave unchanged.
New ISO-8601 planning-window start. Omit to leave unchanged.
New ISO-8601 planning-window end. Omit to leave unchanged; the resulting end must be strictly after the resulting start.
Referenced by (1)
Exact type SDL
"""
Input for updating a schedule scenario. Only provided fields are changed.
"""
input UpdateScheduleScenarioInput {
"""
New human-facing label. Omit to leave unchanged; cannot be set to blank.
"""
name: String
"""
New planner-assigned revision number. Omit to leave unchanged; must be at least 1.
"""
version: Int
"""New lifecycle status. Omit to leave unchanged."""
status: ScheduleStatus
"""
New scope, GLOBAL or PARTIAL. Omit to leave unchanged. Setting PARTIAL requires the scenario to have a targetProductionCellId, either already stored or set in the same update.
"""
scope: ScheduleScope
"""
TypeID of the production cell to confine the scenario to (prefix "pcl"). Omit to leave unchanged.
"""
targetProductionCellId: ProductionCellID
"""New ISO-8601 planning-window start. Omit to leave unchanged."""
planningHorizonStart: ISO8601
"""
New ISO-8601 planning-window end. Omit to leave unchanged; the resulting end must be strictly after the resulting start.
"""
planningHorizonEnd: ISO8601
}