Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
maxLevel3
stylenone

...

Introduction

These scripts reflect sample documentation that can be added to the GDS PNR as a trip requiring pre-trip approval makes its way through the process.

In order to ensure that the entries that need to be added AFTER the initial PNR creation are triggered when applicable, be sure to especially note the PNR Field Type 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.

Note: The following scripts can be added to two different areas: Custom PNR and Queue/Delivery Options

Custom PNR scripts

The following scripts are added in Services Tab > Agency Configuration > Custom PNR

...

Tag/keyword
Secondary tag/keywords
Script
PTA

TAW - approved

PNR Field Type = Pre Trip Approval



Code Block
languagejava
titleTAW - Approved
collapsetrue
//TAW - PTA - PENDING

if (UserPnrData.UserBooking.PreTripApprovalInfo.CurrentApprovalState=="APPROVED")

with(UserPnrData.UserBooking.AgencyTransactionDate){
out.print("7TAWABCD" + Day + Month + "101/ETKT REQ");}   


Queue/Delivery Options

Queue delivery - ticketing queue block

...