The code numbers do not matter other than 100 and 500. I think I did address this already. Code 333 would NOT be included because the date is before the 100 code. The code number does not matter if the date falls between 100 and 500. Any code between these two dates should be included.
You are correct in you interpretation for Scenario 2, if the date falls before the code 100 date, it will not be included. If the date of code 700 falls between the dates of codes 100 and 500 then it will be included.
The codes DO NOT MATTER, they will not always fall between 100 and 500, these aren't even real code numbers, I made them up. Sorry for the confusion.
... View more