Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Status

Page Status

Owner
Stakeholders
Jira Request ID
Jira
serverSyensqo's Jira
serverIdd8efc1ef-48bd-3b4e-8714-ad827f4f059b
keyERP-151
Jira Development ID

Jira
serverSyensqo's Jira
serverIdd8efc1ef-48bd-3b4e-8714-ad827f4f059b
keyERP-203

High- Level Specification

ParameterValue
Application SystemIcertis
Business Process ReferenceAgreement 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 added.in local currency.

Scope and Objectives

Scope:

  • Automate the calculation of TCV as:
    TCV = Original Contract Value + All Amendment Values
  • Ensure 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.


Process Flow Diagram

draw.io Board Diagram
bordertrue
diagramNameTCV Value
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth790
height81
revision1

Step

Description

Comment

1User creates or updates an AgreementAgreement Contract Value in Euro Value  is entered/updated
2On "Next" (UI) or Save, system copies Contract Value to TCVUI-level customization
3User creates an Amendment Amendment Value is entered
4Custom Task on Supersede Event triggersEvent Custom Task
5System sums Parent Agreement TCV + all Amendment ValuesAutomated calculation
6System updates Agreement’s TCV fieldTCV reflects all amendments7DOA workflow uses updated TCV for approval routingEnsures correct approval level

Assumptions

  • Contract values and amendment 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 Contract Value in Euro and Amendment Value in Euro

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.DOA workflow references the TCV field for approval routing.
  • 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

FieldDescriptionData Type/LengthValidation rule/ Value Help








Selection Screen Enhancement

Not Applicable

Field NameDescription

Select:

Data Type/LengthDefault Value/ Validation rule/ Value HelpSelection 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.

    DOA Workflow Routing

    • When the agreement (with or without amendments) is submitted for approval, the DOA workflow references the updated TCV field.
    • The workflow determines the correct approver based on the latest TCV and the configured approval thresholds.
  • 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

IDConditionExpected Result
1Agreement 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.
2Agreement Update - Update the Contract Value of an existing agreement. Click “Next” or Save.TCV field is updated to reflect the new Contract Value.
3Amendment Creation - Create an amendment linked to an existing agreement. Enter Amendment Value.Amendment is created successfully.
4Supersede Event Trigger - Supersede the agreement via amendment. Trigger Event Custom Task.Previous TCV field is updated with the last known TCV.
5TCV Recalculation - After supersede, verify that TCV = Original Contract Value + All Amendment Values.TCV field reflects the correct cumulative value.6DOA Routing - Submit agreement for approval.DOA workflow uses updated TCV for routing. Correct approver is selected based on TCV thresholds.
7Currency Validation - Create agreement in local currency (e.g., INR, USD).TCV calculation uses local currency. No conversion to Euro.
87Amendment Currency Mismatch - Create amendment with a different currency than parent agreement.System throws validation error. Amendment cannot proceed.
98Audit Log Verification - Perform agreement update and amendment creation.Audit log captures changes to TCV and Previous TCV.
109Error 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 NameParent Package




Enhancement Implementation

Enhancement TypeStandard Definition NameCustom Implementation NameDesign Rationale Reference








Other Development Objects

Object TypeObject NamePurpose/High Level LogicDesign 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

ZFIZMMZPSZCOZSDZBCZFIZCA
TABLESZFITZMMTZPSTZCOTZSDTZBCTZFITZCAT

See also


Attachments
previewfalse
patterns^(?!.*\.(png|jpg|jpeg|svg)$).*
sortOrderdescending

Change log

Change History
limit10