system.kanoa.shift.updateShiftBlockField
Description
Updates the passed field value for the given shiftBlockId (kanoaOps).Syntax
updateShiftBlockField(shiftBlockId, field, value, userId)- shiftBlockId (Integer) - Shift Block ID.
- field (String) - Name of the column.
- value (Object) - New value.
- userId (Integer) - User ID.
- # of records modified.
Code Example
# Example Usage:
modifiedRecords = system.kanoa.shift.updateShiftBlockField(1, 'startDate', newStartDate, 123)