Skip to main content

system.kanoa.quality.config.deleteUnit

This function requires KanoaQDS module

Description

Deletes an engineering unit in KanoaQDS.

Syntax

deleteUnit(engUnitId, userId)
  • Parameters
      int engUnitId - ID of the engineering unit to be deleted.
      int userId - User ID.
  • Returns
      tuple result - Tuple containing success status (bit) and message (string).
  • Code Examples

    # Usage example
    eng_unit_id_to_delete = 1
    user_id_delete = 123
    delete_result = system.kanoa.quality.config.deleteUnit(engUnitId=eng_unit_id_to_delete, userId=user_id_delete)

    print(delete_result)