Calculate base price

The first step consists in calculate the base price for every day. This price is informed in the CNCT structure. The currency of the prices is informed in the contract header at CCON. 

The CNCT contains, for every room type and characteristic, records with the price information.

You have to check the corresponding record to your travel dates and get the base prices. 

Example:

In a service from 10th to 13th the records you have to process are the corresponding to day 10th, day 11th and day 12th

 Base board

For each day, the price retrieved corresponds to the board informed. In case you are valuating a service with a different meal plan, you have to go to board supplements and discounts at CNSR to determine the base price. More detailed rules in order to apply the supplements and discounts are explained later. 

Price type

The [CNCT.Is price per pax] can be:

  • Y: Price per passenger
  • N: Price per room

 ► Example:

Booking for 3 days and one room for 2 adults: 

Dates

Case 1

Case 2

Record

Daily price

Record

Daily price

Day 10

(Y,10,10,0,R0,10)

10+10

(N,10,10,0,R0,10)

10

Day 11

(Y,10,10,0,R0,10)

10+10

(N,10,10,0,R0,10)

10

Day 12

(Y,10,10,0,R0,10)

10+10

(N,10,10,0,R0,10)

10

TOTAL

 

60

 

30

Base price calculation example

Rate

The rate information [CNCT.Rate] is necessary to take in consideration for the following valuation steps, so you have to keep track of the value in the record which is being processed.

Docs Navigation