Logic for determining the current data record based on the validity area

In several locations in CodX PostOffice, you can assignments can be made for a specific duration.

The logic for determining the valid data record is explained using the three data records with different effectivity areas. (see figure)

ValidDatumsRange

If several validity areas exist for the current day, the following sequence for determining the currently valid data record.

  • 1. the data record with the shortest date range date range (in the above example, these are the records with 9 days)

  • 2. the record whose start date is closer to the current day to the current day(in the above example, this is the record with 2 days)

  • If the date range is the same, it is undetermined which record is selected. is undefined, which data set is selected.



CodX Software CodX Software AG
Sinserstrasse 47
6330 Cham
Switzerland
Support
http://support.codx.ch
CxSpickel