function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sudeep SinghSudeep Singh 

Cancel Contract and Order

I want to cancel contract and its order.

A custom object Cancellation Request is there and it is having First name, last Name, Email, birthdate. Data will be coming from an intak form from Marketing cloud. 
When form submission will be done the data will be coming to "Cancellation Request " Obj and it will check wether any account is there or not with those same  First name, last Name, Email, birthdate. If there then it will cancel the contract and order.

There is no relation between Cancellation Request Obj and Account, Contracts and Orders. 

how we can achieve this 

Thanks
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Sudeep,

What do you meant by cancel of Contract and order. Do the record status need to changed to Cancelled?

Thanks,
 
Sudeep SinghSudeep Singh
Yes I need to change the status of Contract and Order should changed to Cancelled

Thanks