Match-up Logic for other Info Areas
Learn how data from one infp area is matched with data in other info area.
Other data from other info areas is also matched up, see Match-up Rules for Dependent Info Areas.
The system first attempts to match up records using the primary key. If the primary key is not included in the imported record, there are three options:
- Data in certain info areas is matched up using specific indices, see Match-up using Specific Indices.
- For certain info areas there are also specific match-up functions, see Info Areas with Specific Match-up Logic.
- Data in other info areas is matched up using the indices, one after another. The order of the indices can be found in the data model, see Index in the CRM.core Administrator Guide.
If no duplicate records are found in this manner, the imported record is added to the database as a new record.
Match-up Rules for Dependent Info Areas
When importing supplementary information, information needs to be provided with which the external data can be linked to companies and/or persons already in the Aurea CRM database. If the supplementary information is person-related, you need information on both the company and the person. If the information is company-related, you only need information on the company.
- If new data should be added to dependent info areas when importing, this data should either be matched up with data in the parent info area (with data in the dependent info areas being added as new records) or the parent record must first be added as a new record.
- If data is matched up in one info area, data in parent info areas is not updated. All info areas that receive imported data need to be matched up separately using a suitable match-up key.
- Some import keys are not tested by Aurea CRM to verify that they are unique. If several records with the same key are stored in the system, the first record that is found is used to match up the external data. In this case, the external system needs to guarantee that keys are unique (e.g. Head Ext.Key in the Order info area)
- If a match-up key does not contain the key of the parent info area, but the key has been defined in the import file, the external system needs to guarantee that these keys match. Otherwise the record is imported incorrectly; e.g. an order by company X is assigned to company Y after importing.
- If an info area is rejected as false in a match-up line, all subsequent dependent info areas are rejected as false in this line.
- Data for several info areas can be imported in one line in the import file. If the data in one info area is identical to the data in the line immediately above, the info area is automatically recognized as identical to the one in the line above, and is not displayed in the communication log file, irrespective of whether match-up is activated for this info area. If even a single field differs, the data is treated as a new record.
- If all of the fields in a line relating to a record are empty, the record is not included in the log file. Subsequent records in this line cannot be matched up via this record.
Match-up using Specific Indices
The following info areas are first matched up using the primary key. If the serial
number used to form the primary key is not included in the imported record, the record
is matched up using a specific index. If this index is not unique
([DUPLICATE]
in the Properties column in the
data model), the first record that is found containing the same index values is used to
match up the imported record.
All indices for all info areas can be found in the data model, see Index in the CRM.core
Administrator Guide. You can output all indices to a file using the
-m
or --
writexmldef
parameters, see mmba.exe Parameters in the
CRM.core Administrator Guide.
Info Area |
ID |
Vertical |
Index No. |
---|---|---|---|
Account |
KT |
FS |
4 |
Account Manager |
SB |
OTC |
1 |
Allocation |
ZU |
OTC |
1 |
Asset Values |
VW |
FS |
6 |
Bank A/C Details |
BV |
FS |
3 |
Building Society Savings |
BS |
FS |
4 |
Conditions |
KD |
BTB |
1 |
Conditions |
KD |
OTC |
2 |
Contract |
VV |
FS |
1 |
Credit Control |
KK |
BTB |
1 |
Demand |
BF |
BTB/FS/OTC |
1 |
Expenses |
B2 |
BTB/FS/OTC |
2 |
Info1 |
X1 |
BTB/FS/OTC |
3 |
Info2 |
X2 |
BTB/FS/OTC |
3 |
Info3 |
X3 |
BTB/FS/OTC |
3 |
Interest |
IT |
BTB/FS/OTC |
1 |
Item Master |
AR |
BTB/OTC |
1 |
Listing |
LS |
OTC |
1 |
Loan |
KR |
FS |
4 |
MV Insurance |
KV |
FS |
4 |
Personal Insurance |
VS |
FS |
4 |
Product Master |
PS |
FS |
1 |
Product Mix |
PM |
FS |
1 |
Property Insurance |
NV |
FS |
4 |
Property Note |
ON |
BTB |
1 |
Property Participant |
OB |
BTB |
2 |
Refunding |
VG |
OTC |
3 |
Rep |
ID |
BTB/FS/OTC |
4 |
Revenue Statistics |
SU |
FS |
1 |
Sales Area (Company) |
VF |
BTB/OTC |
1 |
Sales Area (Item) |
VA |
BTB/OTC |
1 |
Sales Group |
SB |
BTB/FS |
1 |
Sales Sector |
VB |
BTB/OTC |
2 |
SAP Company Code |
BK |
BTB |
1 |
Securities Account |
AL |
FS |
4 |
Security Title |
WT |
FS |
4 |
Service |
DI |
FS |
4 |
Special Offer |
AT |
OTC |
1 |
Specialization |
SP |
BTB |
1 |