Configuring fulfillment centers for stores
This task describes how to to update the Transaction server with store inventory location data.
About this task
You must configure fulfillment centers in the Commerce+
Transaction server in the following circumstances:
- When you are using a Commerce+-created fulfillment center as the delivery method.
- For every fulfillment center that was created prior to using the Commerce+ Inventory that you wish to use in stores created using the PBC.
Procedure
-
To ensure that the data load process is configured for the correct store,
update the
storeIdentifierproperty in the environment configuration file. -
Open the following sample csv template:
/opt/CommerceUtilities/samples/DataLoad/FulfillmentCenter/ffmcenter.csvUpdate the file contents to reflect your store’s fulfillment center details. The columns in the .csv file correspond to the fields in the FFMCENTER database table.
For example, a row in the file could contain the following values:ffmcenter ffmcenterName,extIdentifier,displayName,DefaultShipOffset,InventoryOpFlags,MaxNumPick,PickDelayInMin,DropShip,DeleteRuby3,RUB003,default_store,86400,14,25,5,N -
Ensure that the csv file name you created above matches the location property
for the fulfillment center load item in the dataload configuration file
located at
/opt/CommerceUtilities/samples/DataLoad/FulfillmentCenter/wc-dataload.xml.
For example:
<_config:DataLoadConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ibm.com/xmlns/prod/commerce/foundation/config ../../../../xml/config/xsd/wc-dataload.xsd" xmlns:_config="http://www.ibm.com/xmlns/prod/commerce/foundation/config"> <_config:DataLoadEnvironment configFile="wc-dataload-env.xml" /> <_config:LoadOrder commitCount="100" batchSize="100" maxError="0" dataLoadMode="Replace" > <_config:property name="firstTwoLinesAreHeader" value="true" /> <_config:LoadItem name="ffmcenter" businessObjectConfigFile="wc-loader-fulfillment-center.xml" > <_config:DataSourceLocation location="ffmcenter.csv" oldLocation="" /> </_config:LoadItem> </_config:LoadOrder> -
Run the following command:
./dataload.sh../samples/DataLoad/FulfillmentCenter/wc-dataload.xml