Delivery Comment
From UG
Contents |
Mantis
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
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
User Interface
- See Figure 1
- consists of check box (always visible) and text box (in unchecked then textbox is 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
- Old link: http://mantis.jaguarfreight.com/wiki/Ops_Misc#Delivery_Comment_Check_Box
- Related mantises:
Revised Logic (ver 2.0)
- spec updated
- mantis: http://mantis.jaguarfreight.com/mantis/view.php?id=1634
- changes:
- validation logic re-written
- spec structure changed
- summary added
- http://mantis.jaguarfreight.com/wiki/Ops_Misc#Delivery_Comment_Check_Box_Rel_1.1 removed