CT Editor
From UG
(Difference between revisions)
(→SOW 2 Sync Orig and Dest Countries with Orig and Dest door fields) |
(→SOWs) |
||
Line 38: | Line 38: | ||
* apply script for old recs to populate Origin/Dest Countries from Pickup/Delivery location | * apply script for old recs to populate Origin/Dest Countries from Pickup/Delivery location | ||
+ | |||
+ | == SOW 3 == | ||
+ | |||
+ | === Commodity and Container related validations === | ||
+ | |||
+ | mantis: '''4206''' | ||
+ | |||
+ | Add validations for the session when user sets Actual Departure Date: | ||
+ | |||
+ | * 0/ there should be at least one commodity line (all MOTs) | ||
+ | |||
+ | * 1/ there should be at least one container (all ocean MOTs) | ||
+ | |||
+ | * 2/ all commodities must be assigned to containers (all ocean MOTs) | ||
+ | ** Error message should say: "Error: Not all commodities are assigned to containers" | ||
+ | |||
+ | * 3/ each container of this CT record must have at least ONE commodity assigned (all ocean MOTs) | ||
+ | ** Error message should specify container's numbers that have no assignments | ||
+ | |||
+ | * 4/ in Master case, system should validate all CTs contained in Master | ||
+ | |||
+ | NOTE: Now we have similar validation when Actual Delivery date is set. Remove it. | ||
+ | |||
+ | Also after Actual Departure Date is set and user attempts to: | ||
+ | |||
+ | * remove all commod lines | ||
+ | * change container assignments to leave one of them unassigned | ||
+ | |||
+ | system should prevent users giving error. |
Revision as of 19:27, 28 September 2013
Contents |
Info
- parent: 1650
- category: CT Editor
Business Needs
Analysis and Solution
SOWs
SOW 1 Replace confirm pop-ups with Status Line
mantis: 4269
spec:
- Replace confirmation pop-ups with "status line" messages
- Example of such pop up: "Shipment is saved [OK]"
- Location of status line: above tabs
SOW 2 Sync Orig and Dest Countries with Orig and Dest door fields
mantis: 4191
spec:
For all MOTs:
- populate Origin/Dest Countries from Pickup/Delivery location
- when Pickup/Delivery location is assigned/changed
- only if Origin/Dest Countries are empty
- do it for entire CT group
- make sure validation for Origin/Dest Countries exists as defined in KPI#SOW_69_Validation_for_Origin_and_Destination_country
- apply script for old recs to populate Origin/Dest Countries from Pickup/Delivery location
SOW 3
Commodity and Container related validations
mantis: 4206
Add validations for the session when user sets Actual Departure Date:
- 0/ there should be at least one commodity line (all MOTs)
- 1/ there should be at least one container (all ocean MOTs)
- 2/ all commodities must be assigned to containers (all ocean MOTs)
- Error message should say: "Error: Not all commodities are assigned to containers"
- 3/ each container of this CT record must have at least ONE commodity assigned (all ocean MOTs)
- Error message should specify container's numbers that have no assignments
- 4/ in Master case, system should validate all CTs contained in Master
NOTE: Now we have similar validation when Actual Delivery date is set. Remove it.
Also after Actual Departure Date is set and user attempts to:
- remove all commod lines
- change container assignments to leave one of them unassigned
system should prevent users giving error.