Constraints On Dates (feature)
From UG
(Difference between revisions)
(→User Interface and Functionality) |
(→Actual Date can not be a future date) |
||
Line 81: | Line 81: | ||
==== Actual Date can not be a future date ==== | ==== Actual Date can not be a future date ==== | ||
- | + | If user is trying to set any actual dates (see below) to the future date system must issue pop up: "Error while saving: <name of the date> can not be in the future [OK]". | |
+ | ===== List of actual dates in the system ===== | ||
UNDEF: | UNDEF: |
Revision as of 20:59, 11 January 2010
Contents |
Parent Mantis
Business Need
We have a number of constraints / validation rules that we need to enforce for dates.
Requirements
All detailed requirements have been translated into specifications - see below.
Technical Specification
Summary
List of constraints on dates:
- # Order Constraint based on shipment's path
- # Order Constraint based on pre-conditions
- # Actual Date can not be a future date Constraint
User Interface and Functionality
Overview of dates and their properties:
AIR:
[I] [----------------] ( Act) Created on Date [I] [----------------] ( Act) Notification Date [I] [----------------] ( Act) Authorized on [I] [COLLECTION EVENT] (Est / Act) Pick-up date [M] [DEPARTURE EVENT ] (Est / Act) Airport of Departure [M] [----------------] (Est / Act) Trans-shipment Airport [M] [ARRIVAL EVENT ] (Est / Act) Airport of Discharge [I] [----------------] ( Act) Customs Status Date [I] [----------------] ( Act) FDA Status Date [I] [DELIVERY EVENT ] (Est / Act) Delivery Date
LCL/FCL:
[I] [----------------] ( Act) Created on Date [I] [----------------] ( Act) Notification Date [I] [----------------] ( Act) Authorized on [I] [COLLECTION EVENT] (Est / Act) Pick-up date, Container 1 [I] [COLLECTION EVENT] (Est / Act) Pick-up date, Container 2 (FCL only) ... [I] [COLLECTION EVENT] (Est / Act) Pick-up date, Container N (FCL only) [M] [DEPARTURE EVENT ] (Est / Act) Origin Terminal [M] [--------------- ] (Est / Act) Port Of Loading [M] [----------------] (Est / Act) Port Of Trans-shipment [M] [----------------] (Est / Act) Port Of Discharge [M] [ARRIVAL EVENT ] (Est / Act) Destination Terminal [I] [----------------] ( Act) Customs Status Date [I] [----------------] ( Act) FDA Status Date [I] [DELIVERY EVENT ] (Est / Act) Delivery Date, Container 1 [I] [DELIVERY EVENT ] (Est / Act) Delivery Date, Container 2 (FCL only) ... [I] [DELIVERY EVENT ] (Est / Act) Delivery Date, Container N (FCL only)
Actual Date can not be a future date
If user is trying to set any actual dates (see below) to the future date system must issue pop up: "Error while saving: <name of the date> can not be in the future [OK]".
List of actual dates in the system
UNDEF:
- Gentab.Actual export pickup
Truck-Dom:
- Gentab.Actual export pickup
- Gentab.Actual Delivery
Truck-Air:
- Gentab.Actual export pickup
- Gentab.Actual Delivery
Truck-Ocn:
- Conttab.Containers.ContainerX.Actual collection
- Conttab.Containers.ContainerX.Actual Delivery
AIR:
Gentab:
- Actual export pickup
Exptab:
- Airport of Departure. ATD
- Trans-shipment Airport.ATD
- Airport Of Destination. ATD
ImpTab:
- Actual Delivery Date
LCL:
Gentab:
- Actual export pickup
Exptab:
- Origin Terminal ATD
- Port Of Loading ATD
- Port Of Trans-shipment ATA
- Port Of Discharge ATA
- Destination Terminal ATA
ImpTab:
- Actual Delivery Date
FCL:
Conttab.Containers:
- ContainerX.Actual collection
- ContainerX.Actual Delivery
Exptab:
- Origin Terminal ATD
- Port Of Loading ATD
- Port Of Trans-shipment ATA
- Port Of Discharge ATA
- Destination Terminal ATA