These scripts reflect sample documentation which can be added to the GDS PNR as a trip requiring Pre-Trip Approval makes it's way through the process.
In order to ensure that the entries which need to be added AFTER the initial PNR creation are triggered when applicable, be sure to especially note the PNR Field Type for in the Secondary tag/keywords column. If a script is noted with PNR Field Type = Pre Trip Approval, but is not configured as such, the corresponding entry will not be added to the PNR.
State - Pending/Waiting for Approval
Trip has been submitted for Pre-Trip approval, which is now in a pending state
Tag/keyword | Secondary tag/keywords | Script |
---|---|---|
PTA | Pending Approval State PNR Field Type = Accounting ID |
State - Approved
Trip has been approved
Tag/keyword | Secondary tag/keywords | Script |
---|---|---|
PTA | Approved Approval State PNR Field Type = Pre Trip Approval |
State - Declined
Pre-Trip Approval has been declined
Tag/keyword | Secondary tag/keywords | Script |
---|---|---|
PTA | Declined Approval State PNR Field Type = Pre Trip Approval |
State - Expired
Pre-Trip approval process has expired
Tag/keyword | Secondary tag/keywords | Script |
---|---|---|
PTA | Expired Approval State PNR Field Type = Pre Trip Approval |
Email of Primary Approver (script 1)
This script adds the primary approver to whom the Pre-Trip Approval Email was sent. Email special character substitutions may need to be updated based on your agency requirements (see other email scripts on your site)
Tag/keyword | Secondary tag/keywords | Script |
---|---|---|
PTA | Primary Approver Email PNR Field Type = Remark |
Email of Primary Approver (script 2)
This is an alternate script to add the primary approver to whom the Pre-Trip Approval Email was sent. This script doesn't contain any email special character substitutions
Tag/keyword | Secondary tag/keywords | Script |
---|---|---|
PTA | Primary Approver Email 2 PNR Field Type = Remark |
Primary or Secondary Travel Approver to the PNR
This script will fire when the Primary or Profiled Travel Approver has approved the trip
Tag/keyword | Secondary tag/keywords | Script |
---|---|---|
PTA | Primary or Secondary Travel Approver to the PNR |
PNR not approved by Primary/Profiled Travel Approver and skips over the Secondary Approver:
Tag/keyword | Secondary tag/keywords | Script |
---|---|---|
PTA | Secondary Approver skipped |
TAW - Pending/Waiting for Approval
Although PNRs which are pending approval are generally blocked from dropping on the agency ticketing queue, you can enter a unique TAW for them, if required.
Tag/keyword | Secondary tag/keywords | Script |
---|---|---|
PTA | TAW - pending PNR Field Type = Accounting ID |
TAW - Trip Approved
If a "pending approval" TAW is used for trips waiting for approval, that TAW should be updated once a trip has been approved. This script will update the TAW when a trip has been approved.
Tag/keyword | Secondary tag/keywords | Script |
---|---|---|
PTA | TAW - approved PNR Field Type = Pre Trip Approval |
Queue Delivery - Ticketing Queue Block
This script is added to a Queue Delivery Option - Block itineraries that are triggered for pre-trip approval from passing to the normal ticketing queue (as they would if pre-trip approval was not enabled). This script allows itineraries that do not trigger pre-trip approval to pass to the normal ticketing queue as usual, but stops itineraries that trigger pre-trip approval from going to ticketing before they are approved.
Tag/keyword | Secondary tag/keywords | Script |
---|---|---|
PTA | Ticket Queue |
Queue Delivery - Pending/Waiting for Approval
This script is added to a Queue Delivery Option - Add this script to a queue delivery option if you'd like to drop on a queue PNRS which have been sent for Pre-Trip Approval
Tag/keyword | Secondary tag/keywords | Script |
---|---|---|
PTA | Pending Approval |
Add Comment