User Tools

Site Tools


gn:message_templates_dfp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gn:message_templates_dfp [2026/06/29 15:43] – [Route section] nisgn:message_templates_dfp [2026/06/29 16:35] (current) nis
Line 5: Line 5:
 Keywords are used inside the {$ and} delimiters, for example, FLH.CODE. Keywords are used inside the {$ and} delimiters, for example, FLH.CODE.
  
-[[|Examples of DFP message templates]]+[[gn:examples_message_templates_dfp|Examples of DFP message templates]]
  
 ==== IMPORTANT ==== ==== IMPORTANT ====
Line 13: Line 13:
 If template-based messages are assigned the same message types as the [[|supported standard message types]], they will be processed both according to the [[|standard message processing rules]] and according to the template rules defined in the configuration. If template-based messages are assigned the same message types as the [[|supported standard message types]], they will be processed both according to the [[|standard message processing rules]] and according to the template rules defined in the configuration.
  
-{{|}}+{{:gn:templmsg.png?direct|Message types}}
  
 For example, if a template-based message is assigned the MVT message type, it will be processed by both mechanisms. For example, if a template-based message is assigned the MVT message type, it will be processed by both mechanisms.
Line 23: Line 23:
 ===== Route section ===== ===== Route section =====
  
-''Information is listed inside the `SCHEDULE … $SCHEDULEblock''+''Information is listed inside the SCHEDULE … $SCHEDULE block''
  
 Output modes: Output modes:
Line 72: Line 72:
 | AC.MTOW.KG       | Maximum takeoff weight (kg)                                                                                                                 | | AC.MTOW.KG       | Maximum takeoff weight (kg)                                                                                                                 |
 | AC.CONF          | Aircraft configuration, e.g. 12C278Y, 189Y, 220                                                                                             | | AC.CONF          | Aircraft configuration, e.g. 12C278Y, 189Y, 220                                                                                             |
 +^Times             ||
 +| STD[.TimeType].[[tg:message_templates_date_format|Format]]|Scheduled departure time. 'TimeType' accepts the following values: <empty> or 'Z' – UTC, 'L' – local time at the departure airport. \\ Scheduled Time of Departure|
 +|ETD.[[tg:message_templates_date_format|Format]] | Estimated departure time. \\ Estimated Time of Departure (wheels up) |
 +|ATD.[[tg:message_templates_date_format|Format]] | Actual departure time. \\ Actual Time of Departure |
 +|AOBT.[[tg:message_templates_date_format|Format]]| Actual off-block time. \\ Actual Off-Block Time    |
 +|STA[.TimeType].[[tg:message_templates_date_format|Format]]|Scheduled arrival time. 'TimeType' accepts the following values: <empty>` or 'Z' – UTC, 'L' – local time at the departure airport. \\ Scheduled Time of Arrival|
 +|ETA.[[tg:message_templates_date_format|Format]] | Estimated arrival time. \\ Estimated Time of Arrival (touch down) |
 +|ATA.[[tg:message_templates_date_format|Format]] | Actual arrival time. \\ Actual Time of Arrival (touch down) |
 +|AONBT.[[tg:message_templates_date_format|Format]] | Actual on-block time. \\ Actual On-Block Time |
 +^Delay ||
 +| DL.DEP.NAME | Departure delay description |
 +| DL.DEP.CODE |Departure delay code |
 +| DL.DEP.TIME.[[tg:message_templates_time_format|Format]] | Delay time (ETD/ATD − STD)|
 +^Special flight type||
 +|LITER.NAME | Name |
 +|LITER.CODE | Code |
 +^Preliminary information ||
 +^Crew ||
 +| PRE.CREW.TTL | Total number of crew members (flight crew + cabin crew) |
 +| PRE.CREW.CPT | Number of flight crew members |
 +| PRE.CREW.CAB | Number of cabin crew members |
 +^Passengers ||
 +| PRE.PAX.TTL | Total |
 +| PRE.PAX.TTL.B | Total, Business Class |
 +| PRE.PAX.TTL.Y | Total, Economy Class |
 +| PRE.PAX.TLS | Total occupied seats (blocked + booked) |
 +| PRE.PAX.TLS.B | Total occupied seats (blocked + booked), Business Class |
 +| PRE.PAX.TLS.Y | Total occupied seats (blocked + booked), Economy Class |
 +| PRE.PAX.BSN | Business Class |
 +| PRE.PAX.ADT | Adult passengers |
 +| PRE.PAX.CHD | Children (2–12 years) |
 +| PRE.PAX.INF |Infants (under 2 years) |
 +^Cargo ||
 +| PRE.CARGO.TTL | Baggage + Mail + Cargo |
 +| PRE.CARGO.BG | Baggage |
 +| PRE.CARGO.ML | Mail |
 +| PRE.CARGO.CG | Cargo |
 +^Fuel ||
 +| PRE.FUEL | Fuel from the preliminary data, rounded up to the next 100 kg |
 +| PRE.FUEL.UPLIFT | Fuel on board (FOB) from the OFP — FOB at the final point of the route (actual/estimated) from the previous OFP |
 +| PRE.FUEL.TAKEOFF | Fuel from the preliminary data (PRE.FUEL) − OFP taxi-out fuel |
 +| PRE.FUEL.ONBOARD | Fuel on board from the OFP. //Deprecated. Use OFP.FOB instead.// |
 +| PRE.FUEL.TAXIOUT | //Deprecated. Use OFP.TAXI.FUEL instead.// |
 +^Weight ||
 +| PRE.DOW | Dry operating weight. \\ DOW = aircraft structural weight + operating load for domestic flights from the [[|Aircraft directory]] + crew weight. \\ Crew weight = number of crew members in [[|Operational Information]] × [[|Crew Weight]] from the directory. |
 +| PRE.PLD | Payload = number of passengers from the [[|preliminary information]] × [[Passenger Weight]] + baggage + mail + cargo |
 +| PRE.ZFW | Zero fuel weight. PLD + DOW |
 +^Information from OFP ||
 +| OFP.FOB | Fuel on board (FOB) |
 +| OFP.FOBR | FOB at the final point of the route (actual/estimated) from the previous OFP |
 +| OFP.TOF | Fuel on board − taxi fuel |
 +| OFP.PLD | Payload |
 +| OFP.DOW | Dry operating weight |
 +| OFP.ZFW | ZeroFuelWeightMax |
 +| OFP.MTOW | TakeoffWeightMax |
 +| OFP.ETOW | TakeoffWeightEstimate |
 +| OFP.MLDW | LandingWeightMax |
 +| OFP.ELDW | LandingWeightEstimate |
 +| OFP.TRIP.FUEL | Trip fuel |
 +| OFP.TRIP.TIME.[[tg:message_templates_time_format|Format]] | Trip time |
 +| OFP.TAXI.FUEL | Taxi fuel |
 +^Crew information $CREW … $CREW ||
 +| CREW.ORDER | Sequence number (flight/cabin) |
 +| CREW.FIRSTNAME.ENG | First name (English) |
 +| CREW.SURNAME.ENG | Last name (English) |
 +| CREW.SEX | Gender (M/F) |
 +| CREW.CHAIR.CODE.ENG | Seat code |
 +| CREW.BIRTHDAY.[[tg:message_templates_date_format|Format]] | Date of birth in the specified [[tg:message_templates_date_format|format]] |
 +| CREW.ID.NUMBER | [[|ID card]] number |
 +| CREW.PS.NUMBER | [[|Passport]] number |
 +| CREW.PS.ISSUE | [[|Passport]] issue date |
 +| CREW.PS.EXP | [[|Passport]] expiry date |
 +| CREW.PHONE | Crew member phone number |
 +| CREW.NAT.ENG | Nationality |
 +| CREW.NAT.CODE2 |Nationality (2-letter code) |
 +| CREW.NAT.CODE3 | Nationality (3-letter code) |
 +^Count ||
 +| CREW.COUNT | Total |
 +| CREW.COUNT.CPT | Flight crew |
 +| CREW.COUNT.CAB | Cabin crew |
 +| CREW.COUNT.TCH | Technical personnel |
 +| CREW.COUNT.PAX | Positioning as passengers |
 +^Phone numbers ||
 +| CREW.PHONE.CPT | Flight crew |
 +| CREW.PHONE.CAB | Cabin crew |
 +| CREW.PHONE.TCH | Technical personnel |
 +| CREW.PHONE | All phone numbers |
 +^Email ||
 +| CREW.EMAIL.CPT | Flight crew |
 +| CREW.EMAIL.CAB | Cabin crew |
 +| CREW.EMAIL.TCH | Technical personnel |
 +| CREW.EMAIL | All email addresses |
 +^Permit information $PERMITS ... $PERMITS ||
 +| COUNTRY.CODE | Country code |
 +| COUNTRY.NAME | Country name |
 +| NUMBER | Permit number |
 +^Remarks ||
 +| RMK.FLIGHTNUMBER | Flight number remark |
 +| RMK.FLIGHTCODE | Carrier code remark |
 +| RMK.FLIGHT | Additional flight information in DFP |
 +| RMK.LEG|Additional leg information |
 +
 +===== Text Constants =====
 +
 +VAR.[name][|default_value]
 +
 +VAR.ARRIVE.[name] – [[|Constants]] filtered by the arrival [[|airport]].
 +
 +VAR.DEPART.[name] – [[|Constants]] filtered by the departure [[|airport]].
 +
 +If <default_value> is not specified, the constant is replaced with an empty string.
 +
 +{$UPPER ... $UPPER} converts text to uppercase.
 +
 +{$LOWER ... $LOWER} converts text to lowercase.
 +
 +
 +===== Miscellaneous =====
 +
 +^User (Users directory) ||
 +| USER.NAME                                       | Full name             |
 +| USER.EMAIL                                      |Email address          |
 +| USER.PHONE                                      |Phone number           |
 +^Time ||
 +| NOW.[[tg:message_templates_date_format|Format]] | Current date and time |
 +
 +
 +===== Address section =====
 +
 +Macros are specified inside the {$ } construct.
 +
 +| ADR.CARRIER               | Addresses from the address book filtered by carrier                                                      |
 +| ADR.ARRIVE.[group name]   | Addresses from the address book filtered by arrival airport                                              |
 +| ADR.DEPART.[group name]   | Addresses from the address book filtered by departure airport. An [address group] may also be specified. |
 +| ADR.NAV                   | Addresses from the Area Control Centers directory taken from the latest FPL                              |
 +| ADR.FPL                   | Addresses from the latest FPL                                                                            |
 +| ADR.[group name]          | Addresses from the address book filtered by [address group]                                              |
 +| <del>{$ADR.ACOWNER}</del> | <del>Addresses from the address book filtered by aircraft owner. Not used.</del>                         |
 +
 +Parameters enclosed in square brackets ''[ ]'' are optional.
 +
 +----
 +
 +===== See also =====
 +
 +[[|Message Processing]] |
 +[[|Supported Message Types]] |
 +[[|Message Templates (directory)]] |
 +[[|Catering Service Messages]] |
 +[[|Text Constants]] |
 +[[|tg:Source/TemplateGenerator]]
gn/message_templates_dfp.1782736993.txt.gz · Last modified: by nis