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

hansbak-2
Author: hansbak
Date: Sat Sep  9 21:10:32 2006
New Revision: 441901

URL: http://svn.apache.org/viewvc?view=rev&rev=441901
Log:
add view to be able to list bank accounts for a party

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

Modified: incubator/ofbiz/trunk/applications/accounting/entitydef/entitygroup.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/entitydef/entitygroup.xml?view=diff&rev=441901&r1=441900&r2=441901
==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/entitydef/entitygroup.xml (original)
+++ incubator/ofbiz/trunk/applications/accounting/entitydef/entitygroup.xml Sat Sep  9 21:10:32 2006
@@ -155,6 +155,7 @@
     <entity-group group="org.ofbiz" entity="PaymentBudgetAllocation" />
     <entity-group group="org.ofbiz" entity="PaymentMethod" />
     <entity-group group="org.ofbiz" entity="PaymentMethodAndCreditCard" />
+    <entity-group group="org.ofbiz" entity="PaymentMethodAndEftAccount" />
     <entity-group group="org.ofbiz" entity="PaymentMethodAndGiftCard" />
     <entity-group group="org.ofbiz" entity="PaymentMethodType" />
     <entity-group group="org.ofbiz" entity="PaymentMethodTypeGlAccount" />

Modified: incubator/ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml?view=diff&rev=441901&r1=441900&r2=441901
==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml (original)
+++ incubator/ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml Sat Sep  9 21:10:32 2006
@@ -2423,44 +2423,81 @@
         <key-map field-name="glAccountId"/>
       </relation>
     </entity>
-    <view-entity entity-name="PaymentMethodAndCreditCard"
-            package-name="org.ofbiz.accounting.payment"
-            never-cache="true"
-            title="PaymentMethod and CreditCard View Entity">
-      <member-entity entity-alias="PM" entity-name="PaymentMethod"/>
-      <member-entity entity-alias="CC" entity-name="CreditCard"/>
-      <alias entity-alias="PM" name="paymentMethodId"/>
-      <alias entity-alias="PM" name="paymentMethodTypeId"/>
-      <alias entity-alias="PM" name="partyId"/>
-      <alias entity-alias="PM" name="glAccountId"/>
-      <alias entity-alias="PM" name="fromDate"/>
-      <alias entity-alias="PM" name="thruDate"/>
-      <alias entity-alias="CC" name="cardType"/>
-      <alias entity-alias="CC" name="cardNumber"/>
-      <alias entity-alias="CC" name="expireDate"/>
-      <alias entity-alias="CC" name="companyNameOnCard"/>
-      <alias entity-alias="CC" name="titleOnCard"/>
-      <alias entity-alias="CC" name="firstNameOnCard"/>
-      <alias entity-alias="CC" name="lastNameOnCard"/>
-      <alias entity-alias="CC" name="suffixOnCard"/>
-      <alias entity-alias="CC" name="contactMechId"/>
-      <view-link entity-alias="PM" rel-entity-alias="CC">
-        <key-map field-name="paymentMethodId"/>
-      </view-link>
-      <relation type="one-nofk" rel-entity-name="PaymentMethod">
-        <key-map field-name="paymentMethodId"/>
-      </relation>
-      <relation type="one-nofk" rel-entity-name="PaymentMethodType">
-        <key-map field-name="paymentMethodTypeId"/>
-      </relation>
-      <relation type="one-nofk" rel-entity-name="CreditCard">
-        <key-map field-name="paymentMethodId"/>
-      </relation>
-      <relation type="one-nofk" rel-entity-name="PostalAddress">
-        <key-map field-name="contactMechId"/>
-      </relation>
-    </view-entity>
-    <view-entity entity-name="PaymentMethodAndGiftCard"
+  <view-entity entity-name="PaymentMethodAndCreditCard"
+    package-name="org.ofbiz.accounting.payment"
+    never-cache="true"
+    title="PaymentMethod and CreditCard View Entity">
+    <member-entity entity-alias="PM" entity-name="PaymentMethod"/>
+    <member-entity entity-alias="CC" entity-name="CreditCard"/>
+    <alias entity-alias="PM" name="paymentMethodId"/>
+    <alias entity-alias="PM" name="paymentMethodTypeId"/>
+    <alias entity-alias="PM" name="partyId"/>
+    <alias entity-alias="PM" name="glAccountId"/>
+    <alias entity-alias="PM" name="fromDate"/>
+    <alias entity-alias="PM" name="thruDate"/>
+    <alias entity-alias="CC" name="cardType"/>
+    <alias entity-alias="CC" name="cardNumber"/>
+    <alias entity-alias="CC" name="expireDate"/>
+    <alias entity-alias="CC" name="companyNameOnCard"/>
+    <alias entity-alias="CC" name="titleOnCard"/>
+    <alias entity-alias="CC" name="firstNameOnCard"/>
+    <alias entity-alias="CC" name="lastNameOnCard"/>
+    <alias entity-alias="CC" name="suffixOnCard"/>
+    <alias entity-alias="CC" name="contactMechId"/>
+    <view-link entity-alias="PM" rel-entity-alias="CC">
+      <key-map field-name="paymentMethodId"/>
+    </view-link>
+    <relation type="one-nofk" rel-entity-name="PaymentMethod">
+      <key-map field-name="paymentMethodId"/>
+    </relation>
+    <relation type="one-nofk" rel-entity-name="PaymentMethodType">
+      <key-map field-name="paymentMethodTypeId"/>
+    </relation>
+    <relation type="one-nofk" rel-entity-name="CreditCard">
+      <key-map field-name="paymentMethodId"/>
+    </relation>
+    <relation type="one-nofk" rel-entity-name="PostalAddress">
+      <key-map field-name="contactMechId"/>
+    </relation>
+  </view-entity>
+  <view-entity entity-name="PaymentMethodAndEftAccount"
+    package-name="org.ofbiz.accounting.payment"
+    never-cache="true"
+    title="PaymentMethod and EftAccount View Entity">
+    <member-entity entity-alias="PM" entity-name="PaymentMethod"/>
+    <member-entity entity-alias="EA" entity-name="EftAccount"/>
+    <alias entity-alias="PM" name="paymentMethodId"/>
+    <alias entity-alias="PM" name="paymentMethodTypeId"/>
+    <alias entity-alias="PM" name="partyId"/>
+    <alias entity-alias="PM" name="glAccountId"/>
+    <alias entity-alias="PM" name="fromDate"/>
+    <alias entity-alias="PM" name="thruDate"/>
+    <alias entity-alias="EA" name="bankName"/>
+    <alias entity-alias="EA" name="routingNumber"/><!-- also used for IBAN number -->
+    <alias entity-alias="EA" name="accountType"/>
+    <alias entity-alias="EA" name="accountNumber"/>
+    <alias entity-alias="EA" name="nameOnAccount"/>
+    <alias entity-alias="EA" name="companyNameOnAccount"/>
+    <alias entity-alias="EA" name="contactMechId"/>
+    <alias entity-alias="EA" name="yearsAtBank"/>
+    <view-link entity-alias="PM" rel-entity-alias="EA">
+      <key-map field-name="paymentMethodId"/>
+    </view-link>
+    <relation type="one-nofk" rel-entity-name="PaymentMethod">
+      <key-map field-name="paymentMethodId"/>
+    </relation>
+    <relation type="one-nofk" rel-entity-name="PaymentMethodType">
+      <key-map field-name="paymentMethodTypeId"/>
+    </relation>
+    <relation type="one-nofk" rel-entity-name="EftAccount">
+      <key-map field-name="paymentMethodId"/>
+    </relation>
+    <relation type="one-nofk" rel-entity-name="PostalAddress">
+      <key-map field-name="contactMechId"/>
+    </relation>
+  </view-entity>
+  
+  <view-entity entity-name="PaymentMethodAndGiftCard"
             package-name="org.ofbiz.accounting.payment"
             never-cache="true"
             title="PaymentMethod and GiftCard View Entity">