Versions Compared

Key

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

The PNR can be customized to contain basic information, such as adding a cost center to a name field, or to control processes, such as ticket exchanges and Pre-Trip Approval. You must be familiar with PNR scripting for the GDS you are using.

View file
nameDEEM XML Tags_PNR and Scripting.xlsxCustom PNR Mapping_14AUG23.pdf
View file
nameCustom PNR Mapping.pdfDEEM XML Tags_PNR and Scripting.xlsx

To download above documents:

...

Custom PNR Editor Script Samples for Pre-Trip Approval (PTA)

Table of Contents
minLevel1
maxLevel7

The PNR can be customized to contain basic information, such as adding a cost center to a name field, or to control processes, such as ticket exchanges and Pre-Trip Approval. You must be familiar with PNR scripting for the GDS you are using.

Benefits and Need to Know

Benefits and Need to Know

Benefits

  • Ability to customize PNR based on company needs, such as custom reporting fields.

Need to Know

You may not need to make many changes as Deem designed the PNR mapping within your agency template around your agency specs during the implementation process
  • Customer PNR Mapping will clone over from your template. Minimal changes may need to be made.

  • Supported GDS

    • Sabre

    • Amadeus

    • Galileo (Apollo)

    • Worldspan

  • XML tags - Available at the top of this article

  • If you need help with a PNR script, please open a Deem Support Case

  • If you need more than one PNR mapping, you will not have the ability to clone. You must manually create the additional PNR mappings.

Example: If you are writing to different PCCs or even more than one GDS, you would need to manually create a second mapping within

the site.Open

the site

in a second browser window and then you can copy and paste the information from one mapping to the other. You can make the necessary changes to the second mapping as needed

.

 

Hint: You can work in more than one browser type at a time

Make sure you are working in either

. You will need to use two different browser

types

services, such as

Firefox and

Google Chrome, Chrome Edge, Firefox etc. (or) work in incognito mode

within one of the browser windows you have opened

.

...

PNR Field Type and Masking

Task

Process and Helpful Hint

PNR Field Type

  • The PNR Field Type defines where in the flow each line will write to the PNR. 

In general practice, the
  • The output of the script should coincide with its

name 
  • field type

Example:

if

If the agency is overriding the ticketing line, then the script(s) that generate the custom ticketing line should generally be associated with PNR field type Ticketing, not Name or Account ID

The reason for this
  • This is to maintain the appropriate flow of building a PNR. 

  • There are times where the ticketing line may need to be entered twice, or perhaps later in the creation/modification of a PNR. If the custom PNR field has a field type set to Ticketing, the line will write appropriately, but if it's set to Name or Account ID, then it may not.

Common PNR Field Types

used

.

  • Accounting ID

=
  • : Standard script line, typically used unless the script involves one of the following line types.

  • Remark

=
  • : Remark Lines.

    • Amtrak Lines.

    • SWABIZ Lines.

  • Post ER

=
  • : Script triggers after initial ER.

  • Pre Trip Approval

=
  • : Pre-Trip Approval scripts.

  • Profile

=
  • : Company Profile script or those associated with the profile.

  • Received

=
  • : Received from field

 
  • .

  • Ticketing

=
  • : Ticketing Lines.

  • UDID

=
  • : UDID Reporting Fields.

PNR Mask

PNR Mask is located at the bottom of the PNR mapping. You will want to select those field types which you have customized in your scripts.

  • To select more than one line item, hold down the Ctrl key on your keyboard and select each line item.

  • In this example I have selected: Address, Agency Phone, Delivery, Email, FOP, Other Phone, Received, Ticketing.

Image Removed
Image Added

Updating PNR Lines

Process and Helpful Hint

Suppressing line from triggering

You can make your template

site

as robust as you would like, and then suspend/suppress a script from writing instead of completely removing it

Example: You can add reporting fields/UDIDs as a placeholder in your template, and if not needed, you can take the following steps to suspend/suppress the line from writing verses completely removing, as you may need it in the future. This saves you a great deal of time when configuring your mapping for all of your clients.

  • Find line in mapping

  • Click on

    . This can be completed in two separate ways. Please configure based on what works best for you.

    Suppress by Changing GDS to one that is not being used in the site.

    • Click Edit to the right of the script.

    Image Removed
    Image Added
      Check box to the left of the
      • Select the GDS you are not writing to

      , in
      • ; In this

      case
      • example I am selecting Apollo.

      • Un-Check the GDS you are currently mapping to; in this example, I am writing to Sabre therefore I have un-checked the Sabre GDS.

      • Click Save.

      Image Removed

      Editing PNR Line

      • Click on Edit to the right of the script

      Image Removed
      Image Added

      Suppress using Scripting format.

      • Select Edit.

      Image Added
      • Enter (/*) to the as the first line of the script.

      • Enter comment line as the second line of the scrip, indicating date suppress, your initials and any explanation why. This is freeform but must start with a double slash (//).

      • Enter (*/) as the last line of the script. 

      • Click Save.

      Image Added

      Editing PNR Line

      • Select Edit.

      Image Added
      • Edit line as needed; in the example below, I am changing the line number from 83 to 82. Keep in mind, you can change not only the line number but also the PNR Field Type, the Custom PNR Requirement (script) or even the GDS.

      • Click Save.

      Image Removed
      Image Added

      Add PNR Line

      • Click

      on
      • Add PNR Line.

      Image Removed
      Image Added
      • Customize PNR Line.

        • Enter Line Number: Can not use the same line number more then once. 

        • Select PNR Field Type: Select one that best represent the function of the line.

        • Customer PNR Requirements: Enter script.

        • Select Requirement Type

      =
        • : Script or Text.

        • Select GDS.

        • Click

      on
        • Save.

      Image Removed
      Image Added

      Remove PNR Line

      • Click

      on
      • Remove

       to the right of the script/line you would like to removeImage Removed
      • .

      • Hint: instead of removing the script you may want to suppress using the script above just in case you would like to use the script later.

      Note: Please see above option for Suppressing PNR Line.

      Image Added
      • Click OK to confirm you would like to make the remove the line.

      Image Removed
      Image Added
      • Mapping will re-display and the line will be

      gone
      • removed.

      Saving changes

      You will need to take the following steps anytime you make a change or update to the mapping.

      • Click Save located in the

      lower
      • bottom right-hand corner of the screen.

      Image Removed
      Image Added
      • Click

      on
      • changes not applied in the upper right-hand corner of your screen.

      Image Removed

      Image Added

      • Click

      on
      • Commit.

      Image Removed
      Image Added
      • Test - Always test anytime you make an update to the site.

      Special Reminder

      If you need guidance with a script, please open a Deem Support Case, Deem is here to help.