This is an old revision of the document!


Autoproduct rules/prices

In old version of Travelwise (VB6) there is an 'Auto Fee' module which is moved to Travelwise.NET Application and improved there.
Up to now it works only for flight segments due to specific rules which can be applied. Autoproduct rules are validated automatically and prices are added on each attempt to create a new offer/invoice.

How rules are applied

In case rule is empty - it means that all values for this rule are OK.

  • Fee Region

All fee regions are located here Tools → General data → Geographic places → Fee Region. This rule validates destination in offer/invoice, there is a check if the current city is located in the selected region or not.

  • Airline

All airlines are taken from PNR. In each flight segment there is only one airline. But there can be lots of airlines in one PNR theoretically. Therefore, if all existing airlines within connected ticket match airline from rule - then it is OK.

  • Ticket classes

Ticket class can be also different theoretically. So if all ticket classes, listed by comma, in rule match the classes from PNR segment within connected tickets - then it is OK.

  • Customer Type

Customer which is connected to the Order where you are trying to create an offer/invoice has its own customer type. So that if selected customer types (on customer level) include the one from the rule - then it is OK.

  • Order type

Which prices are taken

There are some levels of validation and a higher rule has a higher priority. It means that if the second rule is OK then prices are taken from this level and others are not considered. All prices are taken separately - it means that exp. price can be taken from the customer level whereas sell price is taken from the product level.

  • Customer level


This is the price with top-priority and if the price exists there - then it is definetely taken to offer/invoice.

  • Autoproduct level


In case no price on customer level is found then Travelwise.NET looks for prices on autoproduct level. Each type of price (sell/exp.) is taken separately.

  • General product level


These are the main product prices. If no prices are found on other levels then initial prices are taken from here.

  • Default level

In case no prices anywhere - then zero is inserted in offer/invoice. It means that rule is validated but no prices are found. With zero line we are showing that the rule works and invoice totals are not changed.

How offline and online prices are recognized

  1. In each Amadeus PNR there is an Office ID (written in the text). It also can be said as CustomerID.
  2. Enabled option in Company Settings → Settings → Invoicing → AutoProductOnlineOfficeID means that Office ID must be recognized as online prices.

  • If PNR comes with the Office ID which is written in Company Settings, then all prices are searched in online part. Offline part is not considered.
  • If Office ID is not the same as in PNR - it means that we should look for offline prices.