AX Tools
Transfer_macro
- When you have a flight, display the flight details so easy on the eye - presumably this can be der0vied from the flight id:
- Flight #/airline
- To/From
- Either the Scheduled Departure (for depatures) or Arrival (for Arrivals) time
- Updated time (ie delays etc)
- In the Transfer_macro, when spooling through the flights, only show the flights where the Date of the flight equals the date of the trip and the ‘direction’ is correct, namely:
- Airport pickups: (ie meeting clients at the airport and taking to the resort- i.e. destinationStart = Airport) - then we are meeting a flight arrival
- If transfer.destinationStart = 'GVA", then look for flightTrips where flightTrip.arrivalAirport = destinationStart
- Airport dropoffs: (ie depositing clients at the airport and starting from the resort- i.e. destinationEnd = Airport) - then we are meeting a flight departure
- If transfer.destinationEnd = 'GVA", then look for flightTrips where flightTrip.departureAirport = destinationEnd
- Airport pickups: (ie meeting clients at the airport and taking to the resort- i.e. destinationStart = Airport) - then we are meeting a flight arrival
- Compute the pickup time derived from flight or train times
- For pickups it is the flight/train arrival time plus the baggage time (eg 20mins for flights, 2mins for trains)
- For drop-offs (going to the airport), you have to work backwards from take flight time…. less commute time (see routes entity) and the check-in time allowance ,
- System Settings contain the airport and train station delays