ProductionMu Mutation

cleanupProductionActuals

Topics: Jobs

Manually reclaim optional source details or closed production report chains. Tenant-scoped, bounded and preview-first; execution may partially succeed across entries. Receipts, acceptance, inventory, costs and completions are retained.

Returns

ProductionActualsCleanupPayload!

Arguments

before

ISO8601!Required

Required exclusive UTC cutoff. Every report in a deleted chain must precede it.

Explicit source-details or report-chain reclamation.

Possible values (2)
SOURCE_DETAILS

Remove optional source bytes and verbose vertical provenance; preserve quantities, interpretation and bindings.

REPORTS

Remove eligible closed report chains and consumption. Requires productionReport:delete in addition to write.

Defaults to true. Preview performs authorization and eligibility checks without deleting data.

limit

IntOptional

Heads/reports examined, 1...100; default 25. Chains longer than 1000 are blocked.

after

StringOptional

Opaque continuation cursor returned by the preceding page.

Exact field SDL
"""
Manually reclaim optional source details or closed production report chains. Tenant-scoped, bounded and preview-first; execution may partially succeed across entries. Receipts, acceptance, inventory, costs and completions are retained.
"""
cleanupProductionActuals(
  """
  Required exclusive UTC cutoff. Every report in a deleted chain must precede it.
  """
  before: ISO8601!
  """Explicit source-details or report-chain reclamation."""
  scope: ProductionActualsCleanupScope!
  """
  Defaults to true. Preview performs authorization and eligibility checks without deleting data.
  """
  dryRun: Boolean
  """
  Heads/reports examined, 1...100; default 25. Chains longer than 1000 are blocked.
  """
  limit: Int
  """Opaque continuation cursor returned by the preceding page."""
  after: String
): ProductionActualsCleanupPayload! @topic(names: ["jobs"])

Declared on Mutation. Access is checked by the platform for each operation.