com.ibm.commerce.inventory.commands

Class ReleaseOrdersToFulfillmentCOCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, ReleaseOrdersToFulfillmentCOCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class ReleaseOrdersToFulfillmentCOCmdImpl
    extends TaskCommandImpl
    implements ReleaseOrdersToFulfillmentCOCmd
    This is the default implementation of the ReleaseOrdersToFulfillmentCOCmd task command.

    Behaviour:

    For each order passed in,
    • Create order releases and compute order release totals by calling ReprepareOrderReleasesCmd
    • Resolve available order releases by calling ResolveReleasesCmdImpl
    • For available order releases, call Payment Rules ReservePaymentCmd, for below return codes
      • EDPResults.STATUS_SUCCESS_INT, invoke stored procedure shipItem, if all order items are all released to fulfillment, the order status will be updated to R(shipped).
      • Others, the releases will not be released to fulfillment, it will be picked and processed in the next scheduler job.
    • A tickler will be created with OrderConstants.TICKLER_FINANCIAL_TRANSACTION_ERROR if there are any ECSystemException thrown in the ReservePaymentCmd.

    Task commands called:

    Called by:

    See Also:
    Serialized Form