ilscipio/scipio-erp

View on GitHub
applications/shop/data/DemoCatalogTransientData.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->

<entity-engine-xml>

    <!-- SCIPIO: This file is for catalog definitions that are transient or temporary in nature,
        i.e. in a real store would be calculated but for which we need static demo data for testing.
        e.g. Best-selling -->

    <!-- CATEGORIES (organizational) -->

    <!-- SCIPIO: NOTE: These still remaining their old IDs -->
    <ProductCategory productCategoryId="BEST-SELL-1" productCategoryTypeId="BEST_SELL_CATEGORY" categoryName="Electronics"/>
    <ProductCategory productCategoryId="BEST-SELL-2" productCategoryTypeId="BEST_SELL_CATEGORY" categoryName="Other"/>
  
    <ProductCategoryRollup productCategoryId="BEST-SELL-1" parentProductCategoryId="CATALOG1_BEST_SELL" sequenceNum="01" fromDate="2010-01-01 12:00:00.0"/>
    <ProductCategoryRollup productCategoryId="BEST-SELL-2" parentProductCategoryId="CATALOG1_BEST_SELL" sequenceNum="02" fromDate="2010-01-01 12:00:00.0"/>


    <!-- CATEGORIES (members), best-selling -->
    
    <ProductCategoryRollup productCategoryId="EL-PHN-101" parentProductCategoryId="BEST-SELL-1" fromDate="2010-01-01 12:00:00.0"/>
    <ProductCategoryRollup productCategoryId="MU-DL-101" parentProductCategoryId="BEST-SELL-2" fromDate="2010-01-01 12:00:00.0"/>


    <!-- PRODUCTS (members), best-selling -->

    <ProductCategoryMember productCategoryId="BEST-SELL-1" productId="PH-1000" quantity="10" fromDate="2010-01-01 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="BEST-SELL-1" productId="PH-1001" quantity="8" fromDate="2010-01-01 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="BEST-SELL-1" productId="PH-1004" quantity="6" fromDate="2010-01-01 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="BEST-SELL-1" productId="PH-1005" quantity="4" fromDate="2010-01-01 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="BEST-SELL-1" productId="SW-1006" quantity="2" fromDate="2010-01-01 12:00:00.0"/>

    <ProductCategoryMember productCategoryId="BEST-SELL-2" productId="VH-9943" quantity="3" fromDate="2010-01-01 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="BEST-SELL-2" productId="VH-9944" quantity="5" fromDate="2010-01-01 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="BEST-SELL-2" productId="CDR-1111" quantity="7" fromDate="2010-01-01 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="BEST-SELL-2" productId="KB-5569" quantity="1" fromDate="2010-01-01 12:00:00.0"/>
 
 
    <!-- PRODUCTS (members), promotions -->
 
    <ProductCategoryMember productCategoryId="PROMOTIONS" productId="PH-1004" fromDate="2010-01-01 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="PROMOTIONS" productId="CL-5005" fromDate="2010-01-01 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="PROMOTIONS" productId="CAM-2644" fromDate="2001-05-13 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="PROMOTIONS" productId="KB-5569" fromDate="2001-05-13 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="PROMOTIONS" productId="VH-9943" fromDate="2001-05-13 12:00:00.0"/> 
    <!-- SCIPIO: This doesn't make sense (percent off gift cards)
    <ProductCategoryMember productCategoryId="PROMOTIONS" productId="GC-001" fromDate="2001-05-13 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="PROMOTIONS" productId="GC-002" fromDate="2001-05-13 12:00:00.0"/>
    -->
    <!-- SCIPIO: This is too strange to promote
    <ProductCategoryMember productCategoryId="PROMOTIONS" productId="FA-001" fromDate="2001-05-13 12:00:00.0"/>
    -->
    <ProductCategoryMember productCategoryId="PROMOTIONS" productId="PC-1000" fromDate="2001-05-13 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="PROMOTIONS" productId="ENCHL-01" fromDate="2007-12-27 12:00:00.0"/>
    <ProductCategoryMember productCategoryId="PROMOTIONS" productId="PIZZA-01" fromDate="2004-09-24 15:09:47.338"/>
    <ProductCategoryMember productCategoryId="PROMOTIONS" productId="PIZZA-01" fromDate="2004-09-24 15:09:47.338"/>

</entity-engine-xml>