With this element, the system restores HX segments in the PNR to their original booking class if no replacement has been provided.
Before restoration, the system checks that there are no substitute segments for the given HX segment – that is, no new segments with the same origin and destination and with one of the following statuses: HK, HS, NS, XM, LK, KL, SA, RR, HL, SS, SC, TK. If such an alternative is found, the restoration of HX segments is not performed.
This functionality can be useful for restoring cancelled HX segments that were removed from the PNR by the carrier.
(i) This element does not perform a new fare recalculation for the restored segments.
Equivalent commands
Sabre – WC
Recommendations and limitations
- It is not recommended to restore HX segments if the schedule change in the PNR has not yet been confirmed. Restoring in such cases may result in duplicate segments and complicate the booking structure.
- If the airline has already added new segments, reissued the tickets, and all coupons are in a synchronized state, restoring HX segments is not required.
- We recommend processing schedule changes in a timely manner, as multiple unconfirmed schedule changes received consecutively may be mistakenly interpreted by the system as independent events. This may lead to the restoration of outdated HX segments.
Key checks
Coupons and segments do not match (condition) – this check helps identify cases where a schedule change occurred and tickets were reissued (segments and coupons are now in a synchronized state).
Segment statuses (condition) – allows verifying the presence or absence of other segment statuses besides HX.
Settings
No specific settings are required.
Workflow behavior
Processing will complete successfully if HX segments are found that are not covered by schedule change segments and are successfully restored to HK status.
Exits via OK if:
Event #3160: Segments recovered
Exits via FAIL if:
Event #3162: No schedule changes without alternatives for restoring HX segments
Event #3163: No segments with HX status and no alternatives
In Test mode:
Processing the scheme in Test mode will result in exit on Fail
Examples
The segment with status code HX has no alternative
#1 LX 8066 W ZRHMLE 25OCT 19:20 – HK
#2 UL 0102 Q MLECMB 08NOV 09:25 – HX
#3 LX 8065 K CMBZRH 15NOV 11:55 – TK
Processing result: OK (Event #3160)
Explanation: Segment #2 was restored (HX → HK) because there is no alternative for the HX segment.
The HX segment is overlapped by a segment with status HK
#1 ET 0378 U ADDMGQ 26JUN 14:45 – HX
#2 ET 0376 U ADDMGQ 27JUN 08:50 – HK
#3 ET 0379 U MGQADD 23JUL 18:00 – HK
Processing result: FAIL (Event #3163)
Explanation: The segment was not restored because an alternative exists on segment #2.
The HX segment is overlapped by a segment with status TK
#1 FI 0522 V KEFFRA 29SEP 10:20 – HX
#2 FI 0522 J KEFFRA 29SEP 10:20 – TK
#3 A3 0431 U FRAHER 29SEP 18:35 – HK
Processing result: FAIL (Event #3162)
Explanation: The HX segment was not restored because a similar segment with status TK was found.
The HX segment is overlapped by a TK status segment, but the route has changed
#1 B6 0524 L LAXJFK 01NOV 13:30 – HX
#2 B6 0388 L LAXBOS 01NOV 13:40 – TK
Processing result: OK (Event #3160)
Explanation: Segment #1 was restored (HX → HK) because there is no alternative for the HX segment (i.e., no identical flight with the same routing).
Notes
Often used with
Ticket has been issued (preceding condition) – allows checking whether a ticket has been issued for the given PNR
Similar functionality
A similar function is available in the Start element in PNR pricing schemes for all GDSs (1A, 1S, 1G). This option – Attempt to restore HX segments to the original reservation class – allows fare pricing to be performed on restored segments.