Skip to main content

system.kanoa.shift.addShiftName(shiftName, userId)

Adds a new shiftName i.e. '1st Shift'


Parameters

shiftName String
userId Integer: Id of user executing the function


Returns

shiftNameId Integer


Example

shiftNameId = system.kanoa.shift.addShiftName('Evening Shift', 123)