Skip to main content

system.kanoa.quality.config.deleteTolerance

This function requires KanoaQDS module

Description

Deletes an attribute tolerance in KanoaQDS.

Syntax

deleteTolerance(attributeToleranceId, userId)
  • Parameters
      int attributeToleranceId - ID of the attribute tolerance to be deleted.
      int userId - User ID
  • Returns
      bool successFlag - Boolean indicating the success of the deletion.
      str msg - Message indicating the result of the deletion.
  • Code Examples

    # Usage example
    delete_success, delete_msg = system.kanoa.quality.config.deleteTolerance(attributeToleranceId=1, userId=123)

    if delete_success:
    print(f"Successfully deleted attribute tolerance: {delete_msg}")
    else:
    print(f"Deletion failed. Error: {delete_msg}")