| Status |
| ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Owner | |||||||||
| Stakeholders | |||||||||
| Jira Request ID |
| ||||||||
| Jira Development ID |
|
High- Level Specification
| Parameter | Value |
|---|---|
| Application System | Icertis |
| Business Process Reference | Agreement Approval03.03.04.01 Create Agreement/Amendment |
Functional Overview
This enhancement enables automated calculation and tracking of the Total Contract Value (TCV) for agreements in Icertis, including all amendments, to support DOA approval workflowsso that the correct calculation can be sent to ECC Outline Agreement. The TCV is defined as the sum of the original contract value and the values of all amendments . The system will ensure that DOA approvals are always based on the latest TCV, even as amendments are addedin local currency.
Scope and Objectives
Scope:
- Automate the calculation of TCV as:
TCV = Original Contract Value + All Amendment ValuesEnsure DOA approval routing is based on TCV, not just the original contract value. - Support both agreement creation/update and amendment (supersede) events.
Objectives:
- Eliminate manual calculation or entry of TCV by users.
- Ensure compliance with DOA policies for both new agreements and amendmentsSend updated TCV value to ECC.
| draw.io Board Diagram | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Step | Description | Comment | ||
|---|---|---|---|---|
| 1 | User creates or updates an AgreementAgreement | Contract Value in Euro Value is entered/updated | ||
| 2 | On "Next" (UI) or Save, system copies Contract Value to TCV | UI-level customization | ||
| 3 | User creates an Amendment | Amendment Value is entered | ||
| 4 | Custom Task on Supersede Event triggers | Event Custom Task | ||
| 5 | System sums Parent Agreement TCV + all Amendment Values | Automated calculation | ||
| 6 | System updates Agreement’s TCV field | TCV reflects all amendments7 | DOA workflow uses updated TCV for approval routing | Ensures correct approval level |
Assumptions
- All contract Contract values and amendment values contract value are maintained in Euro. The Total Contract Value will be done in Local currency
- Amendments are always linked to their parent agreement.
- The custom fields for TCV and Previous TCV exist and are available for use.
- The system can trigger custom tasks on both UI actions and workflow events.
- No changes are required to the standard DOA configuration, only to the value used for routing.ECC will use business APIs to retrieve the correct values for Outline Agreements
Dependencies
- Data migration for existing agreements/amendments may be required.
Security, Integrity and Controls
NA
Configuration Requirements
- Custom fields for TCV and Previous TCV must be configured in Icertis.
- Event Custom Task must be configured for the Supersede Event.
- UI customization on the "Next" button for agreement creation/update.
- DOA workflow must reference the TCV field for approval routing.
Language Requirements
NA
Special Requirements
NA
Design Rationale
Functional Requirements
Automated TCV Calculation:
- On agreement creation or update, TCV is set to the contract value.
- On amendment creation, the amendment value is added to the parent agreement’s TCV.
- On supersede event, TCV is recalculated as the sum of the original contract value and all amendments.
UI and Workflow Integration:
- TCV field is updated on “Next” or “Save” actions in the UI.
Validation:
- Contract and amendment values must be in the same currency.
- System prevents saving if required values are blank or currencies mismatch.
Audit and Logging:
- All changes to TCV and Previous TCV are logged for audit purposes.
Error Handling:
- User is notified if values are missing or currencies do not match.
Proposed Technology to Use
ASP.Net MVC
Data Source Considerations
Not Applicable
Data Validation Considerations
Not Applicable
Custom Tables
Not Applicable
Master Data
Not Applicable
Configuration Table
| Field | Description | Data Type/Length | Validation rule/ Value Help |
|---|---|---|---|
Selection Screen Enhancement
Not Applicable
| Field Name | Description | Select: | Data Type/Length | Default Value/ Validation rule/ Value Help | Selection Logic |
|---|---|---|---|---|---|
Processing Logic
Agreement Creation/Update
- When a user creates or updates an agreement, the system captures the Contract Value (in Euro or local currency).
- On clicking “Next” or “Save,” the system copies the Contract Value to the TCV field.
- If the agreement is being updated, the TCV field is overwritten with the new Contract Value.
Amendment Creation
- When a user creates an amendment, the system requires the Amendment Value and ensures the currency matches the parent agreement.
- If the currency does not match, the system throws a validation error and prevents the amendment from being saved.
Supersede Event (Amendment Activation)
- When an amendment is activated (supersede event), a custom event task is triggered.
- The system retrieves the parent agreement’s TCV and all related amendment values.
- The system calculates the new TCV as:
TCV=Original Contract Value+∑(All Amendment Values)\text{TCV} = \text{Original Contract Value} + \sum (\text{All Amendment Values})TCV=Original Contract Value+∑(All Amendment Values) - The Previous TCV field is updated with the last known TCV before recalculation.
- The TCV field is updated with the new cumulative value.
Validation and Error Handling
- The system validates that all required fields (Contract Value, Amendment Value) are populated.
- If any required value is missing or currencies do not match, the system prevents saving and displays an appropriate error message.
- All changes to TCV and Previous TCV are logged in the audit trail for traceability.
Audit Logging
- Every update to TCV and Previous TCV, as well as amendment creation and supersede events, are recorded in the audit log for compliance and review.
Volumetrics
Not Applicable
Performance Considerations
Not Applicable
Error Handling
Not Applicable
Testing
How to Test
This section outlines the test scenarios, conditions, and expected results to validate the enhancement for Total Contract Value (TCV) calculation and DOA routing.
Test Conditions and Expected Results
| ID | Condition | Expected Result | ||
|---|---|---|---|---|
| 1 | Agreement Creation - Create a new agreement with a Contract Value in local currency. Click “Next” or Save. | TCV field is populated with the same value as Contract Value. | ||
| 2 | Agreement Update - Update the Contract Value of an existing agreement. Click “Next” or Save. | TCV field is updated to reflect the new Contract Value. | ||
| 3 | Amendment Creation - Create an amendment linked to an existing agreement. Enter Amendment Value. | Amendment is created successfully. | ||
| 4 | Supersede Event Trigger - Supersede the agreement via amendment. Trigger Event Custom Task. | Previous TCV field is updated with the last known TCV. | ||
| 5 | TCV Recalculation - After supersede, verify that TCV = Original Contract Value + All Amendment Values. | TCV field reflects the correct cumulative value.6 | ||
| DOA Routing - Submit agreement for approval. | DOA workflow uses updated TCV for routing. Correct approver is selected based on TCV thresholds. | 7 | Currency Validation - Create agreement in local currency (e.g., INR, USD). | TCV calculation uses local currency. No conversion to Euro. |
| 87 | Amendment Currency Mismatch - Create amendment with a different currency than parent agreement. | System throws validation error. Amendment cannot proceed. | ||
| 98 | Audit Log Verification - Perform agreement update and amendment creation. | Audit log captures changes to TCV and Previous TCV. | ||
| 109 | Error Handling - Leave Contract Value or Amendment Value blank. | System prevents save and displays appropriate error message. |
Test Considerations/Dependencies
Not Applicable
Other Information
Not Applicable
Development Details
Package
| Package Name | Parent Package |
|---|---|
Enhancement Implementation
| Enhancement Type | Standard Definition Name | Custom Implementation Name | Design Rationale Reference |
|---|---|---|---|
Other Development Objects
| Object Type | Object Name | Purpose/High Level Logic | Design Rationale Reference |
|---|---|---|---|
Appendix
Custom Authorization Group Naming Convention
This table is based on the Syensqo development standards document. It provides the naming conventions for authorization groups to associated with custom reports and tables to comply with security requirements.
ABAP | ZFI | ZMM | ZPS | ZCO | ZSD | ZBC | ZFI | ZCA |
|---|---|---|---|---|---|---|---|---|
| TABLES | ZFIT | ZMMT | ZPST | ZCOT | ZSDT | ZBCT | ZFIT | ZCAT |
See also
| Attachments | ||||||
|---|---|---|---|---|---|---|
|
Change log
| Change History | ||
|---|---|---|
|