Skip to main content

ActivitySet

Each Activity is a distinct span of time, but they can be rolled up into a complete effort using Activity Sets. Activity Sets allow for work to be paused and resumed on a piece of equipment, or a transition from setup to production, while maintaining each Activity as step toward a greater goal. An Activity Set is the data model backing a Production Run.

type ActivitySet {
activePartTimeMs: Int
activeTimeMs: Int
activities(
distinct_on: [Activity_select_column!]
limit: Int
offset: Int
order_by: [Activity_order_by!]
where: Activity_bool_exp
): [Activity!]!
activitySetRef: bigint!
actualParts: Float
closedAt: timestamp
cycleTimeMs: Int
expectedSetupTimeMs: Int
expectedUnitDurationMs: Int
machine: MachineTP
operation: Operation
optimalPartTimeMs: Int
partCountMultiplier: Float
partTimeMs: Int
sampleCycleCount: Int!
samplePartCount: Int!
touchPartTimeMs: Int
touchTimeMs: Int
workOrderId: String
workOrderOperation: erpWorkOrderOperations
}

Fields​

ActivitySet.activePartTimeMs ● Int scalar​

ActivitySet.activeTimeMs ● Int scalar​

ActivitySet.activities ● [Activity!]! non-null object​

ActivitySet.activities.distinct_on ● [Activity_select_column!] list enum​

Return a distinct set of entities, defined by the given fields.

ActivitySet.activities.limit ● Int scalar​

Limits the number of objects returned.

ActivitySet.activities.offset ● Int scalar​

Start a the specified, zero-based array index. This is only useful in combination with order_by.

ActivitySet.activities.order_by ● [Activity_order_by!] list input​

Sort the returned array by one or more fields of it's elements.

ActivitySet.activities.where ● Activity_bool_exp input​

Filter the data by using a (nested) boolean expression.

ActivitySet.activitySetRef ● bigint! non-null scalar​

A unique, numeric identifier for the activitySet.

ActivitySet.actualParts ● Float scalar​

ActivitySet.closedAt ● timestamp scalar​

ActivitySet.cycleTimeMs ● Int scalar​

ActivitySet.expectedSetupTimeMs ● Int scalar​

ActivitySet.expectedUnitDurationMs ● Int scalar​

ActivitySet.machine ● MachineTP object​

The machine the event originates from.

ActivitySet.operation ● Operation object​

ActivitySet.optimalPartTimeMs ● Int scalar​

ActivitySet.partCountMultiplier ● Float scalar​

ActivitySet.partTimeMs ● Int scalar​

ActivitySet.sampleCycleCount ● Int! non-null scalar​

ActivitySet.samplePartCount ● Int! non-null scalar​

ActivitySet.touchPartTimeMs ● Int scalar​

ActivitySet.touchTimeMs ● Int scalar​

ActivitySet.workOrderId ● String scalar​

An identifier for the work order. The identifier is usually generated in a third party system (ERP).

ActivitySet.workOrderOperation ● erpWorkOrderOperations object​

Production standards are applied from the Operation selected when starting the first Activity in an Activity Set. This snapshot will not change when standards in the Job Template are updated so an accurate history of the standards as they existed in the moment the work was performed is maintained.

Returned By​

activitySet query ● activitySets query

Member Of​

Activity object ● business_machine object ● erpWorkOrderOperations object ● MachineTP object ● Operation object