Skip to main content

system.kanoa.lot.updateLotAttribute

Description

Updates a lot attribute

Syntax

updateLotAttribute(lotAttributeInfo, userId)

Parameters:
  • lotAttributeInfo (dict)
  • userId (int)

  • Returns:
  • numRecordsModified (int)
  • msg (string): None if success
  • Dictionary

    ParameterTypeRequiredNotes
    lotAttributeIdint
    lotIdint
    lotAttributeNamestring
    lotAttributeValuestring

    Code Examples

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

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