Hello everyone,
What I'm trying to do is I want to change the arrival times in all "Schedule Source"s in all Process Flows, depending on the day of the week. And I want to make them repeat for 52 weeks.
I'm aware that there is a number (0 to 6 for Monday to Sunday) assigned for each day of the week; at least, it shows those values under the tree view.
The current Schedule Sources would be for days 0,1,2 and 3 (Monday, Tuesday, Wednesday, and Thursday). Friday would have a different schedule with the same routes. The weekend has different routes and schedules, which I'll be setting up after this.
Approach 1:
So my pseudo-code thingy (sorry for the eye bleeding, this is coming from a non-coder) would be something like this:
if (Model.dateTime.dayOfWeek == "0,1,2,3") then Schdedule (bos_uck), Schedule (uck_bos), Schedule (ksk_kon) etc happens if (Model.dateTime.dayOfWeek == "4") then Schdedule (bos_uck_fri), Schedule (uck_bos_fri), Schedule (ksk_kon_fri) etc happens if (Model.dateTime.dayOfWeek == "5,6") then Schdedule (bos_uck_we), Schedule (uck_bos_we), Schedule (ksk_kon_we) etc happens else Phd == "fail" :)
Approach 2:
I believe there is another very crude way of doing this, but I need help with that again. I can arrange the arrival times for each Schedule Source for a year in Excel. But I need to copy it to the "Schedule Source". I need to add them row by row in the interface, which would take quite a long time. Maybe we can set a different table for each Schedule Source and copy times from there (which I don't know how to or how to code this either)?
v4-ships-are-sailing-base-custom code selective charging_all ferries working all day.fsm