Delivery Comment

From UG

(Difference between revisions)
Jump to: navigation, search
(Revised Logic)
 
(5 intermediate revisions not shown)
Line 1: Line 1:
-
[[Category:Ops]]
+
[[Category:CT Profile]]
== Mantis ==
== Mantis ==
-
[http://mantis.jaguarfreight.com/mantis/view.php?id=100 100]
+
[http://mantis.jaguarfreight.com/mantis/view.php?id=1651 1651]
== Business Needs and Requirements ==
== Business Needs and Requirements ==
Line 18: Line 18:
In CT2 it was required to satisfy this need but design has been changed.  
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.
+
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
* This feature is available for: AIR, LCL, FCL
Line 24: Line 24:
=== User Interface ===
=== User Interface ===
-
 
+
* See Figure 1
-
* consists of check box (always visible) and text box (sometimes hidden)
+
* consists of check box (always visible) and text box (in unchecked then textbox is hidden)
-
 
+
* by default is unchecked
-
* by default is unchecked  
+
=== Air ===
=== Air ===
Line 56: Line 55:
* On change from uncheck TO check:
* On change from uncheck TO check:
** show “DeliveryComment” label + textbox
** show “DeliveryComment” label + textbox
-
** copy ExpTab.15c.Destination Terminal.ATA value into ComTable.ContainerTable.ActualDeliveryDateDATEBOX (for EVERY container)
+
** copy ExpTab.15c.Destination Terminal.ATA value into ContTab.ContainerTable.ActualDeliveryDateDATEBOX (for EVERY container)
* On change from check TO uncheck:
* On change from check TO uncheck:
** hide “DeliveryComment” label + textbox
** hide “DeliveryComment” label + textbox
-
** clear ComTable.ContainerTable.ActualDeliveryDateDATEBOX (for EVERY container)
+
** clear ContTab.ContainerTable.ActualDeliveryDateDATEBOX (for EVERY container)
** clear “DeliveryComment” textbox // added june 12
** clear “DeliveryComment” textbox // added june 12
Line 85: Line 84:
** validation logic re-written
** validation logic re-written
** spec structure changed
** spec structure changed
 +
** summary added
 +
** http://mantis.jaguarfreight.com/wiki/Ops_Misc#Delivery_Comment_Check_Box_Rel_1.1 removed

Current revision as of 17:42, 5 February 2010


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