Develop > Persistence layer > Data assets
Create fulfillment assets
Before the store can ship goods to a customer, define the fulfillment center, or centers, that will supply these goods. Create this information in the format of XML files that can be loaded into the database using the Loading utilities. Fulfillment centers can also be created by using the WebSphere Commerce Accelerator.
To create fulfillment assets for the store using an XML file:
Procedure
- Create an XML file that follows the fulfillment.dtd. The DTD files are located...
- WC_INSTALL/xml/sar/
- workspace_dir/wc/xml/sar/
- Use the following example as the guide, define a fulfillment center in the XML file in the FFMCENTER table:
<ffmcenter ffmcenter_id="@ffmcenter_id" name="&STORE_IDENTIFIER; Home" member_id="&MEMBER_ID;" />
- Use the following example as the guide, describe the fulfillment center in the XML file in the FFMCENTDS table. If you are creating a multicultural store, you should include this information in a locale-specific XML file.
<ffmcentds ffmcenter_id="@ffmcenter_id_1" language_id="&en_US;" staddress_id="@staddress_id_en_US_1" description="This is the fulfillment center for the ConsumerDirect store." displayname="ConsumerDirect fulfillment center" />
- Repeat steps 2 and 3 for all fulfillment centers that your store supports.
Related concepts
Related tasks
Related reference
Database asset groups dependencies