[quote]MS mId tdId name dueDate1 1 forecastedDate 1/1/20152 1 hypercareDate 11/30/20163 1 LOE 1 7/4/20164 1 LOE 2 7/4/20165 1 demo for yy test 10/15/20166 1 Implementation – testing 7/4/20167 1 Phased Rollout – final 7/4/20168 2 forecastedDate 1/7/20169 2 hypercareDate 11/12/201610 2 domain - Forte NULL11 2 Fortis completion 1/1/201612 2 Certification NULL13 2 Implementation 7/4/2016[/quote][quote]MSRevised mId revisedDate1 1/5/20151 1/8/20153 3/25/20172 2/1/20162 12/30/20163 4/28/20164 4/28/20165 10/1/20166 7/28/20167 7/28/20168 4/28/20169 8/4/20169 5/28/201611 10/4/201611 10/5/201613 11/1/2016[/quote]Output1. Will be passing the 'tId' number, for instance 1, lets call it tid (1)2. Want to compare tId (1)'s all milestones (except hypercareDate) with tid(1)'s forecastedDate milestone3. return if any of the milestone date (other than hypercareDate) is greater than the forecastedDateThe above 3 steps are simple, but I have to first compare the milestones date with its corresponding revised dates, if any, from the revised table, and pick the max date among all that needs to be compared with the forecastedDateIn this case, for tId (1), it would be ==> 3/25/2017 for tId (2), it would be ==> 11/1/2017
↧