Develop > Persistence layer > Data assets
Create store fulfillment assets (non-ATP)
After you have defined the fulfillment center or centers that will supply goods for the store, associate a fulfillment center to each product. That is, identify which fulfillment center will supply which of the products.
To create this relationship, add information to the INVENTORY table. Create this information in the format of XML files that can be loaded into the database using the loading utilities.
Notes:
- You must create store assets before you can associate a store with a fulfillment center. For more information about creating store assets, see Create store data assets in an XML file. You must also create the catalog assets before you can create the store fulfillment assets.
- Create store fulfillment assets only if you implement non-ATP fulfillment. The INVENTORY table is not used by a store that includes the ATP functions.
To create the store fulfillment relationship using an XML file:
Procedure
- Create an XML file that follows the wcs.dtd. The DTD files are located...
- WC_INSTALL/xml/sar/
- workspace_dir/wc/xml/sar/
- Use the following example as the guide, create a store-fulfillment center relationship in the XML file, by adding information to the INVENTORY table.
<inventory catentry_id="@catentry_item_id_furniture_loungechair_1_1" quantity="101" ffmcenter_id="&FFMCENTER_ID;" store_id="&STOREENT_ID;" quantitymeasure="C62" inventoryflags="0" />
- Repeat step 2 for each catalog entry in the store.
Related concepts
Non-ATP inventory information model
Related reference
Database asset groups dependencies