Fares

About User Defined Groups

A User Defined Group (UDG) is a table you can create to gather multiple pieces of data into one reusable package. For example, you can create a UDG with 100 city codes and then use that UDG in queries as often as you wish without the need to retype the codes.

Multiple UDGs can also be used in a single query. For example, in a query's criteria set you may wish to find fares holding 100 different fare classes between 100 origin cities to 100 destination cities. In this case, three UDG table names (one for the fare class codes, one for the origin city codes, and one for the destination city codes) can be typed in the criteria set, eliminating the need for manually typing the fare class and city codes themselves.

UDGs that you create can be copied or used in queries by anyone in your organization. However, you are the only person (based on your user ID) that can modify or delete them when the exclusive tag is checked. If the exclusive tag is not checked, then anyone can modify them.

UDGs can be created for the following types of data:

 

Location

The codes of AREA, ZONE, NATION, US STATE/CANADIAN PROVINCE or CITY can be used in the UDG type and may be used in combination, but it does not apply to specific city markets. Examples of Location UDGs are:

Market

The codes for cities can be used in grouping and require two city entries. Market UDGs are separated into three areas that are:

Fare Class

The codes for fares classes as defined in a specific rule in the ATPCO Passenger Automated Rules program under the Fare Class program. The use of a wildcard (-) is allowed in this UDG. An example of a Fare Class UDG is all 14 Day Advance Purchase fares BE14/HE14/YE14/KE14 or -14.

Fare Class Matching

This UDG provides users a quick way to add fares based on existing fares. Users can also cancel the existing fare by selecting Yes from the Cancel From Fares? drop-down list box. Fare class entries can only contain alpha or numeric characters. However, you can type six asterisks (for example, ******) or an alpha character followed by five asterisks (for example, A*****, B*****, C***** through Z*****). Wildcard characters are not permitted.

Fare Family Positional Match

You can match to a fare family where the alphanumeric characters listed are in specific positions. A symbol is used to match to a designated position of one or more alphanumeric characters within the fare class. Additional alphanumeric characters may or may not follow the designated alphanumeric characters. 
 
Option 1 – Whole Number 
 
Exclamation point (!) 
Numbers are applied as a single unit and will be treated as a whole number in the match process. 
 
Example: W!!M1! will match W21M1A or W2AM1B7 but will not match W21M17 or W2AM17B (‘W’ must be in position 1, ‘M’ must be in position 4, ‘1’ must be position 5. ‘1’ must remain a whole number; therefore, position 6 must be an alpha character). Having the ‘7’ in position 6 changes the ‘1’ to ‘17’.   
 
Option 2 – Position Only 
 
Ampersand (&) 
Numbers are matched as individual characters, each based on its position. 
 
Example: W&&M1& will match W21M1A, W2AM1B7, W21M17, or W2AM17B but will not match W21MA1 or W2AMB1 (‘W’ must be in position 1, ‘M’ must be in position 4, ‘1’ must be position 5. ‘1’ does not have to remain a whole number; therefore, position 6 may be an alpha or numeric character). Having the ‘7’ in position 6 does not impact the ‘1’ in position 5, each are matched individually. 

Footnote

The codes for footnotes as defined by the user in ATPCO Footnote program. A footnote can be single alpha, double alpha, single numeric, double numeric, alphanumeric and numeric alpha.

Routings

The numeric codes for a user’s routing numbers as defined by the user in ATPCO’s Routing program.

Rules

The four character rule number as defined by a user in ATPCO’s Passenger Automated Rules program. Rules can be any combination of alpha and numeric characters provided they do not exceed four characters. The use of a wildcard is permitted in this UDG.