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.xlsx
View file
nameCustom PNR Mapping.pdf

To download above documentsdocument:

...

Supported GDS

  • Sabre

  • Amadeus

  • Galileo (Apollo)

  • Worldspan

...

  • Click on desired documentClick on the document to open it. Then, click on the cloud symbol in the upper top right -hand corner of your screen , this will allow you to download, save and/, or print

  • Click on video above to see full demonstration (Coming soon)

Additional Links

Custom PNR Editor Script Samples for Mobile

Custom PNR Editor Script Samples for Train Service

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

Table of Contents
minLevel1
maxLevel7

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.

  • .

On this page:

Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printablefalse

Overview

The PNR can be customized to meet a company’s needs, such as adding basic information (e.g., adding a cost center to a name field) or controlling processes (e.g., ticket exchanges and Pre-Trip Approval). 

Need to know

  • Custom PNR will clone over from your template. Minimal changes may need to be made.

  • Supported GDSs include Apollo, Amadeus, Galileo / Travelport+, Sabre, and Worldspan.

  • XML tags are listed in the Excel spreadsheet at the top of this article.
    Note: Deem uses XML to store and transmit data on each booking. The Custom PNR Configuration uses a version of java scripting to translate the XML booking conditions and booking data into PNR formats. Your template site should account for the majority of your PNR format requirements.

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

  • If you need more than one PNR

...

  • configuration, you will not have the ability to clone. You must manually create the additional PNR

...

  • configurations. For example, if you are writing to different PCCs or even more than one GDS, you

...

  • will need to manually create a second

...

  • configuration within the site.

  • Open the site in a second browser window and then you can copy and paste the information from one

...

  • configuration to the other. You can make the necessary changes to the second

...

  • configuration as needed. 
    Hint: You can work in more than one browser type at a time

...

  • . You will need to use two different browser

...

  • services, such as

...

  • Google Chrome, Chrome Edge, or Firefox, or work in incognito mode

...

Additional Scripts

Updating

...

Task

...

Process and Helpful Hint

...

PNR Field Type

...

  • .

Access custom PNR fields

  1. From the partner dashboard home page, select the Settings link for the site you want to modify.

  2. From the top menu, select the Services tab.

  3. Select the Travel Agency link.

  4. Select the Custom PNR link.

  5. Select the custom PNR configuration that you want to modify.

The list of existing custom PNR fields displays.

PNR field type and masking

The PNR field type defines where in the flow each line will write to the PNR.

...

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

...

name. For example, 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

...

field

...

Common PNR Field Types used

...

type of Accounting ID is a standard script line and is typically used unless the script involves one of the following

...

types:

  • Remark

...

Amtrak Lines

...

  • :Commonly used for Amtrak and SWABIZ

  • 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

...

  • :Reporting

...

  • fields

PNR Mask

...

is located at the bottom of the PNR

...

configuration. Select the field types

...

that you have customized

...

within the PNR configuration. To select more than one line item, hold down the Ctrl key

...

and select each line item.

In

...

the example, the following are selected: Address, Agency Phone, Delivery, Email, FOP, Other Phone, Received, Ticketing.

...

Updating PNR Lines

...

Process and Helpful Hint

...

Update PNR lines

Anchor
Suppress
Suppress
Suppress line from triggering

You can make your template

...

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

...

. This can be completed in two separate ways – either by using a scripting format or by changing the GDS. Choose which method works best for you.

Suppress using scripting format

  1. Select Edit to the right of the script.

    Image Added
  2. Enter /* to the as the first line of the script.

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

  4. Enter */ as the last line of the script. 

    CustomPNR1.pngImage Added
  5. Select Save.

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

  1. Select Edit to the right of the script.

...

  1. Image Added

...

  1. Select box to the left of the GDS that you are not writing to

...

  1. .

  2. Un-

...

  1. check the GDS you are currently

...

  1. configuring; in this example, I am writing to Sabre; therefore, I have un-checked the Sabre GDS.

...

  1. Select Save.

...

...

Edit PNR

...

lines

  • Click on Edit to the right of the script

...

  1. Select Edit for the PNR line you want to edit.

  2. Edit line as needed; in the example below,

...

  1. the

...

  1. number changed from 83 to 82. Keep in mind, you can change not only the line number but also the PNR

...

  1. field type, the

...

  1. custom PNR

...

  1. requirement (script), or even the GDS.

...

  1. Select Save.

...

Add a PNR

...

line

  1. From the PNR configuration list, select Add PNR Line

...

  • Customize PNR Line

    • Enter Line Number

    • Select PNR Field Type

    • Customer PNR Requirements: Enter script

    • Select Requirement Type = Script or Text

    • Select GDS

    • Click on Save

...

Remove PNR Line

...

  1. (located at the top right of the table or at the end of the table).

  2. Enter a line number.

  3. Select the PNR field type.

  4. Enter the script in the Custom PNR Requirement field.

  5. For Requirement Type, select Script unless otherwise instructed by Deem. Text is rarely used.

  6. Select the GDS.

  7. Select Save.

Remove a PNR line (not recommended)

Important: Removing a line is not recommended; it is best to suppress the line using the steps above.

...

  1. Select Remove to the right of the script/line you would like to remove.

  • 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.

...

  1. Image Added
  2. Select OK to confirm you would like to make the remove the line

...

  1. .

The PNR configuration will re-display and the line will be gone.

...

Save changes

...

Any time you make a change to or update

...

the configuration, you must save and commit the changes.

  1. Select Save located in the lower right-hand corner

...

  1. of the configuration page.

  2. Select changes not applied in the upper right-hand corner of your screen.

...

  1. Image Added

...

  1. Select Commit.

...

  1. Image Added
  2. Test - Always test

...

  1. to ensure the changes that you have made are working properly.

Additional resources

Refer to the following for more information:

Special Reminder

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