com.ibm.commerce.requisitionlist.commands
Interface RequisitionListItemUpdateCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, OrderItemUpdateCmd, Protectable
- All Known Implementing Classes:
- RequisitionListItemUpdateCmdImpl
- public interface RequisitionListItemUpdateCmd
- extends OrderItemUpdateCmd
Add, update and delete items in a requisition list.
Input parameters:
Name | Type | Requirement | Description |
requisitionListId | Long | optional | The requisition list id |
... | | | The name value pairs similar to OrderItemUpdate |
Output parameters:
Name | Type | Description |
... | | The output similar to OrderItemUpdate |
Behavior:
- The original parameter orderId for OrderItemUpdate command is replaced by requisitionListId.
- The requisitionListId does not support abbreviation. It must be a number.
- The other differences between RequisitionListItemUpdate and OrderItemUpdate:
RequisitionListItemUpdate does not take parameter offerId and contractId because there is no price calculation for the requisition list item.
- You can use this command to add an item to a requisition list, update an item's information
such as quantity and ship mode, delete an item from a requisition list.
- To add an item to a requisition list, you can specify a catEntryId and quantity.
- If the requisitionListId is specified, the item will be added to the requisition list.
- If the requisitionListId is not specified, the item will be added to a new created private requisition list.
- To update an item in a requisition list, you can specify an orderItemId and the other updated information.
- To delete an item from a requisition list, you can specify an orderItemId and quantity=0.
View:
Method Summary |
void |
setRequisitionListId(java.lang.Long id)
Specifies the requisition list id to be updated. |
void |
setStatus(java.lang.String status)
|
Methods inherited from interface com.ibm.commerce.orderitems.commands.OrderItemUpdateCmd |
getOrderIds, getOrderItemIds, setAddressId, setAttrName, setAttrValue, setCatEntryId, setComment, setConfigurationId, setContractId, setCorrelationGroup, setDescription, setField1, setField2, setListId, setMemberId, setOfferId, setOrderDesc, setOrderId, setOrderItemId, setOutOrderItemName, setOutOrderName, setPartNumber, setQuantity, setShipmodeId, setTradingId, setUom |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
NAME
public static final java.lang.String NAME
RLBadPartNumberErrorView
public static final java.lang.String RLBadPartNumberErrorView
RLInvalidInputErrorView
public static final java.lang.String RLInvalidInputErrorView
setRequisitionListId
public void setRequisitionListId(java.lang.Long id)
- Specifies the requisition list id to be updated.
setStatus
public void setStatus(java.lang.String status)