upsertProductionPlan
Topics: Jobs
Create or overwrite a production plan together with its full set of planned operations and edges, in one transaction. Children are replaced wholesale (delete-then-insert). Validation failures are returned in the payload's errors rather than thrown. Requires productionPlan:write permission.
Returns
UpsertProductionPlanPayload!Arguments
The plan and its complete set of planned operations and edges. Pass id to overwrite an existing plan; omit it to create a new version.
Exact field SDL
"""
Create or overwrite a production plan together with its full set of planned operations and edges, in one transaction. Children are replaced wholesale (delete-then-insert). Validation failures are returned in the payload's `errors` rather than thrown. Requires productionPlan:write permission.
"""
upsertProductionPlan(
"""
The plan and its complete set of planned operations and edges. Pass `id` to overwrite an existing plan; omit it to create a new version.
"""
input: UpsertProductionPlanInput!
): UpsertProductionPlanPayload! @topic(names: ["jobs"])Declared on Mutation. Access is checked by the platform for each operation.