Canceling Service Contract Using Apex Actions
The application allows you to cancel a Service Contract using the following Apex actions.
Parameters
The following table explains the parameters required for canceling a Service Contracts.
Parameters
Mandatory (Yes/No)
Description
salesContractId
Yes
the SFDC record ID of Sales Contract.
salesContractIdFieldAPIName
Yes
the API name of the Sales Contract field on Service Contract.
effectiveEndDate
Yes
the End Date to be updated on Contract.
cancellationReason
No
the reason for canceling the Contract.
cancellationReasonFieldAPIName
No
the field name in which the reason for cancellation is provided.
The following screen shows the parameters in an org.
Was this helpful?