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. 

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

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

  • Custom PNR

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

  • Supported GDS:

Sabre
    • Apollo

    • Amadeus

    • Galileo

(Apollo)
Worldspan
    • Sabre

Travelport+ (
    • Worldspan

)
  • XML tags - Available 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

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

mappings
  • configurations.

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

mapping

configuration within the site.

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

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

mapping
  • 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, Firefox etc. (or) work in incognito mode.

Additional Scripts, please click below links for further information.

  • Custom PNR Mobile Scripts

  • Custom PNR Rail Scripts

  • Custom PNR PTA Scripts

    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 output of the script should coincide with its name. 

    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.

     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.
    Image Added

    Common PNR Field Types used

    • Accounting ID: Standard script line, typically used unless the script involves one of the following line 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

    • PNR Mask is located at the bottom of the PNR

    mapping
    • configuration. You will want to select those field types which you have customized

    with mapping
    • within the PNR configuration.

      • 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 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. Please configure based on what works best for you.

    Suppress

    by Changing GDS to one that is not being used in the site.
    • Select Edit to the right of the script.

    Image Removed
    • Select box to the left of the GDS you are not writing to, in this case 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.

    • Select Save.

    Image RemovedSuppress

    using Scripting format.

    • Select Edit to the right of the script.

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

    • Enter comment line as the second line of the

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

    .Image Removed
    • .

    Image Added

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

    • Select Edit to the right of the script.

    Image Added
    • Select box to the left of the GDS you are not writing to, in this case I am selecting Apollo.

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

    Image Added

    Editing PNR Line

    • Select Edit

    Image Removed
    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.

    • Select Save.

    Image Removed
    Image Added

    Add PNR Line

    • Select Add PNR Line.

    Image Removed
    Image Added
    • Customize PNR Line.

      • Enter Line Number.

      • Select PNR Field Type.

      • Customer PNR Requirements: Enter script.

      • Select Requirement Type = Script or Text.

    Note: Text is rarely used, select script unless otherwise instructed differently by Deem.

    • Select GDS.

    • Select Save.

    Image Removed
    Image Added

    Remove PNR Line

    Removing a line is not recommended, it is best to suppressed using steps previously mentioned.

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

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

    Image Removed
    Image Added
      Mapping
      • PNR configuration will re-display and the line will be gone.

      Saving changes

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

      mapping

      configuration.

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

      Image Removed
      Image Added
      • Select changes not applied in the upper right-hand corner of your screen.

      Image Removed
      Image Added
      • Select Commit.

      Image Removed
      Image Added
      • Test - Always test to

      insure
      • ensure the changes  you have made are working properly.

      Additional Resources

      Helpful Links

      Additional Resources

      Special Reminder

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