Custom PNR Mapping
View file | ||
---|---|---|
|
To download above document:
Click on 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 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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.
View file | ||
---|---|---|
|
Table of Contents |
---|
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.
...
Supported GDS
Sabre
Amadeus
Galileo (Apollo)
Worldspan
...
).
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
From the partner dashboard home page, select the Settings link for the site you want to modify.
From the top menu, select the Services tab.
Select the Travel Agency link.
Select the Custom PNR link.
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
...
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, then it may not.
Common PNR Field Types used
...
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 | ||||
---|---|---|---|---|
|
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
Select Edit to the right of the script.
Enter /* to the as the first line of the script.
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 ( // ).
Enter */ as the last line of the script.
Select Save.
Suppress by changing GDS to one that is not being used in the site
Select Edit to the right of the script.
...
...
Select box to the left of the GDS that you are not writing to
...
.
Un-
...
check the GDS you are currently
...
configuring; in this example, I am writing to Sabre; therefore, I have un-checked the Sabre GDS.
...
Select Save.
...
...
Edit PNR
...
lines
Click on Edit to the right of the script
...
Select Edit for the PNR line you want to edit.
Edit line as needed; in the example below,
...
the
...
number changed 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.
...
Select Save.
...
Add a PNR
...
Click on 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
...
line
From the PNR configuration list, select Add PNR Line (located at the top right of the table or at the end of the table).
Enter a line number.
Select the PNR field type.
Enter the script in the Custom PNR Requirement field.
For Requirement Type, select Script unless otherwise instructed by Deem. Text is rarely used.
Select the GDS.
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.
...
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.
...
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.
Select Save located in the lower right-hand corner
...
of the configuration page.
Select changes not applied in the upper right-hand corner of your screen.
...
...
Select Commit.
...
Test - Always test
...
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.