1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>MappingField
</class>
6 <name>civicrm_mapping_field
</name>
7 <comment>Individual field mappings for Mapping
</comment>
11 <type>int unsigned
</type>
12 <required>true
</required>
13 <comment>Mapping Field ID
</comment>
18 <autoincrement>true
</autoincrement>
22 <name>mapping_id
</name>
23 <type>int unsigned
</type>
24 <required>true
</required>
25 <comment>Mapping to which this field belongs
</comment>
29 <name>mapping_id
</name>
30 <table>civicrm_mapping
</table>
38 <comment>Mapping field key
</comment>
42 <name>contact_type
</name>
45 <comment>Contact Type in mapping
</comment>
47 <table>civicrm_contact_type
</table>
48 <keyColumn>name
</keyColumn>
49 <labelColumn>label
</labelColumn>
57 <name>column_number
</name>
58 <type>int unsigned
</type>
59 <required>true
</required>
60 <comment>Column number for mapping set
</comment>
64 <name>location_type_id
</name>
65 <type>int unsigned
</type>
66 <comment>Location type of this mapping, if required
</comment>
70 <name>location_type_id
</name>
71 <table>civicrm_location_type
</table>
76 <name>phone_type
</name>
79 <comment>Phone type, if required
</comment>
84 <name>phone_type_id
</name>
85 <type>int unsigned
</type>
86 <comment>Which type of phone does this number belongs.
</comment>
90 <name>im_provider_id
</name>
91 <type>int unsigned
</type>
92 <comment>Which type of IM Provider does this name belong.
</comment>
95 <optionGroupName>instant_messenger_service
</optionGroupName>
102 <name>website_type_id
</name>
103 <type>int unsigned
</type>
104 <comment>Which type of website does this site belong
</comment>
107 <optionGroupName>website_type
</optionGroupName>
114 <name>relationship_type_id
</name>
115 <type>int unsigned
</type>
116 <comment>Relationship type, if required
</comment>
120 <name>relationship_type_id
</name>
121 <table>civicrm_relationship_type
</table>
126 <name>relationship_direction
</name>
132 <name>grouping
</name>
133 <type>int unsigned
</type>
135 <comment>Used to group mapping_field records into related sets (e.g. for criteria sets in search builder mappings).
</comment>
139 <name>operator
</name>
143 <comment>SQL WHERE operator for search-builder mapping fields (search criteria).
</comment>
145 <callback>CRM_Core_SelectValues::getSearchBuilderOperators
</callback>
156 <comment>SQL WHERE value for search-builder mapping fields.
</comment>