Ops Etc

From UG

Revision as of 10:58, 7 August 2011 by Andrei (Talk | contribs)
Jump to: navigation, search


Contents

Delivery Comment Check Box

Delivery Comment Check Box Rel 1.0

  • mantis: 984: [Ops.Common.EnterDeliveryCommentCheckBox]

General

  • 1. add label "Enter Delivery Comment" + check box; default=unchecked
  • 2. add above “DeliveryComment”
  • 3. If unchecked then hide “DeliveryComment” label + textbox

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

Delivery Comment Check Box Rel 1.1

  • FCL logic update: apply logic not for EVERY container but for EVERY container with Cont. assigned?=true
  • note: "Cont. assigned?" is a column in CT.ContainersTable

http://mantis.jaguarfreight.com/mantis/view.php?id=1326

Delivery Comment Check Box Rel 1.2 Prevent copying nothing into Actual Delivery Date

  • 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 "

see http://mantis.jaguarfreight.com/mantis/view.php?id=1409

Delivery Comment Check Box Rel 1.3 Two more validation rules

  • 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

Delivery Comment Check Box RFC

  • 1 // For AIR, OCN.

ImpTab. Delivery Comment logic must be updated to block users from saving Delivery comment if Delivered date remains empty at the moment of Save. Reason: it creates inconsistent state - CT will be on Live CT with delivery comment set. (This happens when arrival dates are empty and systems "copy nothing" to deliv date - see http://mantis.jaguarfreight.com/wiki/Ops_Misc#Delivery_Comment_Check_Box_Rel_1.2 above.

  • 2 // It is possible to clear "ImpTab.Actual Delivery Date" with "c" now. At the same time "Delivery Comment" will remain set. CT would be on Live Tab.

Possible solutions: a) Block users from clearing "ImpTab.Actual Delivery Date" if "Delivery Comment" is set; b) see #4 below

  • 3 // It is possible now to set "Enter Delivery Comment" checkbox and Save. At the same time "Delivery Comment" would be empty. Is this confusing?
  • 4 // As we can see delivery comment logic design is complex with a lot of possible cases and sub cases. Maybe we need to take radical approach and simplify "Delivery Comment" logic all together (for example have it as in CT1 without any dates propagation, check box states, etc.) Dates could be set by operator. In CT1 there are only two cases (as far as I understand):
    • IF Deliv Comment Textbox is not empty THEN ignore Actual Deliv Dates values and moved CT to "Delivered State"
    • ELSE IF Deliv Comment Textbox is empty THEN "Delivered/Live State" will be defined by Actual Deliv Date(s)

One question with this simplified design is: somebody must still set Actual Deliv Dates for CT to switch on "Archived state" at some point

History

Personal tools