svn commit: r568746 - /ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r568746 - /ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml

jaz-3
Author: jaz
Date: Wed Aug 22 13:39:27 2007
New Revision: 568746

URL: http://svn.apache.org/viewvc?rev=568746&view=rev
Log:
added reason code to financial account transactions

Modified:
    ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml

Modified: ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml?rev=568746&r1=568745&r2=568746&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml Wed Aug 22 13:39:27 2007
@@ -444,6 +444,7 @@
         <field name="orderId" type="id"></field>
         <field name="orderItemSeqId" type="id"><description>To be used along with orderId to point to an OrderItem that represents the purchase of a product to add money to the account.</description></field>
         <field name="performedByPartyId" type="id"></field>
+        <field name="reasonEnumId" type="id"></field>
         <field name="comments" type="comment"></field>
         <prim-key field="finAccountTransId"/>
         <relation type="one" fk-name="FINACCT_TX_TYPE" rel-entity-name="FinAccountTransType">
@@ -467,6 +468,9 @@
         </relation>
         <relation type="one" fk-name="FIN_ACT_TX_PBPTY" title="PerformedBy" rel-entity-name="Party">
             <key-map field-name="performedByPartyId" rel-field-name="partyId"/>
+        </relation>
+        <relation type="one" fk-name="FIN_ACT_REAS_ENUM" title="Reason" rel-entity-name="Enumeration">
+            <key-map field-name="reasonEnumId" rel-field-name="enumId"/>
         </relation>
     </entity>
     <entity entity-name="FinAccountTransAttribute" package-name="org.ofbiz.accounting.finaccount" title="Financial Account Transaction Attribute Entity">