mkoza178 / PJACS-Implemenation

Location of tasks and bugs related to the PJACS implemenation project
1 stars 0 forks source link

Advance - NJ - new start cutoff timings #37

Closed mkoza178 closed 6 years ago

mkoza178 commented 6 years ago

We have updated this logic for just SL & TT in Test to make sure it's working correctly. Here are the rules for the start date to be selected when doing New Start workflow:

SL/TT logic: If today is Sunday and it is before 11am, choose a start date of Monday or next available delivery date. If today is Sunday and it is after 11am, choose a start date of Tuesday or next available delivery date.

If today is Monday and it is before 3pm, choose a start date of Tuesday or next available delivery date. If today is Monday and it is after 3pm, choose a start date of Wednesday or next available delivery date.

If today is Tuesday and it is before 3pm, choose a start date of Wednesday or next available delivery date. If today is Tuesday and it is after 3pm, choose a start date of Thursday or next available delivery date.

If today is Wednesday and it is before 3pm, choose a start date of Thursday or next available delivery date. If today is Wednesday and it is after 3pm, choose a start date of Friday or next available delivery date.

If today is Thursday and it is before 3pm, choose a start date of Friday, Sat or Sunday or next available delivery date. If today is Thursday and it is after 3pm, choose a start date of Monday or next available delivery date.

beckywallace commented 6 years ago

I entered a start today (Thursday) after 3 p.m. and the start date in the event is 6/1. According to the logic it should have selected a start date of Monday (6/4):

image

mkoza178 commented 6 years ago

Re-opened with the dev team.

mkoza178 commented 6 years ago

A bug was found in the logic. Updated, let's try again!