Skip to main content

system.kanoa.quality.schedule.checkIfItemCheckedThisShift

This function is part of the kanoaQDS module

Description

Used to check if a check of this type has already been performed on this item for this shift in the KanoaQDS (Quality Data System).

Syntax

checkIfItemCheckedThisShift(chkShtId, assetId, shiftId, itemId)
  • Parameters
      int chkShtId - Checksheet ID
      int assetId - Asset ID
      int shiftId - Shift ID
      int itemId - Item ID
  • Returns
      int count - 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}")