Author: jonesde
Date: Sat Mar 24 14:42:42 2007
New Revision: 522108
URL:
http://svn.apache.org/viewvc?view=rev&rev=522108Log:
Added fields to point to an OrderItem from a FinAccountTrans
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?view=diff&rev=522108&r1=522107&r2=522108==============================================================================
--- ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml Sat Mar 24 14:42:42 2007
@@ -390,6 +390,8 @@
<field name="transactionDate" type="date-time"></field>
<field name="entryDate" type="date-time"></field>
<field name="paymentId" type="id-ne"></field>
+ <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>
<prim-key field="finAccountTransId"/>
<relation type="one" fk-name="FINACCT_TX_TYPE" rel-entity-name="FinAccountTransType">
<key-map field-name="finAccountTransTypeId"/>
@@ -405,6 +407,10 @@
</relation>
<relation type="one" fk-name="FIN_ACT_TX_PMT" rel-entity-name="Payment">
<key-map field-name="paymentId"/>
+ </relation>
+ <relation type="one" fk-name="FIN_ACT_TX_ODITM" rel-entity-name="OrderItem">
+ <key-map field-name="orderId"/>
+ <key-map field-name="orderItemSeqId"/>
</relation>
</entity>
<entity entity-name="FinAccountAuth" package-name="org.ofbiz.accounting.finaccount" title="Financial Account Authorizations record">