syncInventory
If RTAM triggers a REALTIME_AVAILABILITY_CHANGE_LIST event and the inventory push is triggered in Monitor Option 1 or Monitor Option 3 mode, the availability change message from Sterling Order Management is routed to the SyncInventoryAvailability Service and sent to the WebSphere Commerce Inventory service.
| Sterling Order Management path | WebSphere Commerce path |
|---|---|
| AvailabilityChange/InventoryItem/@InventoryOrganizationCode | SyncInventoryAvailability/ApplicationArea/BusinessContext/ContextData[name=storeId] Use the common attribute mapping file, ValueMaps.xml, to implement this mapping. |
| AvailabilityChange/InventoryItem/@ItemID | InventoryAvailability/InventoryAvailabilityIdentifier/ExternalIdentifier/CatalogEntryIdentifier/ExternalIdentifier/PartNumber |
| AvailabilityChange/InventoryItem/@InventoryOrganizationCode | InventoryAvailability/InventoryAvailabilityIdentifier/ExternalIdentifier/OnlineStoreIdentifier/UniqueID Use the common attribute mapping file, ValueMaps.xml, to implement this mapping. |
| AvailabilityChange/@Node | InventoryAvailability/InventoryAvailabilityIdentifier/ExternalIdentifier/PhysicalStoreIdentifier/ExternalIdentifier Use the common attribute mapping file, ValueMaps.xml, to implement this mapping. |
| Available If OnhandAvailableQuantity>0 Backorderable If FirstFutureAvailableDateexists Unavailable All Other cases | InventoryAvailability/InventoryStatus |
| AvailabilityChange/InventoryItem/@UnitOfMeasure | InventoryAvailability/AvailableQuantity/@uom |
| AvailabilityChange/InventoryItem/@OnhandAvailableQuantity | InventoryAvailability/AvailableQuantity |