I am trying to write a logic in an agent. Can someone help me fix the issue?
Summary:
I am writing an agent logic where when an arrival tracking event is entered in the system for a shipment stop, if the arrival timestamp is greater than the planned departure-activity_time of the stop(this is basically attribute_Date3 in our business) by more than 1 hour, we should be able to insert a shipment stop refnum : DELAY_INDICATOR in the shipment stop and mark it as YES.
I am writing this logic in the agent which will be triggered when SHIPMENT - STATUS CHANGED(Restrictions : INTEGRATION or INTERNAL or USER, ENROUTE_COMPLETED or ENROUTE_DELAYED or ENROUTE_ENROUTE) event occurs.
Tagged:
0