WebSphere Commerce Enterprise

RequisitionListDisplay URL

This URL displays one or more requisition lists.

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
Distinguishes between a private requisition list and a shared requisition list. The default is Y for a private requisition list. Z indicates a shared requisition list.
requisitionListId
The ID of the requisition list to be displayed.
requisitionListStoreId
The ID of the store the requisition list is created in. This parameter can be repeated.

Example

The following example displays all shareable requisition lists for store 10011:


http://myhostname/RequisitionListDisplay?status=Z&requisitionListStoreId=10011

Behavior

  • If the input requisitionListId is specified, it displays the specified requisition list. The other two parameters, status and requisitionListStoreId, are ignored. The same requisitionListId is returned and it forwards to a RequisitionListDetailView view.
  • The status parameter defines a set of requisition lists, S1.
    • If status=Y, S1 contains all private requisition lists.
    • If status=Z, S1 contains all shareable requisition lists.
    • If status is missing, S1 contains both types of requisition lists.
  • The requisitionListStoreId parameter defines a set of requisition lists, S2.
    • If requisitionListStoreId is specified, the set S2 contains the requisition lists for that store.
    • If r equisitionListStoreId=*, S2 contains the requisition lists for all stores.
    • If requisitionListStoreId is not specified, the S2 contains the requisition lists for the current store which is in the command context. If there is no current store in the command context, S2 contains the requisition list for all stores.
  • If the input requisitionListId is missing, it uses the status and requisitionListStoreId parameters to return all IDs of the requisition lists which are in both S1 and S2 and also available to the user. It forwards to a RequisitionListView view.

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 requisitionListId is not a valid order ID.