Skip to main content

system.kanoa.quality.config.addItemSet

This function requires KanoaQDS module

Description

Adds an item set in KanoaQDS.

Syntax

addItemSet(itemSetInfo, userId)
  • Parameters
      itemSetInfo (dict)
      - itemSetName (string)
      itemSetDescription (string)
      sortOrder (int): Can be None
      enabled (bool)
      userId (int)
  • Returns
      itemSetId (int)
      msg (string): None if success
  • Code Examples

    # Usage example
    itemSetInfo = {'itemSetName': 'Set 1', 'itemSetDescription': 'Description 1', 'sortOrder': 3, 'enabled': True}
    userId = 123
    itemSetId, msg = system.kanoa.quality.config.addItemSet(itemSetInfo, userId)
    >