svn commit: r584155 - /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: r584155 - /ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml

jacopoc
Author: jacopoc
Date: Fri Oct 12 06:00:29 2007
New Revision: 584155

URL: http://svn.apache.org/viewvc?rev=584155&view=rev
Log:
Defined relation to children inventory items.

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=584155&r1=584154&r2=584155&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml Fri Oct 12 06:00:29 2007
@@ -1084,6 +1084,10 @@
         <key-map field-name="parentInvoiceId" rel-field-name="invoiceId" />
         <key-map field-name="parentInvoiceItemSeqId" rel-field-name="invoiceItemSeqId" />
       </relation>
+      <relation type="many" fk-name="INVCE_ITM_CINVIT" title="Children" rel-entity-name="InvoiceItem">
+        <key-map field-name="invoiceId" rel-field-name="parentInvoiceId" />
+        <key-map field-name="invoiceItemSeqId" rel-field-name="parentInvoiceItemSeqId" />
+      </relation>
       <relation type="one" fk-name="INVCE_ITM_UOM" rel-entity-name="Uom">
         <key-map field-name="uomId"/>
       </relation>