TermsVersionSummary
One entry in the terms history timeline (CRM-9355).
Every figure is read from the columns frozen onto the version row at save time — nothing here is recomputed. A version has to keep reporting what it was worth after the services it referenced were repriced or deleted, and a timeline that re-derived its numbers would rewrite history whenever the rollup logic changed.
- isType: boolean
Pending requiredTrue for a future-dated amendment that has not been applied yet and was not withdrawn. Kept for clients predating the status field
- statusType: enumrequired
APPLIED, PENDING or WITHDRAWN. Branch on this rather than isPending — a withdrawn version is neither applied nor still coming
valuesAPPLIEDPENDINGWITHDRAWN - versionType: string
Id requiredTerms version ID (ctv-)
- versionType: integer
Index requiredPosition in the contract's own sequence; 0 is the initial terms
- amendmentType: stringnullable
Reason Free-text reason. Null on the initial terms, which nobody authored
- appliedType: stringFormat: date-timenullable
At When this version became the live terms. Null while pending
- cancellationType: stringnullable
Reason Why it was withdrawn — a correction writes no version of its own, so this is the only record of what cancelled this one
- cancelledType: stringFormat: date-timenullable
At When this amendment was withdrawn. Null unless status is WITHDRAWN
- cancelledType: stringnullable
By User ID of whoever withdrew it
- cancelledType: stringnullable
By Name Display name of whoever withdrew it, resolved so the timeline needs no second call
- createdType: stringFormat: date-timenullable
At When the version was saved
- createdType: stringnullable
By User ID of the author
- createdType: stringnullable
By Name Author's display name, resolved so the timeline needs no second call
- currencyType: stringnullable
Contract currency at this version
- effectiveType: stringFormat: date-timenullable
Date When these terms take effect
- effectiveType: stringFormat: date-timenullable
Until When the next version takes over. Null on the newest entry, whose terms are still in force
- servicesType: integernullable
Count Number of services at this version
- totalType: numbernullable
Contract Value Frozen TCV
- totalType: numbernullable
Contract Value Change TCV difference against the previous version. Null on the initial terms, and null when either side has no figure
- totalType: numbernullable
Contract Value Local Frozen TCV in the contract currency
- totalType: numbernullable
Contract Value Local Change The same difference in the contract currency

