system.kanoa.lot.updateLotOperationField
Description
Updates the value of a specified field for a given lot operation ID.Syntax
updateLotOperationField(lotOperationId, field, value, userId)Parameters:
Returns:
Code Examples
# Example usage
>lotOperationId = 1
>field = 'enabled'
>value = True
>userId = 5
>retVal, msg = system.kanoa.lot.updateLotOperationField(lotOperationId, field, value, userId)
>print(retVal) # Print the number of records modified