226 - Project cost distribution

To Host

If you have expenses and supplements which is not marked with a project/activity this transaction will distribute these costs on project/activity made in a project week.
The values of the cost will be the value divided by the total project hours in the week and multiplied with the hours on the project/activity in the week.

FieldDescriptionData TypeMandatoryComment
1Project idText

2Activity idText

3Employee noText

4Registration dateDate

5Info-1Text

From employee

6Info-2Text

From employee

7Info-3Text

From employee

8Info-4Text

From employee

9Info-5Text

From employee

10Ref 1Text

From Project

11Ref 2Text

From Project

12Ref 3Text

From Project

13Registration typeText

AN= Number supplement, AT= Time supplement, XR= Expense registration

14Sub registration typeText

When registration is XR, we can have Mileage or Outlay or Supplement

15Value typeText

0 = Time, 1 = Pieces

16Previous valueDecimal number

From last run

17Previous total timeDecimal number

From last run

18Previous timeDecimal number

From last run

19Previous calculated valueDecimal number

From last run

20New valueDecimal number

Value on the registration

21New total timeDecimal number

Total project time for all projects in week (seconds)

22New timeDecimal number

Project time for this project (seconds)

23New calculated valueDecimal number

Value / total time * time