Added a migrateAgreementWorkEffortAppl service to migrate existing data to the new entity. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883140 13f79535-47bb-0310-9956-ffa450edef68
57 lines
2.8 KiB
XML
57 lines
2.8 KiB
XML
<?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.
|
|
-->
|
|
|
|
<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitymodel.xsd">
|
|
<!-- ========================================================= -->
|
|
<!-- ======================== Defaults ======================= -->
|
|
<!-- ========================================================= -->
|
|
<title>Entity of an Open For Business Project Component</title>
|
|
<description>None</description>
|
|
<copyright>Copyright 2001-2009 The Apache Software Foundation</copyright>
|
|
<author>None</author>
|
|
<version>1.0</version>
|
|
<!-- ========================================================= -->
|
|
<!-- ======================== Data Model ===================== -->
|
|
<!-- The modules in this file are as follows: -->
|
|
<!-- org.ofbiz.party.agreement -->
|
|
<!-- ========================================================= -->
|
|
|
|
<entity entity-name="OldAgreementWorkEffortAppl" table-name="AGREEMENT_WORKEFFORT_APPL"
|
|
package-name="org.ofbiz.party.agreement" title="Agreement WorkEffort Application Entity">
|
|
<description>NOTE: this entity is deprecated by AgreementWorkEffortApplic</description>
|
|
<field name="agreementId" type="id-ne"></field>
|
|
<field name="agreementItemSeqId" type="id-ne"></field>
|
|
<field name="workEffortId" type="id-ne"></field>
|
|
<prim-key field="agreementId"/>
|
|
<prim-key field="agreementItemSeqId"/>
|
|
<prim-key field="workEffortId"/>
|
|
<relation type="one-nofk" rel-entity-name="Agreement">
|
|
<key-map field-name="agreementId"/>
|
|
</relation>
|
|
<relation type="one" fk-name="AGRMNT_WEA_AITM" rel-entity-name="AgreementItem">
|
|
<key-map field-name="agreementId"/>
|
|
<key-map field-name="agreementItemSeqId"/>
|
|
</relation>
|
|
<relation type="one" fk-name="AGRMNT_WEA_WEFF" rel-entity-name="WorkEffort">
|
|
<key-map field-name="workEffortId"/>
|
|
</relation>
|
|
</entity>
|
|
</entitymodel> |