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 <title>Mapping Field ID
</title>
13 <required>true
</required>
14 <comment>Mapping Field ID
</comment>
22 <autoincrement>true
</autoincrement>
26 <name>mapping_id
</name>
27 <type>int unsigned
</type>
28 <title>Mapping ID
</title>
29 <required>true
</required>
30 <comment>Mapping to which this field belongs
</comment>
32 <label>Mapping
</label>
37 <name>mapping_id
</name>
38 <table>civicrm_mapping
</table>
41 <onDelete>CASCADE
</onDelete>
45 <title>Field Name (or unique reference)
</title>
48 <comment>Mapping field key
</comment>
52 <name>contact_type
</name>
53 <title>Contact Type
</title>
56 <comment>Contact Type in mapping
</comment>
63 <name>column_number
</name>
64 <title>Column Number to map to
</title>
65 <type>int unsigned
</type>
66 <required>true
</required>
67 <comment>Column number for mapping set
</comment>
71 <name>location_type_id
</name>
72 <type>int unsigned
</type>
73 <title>Location type ID
</title>
74 <comment>Location type of this mapping, if required
</comment>
76 <label>Location type
</label>
80 <table>civicrm_location_type
</table>
81 <keyColumn>id
</keyColumn>
82 <labelColumn>display_name
</labelColumn>
86 <name>location_type_id
</name>
87 <table>civicrm_location_type
</table>
92 <name>phone_type_id
</name>
93 <title>Phone type ID
</title>
94 <type>int unsigned
</type>
95 <comment>Which type of phone does this number belongs.
</comment>
99 <name>im_provider_id
</name>
100 <type>int unsigned
</type>
101 <title>IM provider ID
</title>
102 <comment>Which type of IM Provider does this name belong.
</comment>
105 <optionGroupName>instant_messenger_service
</optionGroupName>
112 <name>website_type_id
</name>
113 <type>int unsigned
</type>
114 <title>Website type ID
</title>
115 <comment>Which type of website does this site belong
</comment>
118 <optionGroupName>website_type
</optionGroupName>
125 <name>relationship_type_id
</name>
126 <type>int unsigned
</type>
127 <title>Relationship type ID
</title>
128 <comment>Relationship type, if required
</comment>
130 <label>Relationship type
</label>
135 <name>relationship_type_id
</name>
136 <table>civicrm_relationship_type
</table>
141 <name>relationship_direction
</name>
142 <title>Relationship Direction
</title>
148 <name>grouping
</name>
149 <title>Field Grouping
</title>
150 <type>int unsigned
</type>
152 <comment>Used to group mapping_field records into related sets (e.g. for criteria sets in search builder
157 <name>operator
</name>
159 <title>Operator
</title>
162 <comment>SQL WHERE operator for search-builder mapping fields (search criteria).
</comment>
164 <callback>CRM_Core_SelectValues::getSearchBuilderOperators
</callback>
173 <title>Search builder where clause
</title>
176 <comment>SQL WHERE value for search-builder mapping fields.
</comment>