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

diveshdutta
Author: diveshdutta
Date: Mon Jul  4 17:32:37 2016
New Revision: 1751355

URL: http://svn.apache.org/viewvc?rev=1751355&view=rev
Log:
[OFBIZ-7682] Added new entity Check as payment method . In OFBIZ-6899 conclusion was made to introduce new entity. Thanks Jacques , Pierre and Swap, Swapnil for the discussion. Thanks Jagpreet for the patch.

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

Modified: ofbiz/trunk/applications/datamodel/entitydef/accounting-entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/datamodel/entitydef/accounting-entitymodel.xml?rev=1751355&r1=1751354&r2=1751355&view=diff
==============================================================================
--- ofbiz/trunk/applications/datamodel/entitydef/accounting-entitymodel.xml (original)
+++ ofbiz/trunk/applications/datamodel/entitydef/accounting-entitymodel.xml Mon Jul  4 17:32:37 2016
@@ -2801,6 +2801,30 @@ under the License.
       </relation>
     </entity>
 
+    <entity entity-name="CheckAccount"
+            package-name="org.ofbiz.accounting.payment"
+            title="Check Information Entity">
+      <field name="paymentMethodId" type="id-ne"></field>
+      <field name="bankName" type="name"></field>
+      <field name="routingNumber" type="short-varchar"></field>
+      <field name="accountType" type="short-varchar"></field>
+      <field name="accountNumber" type="long-varchar"></field>
+      <field name="nameOnAccount" type="name"></field>
+      <field name="companyNameOnAccount" type="name"></field>
+      <field name="contactMechId" type="id-ne"></field>
+      <field name="branchCode" type="short-varchar"></field>
+      <prim-key field="paymentMethodId"/>
+      <relation type="one" fk-name="CACCT_PMETH" rel-entity-name="PaymentMethod">
+        <key-map field-name="paymentMethodId"/>
+      </relation>
+      <relation type="one" fk-name="CACCT_CMECH" rel-entity-name="ContactMech">
+        <key-map field-name="contactMechId"/>
+      </relation>
+      <relation type="one" fk-name="CACCT_PADDR" rel-entity-name="PostalAddress">
+        <key-map field-name="contactMechId"/>
+      </relation>
+    </entity>
+
     <entity entity-name="GiftCard"
             package-name="org.ofbiz.accounting.payment"
             title="Gift Card Information Entity">