system.kanoa.lot.updateLotOperation
Description
Updates an existing lot operation.Syntax
updateLotOperation(lotOperationInfo, userId)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
lotOperationId | int | ||
lotOperationName | string | ||
lotOperationColor | string | ||
allowInputLots | bool | ||
allowOutputLots | bool | ||
enabled | bool |
Code Examples
# Example usage
>lotOperationInfo = {'lotOperationId': 1, lotOperationName': 'Scrap', 'lotOperationColor': '#0000FF', allowInputLots': True, 'allowOutputLots': False, enabled': True}
>userId = 5
>retVal, msg = system.kanoa.lot.updateLotOperation(lotOperationInfo, userId)
>print(retVal)