correctExpiredContractEndDate
Correct the end date of an expired contract, for example to support a backdated renewal. Only contracts that reached their end date naturally can be corrected: terminated, revoked, rescinded and novated contracts cannot. The corrected end date must not be in the future, so the contract stays expired, and must be after the contract's start date and the start of its current version. Moving the end date later must not overlap another contract for the contract's subjects. Subject membership periods that ended with the contract move with its end date. Before correcting, handle any billing consequences and rescind any intervening contract, such as a deemed contract: billing is not checked or recalculated.
Arguments
Input for correcting an expired contract's end date.
- KT-CT-10003: Contract not found.
- KT-CT-10008: The contract is currently undergoing an active journey.
- KT-CT-10077: Contract has not expired.
- KT-CT-10078: Contract was ended early.
- KT-CT-10079: Corrected end date is in the future.
- KT-CT-10080: Corrected end date is not after the contract start date.
- KT-CT-10081: Corrected end date is not after the current contract version starts.
- KT-CT-10082: Corrected end date overlaps other contracts.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
Examples
mutation CorrectExpiredContractEndDate($input: CorrectExpiredContractEndDateInput!) {
correctExpiredContractEndDate(input: $input) {
contract {
...ContractFragment
}
}
}
Variables
{
"input": CorrectExpiredContractEndDateInput
}
Response
{
"data": {
"correctExpiredContractEndDate": {
"contract": Contract
}
}
}