1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>PriceFieldValue
</class>
6 <name>civicrm_price_field_value
</name>
10 <title>Price Field Value ID
</title>
11 <type>int unsigned
</type>
12 <required>true
</required>
13 <comment>Price Field Value
</comment>
18 <autoincrement>true
</autoincrement>
21 <name>price_field_id
</name>
22 <title>Price Field
</title>
23 <type>int unsigned
</type>
24 <required>true
</required>
25 <comment>FK to civicrm_price_field
</comment>
29 <name>price_field_id
</name>
30 <table>civicrm_price_field
</table>
39 <comment>Price field option name
</comment>
40 <required>true
</required>
51 <localizable>true
</localizable>
52 <comment>Price field option label
</comment>
53 <required>true
</required>
60 <name>description
</name>
67 <default>NULL
</default>
68 <localizable>true
</localizable>
69 <comment>Price field option description.
</comment>
80 <default>NULL
</default>
81 <localizable>true
</localizable>
82 <comment>Price field option pre help text.
</comment>
86 <name>help_post
</name>
93 <default>NULL
</default>
94 <localizable>true
</localizable>
95 <comment>Price field option post field help.
</comment>
101 <title>Amount
</title>
102 <length>18,
9</length>
107 <required>true
</required>
108 <comment>Price field option amount
</comment>
113 <type>int unsigned
</type>
114 <default>NULL
</default>
115 <comment>Number of participants per field option
</comment>
122 <name>max_value
</name>
123 <type>int unsigned
</type>
124 <default>NULL
</default>
125 <comment>Max number of participants per field options
</comment>
136 <comment>Order in which the field options should appear
</comment>
143 <name>membership_type_id
</name>
144 <title>Membership Type
</title>
145 <type>int unsigned
</type>
146 <default>NULL
</default>
147 <comment>FK to Membership Type
</comment>
154 <name>membership_type_id
</name>
155 <table>civicrm_membership_type
</table>
158 <onDelete>SET NULL
</onDelete>
161 <name>membership_num_terms
</name>
162 <type>int unsigned
</type>
163 <default>NULL
</default>
164 <comment>Number of terms for this membership
</comment>
171 <name>is_default
</name>
172 <title>Is Default Price Field Option?
</title>
174 <comment>Is this default price field option
</comment>
178 <type>CheckBox
</type>
182 <name>is_active
</name>
183 <title>Price Field Value is Active
</title>
185 <comment>Is this price field value active
</comment>
190 <name>financial_type_id
</name>
191 <title>Financial Type
</title>
192 <type>int unsigned
</type>
193 <default>NULL
</default>
195 <table>civicrm_financial_type
</table>
196 <keyColumn>id
</keyColumn>
197 <labelColumn>name
</labelColumn>
199 <comment>FK to Financial Type.
</comment>
206 <name>financial_type_id
</name>
207 <table>civicrm_financial_type
</table>
209 <onDelete>SET NULL
</onDelete>
213 <name>non_deductible_amount
</name>
214 <title>Non-deductible Amount
</title>
216 <default>0.0</default>
217 <headerPattern>/non?.?deduct/i
</headerPattern>
218 <dataPattern>/^\d+(\.\d{
2})?$/
</dataPattern>
219 <required>true
</required>
220 <comment>Portion of total amount which is NOT tax deductible.
</comment>
227 <name>visibility_id
</name>
228 <title>Price Field Option Visibility
</title>
229 <type>int unsigned
</type>
231 <comment>Implicit FK to civicrm_option_group with name = 'visibility'
</comment>
234 <optionGroupName>visibility
</optionGroupName>