CT Editor

From UG

(Difference between revisions)
Jump to: navigation, search
(Business Needs and Requirements)
(SOW 2 Set Origin and Destination Countries automatically)
 
(23 intermediate revisions not shown)
Line 1: Line 1:
[[Category:CT Profile]]
[[Category:CT Profile]]
-
== Parent Mantis ==
+
== Info ==
-
[http://mantis.jaguarfreight.com/mantis/view.php?id=1650 1650]
+
-
== Business Needs and Requirements ==
+
* parent: [http://mantis.jaguarfreight.com/mantis/view.php?id=1650 1650]
-
Need option to scroll up & down inside of all combo boxes listed on all [[CT]] fields
+
* category: CT Editor
-
== Technical Specification ==
+
== Business Needs ==
-
=== Fields ===
+
-
==== CT Number ====
+
== Analysis and Solution ==
-
Ct number
+
-
=== Figures ===
+
== SOWs ==
-
==== Figure: XXX ====
+
-
== History ==
+
=== SOW 1 Replace confirm pop-ups with Status Line ===
-
== Non Critical Bugs and RFC ==
+
 
-
== DB ==
+
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 Set Origin and Destination Countries automatically ===
 +
 
 +
mantis: 4191
 +
 
 +
spec:
 +
 
 +
'''Business need:'''  To automatically pre-fill Origin / Dest country when user sets Shipper/Consignee or Origin/Dest Door. Offer user to update automatically as well when Shipper or Consignee or Origin Door or Destination Door has been changed.
 +
 
 +
'''Solution''': See below
 +
 
 +
1) In CT Editor "on Save" look at [[CT#Origin Country]] or [[CT#Destination Country]] and do the following:
 +
 
 +
* If [[CT#Origin Country]] is empty and [[CT#Origin Door]] is set then copy country from Origin Door to Origin Country. If Origin Door is empty but [[CT#Shipper]] is set then copy country from Shipper to Origin Country.
 +
 
 +
* If [[CT#Destination Country]] is empty and [[CT#Destination Door]] is set then copy country from Destination Door to Destination Country. If Destination Door is empty but [[CT#Consignee]] is set then copy country from Consignee to Destination Country.
 +
 
 +
Above will be done without warning to user.
 +
 
 +
2) In CT Editor "on Save" look if country in Shipper or Consignee or Origin Door or Destination Door has been changed.
 +
 
 +
If user updated country in Shipper or Origin Door then check if corresponding country in Origin Country is different. If it is then ask user if he wants to change it as well. Country from Origin Door takes priority over country from Shipper.
 +
 
 +
Similarly, if user updated country in Consignee or Destination Door then check if corresponding country in Destination Country is different. If it is then ask user if he wants to change it as well. Country from Destination Door takes priority over country from Shipper.
 +
 
 +
3) Apply script for ALL old CT records in the system to populate Origin/Dest Countries accordingly to algorithm defined in #1 above.
 +
 
 +
4) If country of Orig/Dest country field has changed and new value is different from country in Shipper/Consignee or Orig/Dest Doors then show warning to user.
 +
 
 +
=== 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.

Current revision as of 15:31, 2 October 2013


Contents

[edit] Info

  • parent: 1650
  • category: CT Editor

[edit] Business Needs

[edit] Analysis and Solution

[edit] SOWs

[edit] 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

[edit] SOW 2 Set Origin and Destination Countries automatically

mantis: 4191

spec:

Business need: To automatically pre-fill Origin / Dest country when user sets Shipper/Consignee or Origin/Dest Door. Offer user to update automatically as well when Shipper or Consignee or Origin Door or Destination Door has been changed.

Solution: See below

1) In CT Editor "on Save" look at CT#Origin Country or CT#Destination Country and do the following:

  • If CT#Origin Country is empty and CT#Origin Door is set then copy country from Origin Door to Origin Country. If Origin Door is empty but CT#Shipper is set then copy country from Shipper to Origin Country.

Above will be done without warning to user.

2) In CT Editor "on Save" look if country in Shipper or Consignee or Origin Door or Destination Door has been changed.

If user updated country in Shipper or Origin Door then check if corresponding country in Origin Country is different. If it is then ask user if he wants to change it as well. Country from Origin Door takes priority over country from Shipper.

Similarly, if user updated country in Consignee or Destination Door then check if corresponding country in Destination Country is different. If it is then ask user if he wants to change it as well. Country from Destination Door takes priority over country from Shipper.

3) Apply script for ALL old CT records in the system to populate Origin/Dest Countries accordingly to algorithm defined in #1 above.

4) If country of Orig/Dest country field has changed and new value is different from country in Shipper/Consignee or Orig/Dest Doors then show warning to user.

[edit] 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.

Personal tools