Distribution Based on Profit

If you change the annual amount of the service contract or contract quote, you may need to distribute the difference between its new and calculated annual amounts on the contract lines. Distribution Based on Profit is one of the automatic methods that can help you spread the new and calculated annual amounts difference between the line amounts on the contract lines. This distribution will be performed proportionally to their profit shares in the total contract or contract quote profit. The following list of distribution procedure steps for each contract line describe the main idea of this method:

  1. The profit percentage contribution is calculated as follows: the contents of the Profit field is divided by the sum of Profit field values on all contract lines.

  2. The Line Amount field value is updated by adding to it the difference between the new and calculated annual amounts, which is multiplied by the profit percentage contribution.

  3. The contents in the Line Discount Amount, Line Discount % and Profit fields are updated in relation to the new value in the Line Amount field in the following way:
    Line Discount Amount = Line Value - Line Amount.
    Line Discount % = Line Discount Amount / Line Value * 100.
    Profit = Line Amount - Line Cost.

The steps 1 to 3 are repeated for each contract line.

Example

There is no check mark in the Allow Unbalanced Amounts field in the service contract that contains three contract lines with such information:

 

 

Line Cost

Line Value

Line Discount %

Line Discount Amount

Line Amount

Profit

Item 1

20,00

25,00

 

0,00

25,00

5,00

Item 2

50,00

58,00

5,00

2,90

55,10

5,10

Item 3

100,00

115,00

2,00

2,30

112,70

12,70

 

The Annual Amount field value is equal to the contents of the Calcd. Annual Amount field, which is always set to the sum of the line amounts. In this case, it is equal to 25,00 + 55,10 + 112,70 = 192,80.

If you change the Annual Amount to 180, the following will happen: the program will calculate the profit percentage contributions for each contract line: for Item 1 - 5/(5+5,1+12,7) = 0, 2193%, for Item 2 - 5,1/(5+5,1+12,7) = 0,2237, Item 3 - 12,7/(5+5,1+12,7) = 0,557. Then the Line Amount field value is updated on each contract line using the formula: Line Amount = Line  Amount +  difference between the new and calculated annual amounts *  Percentage Contribution. After that, the Line Discount Amount,  Line Discount %  and Profit field values are updated using the formulas in the step 3 of the procedure described above.

Finally, the contract lines will contain this data:

 

 

Line Cost

Line Value

Line Discount %

Line Discount Amount

Line Amount

Profit

Item 1

20,00

25,00

11,24

2,81

22,19

2,19

Item 2

50,00

58,00

9,93

5,76

52,24

2,24

Item 3

100,00

115,00

8,20

9,43

105,57

5,57

 

Related Topics

Automatic Distribution of the Annual Amount Difference

Changing the Annual Amount of the Service Contract

Distribution Based on Line Amount

Even Distribution

Manual Distribution of the Annual Amount Difference