Table of Contents | ||||
---|---|---|---|---|
|
...
The cost category defaults to the cost category in the header
If a cost type has “can duplicate” = no then only one line can be added for that cost type in that cost category
If a cost type has “can have more than one unit” = no then the quantity is 1 without an ability to edit
If the “additional information required” field = yes then the label for the additional information field will be shown and the additional information will be required to be added before the cost line can be saved
Regarding the Fuel Surcharge:
Given the following two conditions:
When any cost line being amended which has the flag “Cost subject to fuel surcharge” and
A cost line exists with the flag “Cost represents fuel surcharge”, the following should happen:
For all cost lines which have the flag “Cost subject to fuel surcharge”:
The total should be calculated for fuel surcharge by adding up the total of all costs for lines which have the flag “Cost subject to fuel surcharge” set.
A percentage should be applied to the total based on the “surcharge” and stored as the rate for the cost line “Cost represents fuel surcharge”. The total for that line should also be calculated.
The “surcharge” is derived from the additional text entered on the cost line with the flag “Cost represents fuel surcharge”. The additional text should contain a real number, eg. “13.5” which should be evaluated as a real number and used as the “surcharge”.
Example of Cost Surcharge
Cost Line | Surcharge Type | Additional Text | Rate | Qty | Total |
---|---|---|---|---|---|
1 | Cost represents fuel surcharge | 13.5 | 94.5 | 1 | 94.5 |
2 | None | 50 | 4 | 200 | |
3 | Cost subject to fuel surcharge | 200 | 2 | 400 | |
4 | Cost subject to fuel surcharge | 100 | 3 | 300 | |
5 | None | 1000 | 1 |
Surcharge = 13.5 (evaluation of additional text for line 1 (flagged with “Cost represents fuel surcharge”)
Lines 3, 4 combined total = 700
Lines 2,5 are not subject to fuel surcharge so their total is not in the calculation
Line 1 rate = 13.5% x 700 = 94.5 which is shown above.
Cost Lines Ordering
Cost lines are ordered by cost category alphabetically and by order sequence within the cost category.
...
Rates can be saved with zero value.
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
If additional information is required for a cost (as defined in the Cost Type Definitions in the Adminsitration menu option) the additional information must be entered.
...