WebSphere Commerce Enterprise

RequisitionListCopy URL

This URL copies an existing order or requisition list to a new requisition list.

URL structure

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

Parameter values

URL
Required: The URL that is called when the command completes successfully
status
The status of the requisition list being created
orderId
Required: The order ID of the existing order
name
The name of the requisition list being created

Example

The following command copies order number 10034 to a requisition list called "my_new_list":


http://myhostname/RequisitionListCopy?URL=RequisitionListDisplay&orderId=10034
&name=my_new_list

Behavior

  • Copies the order and creates a requisition list
  • Redirects to the URL

Exception conditions

  • Throws an ECApplicationException with the message key _ERR_INVALID_INPUT if the input parameter status is not Y or Z.
  • Throws an ECApplicationException with the message key _ERR_INVALID_ORDER_REFNUM if the input parameter orderId is not a valid order ID.