Skip to main content

system.kanoa.event.getWorkOrderEventSummary

This function requires KanoaOPS module

Description

Returns summarized production data by workorder filtered by the given parameters (kanoaOPS)

Syntax

getWorkOrderEventSummary(assetId, startDate, endDate, workOrderId)
  • Parameters
      assetId int - i.e. 18 or None for all assets.
      startDate datetime - or None
      endDate datetime - or None
      workOrder int - i.e. 34 or None for all workorders
  • Returns
    pyDataset
  • Code Example

    # Example Usage:
    assetId = 79
    startDate = '2023-01-01'
    endDate = '2023-12-31'
    workOrder = 33
    workOrderEventData = system.kanoa.event.getWorkOrderEventSummary(assetId, startDate, endDate, workOrder)