Flag a calculation set as creating a deduction amount
Purpose / Description
Each calculation version contains one or more calculation sets. This enhancement adds a new mandatory dropdown, Calculated fee amount will be used for deduction, to the Properties tab of every calculation set. The user selects Yes or No; the default is No.
The setting is available for payments and receivables (Agreements with Direction IN and Direction OUT) and in the same way for Standard conditions.
Use Case
| As a user | |
| Primary Actor(s) |
Business user or administrator who maintains agreements, versions and calculation sets (Agreements IN, Agreements OUT and Standard conditions). |
| Stakeholders and Interest |
Fee/commission accounting and billing: need control over whether the calculated fee amount is used for deduction. Product owner and business analysts: need a configurable, auditable setting per calculation set. Calculation engine (system): reads the setting during fee calculation. |
| Trigger |
The user opens a calculation set (new or existing) and goes to the Properties tab. |
| Pre-condition(s) |
The user is authorised to maintain calculation sets. A calculation set exists in a version of an Agreement (direction IN or OUT) or of a Standard condition. |
| Post-condition(s) |
The selected value (Yes or No) is stored on the calculation set. The calculation engine uses the calculated fee amount for deduction only when the value is Yes; with No the behaviour is unchanged. |
| Main success scenario |
|
| Extensions |
The user keeps the default and saves; No is stored. The user changes the value from No to Yes (or the reverse) and saves; the new value is stored. A calculation set is copied (for example when a new version is created or and agreement cloned); the existing value is copied with it. |
| Exception scenarios |
|
| Special requirements |
Existing calculation sets are set to No on release so current results do not change. The same field and behaviour apply to Agreements IN, Agreements OUT and Standard conditions. |
| Open questions |
|
Mockup
Functional Requirements
| Business rules and functional requirements |
|
A new dropdown 'Calculated fee amount will be used for deduction' is added to the Properties tab of every calculation set. |
|
The dropdown offers the values Yes and No. |
|
The default value is No for every new calculation set. |
|
The field is mandatory; a calculation set cannot be saved without a value. |
|
The field is available for calculation sets of Agreements with Direction IN (receivables), Agreements with Direction OUT (payments) and Standard conditions within both agreement directions. |
|
The setting is maintained per calculation set, not per agreement. |
|
When the value is Yes, the calculation engine uses the calculated fee amount for deduction; when the value is No, the behaviour is unchanged. Deduction refers to subtracting the calculated amount from other calculated fee amounts (via additional calculation sets in the agreement). |
|
Existing calculation sets are set to 'No' on release. |
|
When a calculation set is cloned, the value is copied with it. |
Field level specification
| Label | UI control |
Manda- tory |
Editable | Data Type | Value set | Default | Data sample |
Data validation failure response
| Field label | Validation/ Business reules | Error message(s) | Data dependencies | Additional information |
