system.kanoa.shift.deleteShiftEvents
Description
Deletes entries from the shiftEvent table (kanoaOps).Syntax
deleteShiftEvents(shiftEventInfo)- shiftEventInfo (Dictionary) - Shift event information.
- # of records modified (Integer).
Code Example
# Example Usage:
shiftEventInfo = {'assetId': 1, 'startDate': someStartDate, 'endDate': someEndDate}
deletedRecords = system.kanoa.shift.deleteShiftEvents(shiftEventInfo)