Delivery Comment

From UG

Revision as of 17:42, 5 February 2010 by Alex (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Contents

[edit] Mantis

1651

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

[edit] Technical Specifications

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

[edit] User Interface

  • See Figure 1
  • consists of check box (always visible) and text box (in unchecked then textbox is hidden)
  • by default is unchecked

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

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

[edit] FCL

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

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

[edit] Dev and History

[edit] Revised Logic (ver 2.0)

Personal tools