Copy an existing order (or requisition list) and creates a new requisition list.
Input parameters:
Name | Type | Requirement | Description |
---|---|---|---|
orderId | Long | mandatory | The id of the source order or requisition list to be copied. |
name | String | optional | The name of the created requisition list |
status | Char | optional | The status of the created requisition list. The valid values are 'Y' and 'Z'. The default value is 'Y' |
Output parameters:
Name | Type | Description |
---|---|---|
requisitionListId | Long | the newly created requisition list id |
Behavior:
View:
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The default implementation class. |
static java.lang.String |
NAME The name of the Command Interface class. |
Method Summary | |
---|---|
java.lang.Long |
getRequisitionListId() Returns the newly created requisition list id. |
void |
setName(java.lang.String name) Specifies the name of the created requisition list. |
void |
setOrderId(java.lang.Long id) Specifies the source order or requisition list id. |
void |
setStatus(java.lang.String status) Specifies the status of the created requisition list. |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRequestProperties,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public java.lang.Long getRequisitionListId()
public void setName(java.lang.String name)
name
- requisition list namepublic void setOrderId(java.lang.Long id)
id
- order idpublic void setStatus(java.lang.String status)
status
- status