CT Editor

From UG

Revision as of 11:34, 30 September 2013 by Alex (Talk | contribs)
Jump to: navigation, search


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:

Business need: To automatically pre-fill Origin / Dest country when user sets Shipper/Consignee or Origin/Dest Door.

Solution: see below

1) script that runs every hour will look at all open CTs that have origin or dest country missing and will 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.

2) if user changes Shipper/Origin Door or Consignee/Destination Door:

Check if corresponding country in Origin/Dest country is different. If it is then ask user if he wants to change it as well.

3) apply script for old recs to populate Origin/Dest Countries accordingly to algorithm defined on #1 above.

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