system.kanoa.shift.updateShiftBlock
Description
Updates a shift block (kanoaOps).Syntax
updateShiftBlock(shiftBlockInfo, userId)- shiftBlockInfo (Dictionary) - Shift block information.
- userId (Integer) - User ID.
- # of records modified.
Code Example
# Example Usage:
modifiedRecords = system.kanoa.shift.updateShiftBlock({'shiftBlockId': 1, 'shiftId': 2, 'startDate': newDate, 'endDate': newDate, 'rruleStr': 'FREQ=WEEKLY;COUNT=10'}, 123)