Skip to main content

system.kanoa.item.updateItemAttribute

This function requires KanoaOPS module

Description

Updates an item attribute (kanoaOPS).

Syntax

updateItemAttribute(itemInfo, userId)
  • Parameters
      itemInfo (Dictionary) - Dictionary containing updated item attribute information (e.g., {'itemAttrId': 56, 'itemAttrName': 'weight', 'itemId': 1, 'itemAttrValue': 57.4}).
      userId (Integer) - User ID.
  • Returns
      # of records modified (Integer).
  • Code Examples

    # Example Usage:
    modifiedRecords = system.kanoa.item.updateItemAttribute({'itemAttrId': 56, 'itemAttrName': 'weight', 'itemId': 1, 'itemAttrValue': 60}, 123)