Versions Compared

Key

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

...

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.

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)

Table of Contents

...

Need to

...

Benefits and Need to Know

...

Benefits

...

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

...

Need to Know

know

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

  • Supported

...

  • Apollo

  • Amadeus

  • Galileo

  • Sabre

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

Access custom PNR fields

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

PNR Field Type and Masking

...

Task

...

Process and Helpful Hint

...

PNR Field Type

...

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

  2. Select the Travel Agency link.

  3. Select the Custom PNR link.

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

  • Used to maintain the appropriate flow of building a PNR.

...

Common PNR Field Types used

...

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

...

  1. Image Added
  2. Enter

...

  1. /*

...

  1. to the as the first line of the script.

  2. 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 ( // ).

  3. Enter

...

  1. */

...

  1. as the last line of the script. 

    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.

...

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

...

  1. .

  2. Un-

...

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

  2. Select Save.

...

...

Edit PNR

...

lines

  1. Select Edit

...

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

  2. Select Save.

...

Add a PNR

...

line

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

...

Customize 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

...

  1. field type.

...

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

...

  1. For Requirement Type

...

  1. , select

...

  1. Script unless otherwise instructed

...

  1. by Deem. Text is rarely used.

  2. Select the GDS.

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

...

  1. 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 lower right-hand corner of the configuration page.

...

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

...

  1. Image Added
  2. Select Commit.

...

  1. Image Added
  2. Test - Always test to ensure the

...

  1. changes that you have made are working properly.

Additional

...

Helpful Links

...

Additional Resources

...

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.