Example 2
In this example, a new operation is added to the system. The chemical spray operation validates against existing harvest operations that have withholding days for both subsequent activities and prior activities. For each validation check box that is checked on existing operations, the system also validates against the current withholding days for the corresponding operations.
This table and subsequent timeline demonstrate how the system validates a new harvest operation using the two-way validation:
Operation Name |
Oper Duration / Days |
Oper Start Date |
Oper End Date |
W/H Type Code |
Validation Check Box |
W/H Days |
W/H Period Start Date |
W/H Period End Date |
---|---|---|---|---|---|---|---|---|
Chemical Spray |
2 |
S |
||||||
P |
Checked |
1 |
May 15 |
May 17 |
||||
R |
Checked |
2 |
May 16 |
May 19 |
Operation Name |
Oper Duration / Days |
Oper Start Date |
Oper End Date |
W/H Type Code |
Validation Check Box |
W/H Days |
W/H Period Start Date |
W/H Period End Date |
---|---|---|---|---|---|---|---|---|
Prune |
3 |
May 8 |
May 10 |
P |
2 |
May 6 |
May 10 |
|
Inspection |
1 |
May 10 |
May 10 |
R |
Checked |
Operation Name |
Oper Duration / Days |
Oper Start Date |
Oper End Date |
W/H Type Code |
Validation Check Box |
W/H Days |
W/H Period Start Date |
W/H Period End Date |
---|---|---|---|---|---|---|---|---|
Spray - Pesticide |
1 |
May 12 |
May 12 |
R |
Checked |
1 |
May 12 |
May 13 |
S |
2 |
May 12 |
May 14 |
Operation Name |
Oper Duration / Days |
Oper Start Date |
Oper End Date |
W/H Type Code |
Validation Check Box |
W/H Days |
W/H Period Start Date |
W/H Period End Date |
---|---|---|---|---|---|---|---|---|
Irrigation |
2 |
May 10 |
May 11 |
P |
Checked |
Operation Name |
Oper Duration / Days |
Oper Start Date |
Oper End Date |
W/H Type Code |
Validation Check Box |
W/H Days |
W/H Period Start Date |
W/H Period End Date |
---|---|---|---|---|---|---|---|---|
Inspection |
1 |
May 10 |
May 10 |
R |
Checked |
This diagram is a graphical representation of the five operations in the table. The dotted lines represent the operation start and end dates for the prune, pesticide, and chemical spray operations. The solid lines, for these three operations, represent the withholding periods.
The first validation checks against existing operations:
Prune: A warning message appears if the new operation is scheduled to start from May 6 through May 10.
Spray-Pesticide: A warning message appears if the new operation is scheduled to start from May 12 through May 14.
The system validates existing operations against the new operation's withholding period and displays a warning message if an existing operation is scheduled:
The day before the start date for the new operation.
During the reentry-withholding period for the new operation.
Adding the new operation using a start date of May 16 with an end date of May 17 prevents any warning messages.