Get inventory availability
The get inventory availability communication maps the WebSphere Commerce GetInventoryAvailability request to the SSFS findInventory API call. It is possible to cache the result and would drastically increase performance, as a real time call to SSFS would not be required for each inventory check. Inventory caching is handled only in a pull, initiated by WebSphere Commerce.
Important: Review the following information for your version of WebSphere
Commerce:
Review information about APAR fixes for integration of IBM WebSphere Commerce and IBM Sterling Order Management. For
more information about integrating IBM WebSphere Commerce Version 7 Feature Pack 8 (or later) with
IBM Sterling Order Management Release 9.3, see WebSphere
Commerce integration with Sterling Order Management. For more information about integrating
IBM WebSphere Commerce Version 7 Feature Pack 5 (or later) with IBM Sterling Order Management
Release 9.2.1 (or later), see WebSphere Commerce
integration with Sterling Order Management.
You can integrate Sterling Order Management with WebSphere Commerce using
either Direct Integration or IBM® WebSphere Enterprise Service Bus (WESB) integration. With Direct
Integration, the functions to convert message content and format are performed by services in the
Sterling Order Management Service Definition Framework (SDF). For information about using Direct
Integration to integrate Sterling Order Management with WebSphere Commerce, see Direct Integration with WebSphere Commerce.
As
both WebSphere Commerce and SSFS are customizable, assumptions are
made with the mapping from one system to the other. The assumptions
made for this call are:
| SSFS API path | Source |
|---|---|
| Promise/@OrganizationCode | Set in the "OrganizationCodeSetter" node in the mediation flow |
| Promise/PromiseLines/PromiseLine@UnitOfMeasure | Always "EACH" |
| Promise/PromiseLines/PromiseLine@RequiredQty | Always "999999999" |
| Promise/PromiseLines/PromiseLine@ItemID | PartNumber param in the Xpath selection criteria |
| Promise/PromiseLines/PromiseLine@ShipNode |
|
| Promise/PromiseLines/PromiseLine@LineId |
|
| WebSphere Commerce path | Source |
|---|---|
| _inv:ShowInventoryAvailability/_inv:DataArea/_inv:InventoryAvailability/_inv:InventoryAvailabilityIdentifier/_wcf:ExternalIdentifier/_wcf:CatalogEntryIdentifier/_wcf:ExternalIdentifier/_wcf;PartNumber | PartNumber param in the Xpath selection criteria in the request XML |
| _inv:ShowInventoryAvailability/_inv:DataArea/_inv:InventoryAvailability/_inv:InventoryAvailabilityIdentifier/_wcf:ExternalIdentifier/_wcf:OnlineStoreIdentifier/_wcf:ExternalIdentifier/_wcf:NameIdentifier |
|
| _inv:ShowInventoryAvailability/_inv:DataArea/_inv:InventoryAvailability/_inv:InventoryStatus |
|
| _inv:ShowInventoryAvailability/_inv:DataArea/_inv:InventoryAvailability/_inv:AvailableQuantity@uom | Always "C62" |
| _inv:ShowInventoryAvailability/_inv:DataArea/_inv:InventoryAvailability/_inv:AvailableQuantity | Assignments/Assignment/@Quantity A summation of all quantity values for available products. |