Class ReturnItemDeleteCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, ReturnItemDeleteCmd, Protectable,,,,,,

    public class ReturnItemDeleteCmdImpl
    extends ReturnBaseCmdImpl
    implements ReturnItemDeleteCmd
    This is the default implementation of the controller command ReturnItemDeleteCmd interface. It deletes a return merchandise authorization (RMA) item.

    Input parameters:

    Name Description
    RMAItemId(required) RMA item ID (this can be specified multiple times).
    outRMAName(optional) the name to use for the name-value pair which will be passed to the redirected URL.
    URL (required) the URL to be called when the command completes successfully.
    forUserId (optional) it is specified when it is called by a CSR.


    • Check to see if RMA exists. If not, return an error.
    • If RMA item has receipts or credits, then don't delete the RMA item and throw with ECMessage.ECMessage._ERR_CANNOT_DELETE_RETURN_ITEM.
    • Delete the RMA item.

It utilizes these access beans:

See Also:
Serialized Form