Skip to main content

system.kanoa.lot.getLotQty

This function is part of the kanoaOPS module

Description

Retrieves the total quantity of a lot filtered by the provided parameters.

Syntax

getLotQty(paramsDict)
  • Parameters
      Dictionary paramsDict - Parameters for filtering lot quantity. Valid keys include lotEventId, lotId, lotName, assetId, lotStateId, lotStateName, shiftId, itemId, workOrderId, and workOrderName.
  • Returns
      pyDataset - Total quantity of the lot.
  • Code Examples

    # Example usage
    paramsDict = {'lotId': 1, 'assetId': 1}
    lotQty = system.kanoa.lot.getLotQty(paramsDict)
    print(lotQty) # Print the retrieved lot quantity