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

ashish-18
Author: ashish
Date: Thu Jul  9 09:42:51 2009
New Revision: 792473

URL: http://svn.apache.org/viewvc?rev=792473&view=rev
Log:
Adding two more fields.
This will help in searching the records for which commission invoice has been created.

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=792473&r1=792472&r2=792473&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml Thu Jul  9 09:42:51 2009
@@ -1274,6 +1274,8 @@
       <field name="invoiceItemAssocTypeId" type="id-ne"></field>
       <field name="fromDate" type="date-time"></field>
       <field name="thruDate" type="date-time"></field>
+      <field name="partyIdFrom" type="id"></field>
+      <field name="partyIdTo" type="id"></field>
       <field name="quantity" type="fixed-point"></field>
       <field name="amount" type="currency-amount"></field>      
       <prim-key field="invoiceIdFrom"/>
@@ -1293,6 +1295,12 @@
         <key-map field-name="invoiceIdTo" rel-field-name="invoiceId"/>
         <key-map field-name="invoiceItemSeqIdTo" rel-field-name="invoiceItemSeqId"/>
       </relation>
+      <relation type="one-nofk" title="From" rel-entity-name="Party">
+        <key-map field-name="partyIdFrom" rel-field-name="partyId"/>
+      </relation>
+      <relation type="one-nofk" title="To" rel-entity-name="Party">
+        <key-map field-name="partyIdTo" rel-field-name="partyId"/>
+      </relation>
     </entity>
     
     <entity entity-name="InvoiceItemAssocType"