Constraints on Estimated Dates

From UG

(Difference between revisions)
Jump to: navigation, search
(SOW 1)
(FCL shipments)
 
(22 intermediate revisions not shown)
Line 9: Line 9:
=== Scope of this wiki ===
=== Scope of this wiki ===
-
Add constraints and validations for estimated dates.  Not allowing updates out of specified chronological order and for them to work in conjunction with the actual date validations that are already in place.
+
Add constraints / date validations for estimated dates, not allowing updates to take place out of specified chronological order.
== SOW 1 ==
== SOW 1 ==
-
'''Mantis:''' [http://ct.jaguarfreight.com/mantis/view.php?id=3185 3185] (CT2 Misc) Add Estimated Date Validation
+
* '''Mantis:0003185:(CT2 Misc) Add Estimated Date Validation'''
Core requirements:
Core requirements:
-
* '''Task type:''' Tweak.
+
* System should validate the chronological order in the specific sequence for all '''estimated''' dates.
-
* '''Where:''' Actual CT Dates.
+
-
* '''What:''' System should validate the chronological order in the specific sequence for all actual dates.
+
** The system must allow each of the dates to be the same as the previous date or more.
** The system must allow each of the dates to be the same as the previous date or more.
** If an attempt is made to confirm a date out of order an error message should be generated and the date should not be saved.  
** If an attempt is made to confirm a date out of order an error message should be generated and the date should not be saved.  
*** ''Generalized example of error message:'' '''<Next date>''' cannot be confirmed until '''<previous date>''' has been confirmed in '''<CT #XXXXXX>'''.
*** ''Generalized example of error message:'' '''<Next date>''' cannot be confirmed until '''<previous date>''' has been confirmed in '''<CT #XXXXXX>'''.
-
*** ''Specific example of error message:'' '''Actual arrival date''' cannot be confirmed until '''actual departure date''' has been confirmed.
+
*** ''Specific example of error message:'' '''Estimated arrival date''' cannot be confirmed until '''Estimated departure date''' has been confirmed.
*** CT # should be indicated in the error message:
*** CT # should be indicated in the error message:
**: 1) If CT is a part of Group and date field what out of order is selected for "Group save".
**: 1) If CT is a part of Group and date field what out of order is selected for "Group save".
**: 2) If CT is a part of Master.
**: 2) If CT is a part of Master.
-
** NOTE: Validations of estimated dates are no longer required.
 
-
=== Specific sequence of validating dates ===
+
'''NOTE: Validations of estimated dates are not subject to Actual Date validations.'''
-
* Specific sequence of validating dates is conditioned on the set of events the shipment.
+
 
 +
=== Specific sequence of validating estimated dates ===
 +
* Specific sequence of validating dates is conditioned on the set of events in the shipment.
* Each event corresponds to the date of shipment depending on the mode of transport:
* Each event corresponds to the date of shipment depending on the mode of transport:
==== FCL shipments ====
==== FCL shipments ====
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Notification_Date Notification date].
+
* [http://ct.jaguarfreight.com/wiki/Container#Estimated_Export_Pick_Up_Date Estimated collection date]. ''Only required to be filled in if an export trucker is filled in.''
-
* [http://ct.jaguarfreight.com/wiki/Container#Actual_Export_Pick_Up_Date Actual collection date]. ''Only required to be filled in if an estimated collection date is filled in.''
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Origin_Terminal_Estimated_Date Origin terminal Estimated date]. ''Only required if radio button is set to yes indicating the origin terminal is different from the port of loading.''
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Origin_Terminal_Actual_Date Origin terminal actual date]. ''Only required if radio button is set to yes indicating the origin terminal is different from the port of loading.''
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Port_Of_Loading_Estimated_Date Port of loading Estimated date].
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Port_Of_Loading_Actual_Date Port of loading actual date].
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Trans_Shipment_Estimated_Date Port of trans-ship Estimated date]. ''Only required if check box is checked indicating this record has a trans-shipment point.''
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Trans_Shipment_Actual_Date Port of trans-ship actual date]. ''Only if check box is checked indicating this record has a trans-shipment point.''
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Port_Of_Discharge_Estimated_Date Port of discharge Estimated date].
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Port_Of_Discharge_Actual_Date Port of discharge actual date].
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Destination_Terminal_Estimated_Date Destination terminal Estimated date]. ''Only required if radio button is set to yes indicating the destination terminal is different than the port of discharge.''
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Destination_Terminal_Actual_Date Destination terminal actual date]. ''Only if radio button is set to yes indicating the destination terminal is different than the port of discharge.''
+
* [http://ct.jaguarfreight.com/wiki/Container#Actual_Delivery_Date Requested Delivery date].
-
* [http://ct.jaguarfreight.com/wiki/Container#Actual_Delivery_Date Actual delivery date] or [http://ct.jaguarfreight.com/wiki/CT_bo#Delivery_Comment delivery comment].
+
==== LCL shipments ====
==== LCL shipments ====
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Notification_Date Notification date].
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Estimated_Export_Pick_Up_Date Estimated export pickup date]. ''Only required if an export pickup trucker is filled in''
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Actual_Export_Pick_Up_Date Actual export pickup date]. ''Only if the estimated export pickup date is entered.''
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Origin_Terminal_Estimated_Date Origin terminal estimated date]. ''Only required if radio button is set to yes indicating it would differ from Port of Loading estimated date.''
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Origin_Terminal_Actual_Date Origin terminal actual date]. ''Only if radio button is set to yes indicating it would differ from Port of Loading actual date.''
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Port_Of_Loading_Estimated_Date Port of loading estimated date].
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Port_Of_Loading_Actual_Date Port of loading actual date].
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Trans_Shipment_Estimated_Date Port of trans-ship Estimated date]. ''Only required if check box is checked indicating this record has a trans-shipment point.''
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Trans_Shipment_Actual_Date Port of trans-ship actual date]. ''Only if check box is checked indicating this record has a trans-shipment point.''
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Port_Of_Discharge_Estimated_Date Port of discharge estimated date].
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Port_Of_Discharge_Actual_Date Port of discharge actual date].
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Destination_Terminal_Estimated_Date Destination terminal estimated date]. ''Only required if radio button is set to yes indicating the destination terminal is different than the port of discharge.''
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Destination_Terminal_Actual_Date Destination terminal actual date]. ''Only if radio button is set to yes indicating the destination terminal is different than the port of discharge.''
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Estimated_Delivery_Date Estimated delivery date].
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Actual_Delivery_Date Actual delivery date] or [http://ct.jaguarfreight.com/wiki/CT_bo#Delivery_Comment delivery comment].
+
==== Air shipments ====
==== Air shipments ====
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Notification_Date Notification date].
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Estimated_Export_Pick_Up_Date Estimated export pickup date]. ''Only required to be filled in if an export trucker is filled in.''
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Actual_Export_Pick_Up_Date Actual export pickup date]. ''Only if the estimated export pickup date is entered.''
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Airport_Of_Departure_Estimated_Date Airport of departure estimated time of departure].
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Airport_Of_Departure_Actual_Date Airport of departure actual time of departure].
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Trans_Shipment_Estimated_Date Trans-shipment airport estimated time of departure]. ''Only required if check box is checked indicating this record has a trans-shipment point.''
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Trans_Shipment_Actual_Date Trans-shipment airport actual time of departure]. ''Only if check box is checked indicating this record has a trans-shipment point.''
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Airport_Of_Destination_Estimated_Date Airport of destination estimated time of arrival].
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Airport_Of_Destination_Actual_Date Airport of destination actual time of arrival].
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Estimated_Delivery_Date Estimated delivery date].
-
* [http://ct.jaguarfreight.com/wiki/CT_bo#Actual_Delivery_Date Actual delivery date] or [http://ct.jaguarfreight.com/wiki/CT_bo#Delivery_Comment delivery comment].
+
 
 +
==== Domestic Trucking shipments ====
 +
* [http://ct.jaguarfreight.com/wiki/CT_bo#Estimated_Export_Pick_Up_Date Estimated export pickup date]. ''Only required to be filled in if an export trucker is filled in.''
 +
* [http://ct.jaguarfreight.com/wiki/CT_bo#Estimated_Delivery_Date Estimated delivery date].
 +
 
 +
==== Ocean Trucking shipments ====
 +
* [http://ct.jaguarfreight.com/wiki/CT_bo#Estimated_Export_Pick_Up_Date Estimated export pickup date]. ''Required to be filled in if an export trucker is filled in OR a container number.''
 +
* [http://ct.jaguarfreight.com/wiki/CT_bo#Estimated_Delivery_Date Estimated delivery date].
-
==== Trucking shipments ====
+
==== Air Trucking shipments ====
-
''NOTE: Validations of Trucking CT dates will be specified later in separate mantis.''
+
* [http://ct.jaguarfreight.com/wiki/CT_bo#Estimated_Export_Pick_Up_Date Estimated export pickup date]. ''Only required to be filled in if an export trucker is filled in.''
 +
* [http://ct.jaguarfreight.com/wiki/CT_bo#Estimated_Delivery_Date Estimated delivery date].

Current revision as of 21:29, 3 January 2012


Contents

[edit] Info

[edit] Parent Mantis

[edit] Scope of this wiki

Add constraints / date validations for estimated dates, not allowing updates to take place out of specified chronological order.

[edit] SOW 1

  • Mantis:0003185:(CT2 Misc) Add Estimated Date Validation

Core requirements:

  • System should validate the chronological order in the specific sequence for all estimated dates.
    • The system must allow each of the dates to be the same as the previous date or more.
    • If an attempt is made to confirm a date out of order an error message should be generated and the date should not be saved.
      • Generalized example of error message: <Next date> cannot be confirmed until <previous date> has been confirmed in <CT #XXXXXX>.
      • Specific example of error message: Estimated arrival date cannot be confirmed until Estimated departure date has been confirmed.
      • CT # should be indicated in the error message:
      1) If CT is a part of Group and date field what out of order is selected for "Group save".
      2) If CT is a part of Master.

NOTE: Validations of estimated dates are not subject to Actual Date validations.

[edit] Specific sequence of validating estimated dates

  • Specific sequence of validating dates is conditioned on the set of events in the shipment.
  • Each event corresponds to the date of shipment depending on the mode of transport:

[edit] FCL shipments

[edit] LCL shipments

[edit] Air shipments

[edit] Domestic Trucking shipments

[edit] Ocean Trucking shipments

[edit] Air Trucking shipments

Personal tools