InfoFareRule

Name: Info Fare Rule

Type: Application

Modules: Info

Description: Defines dependencies between fares and routes used in calculating itinerary fare.

Field Documentation
LineIdConst Line identifier from MasterLine.LineIdConst. References line across sign-up periods. If set to 0, this rule applies to all lines that do not have a record in the table (Generic Rule).
CostId Depending on the value of CostType column it may refer to: CostType/10 == 1 --> FareCostClass. FareCostId CostType/10 == 2 –> FareZoneGroupClass.FareZoneGroupId.
CostType Hard coded values that define cost type: 10 = FLAT, 21 = ZONE, 22 = ZONE_COUNT , 23 = ZONE_MATRIX.
FareHint Set of textual hints separated by commas that enable the fare calculating algorithm to perform actions that are different from the general transfer calculations.
EffectiveDate Date when a fare rule starts to be in effect.
AgencyId Agency identifier from Agencies.AgencyId.