Add titles to FinancialTrxn schema
authoreileenmcnaughton <eileen@fuzion.co.nz>
Sat, 13 Jun 2015 23:14:19 +0000 (23:14 +0000)
committereileenmcnaughton <eileen@fuzion.co.nz>
Sat, 13 Jun 2015 23:14:19 +0000 (23:14 +0000)
xml/schema/Financial/FinancialTrxn.xml

index 9ec34cd0186cfc07ced6a493ea8d67e5d3c7fb70..b3926b7c6c82bea97cf2835dc52b8015f6218f93 100755 (executable)
@@ -8,6 +8,7 @@
   <log>true</log>
   <field>
     <name>id</name>
+    <title>Financial Transaction ID</title>
     <type>int unsigned</type>
     <required>true</required>
     <add>1.3</add>
@@ -47,6 +48,7 @@
   <field>
     <name>from_financial_account_id</name>
     <type>int unsigned</type>
+    <title>Financial Transaction From Account</title>
     <comment>FK to financial_account table.</comment>
     <add>4.3</add>
     <pseudoconstant>
@@ -66,6 +68,7 @@
   </foreignKey>
   <field>
     <name>to_financial_account_id</name>
+    <title>Financial Transaction To Account</title>
     <type>int unsigned</type>
     <comment>FK to financial_financial_account table.</comment>
     <add>4.3</add>
@@ -86,6 +89,7 @@
   </foreignKey>
   <field>
     <name>trxn_date</name>
+    <title>Financial Transaction Date</title>
     <type>datetime</type>
     <default>NULL</default>
     <comment>date transaction occurred</comment>
@@ -93,6 +97,7 @@
   </field>
   <field>
     <name>trxn_type</name>
+    <title>Financial Transaction Type</title>
     <type>enum</type>
     <values>Debit,Credit</values>
     <required>true</required>
   </field>
   <field>
     <name>total_amount</name>
+    <title>Financial Total Amount</title>
     <type>decimal</type>
     <required>true</required>
     <comment>amount of transaction</comment>
   </field>
   <field>
     <name>fee_amount</name>
+    <title>Financial Fee Amount</title>
     <type>decimal</type>
     <comment>actual processor fee if known - may be 0.</comment>
     <add>1.3</add>
   </field>
   <field>
     <name>net_amount</name>
+    <title>Financial Net Amount</title>
     <type>decimal</type>
     <comment>actual funds transfer amount. total less fees. if processor does not report actual fee during transaction, this is set to total_amount.</comment>
     <add>1.3</add>
   </field>
   <field>
     <name>currency</name>
+    <title>Financial Currency</title>
     <type>varchar</type>
     <length>3</length>
     <default>NULL</default>
   </field>
   <field>
     <name>trxn_id</name>
+    <title>Transaction ID</title>
     <type>varchar</type>
     <length>255</length>
     <comment>user-specified unique processor transaction id, bank id + trans id,... depending on payment_method</comment>
   </field>
   <field>
     <name>trxn_result_code</name>
+    <title>Transaction result Code</title>
     <type>varchar</type>
     <length>255</length>
     <comment>processor result code</comment>
   </field>
   <field>
     <name>payment_processor_id</name>
+    <title>Payment Processor</title>
     <type>int unsigned</type>
     <comment>Payment Processor for this financial transaction</comment>
     <add>4.3</add>
     <add>4.3</add>
   </index>
 </table>
-