system.kanoa.lot.updateLot
Description
Updates an existing lot.Syntax
updateLot(lotInfo, userId)- Dictionary lotInfo - Information about the lot to be updated, including lotEventId, lotName, and itemId.
- int userId - User ID
- int - Number of records modified
Code Examples
# Example usage
lotInfo = {'lotEventId': 1, 'lotName': 'Lot#2', 'itemId': 68}
userId = 123
recordsModified = system.kanoa.lot.updateLot(lotInfo, userId)
print(recordsModified) # Print the number of records modified