Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7

...

  • cost category - this acts as a default cost category when adding cost lines

  • zone

  • any client specific fields (eg for ROOM, meeting rooms and booths). The client specific fields are configurable for each client according to the domain model Organisations /wiki/spaces/TD/pages/3338436630, specifically ‘Cost Category Label (1..1) [Organisation Type = "Client"]

...

  • 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

  • For the Fuel Surcharge

    Jira Legacy
    serverSystem JIRA
    serverIdb157ffa3-650f-3eac-ac6a-49d6a4f1db87
    keyWG-778
    :

    • If a cost line is subject to a Fuel Surcharge the cost line details should be appended with “(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”.

...

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

...

Status

Expected Cost

Actual Cost

< “Work Complete”

Cost (can be updated)

>= “Work Complete”

Initial Cost (set to “Cost” before work complete)

Cost (can be updated)

Domain Model

Sales Order Booking Costs /wiki/spaces/TD/pages/3519676497

Validation

Rates can be saved with zero value.

Jira Legacy
serverSystem JIRA
serverIdb157ffa3-650f-3eac-ac6a-49d6a4f1db87
keyWG-869

...