1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Financial
</base>
5 <class>EntityFinancialTrxn
</class>
6 <name>civicrm_entity_financial_trxn
</name>
10 <title>Entity Financial Transaction ID
</title>
11 <type>int unsigned
</type>
12 <required>true
</required>
18 <autoincrement>true
</autoincrement>
21 <name>entity_table
</name>
22 <title>Entity Table
</title>
25 <required>true
</required>
28 <comment>May contain civicrm_financial_item, civicrm_contribution, civicrm_financial_trxn, civicrm_grant, etc
</comment>
31 <name>entity_id
</name>
32 <title>Entity ID
</title>
33 <type>int unsigned
</type>
34 <required>true
</required>
38 <idColumn>entity_id
</idColumn>
39 <typeColumn>entity_table
</typeColumn>
43 <name>financial_trxn_id
</name>
44 <title>Financial Transaction Id
</title>
45 <type>int unsigned
</type>
49 <name>financial_trxn_id
</name>
50 <table>civicrm_financial_trxn
</table>
53 <onDelete>SET NULL
</onDelete>
59 <required>true
</required>
61 <headerPattern>/amount/i
</headerPattern>
62 <dataPattern>/^\d+(\.\d{
2})?$/
</dataPattern>
63 <comment>allocated amount of transaction to this entity
</comment>
70 <default>NULL
</default>
71 <comment>3 character string, value from config setting or input via user.
</comment>
76 <name>UI_entity_financial_trxn_entity_table
</name>
77 <fieldName>entity_table
</fieldName>
81 <name>UI_entity_financial_trxn_entity_id
</name>
82 <fieldName>entity_id
</fieldName>