Skip to main content

system.kanoa.order.getProductionOrders

This function requires KanoaCore module

Description

Returns production orders linked to assets for given parameters (kanoaCore).

Syntax

getProductionOrders(paramsDict)
  • Parameters
      paramsDict (dict) - Parameters to filter production orders.
      - assetPath (string)
      - assetId (int)
      - assetIdList (list[int])
      - itemSourceId (int)
      - itemName (string)
      - itemPath (string)
      - itemIdList (list[int])
      - itemClassName (string)
      - itemClassId (int)
      - itemClassIdList (list[int])
      - workOrderName (string)
      - workOrderId (int)
      - workOrderStatusList (list[string]): i.e. ['Released']
      - workOrderStatusName (string): i.e.'In Progress'
      - startDate (datetime)
      - endDate (datetime)
      - ignoreActualQty (bool): When false, all production against an order will be checked to add an 'actualQty' produced against an order. This is slower.
  • Returns
      Basic Dataset.
  • Code Example

    # Example Usage:
    > productionOrders = system.kanoa.order.getProductionOrders({'workOrderName': 'WO-0001'})