{//% unless portal.user.is_agent %} Tickets
Welcome
Login Submit a Ticket News {//% endunless %}

Cost Definitions

The Cost Definitions dialog is used for defining rules upon which costs will be calculated. 
 
Each cost definition is a tree structure with rules how to compute costs. 
 
The computation engine is traversing the tree structure to find the suitable rule. 
New:
Name:
Mandatory and must be unique. Identifies the cost and is used in cost formulas - has to start with a letter, then can be a letter or a digit, there shall be no space used.
Event Type:
Specifies upon which events the calculation will be based on:
TakeOff, Landing, Flight, Landing, Hotel, Deadhead
Database type
CompanyActivity is used for TakeOff, Landing, Flight, Landing, 
RosterBlockActivity is used for Hotel, Deadhead
Description:
Mandatory. A small description of the rule.
Carrier Type:
Specifies business object that "carries" the cost from the business perspective. (Currently not used - in the future it'll be used for grouping and reporting).
None, Aircraft, Leg, Route, DEP, ARR, Crew
Main Types:
Specifies main type of the cost. (Currently not used - in the future it'll be used for grouping and reporting). There are the following possibilities:
Unknown
DirectOperations
IndirectOperations
AddHoc
Sub Type:
Specifies sub type of the cost. (Currently not used - in the future it'll be used for grouping and reporting).
 
Unit:
Specifies how the cost will be computed. There are the following possibilities:
Per Event - value is computed once for each occurrence of an event of the defined type
Per Minute - value is computed by multiplying it by each minute of duration of every event of the defined type
Add Set:
It is a purely grouping level. So for example if you are defining airport handling costs you may use company activity filters in cost sets to group by airport. A cost set has the following fields:
Name:
Mandatory
Filter:
used during calculations to filter events. The filter may differ on the event type specified in the definition but in the current implementation for each event type it is company activity filter.
Station:
Define a station this set is connected to. 
All data (so called cost set values ) defined for this "cost set" will be in local time to that station (instead of using UTC time)
 
 
 
 
 
Add Value Company Activity:
 
Order of sets is important as the cost calculation engine checks the rules in the order they appear in the tree view and it'll use the first matching value. 
So the more specific rules should be present before the more general. 
For example: a cost set defining handling costs for MMX airport should be before a cost set without a filter (in this context the meaning is that it handles all other airports).
 
 
Valid From/To 
specifies the validity period
Day Period From/To
specifies the valid hours within a day. Specifying the same hour means it is valid the whole day (the default 0000 - 0000). When the from value is higher then the lower, for example from 1800 till 0800 means that the period is crossing a single day.
Frequency
specifies in which weekdays the rules applies, by default it is valid every day (1234567)
Currency
specifies amount and currency which will be used in calculations when all other conditions are met
Grouping text 
allows user to define some specific free text that will be available in the cost items list being a result of cost calculation - for special grouping purposes in the future
Comment
Free text to describe this set value (used only in this dialog i.e. to help user understand why such values are set in this set value - there could be entered a link to a document, contract number etc.)
Filters
Differ on the specified event type and allow to further filter event.
Set value for TakeOff definition can only have 1 filter.
Set value for Handling definition can have 3 filters.
 
 
Add Value Rosterblock Activity:
 
Valid From/To 
specifies the validity period
Day Period From/To
specifies the valid hours within a day. Specifying the same hour means it is valid the whole day (the default 0000 - 0000). When the from value is higher then the lower, for example from 1800 till 0800 means that the period is crossing a single day.
Frequency
specifies in which weekdays the rules applies, by default it is valid every day (1234567)
Currency
specifies amount and currency which will be used in calculations when all other conditions are met. This mean that this value will be used per crew member selected in ranks.
Grouping text 
allows user to define some specific free text that will be available in the cost items list being a result of cost calculation - for special grouping purposes in the future
Comment
Free text to describe this set value (used only in this dialog i.e. to help user understand why such values are set in this set value - there could be entered a link to a document, contract number etc.)
Filters
RosterBlockActivity Filter:
Add the filter that shall be used. The filter is mandatory.
 
Hotel
Deadhead
Passive
Ranks:
Select the ranks that shall be included in the calculation.
Hotel
If there are more than one hotel on a station, you can created costs for the specific hotel
 

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.