Skip to main content

system.kanoa.lot.addLotAttribute

Description

adds a lot attribute

Syntax

addLotAttribute(lotAttributeInfo, userId)
  • Parameters
      lotAttributeInfo (dict)
      - lotId (int)
      - lotAttributeName (string)
      - lotAttributeValue (string)
      userId (int)
  • Returns
      lotAttributeId (int), msg (string): None if success
  • Code Examples

    lotAttributeInfo = {
    'lotId': 241,
    'lotAttributeName': 'testWeight',
    'lotAttributeValue': 'testValue'
    }

    system.kanoa.lot.addLotAttribute(lotAttributeInfo, 5)
    >>>
    (1, None)
    >>>