com.ibm.commerce.returns.commands

Class ReturnCreditAndCloseScanCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, ReturnCreditAndCloseScanCmd, Protectable, 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 ReturnCreditAndCloseScanCmdImpl
    extends ControllerCommandImpl
    implements ReturnCreditAndCloseScanCmd
    This is the default implementation of the controller command ReturnCreditAndCloseScanCmd interface.

    Initiate credits and close approved (status 'APP') return merchandise authorizations (RMA). This command would typically be run as a scheduled job.

    Parameters

    storeId (mandatory)
    Identifier of the store under which this command runs.

    Behaviour

    • For each approved RMA in the store, the following is performed:
      • If all item components have been fully received and no item has already been credited then the task command CreditReturnItemCmd is called.
      • If there were no exceptions then the RMA is closed by calling the task command CloseReturnCmd.
    • The task command ExtendReturnCreditAndCloseScanCmd is called.

Utilizes these access beans

See Also:
Serialized Form