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>
8 <component>CiviContribute
</component>
11 <title>Entity Financial Transaction ID
</title>
12 <type>int unsigned
</type>
13 <required>true
</required>
22 <autoincrement>true
</autoincrement>
25 <name>entity_table
</name>
26 <title>Entity Table
</title>
29 <required>true
</required>
32 <callback>CRM_Financial_BAO_EntityFinancialTrxn::entityTables
</callback>
35 <comment>May contain civicrm_financial_item, civicrm_contribution, civicrm_financial_trxn, civicrm_grant, etc
</comment>
38 <name>entity_id
</name>
39 <title>Entity ID
</title>
40 <type>int unsigned
</type>
41 <required>true
</required>
45 <idColumn>entity_id
</idColumn>
46 <typeColumn>entity_table
</typeColumn>
50 <name>financial_trxn_id
</name>
51 <title>Financial Transaction ID
</title>
52 <type>int unsigned
</type>
54 <label>Financial Transaction
</label>
59 <name>financial_trxn_id
</name>
60 <table>civicrm_financial_trxn
</table>
63 <onDelete>SET NULL
</onDelete>
69 <required>true
</required>
71 <headerPattern>/amount/i
</headerPattern>
72 <dataPattern>/^\d+(\.\d{
2})?$/
</dataPattern>
73 <comment>allocated amount of transaction to this entity
</comment>
77 <name>UI_entity_financial_trxn_entity_table
</name>
78 <fieldName>entity_table
</fieldName>
82 <name>UI_entity_financial_trxn_entity_id
</name>
83 <fieldName>entity_id
</fieldName>