Example: Value Conversion
Comprises two different calculation methods that can be used either to sum up cash flow items over a given set of terms (running total), or to calculate the delta values between a given set of cash flow items (balance = cumulative values, movement = delta values).
This example shows one of the methods. Starting with MOV data (delta values), we produce BAL data (cumulative values) for the cash flows.
With the configuration presented in the example, only the cash flow items of key figure type “Movement” are converted into balance values. Pattern items, which are of the type balance , will not be converted.
Input Data
| Start Date | Contract ID | Pattern Key Figure Type | Period To | Value |
|---|---|---|---|---|
| 2019-01-01 | A | MOV (Delta) | 1 | USD 90 |
| 2019-01-01 | A | MOV (Delta) | 2 | USD 120 |
| 2019-01-01 | B | MOV (Delta) | 1 | USD 90 |
| 2019-01-01 | C | MOV (Delta) | 1 | USD 0 |
| 2019-01-01 | C | MOV (Delta) | 2 | USD 120 |
Flow Modeling Configuration
| Rule | Description | Rule Type | State | Rule Grouping | Rule Ordering | Selection |
|---|---|---|---|---|---|---|
| VC | Value Conversion | Value Conversion | Active |
| Line | *Line Granularity | *Conversion Type | *Value Type Target | *Value Type Field | *Period To | *Value | *Value Result Field |
|---|---|---|---|---|---|---|---|
| 1 | Contract ID | Mov to Bal | Movement | Pattern Key Figure Type | Period To | Value | Result Amount |
Key Configuration Description
| Field | Meaning | Notes |
|---|---|---|
| Line | Identifier of the line | Must be unique |
| Line Granularity | Determines the size of one partition of data. | Mandatory input that has to be inserted in the Granularity tab of the Signature section. |
| Conversion Type | Specifies the calculation method used. | Mandatory input.
“Mov to Bal” computes the running total, whereas “Bal to Mov” calculates delta values. |
| Value Type Target | Determines which key figure types (movement or balance) are converted | Mandatory input |
| Value Type Field | Can have the value “MOV” or “BAL”, and determines which value type the cash flow item is comprised of. | Mandatory input
Ensure that the field contains these two values only. |
| Period To | Determines the structure of the pattern. | Mandatory input |
| Value Result Field | The system writes the resulting amount to this field. | Mandatory output |
Expected Output
In this example, the rule computes the running total of all cash flow items that have the value “MOV” in the Pattern Key Figure Typecolumn.
| Start Date | Contract ID | Pattern KF Type | Period To | Value | Result Amount |
|---|---|---|---|---|---|
| 2019-01-01 | A | MOV | 1 | USD 90 | USD 90 |
| 2019-01-01 | A | MOV | 2 | USD 120 | USD 210 |
| 2019-01-01 | B | MOV | 1 | USD 90 | USD 90 |
| 2019-01-01 | C | MOV | 1 | USD 0 | USD 0 |
| 2019-01-01 | C | MOV | 2 | USD 120 | USD 120 |
| Start Date | Contract ID | Pattern KF Type | Period To | Value |
|---|---|---|---|---|
| 2019-01-01 | A | BAL | 1 | USD 90 |
| 2019-01-01 | A | BAL | 2 | USD 120 |
| 2019-01-01 | B | BAL | 1 | USD 90 |
| 2019-01-01 | C | BAL | 1 | USD 0 |
| 2019-01-01 | C | BAL | 2 | USD 120 |
The Flow Modeling configuration is the same; however, the Conversion Type is now “Bal to Mov” and Value Type Target is now “Balance”.
| Start Date | Contract ID | Pattern KF Type | Period To | Value | Result Amount |
|---|---|---|---|---|---|
| 2019-01-01 | A | BAL | 1 | USD 90 | USD 90 |
| 2019-01-01 | A | BAL | 2 | USD 120 | USD 30 |
| 2019-01-01 | B | BAL | 1 | USD 90 | USD 90 |
| 2019-01-01 | C | BAL | 1 | USD 0 | USD 0 |
| 2019-01-01 | C | BAL | 2 | USD 120 | USD 120 |