Reference > Shop flow URLs > Order Management subsystem URLs > Orders URLs


InventoryAllocationCheckCmd URL

Display a list of order items based on the status of the order items in specified orders.


URL structure

http:// host_name/path/

This is the fully qualified name of the WebSphere Commerce Server and the configuration path.

Diagram of the URL structure: The URL starts with the fully qualified name of the WebSphere Commerce Server and the configuration path, followed by the URL name, InventoryAllocationCheckCmd , and the ? character. End the URL with a list of parameters in the form of name-value pairs. Separate each <a href=name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />


Parameter values

orderId

The reference number of the order. This contains the order items specified by the orderItemId1_ i and orderItemId2_ i parameters. The default value is ".", which stands for the current pending order.

orderItemId1_ i

Specifies OrderItems to resolve the redirection URL specified by the URL_ i parameter (if specified) and categorizes order items into lists for display.

orderItemId2_ i

Specifies OrderItems to resolve the redirection URL specified by the URL_ i parameter (if specified) and categorizes order items into lists for display.

operation_ i

Specifies the binary operation that is applied to the sets of order items specified by orderItemId1_ i and orderItemId2_ i parameters. Valid values are subset, equal, unionEmpty, and unionNotEmpty.

URL_ i

The URL called that is based on the order item sets specified by the orderItem1_ i and orderItem2_ i parameters and the operation on these sets specified by the operation_ i parameter.

URL

Required: The URL that is called if none of the specified enumeration groups match or none of the matching enumeration groups have corresponding URL_ i parameters specified.

remerge

A list of the order items that are to be merged with other order items who are in the same order and who have the same correlationGroup attribute, if possible. This parameter can be repeated.

merge

A list of order items that are to be merged with other order items who are in the same order, if possible, regardless of their correlationGroup attributes. This parameter can be repeated.

allocate

A list of order items that are to be allocated from the existing inventory. This parameter can be repeated.

backorder

A list of order items that are to be backordered from the existing inventory. This parameter can be repeated.

reverse

A list of order items whose allocations are to be released (de-allocated from existing or expected inventory as appropriate). This parameter can be repeated.

The remerge, merge, allocate, backorder, and reverse parameters are applicable only if ATP inventory is enabled. (See the STORE.INVENTORYSYSTEM column in the STORE table.) They represent lists of order items that are passed to the AllocateInventoryCmd task command, which calls the CheckInventoryAvailabilityCmd, AllocateExistingInventoryCmd, AllocateExpectedInventoryCmd, DeallocateExistingInventoryCmd, and DeallocateExpectedInventoryCmd task commands as specified below. Also, these parameters accept OrderItem abbreviations, which are detailed in the help for Order Management subsystem URLs.

The default value of this parameter for ATP is *n. Use the value of *n to decide whether reverse and re-allocate are required for an order item. However, if an order item was previously allocated against expected or existing inventory, then the order item might be reversed during allocation.


Example

The following example displays all order items that are validly allocated or released.

    http://myhostname/webapp/wcs/stores/servlet/InventoryAllocationCheck?
   
orderItemId1_1=*&orderItemId2_1=*av&operation_1=subset&URL_1=fullyAllocatedOrReleased&URL=checkProductAvailability

This table displays some examples:

orderItem1_ i orderItem2_ i operation_ i URL_ i Description
*av *r subset   Makes these lists available for display by subsequent URLs to display the released order items separately from the validly allocated order items.
* *av subset fullyAllocatedOrReleased Displays all order items that are validly allocated or released.
*n *bu unionNotEmpty someBackOrders Some orderitems are backordered or unallocated.
*n *w unionNotEmpty someUnknownAvailabilityTimes Some orderitems do not have an estimated availability.
* *p subset allAvailableNow All orderitems have availability times in the past or present.
*n *f unionNotEmpty someNotAvailableNow Some orderitems have estimated availability times in the future.
*n *d unionEmpty noneDiscontinued There are no orderitems with discontinued inventory items.


Behavior


Exception conditions

There are no exceptions for this command.


Related concepts

Order Management subsystem

Related reference

Order Management subsystem URLs


+

Search Tips   |   Advanced Search