Safety Stock Feed
Overview
The Safety Stock feed sets safety stock for an item (SKU) or item attribute. You can choose to use any common item attribute (for example, category or season) to define the same safety stock values for a group of items. Safety stock can be defined at the following levels:
- Item / node / fulfillment type /supply type
- Item / node type / fulfillment type / supply type
- Item attribute /node type/ fulfillment type /supply type
- Item attribute / node / fulfillment type / supply type
The significant data points present in the feed are:
- Supply type (Onhand, Future)
- Qty or percentage assignment.
Notes:
- Default Character Encoding: Unicode: UTF-8
- Exchange Frequency: Client-specific
- Production Mailbox Location: Client-specific
- Test Mailbox Location: Client-specific
-
The filename combined with the mailbox determines the destination of the Facility Feed.
-
FileName pattern: <ClientId>_<CatalogId>_SafetyStock_<YYYYMMDDHHMMSS>.xml
-
File Name Example: TMSNA_21_SafetyStock_20170315000021.xml
-
Schema
The Safety Stock feed follows the SafetyStock.xsd schema. Refer to the following schemas for type definitions and other details:
- CommonTypes.xsd
- ISOCountryCodeType-V2006.xsd
- ISOCurrencyCodeType-V2008.xsd
- ISOLanguageCodeType-V2002.xsd
- WIPOST3CodeType-V2007.xsd
Examples
This example shows facility type and quantity level for RETAIL_STORE, SHIP_TO_HOME, ONHAND.
Copy<?xml version="1.0" encoding="UTF-8"?>
<SafetyStockRules>
<MessageHeader>
<Standard>GSI</Standard>
<HeaderVersion>5.21</HeaderVersion>
<VersionReleaseNumber>5.21</VersionReleaseNumber>
<SourceData>
<SourceId>TMSNA</SourceId>
<SourceType>CLIENT</SourceType>
</SourceData>
<DestinationData>
<DestinationId>GSI</DestinationId>
<DestinationType>PH</DestinationType>
</DestinationData>
<EventType>SafetyStock</EventType>
<MessageData>
<MessageId>2016060110000041</MessageId>
<CorrelationId>2016060110000041</CorrelationId>
</MessageData>
<CreateDateAndTime>2016-06-01T09:49:55Z</CreateDateAndTime>
</MessageHeader>
<SafetyStock>
<StoreId>TMSUS</StoreId>
<ClientId>TMSNA</ClientId>
<SafetyStockRule operation_type = "Manage/Delete">
<NodeTypeItemCondition>
<ClientItemId>12-345</ClientItemId>
<FacilityType>RETAIL_STORE</FacilityType>
<FulfillmentChannel>SHIP_TO_HOME</FulfillmentChannel>
<SupplyTypes>
<SupplyType>ONHAND</SupplyType>
</SupplyTypes>
</NodeTypeItemCondition>
<QuantityApplication>
<Quantity>100</Quantity>
</QuantityApplication>
</SafetyStockRule>
</SafetyStock>
</SafetyStockRules>
This example shows facility, item, and percentage level for store and SHIP_TO_HOME, ONHAND.
Copy<?xml version="1.0" encoding="UTF-8"?>
<SafetyStockRules>
<MessageHeader>
<Standard>GSI</Standard>
<HeaderVersion>5.21</HeaderVersion>
<VersionReleaseNumber>5.21</VersionReleaseNumber>
<SourceData>
<SourceId>TMSNA</SourceId>
<SourceType>CLIENT</SourceType>
</SourceData>
<DestinationData>
<DestinationId>GSI</DestinationId>
<DestinationType>PH</DestinationType>
</DestinationData>
<EventType>SafetyStock</EventType>
<MessageData>
<MessageId>2016060110000041</MessageId>
<CorrelationId>2016060110000041</CorrelationId>
</MessageData>
<CreateDateAndTime>2016-06-01T09:49:55Z</CreateDateAndTime>
</MessageHeader>
<SafetyStock>
<StoreId>TMSUS</StoreId>
<ClientId>TMSNA</ClientId>
<SafetyStockRule operation_type = "Manage/Delete">
<NodeItemCondition>
<ClientItemId>12-345</ClientItemId>
<FacilityId>TMS_NA-Store123</FacilityId>
<FulfillmentChannel>SHIP_TO_HOME</FulfillmentChannel>
<SupplyTypes>
<SupplyType>ONHAND</SupplyType>
</SupplyTypes>
</NodeItemCondition>
<PercentageApplication>
<Percentage>100</Percentage>
</PercentageApplication>
</SafetyStockRule>
</SafetyStock>
</SafetyStockRules>