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 

Subscription Management

Scenario :- 
When Contract is activated an order is created. That order will be dispatched on immediate wednesday of created date and when dispatched the Status field in order object will get updated to "Order Dispatch" and display the date in order object Order Dispatch Date field. After one month of order creation again a new order will be created and before that a field called Next order date will get updated in Contract object. After the order is created in one month again on immediate wednesday that new order will also get dispatched like this flow will go on untill that contract is canceled or paused.

if it is paused then it will not create any new order and again when actvated it will resume its process.

If canceled then it will not create order any more
Tanya fosilTanya fosil
Hello
why it will not create order if got cancelled please tell us here give reason if possible for you . (https://www.dunkin-university.com/)
Sudeep SinghSudeep Singh
If contract is canceled then there is no use of creating order