Author: jacopoc
Date: Tue Nov 24 10:23:33 2009 New Revision: 883645 URL: http://svn.apache.org/viewvc?rev=883645&view=rev Log: Fixed entity definition for new olap entities in the order component. Added: ofbiz/trunk/applications/order/entitydef/entitygroup_olap.xml (with props) Modified: ofbiz/trunk/applications/order/entitydef/entitymodel_olap.xml ofbiz/trunk/applications/order/ofbiz-component.xml Added: ofbiz/trunk/applications/order/entitydef/entitygroup_olap.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitygroup_olap.xml?rev=883645&view=auto ============================================================================== --- ofbiz/trunk/applications/order/entitydef/entitygroup_olap.xml (added) +++ ofbiz/trunk/applications/order/entitydef/entitygroup_olap.xml Tue Nov 24 10:23:33 2009 @@ -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> + Propchange: ofbiz/trunk/applications/order/entitydef/entitygroup_olap.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/applications/order/entitydef/entitygroup_olap.xml ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/trunk/applications/order/entitydef/entitygroup_olap.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Modified: ofbiz/trunk/applications/order/entitydef/entitymodel_olap.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitymodel_olap.xml?rev=883645&r1=883644&r2=883645&view=diff ============================================================================== --- ofbiz/trunk/applications/order/entitydef/entitymodel_olap.xml (original) +++ ofbiz/trunk/applications/order/entitydef/entitymodel_olap.xml Tue Nov 24 10:23:33 2009 @@ -142,13 +142,13 @@ <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> Modified: ofbiz/trunk/applications/order/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/ofbiz-component.xml?rev=883645&r1=883644&r2=883645&view=diff ============================================================================== --- ofbiz/trunk/applications/order/ofbiz-component.xml (original) +++ ofbiz/trunk/applications/order/ofbiz-component.xml Tue Nov 24 10:23:33 2009 @@ -29,6 +29,7 @@ <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"/> |
Free forum by Nabble | Edit this page |