OBJECT

OrderTask

A single order task

link GraphQL Schema definition

  • type OrderTask {
  • # The unique order task ID.
  • id: Int!
  • # Legacy field for dashboard api allocation creation.
  • shift_index: Int!
  • # Description of the task, to distinguish between same tasks on an order
  • description: String
  • # The order associated with this order task
  • order: Order
  • # The task associated with this order task
  • task: Task
  • # The allocations assigned to the order task
  • allocations: [Allocation]
  • # List of shift dates to allocate to
  • dates: [OrderTaskDate]
  • # List of shift dates with allocated count to allocate to. If empty, no alloctions
  • # assigned yet, use dates.
  • dates_allocated: [OrderTaskDateAllocated]
  • # The forms for the order task
  • forms: [Form]
  • # The materials for the order task
  • materials: [MaterialTransaction]
  • # The start time of the order task (legacy field)
  • start_time: String!
  • # The end time of the order task (legacy field)
  • end_time: String!
  • # The assets attached to the order task
  • allocated_assets: [AllocationAsset]
  • # The work item associated with this order task
  • work_items: [WorkItem]
  • # Composite key of order, task and shift index to link to ffa_order_task (old
  • # table)
  • order_task_shift: LongInt!
  • }