How to create a work event based on a planned shift?