system.kanoa.lot.updateLotState
Description
Updates an existing lot state.Syntax
updateLotState(lotStateInfo, userId)- lotStateId (int)
- lotStateName (string)
- enabled (bool)
- userId (int)
- Number of records modified (int)
- message (string): None if success
Code Examples
# Example usage
>lotStateInfo = {'lotStateId': 1, 'lotStateName': 'QA Hold', 'enabled': False}
>userId = 5
>dataset = system.kanoa.lot.updateLotState(lotStateInfo, userId)
>print(dataset) # Print the updated dataset