Introduced in Feature Pack 2

Extending the schedule action that creates the child orders of the recurring order in the Subscription Manager

When child orders are created for a recurring order, the schedule action starts the schedule evaluation command to compute the next fulfillment given its previous occurrence. The default schedule evaluation command that is used is the simple schedule implementation. In this step, you extend the create child order schedule action to use the new schedule evaluation command that is created in this tutorial. This extension computes the next occurrence for the day-of-month schedule type.


  1. Copy the file:
    1. In the Enterprise Explorer view, expand WebSphereCommerceServerExtensionsLogic > src.
    2. Right-click New > Package.
    3. Name the Package: com.mycompany.commerce.subscription.scheduler.actions.
    4. Copy file from temp\src\com\mycompany\commerce\subscription\scheduler\actions to the package created in step 1c.
  2. Update the create child order schedule action command implementation in the CMDREG table to use the following one:
    1. Connect to the development database.
    2. Run the following SQL statement:
      update cmdreg set classname='com.mycompany.commerce.subscription.scheduler.actions.SubscriptionCreateChildOrderSchedulerCmdExtImpl' 
      where interfacename='';