RequisitionListItemUpdate command

This command adds, updates, and deletes items in a requisition list.

Command structure

http://host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path.

Diagram of the command structure: the command starts with the fully qualified name of your WebSphere Commerce Server and the configuration path, followed by the command name, RequisitionListItemUpdate  and the ? character. End the command with a list of parameters in the form of name value pairs. Separate each name value pair with the & character. For a detailed description of the parameters and their values, refer to the list entitled Parameter values.

Parameter values

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
Similar to the forUser parameter, but identifies the user by the internal user ID, as found in the USERS table.
langId
Sets or resets the preferred language for the duration of the session; the supported languages for a store are found in the STORELANG table.
URL
(Required) The URL to be called when the command completes successfully.
orderItemId_i
The reference numbers of the items to be updated in the requisition list.
storeId
The store reference number, which is mandatory only if you want to add products or items to the orders.
catEntryId_i
The reference numbers of the items to be added.
partNumber_i
If specified, then the catEntryId parameter is ignored. The partNumber and memberId a catentry_id by selecting the PARTNUMBER and MEMBER_ID columns in the CATENTRY table, and this command behaves as if that reference number was specified as the value for catEntryId.
memberId_i
The identifier for the member that owns the catalog where the order will be placed.
attrName_i
Any distinct attribute that is defined for the item. This parameter can be repeated.
attrValue_i
The value of the attribute in attrName. This parameter can be repeated.
quantity_i
(Required) The quantity of the item to be added to the order.
UOM_i
The unit of measure.
addressId_i
The reference number of the address to which the products and items are shipped.
shipModeId_i
The reference number of the shipping mode to be used for the product or item.
comment_i
A Comment to be included with the created or updated order items.
field1_i
A store-reserved integer value.
field2_i
A store-reserved text value; accepts up to 254 characters.
requisitionListId
The ID of the requisition list. This parameter can be repeated.
outOrderName
Specifies the names of name-value pairs to be added to the redirection URL. The values of the added name-value pairs are the reference numbers of the created or updated orders. This parameter can be repeated.
outOrderItemName
Specifies the names of name-value pairs to be added to the redirection URL. The values of  the added name-value pairs are the reference numbers of the created or updated order items. This parameter can be repeated.
listId
The interest item list ID.  When you specify this parameter, the OrderItemUpdate command will create a new order which contains all the items in the list. You may use one of the special abbreviations ".", "*", ".t", "*t". See Order Abbreviations for a description. 
orderDesc
Specifies the description for the new order created by this command.

Example

The following example updates a particular order item with a quantity of 10:

http://myhostname/Webapp/wcs/stores/servlet/RequisitionListItemUpdate?
&URL=RequisitionListDisplay&orderItemId_i=12345&quantity=10

Behavior

Exception conditions