Skip to main content

system.kanoa.lot.updateLotAttribute

Description

updates a lot attribute

Syntax

updateLotAttribute(lotAttributeInfo, userId)
  • Parameters
      lotAttributeInfo (dict)
      - lotAttributeId (int)
      - lotId (int)
      - lotAttributeName (string)
      - lotAttributeValue (string)
      userId (int)
  • Returns
      # of records modified (int), msg (string): None if success
  • Code Examples

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

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