Example Rules

Example Rules

The following tables contain some example rules that you can use to route trailers according to your requirement.

Equipment damaged - send to inspection area

And/Or Object Parameter Operator Object Parameter Value
  Equipment Condition = Constant character Damaged  
And Destination Area Area Name = Constant character Inspection  

Seal damaged - send to inspection area

And/Or Object Parameter Operator Object Parameter Value
  Seal Status Identifier = Constant number 3  
And Destination Area Area Name = Constant character Inspection  

Carrier has priority, but no appointment - send to any available dock door

And/Or Object Parameter Operator Object Parameter Value
  Equipment Appointment Identifier IS NULL      
And Carrier SCAC Code = Constant character UPS  
And Destination Area Area Name = Constant character Dock Door  

Equipment is Live Unload, Load type is Perishable and no appointment - use doors between 25-50

And/Or Object Parameter Operator Object Parameter Value
  Equipment Live Unload = Constant character Y  
And Equipment Load Type = Constant character Perishable  
And Equipment Appointment Identifier IS NULL      
And Destination Area Area Name = Constant character Dock Door  
And Destination Spot Spot Name >= Constant character D25  
And Destination Spot Spot Name <= Constant character D50  

Appointment exists and start time < 15 minutes from now - send to appointment dock door

And/Or Object Parameter Operator Object Parameter Value
  Appointment Start Time < Expression SELECT sysdate + (15/(24*60)) FROM dual  
And Destination Area Area Name = Constant character Dock Door  
And Appointment Dock Door Name = Destination Spot Spot Name  

This rule will fail if the dock door is occupied.

Appointment exists but previous rule failed (dock not available or appointment start time is more than 15 minutes from now) - send to waiting area

And/Or Object Parameter Operator Object Parameter Value
  Equipment Appointment Identifier IS NOT NULL      
And Destination Area Area Name = Constant character Waiting  

Equipment Content is an Inbound shipment and Equipment Type is 28 ft high cube trailer

And/Or ( Object Parameter Operator Object Parameter Value )
  ( Equipment Content Document Type Identifier = Constant number 1    
Or   Equipment Content Document Type Identifier = Constant number 2    
Or   Equipment Content Document Type Identifier = Constant number 3    
Or   Equipment Content Document Type Identifier = Constant number 4   )
And   Equipment Type Type = Constant character 28 ft high cube trailer    
And   Destination Area Area Name = Constant character Waiting    

Equipment is empty and not Live Unload or Live Load - send to empty trailer storage

And/Or ( Object Parameter Operator Object Parameter Value )
    Equipment Load Status Identifier = Constant number 6    
And ( Equipment Live Unload IS NULL        
Or   Equipment Live Unload <> Constant character Y   )
And ( Equipment Live Load IS NULL        
Or   Equipment Live Load <> Constant character Y   )
And   Destination Area Area Name = Constant character Storage