Fixed entity definition for new olap entities in the order component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
distributed with this work for additional information
|
||||
regarding copyright ownership. The ASF licenses this file
|
||||
to you under the Apache License, Version 2.0 (the
|
||||
"License"); you may not use this file except in compliance
|
||||
with the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing,
|
||||
software distributed under the License is distributed on an
|
||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, either express or implied. See the License for the
|
||||
specific language governing permissions and limitations
|
||||
under the License.
|
||||
-->
|
||||
|
||||
<entitygroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitygroup.xsd">
|
||||
|
||||
<!-- ========================================================= -->
|
||||
<!-- Facts -->
|
||||
<!-- ========================================================= -->
|
||||
<entity-group group="org.ofbiz.olap" entity="SalesOrderItemFact"/>
|
||||
|
||||
<!-- ========================================================= -->
|
||||
<!-- Star Schemas -->
|
||||
<!-- ========================================================= -->
|
||||
<entity-group group="org.ofbiz.olap" entity="SalesOrderItemStarSchema"/>
|
||||
|
||||
</entitygroup>
|
||||
|
||||
@@ -142,13 +142,13 @@ under the License.
|
||||
<prim-key field="orderId"/>
|
||||
<prim-key field="orderItemSeqId"/>
|
||||
|
||||
<relation type="one" fk-name="SIIF_INVDATE" rel-entity-name="DateDimension">
|
||||
<key-map field-name="invoiceDateDimId" rel-field-name="dimensionId"/>
|
||||
<relation type="one" fk-name="SOIF_INVDATE" rel-entity-name="DateDimension">
|
||||
<key-map field-name="orderDateDimId" rel-field-name="dimensionId"/>
|
||||
</relation>
|
||||
<relation type="one" fk-name="SIIF_CURRENCY" rel-entity-name="CurrencyDimension">
|
||||
<relation type="one" fk-name="SOIF_CURRENCY" rel-entity-name="CurrencyDimension">
|
||||
<key-map field-name="origCurrencyDimId" rel-field-name="dimensionId"/>
|
||||
</relation>
|
||||
<relation type="one" fk-name="SIIF_PRODUCT" rel-entity-name="ProductDimension">
|
||||
<relation type="one" fk-name="SOIF_PRODUCT" rel-entity-name="ProductDimension">
|
||||
<key-map field-name="productDimId" rel-field-name="dimensionId"/>
|
||||
</relation>
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ under the License.
|
||||
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_old.xml"/>
|
||||
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_view.xml"/>
|
||||
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_olap.xml"/>
|
||||
<entity-resource type="group" reader-name="main" loader="main" location="entitydef/entitygroup_olap.xml"/>
|
||||
<entity-resource type="eca" reader-name="main" loader="main" location="entitydef/eecas.xml"/>
|
||||
<entity-resource type="data" reader-name="seed" loader="main" location="data/OrderTypeData.xml"/>
|
||||
<entity-resource type="data" reader-name="seed" loader="main" location="data/OrderPortletData.xml"/>
|
||||
|
||||
Reference in New Issue
Block a user