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

To download above documentsdocument:

  • Click on desired the document to open it. Then, click on the cloud symbol in the top right corner of your screen to download, save, or print.

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)

...

On this page:

Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printablefalse

Overview

The PNR can be customized to contain meet a company’s needs, such as adding basic information (e.g., such as adding a cost center to a name field, ) or to control processes, such as controlling processes (e.g., 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

...

). 

Need to know

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

  • Supported

...

  • Sabre

  • Amadeus

  • Galileo (Apollo)

  • Worldspan

...

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

...

PNR Field Type and Masking

...

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

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

...

The field 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. 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.

...

  • Select the GDS you are not writing to; In this 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.

...

Suppress using Scripting format.

  • Select Edit.

...

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

  3. Enter comment line as the second line of the

...

  1. script, indicating date suppress, your initials, and any explanation why. This is freeform but must start with a double slash ( // ).

  2. Enter

...

  1. */

...

  1. as the last line of the script. 

...

Click Save.

...

Editing PNR Line

  • Select Edit.

...

  1. CustomPNR1.pngImage Added

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

    Image Added
  2. Select box to the left of the GDS that you are not writing to.

  3. Un-check the GDS you are currently configuring; in this example, I am writing to Sabre; therefore, I have un-checked the Sabre GDS.

  4. Select Save.

...

Edit PNR lines

  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

...

  • Click Add PNR Line.

...

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

...

Remove PNR Line

  • Click Remove.

Note: Please see above option for Suppressing PNR Line.

...

line

  1. From the PNR configuration list, select Add PNR Line (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.

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

...

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

...

  1. lower right-hand corner of the

...

  1. configuration page.

...

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