Mapping physical stores to Inventory locations

If a physical store is to map to a new inventory location, create the new location in the Inventory. While you create and manage physical stores in the Commerce+ database, you create and manage inventory locations in the PBC.

About this task

After creating a new physical store in your newly published store, map the store to a fulfillment center. In the following example, Cardiff Center physical store is assumed to exist, and will be mapped the Cardiff Center fulfillment Center.

Procedure

  1. Create the Cardiff Center fulfillment center.
    1. Open Commerce Lab Tools, and from the left navigation menu, select Business tools > Inventory and Fulfillment > Inventory Dashboard.
    2. From the Inventory Dashboard page, click View all Fulfillment Centers.
    3. On the Inventory Location page, click Create Inventory Location to create a new FC.
    4. Enter the inventory location details and take a note of the IL Code. For example, CARD01.
    5. Review and activate the new fulfillment center.
    6. Create a .CSV file to upload the inventory data to the newly created fulfillment center. For definitions and content requirements of the columns, see Inventory levels data file (inventory.csv).
      INVENTORYLOCATION_ID,PARTNUMBER,STORE,AVAILABLE_QTY,UNAVAILABLE_QTY,RESERVED_QTY
      For example:
      
      CARD01,LR-FNTR-0001-0001,R003,91,10,100,25
    7. Verify that Inventory data is visible in the Inventory listing page for given fulfillment center and part number.
  2. Create the physical store in the commerce database.
    1. Update store name. For example, R003 in the /opt/CommerceUtilities/samples/DataLoad/StoreLocator/wc-dataload-env.xml file.
    2. Dataload psychical stores related tables. ./dataload.sh ../samples/DataLoad/StoreLocator/wc-dataload-store-locator.xml
  3. Map the Cardiff Center physical store to the Cardiff Center fulfillment Center.
    1. Update the store name as R003 in the /opt/CommerceUtilities/samples/DataLoad/FulfillmentCenter/wc-dataload-env.xml file.
    2. Update the /opt/CommerceUtilities/samples/DataLoad/FulfillmentCenter/ffmcenter.csv file with the following line of code:
      ffmcenterName,extIdentifier,displayName,DefaultShipOffset,InventoryOpFlags,MaxNumPick,PickDelayInMin,DropShip,Delete
      Cardiff Center,CARD01,Cardiff Center,86400,14,25,5,N
    3. Update ../samples/DataLoad/FulfillmentCenter/wc-dataload.xml file with ./dataload.sh.
    4. Update ../samples/DataLoad/FulfillmentCenter/wc-dataload-fulfillment-center.xml file with ./dataload.sh.