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 <type>int unsigned
</type>
11 <required>true
</required>
17 <autoincrement>true
</autoincrement>
20 <name>entity_table
</name>
23 <required>true
</required>
26 <comment>May contain civicrm_financial_item, civicrm_contribution, civicrm_financial_trxn, civicrm_grant, etc
</comment>
29 <name>entity_id
</name>
30 <type>int unsigned
</type>
31 <required>true
</required>
35 <idColumn>entity_id
</idColumn>
36 <typeColumn>entity_table
</typeColumn>
40 <name>financial_trxn_id
</name>
41 <type>int unsigned
</type>
45 <name>financial_trxn_id
</name>
46 <table>civicrm_financial_trxn
</table>
49 <onDelete>SET NULL
</onDelete>
54 <required>true
</required>
56 <headerPattern>/amount/i
</headerPattern>
57 <dataPattern>/^\d+(\.\d{
2})?$/
</dataPattern>
58 <comment>allocated amount of transaction to this entity
</comment>
65 <default>NULL
</default>
66 <comment>3 character string, value from config setting or input via user.
</comment>
71 <name>UI_entity_financial_trxn_entity_table
</name>
72 <fieldName>entity_table
</fieldName>
76 <name>UI_entity_financial_trxn_entity_id
</name>
77 <fieldName>entity_id
</fieldName>