Delivery Comment

From UG

(Difference between revisions)
Jump to: navigation, search
(Summary)
(Technical Specifications)
Line 29: Line 29:
* by default is unchecked  
* by default is unchecked  
-
==== Air ====
+
=== Air ===
Line 41: Line 41:
** clear “DeliveryComment” textbox
** clear “DeliveryComment” textbox
-
==== LCL ====
+
=== LCL ===
* On change from uncheck TO check:
* On change from uncheck TO check:
Line 52: Line 52:
** clear “DeliveryComment” textbox
** clear “DeliveryComment” textbox
-
==== FCL ====
+
=== FCL ===
* On change from uncheck TO check:
* On change from uncheck TO check:
Line 63: Line 63:
** clear “DeliveryComment” textbox // added june 12
** clear “DeliveryComment” textbox // added june 12
-
==== Validation Rules ====
+
=== Validation Rules ===
* On change from unchecked TO checked first:
* On change from unchecked TO checked first:

Revision as of 22:20, 8 December 2009


Contents

Mantis

100

Business Needs and Requirements

For some CTs delivery is managed by other company than Jaguar therefore exact delivery date is unknown. In this case we need another mechanism to change status of CT to "delivered" even though there is no date.

Technical Specifications

Summary

Figure 1: Delivery Comment

In CT1 solution was to add Delivery Comment text box. If this text box was non-empty then system would "move" CT from Live Tab to Delivered Tab.

In CT2 it was required to satisfy this need but design has been changed.

System now does not look at delivery comment at the moment of deciding if CT is Live or Delivered. Instead it looks only at delivered date. To make sure delivery date is not empty Delivery Comment was supplemented by check box and additional logic that would "on check" display delivery comment text box plus copy some other dates into delivered date to make it non empty.

  • This feature is available for: AIR, LCL, FCL

User Interface

  • consists of check box (always visible) and text box (sometimes hidden)
  • by default is unchecked

Air

  • On change from uncheck TO check:
    • show “DeliveryComment” label + textbox
    • copy ExpTab.14c.Airport Of Destination.ATA(rrival) value into ImpTab.ActualDeliveryDate
  • On change from check TO uncheck:
    • hide “DeliveryComment” label + textbox
    • clear ImpTab.ActualDeliveryDate
    • clear “DeliveryComment” textbox

LCL

  • On change from uncheck TO check:
    • show “DeliveryComment” label + textbox
    • copy ExpTab.15c.Destination Terminal.ATA value into ImpTab.ActualDeliveryDate
  • On change from check TO uncheck:
    • hide “DeliveryComment” label + textbox
    • clear ImpTab.ActualDeliveryDate
    • clear “DeliveryComment” textbox

FCL

  • On change from uncheck TO check:
    • show “DeliveryComment” label + textbox
    • copy ExpTab.15c.Destination Terminal.ATA value into ComTable.ContainerTable.ActualDeliveryDateDATEBOX (for EVERY container)
  • On change from check TO uncheck:
    • hide “DeliveryComment” label + textbox
    • clear ComTable.ContainerTable.ActualDeliveryDateDATEBOX (for EVERY container)
    • clear “DeliveryComment” textbox // added june 12

Validation Rules

  • On change from unchecked TO checked first:
    • see if "actual Arrival date" is not empty. If empty then do not allow to enter Delivery comment/copy dates. Give error pop-up: "Can not add delivery comment - actual arrival date is empty"
    • see if "Actual Delivery Date" is not empty. If not empty then give Warning: "Actual Delivery Date is not empty. Are you sure you want to copy Arrival Date into Delivery Date? Y/N "
  • Block users from clearing "ImpTab.Actual Delivery Date" if "Delivery Comment checkbox" is checked
  • Block users from saving CT if "Delivery Comment textbox" is empty AND "Delivery Comment checkbox" is checked

Dev and History

Personal tools