Frees

A free is defined as special discount offer. A generic free offers some free nights if the length of stay is greater than a defined value. 

The length of stay must be between minimum and maximum days [CNGR.Minimum days] and [CNGR.Maximum days]. The free nights will be the number of night’s value at [CNGR.Frees]. 

The record validation consists:

  • Application date
  • Length of stay
  • Rate
  • Room type
  • Room characteristic
  • Board
  • Operation dates 

The operation dates validation in the Free consists in:

  1. Check if some day has the Y value
  • If all the days has N value, then every day of the week can be applied
  • If there are values with Y and N, then only the Y value days can be applied 

Before apply the free you have to check the combinable offers. 

Frees price calculation

Once you have checked the general supplements/discounts and frees valid to apply, then you have to apply them in order to get the price. 

Application per stay

There are 3 different types of free depending on the stay [CNGR.Application stay type]: 

Type

Restrictions

E

Check in

The application dates must cover the check in date

The minimum and maximum stay [CNGR.Minimum days] and [CNGR.Maximum days] must cover the length of stay.

S

Stay

The application dates must cover the entire stay

The minimum and maximum stay [CNGR.Minimum days] and [CNGR.Maximum days] must cover the length of stay.

P

Period

The application dates must cover the day of stay

The minimum and maximum stay [CNGR.Minimum days] and [CNGR.Maximum days] must cover the length of stay.

Frees application types

Restrictions:

  • The E and S type has more priority than P. The P type only can be applied if no E or S exists.
  • If E or S has been applied, only one free can be applied for the service.
  • Multiple frees application can only occurs when type is P 

Free nights

Number of free nights available. The [CNGR.Discount] can be null. 

Application per type

The discount type indicator [CNGR.Application discount type] shows the different possibilities to apply the free: 

  • P – First night: The first night of the service is free
  • U – Last night: The last night of the service is free
  • B – Cheapest night: The cheapest night of the service is free
  • C – Most expensive night: The most expensive night of the service is free
  • M – Average night: The average price per night of the service is discounted 

Application base price

The discount can be applied to different calculated prices depending on [CNGR.Application base type]:

  • B – Base price: The discount apply to the base price of the service
  • D – Occupancy: The discount applies to the base price with occupancy supplements and discounts calculated.
  • T – Total: The discount applies after the total price calculation 

Application board

The discount can affect only to the base price or also to the board supplement/discount depending on the [CNGR.Application board type] value: 

  • B – Base price: The discount affects only to the base price
  • R – Base and board: The discounts affect to the base price and the board supplement/discount price 

Example:

Free application

5 nights and 1 adult

Price per night: 100, 100, 80, 80, 80 

 

Night 1

Night 2

Night 3

Night 4

Night 5

Base

Board

Base

Board

Base

Board

Base

Board

Base

Board

Base price

40

20

40

20

30

20

30

20

30

20

Occupancy suppl/disc

20

10

20

10

15

5

15

5

15

5

General suppl/disc Type G

20

0

20

0

20

0

20

0

20

0

General suppl/disc Type B

-10

0

-10

0

-10

0

-10

0

-10

0

TOTAL

70

30

70

30

55

25

55

25

55

25

100

100

80

80

80

Frees application board example 

Example:

Number of frees example 

Free

Discount

Discount type

Base type

Board type

Price per night

1

Null

P

T

R

0

100

80

80

80

 

First night free
Total price: 340

2

Null

P

T

R

0

0

80

80

80

 

First and second night free 
Total price:  240

Frees valuation number of frees example 

Example:

Discount examples 

Free

Discount

Discount type

Base type

Board type

Price per night

1

Null

P

T

R

0

100

80

80

80

 

First night free
Total price: 340

1

100

P

T

R

100-100

100

80

80

80

 

First night minus 100 free
Total price:  340

1

50

P

T

R

100-50

100

80

80

80

 

First night minus 50 free
Total price:  390

Frees valuation discount example 

Example:

Discount type examples 

Free

Discount

Discount type

Base type

Board type

Price per night

1

Null

P

T

R

0

100

80

80

80

 

First night free
Total price: 340

1

Null

U

T

R

100

100

80

80

0

 

Last night free
Total price:  360

1

Null

B

T

R

100

100

0

80

80

 

The first cheapest night
Total price:  360

1

Null

C

T

R

0

100

80

80

80

 

The first most expensive night
Total price:  340

1

Null

M

T

R

100-88

100

80

80

80

 

Discount of the average price per night
(100+100+80+80+80)/5 = 88 discount
Total price:  390

Frees valuation discount type example

 

Example:

Base type examples 

Free

Discount

Discount type

Base type

Board type

Price per night

1

Null

P

T

R

0

100

80

80

80

 

First night free
Total price: 340

1

Null

P

D

R

100-90

100

80

80

80

 

First night minus base price and occupancy supplements and discounts [40+20+20+10=90]
Base price: 40+20
Occupancy suppl/disc: 20+10
Total price:  350

1

Null

P

B

R

100-60

100 

80

80

80

 

First night minus base price [40+20=60]
Total price:  380

Frees valuation base type example

Example:

Board type example 

Free

Discount

Discount type

Base type

Board type

Price per night

1

Null

P

T

R

0

100

80

80

80

 

First night free 

Total price: 340

2

Null

P

T

B

100-70

100 -70

80

80

80

 

First night minus board price [70]

Base price: 40

Occupancy: 20

Type G: 20

Type B: -10 

Total price:  300 

Free valuation board type example 

Example

Free

Discount

Discount type

Base type

Board type

Price per night

1

Null

P

D

B

100-60

100

80

80

80

 

First night minus base price and occupancy without board price [40+20] 

Total price: 380

2

50

B

B

B

100

100

80-15

80-15

80

 

2 cheapest nights. Only base price and occupancy without board [30-50%=15] 

Total price:  410

Free valuation example