Skip to main content

system.kanoa.quality.schedule.checkIfItemCheckedThisShift

Requires kanoaQDS license

Description

Used to check if a check of this type has already been performed on this item for this shift.

Syntax

checkIfItemCheckedThisShift(chkShtId, assetId, shiftId, itemId)

Parameters:
  • chkShtId (int): Checksheet ID.
  • assetId (int): Asset ID.
  • shiftId (int): Shift ID.
  • itemId (int): Item ID.

  • Returns:
  • count (int): Number of checks performed.
  • Code Examples

    # Example usage
    chkShtId = 1
    assetId = 18
    shiftId = 1
    itemId = 1

    result = system.kanoa.quality.schedule.checkIfItemCheckedThisShift(chkShtId, assetId, shiftId, itemId)
    print(f"Number of checks performed: {result}")