public class ReturnItemUpdateCmdImpl extends ReturnItemBaseCmdImpl implements ReturnItemUpdateCmd
Name | Description |
---|---|
forUser | The logon ID of the user on whose behalf the command will be run. Only a person with the authority to process orders can specify this parameter. |
forUserId | The logon ID of the user on whose behalf the command will be run. Only a person with a security role of Customer Service Representative can specify this parameter. |
creditAdjustment_i | The amount by which to adjust the product credit amount. |
receive_i | Specifies whether or not the return item components should be received by the store. |
RMAItemId_i | (Required) The RMAItem identifier. |
quantity_i | The quantity being returned. |
UOM_i | The unit of measure for quantity_i. |
comment_i | A comment about the item being returned. |
reason_i | The reason for the return, as provided by the purchaser. |
URL | (Required) The URL to be called when the command completes successfully. |
outRMAName | The name to use for the name-value pair which will be passed to the redirected URL. |
Each item will be processed in the following way:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this class.
|
Constructor and Description |
---|
ReturnItemUpdateCmdImpl()
ReturnItemUpdateCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean | doAdd()
This method returns false as default.
|
protected boolean | doUpdate()
This method returns true as default.
|
protected void | extendCommand()
This method extends the command here.
|
protected int | getMe()
This method returns an int value to specify whether it is called by a CSR or not.
|
AccessVector | getResources()
This method gets the vector of resources accessed by this command.
|
void | validateParameters()
This method first calls super.validateParameters.
|
public ReturnItemUpdateCmdImpl()
protected boolean doAdd()
protected boolean doUpdate()
protected void extendCommand() throws ECException
protected int getMe()
public AccessVector getResources() throws ECException
public void validateParameters() throws ECException