TP-20240927-importfixes #115
@ -1065,10 +1065,11 @@ public abstract class BaseOfficeDataImport extends CsvDataImport {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private HsOfficePersonEntity addPerson(final HsOfficePersonEntity person, final Record contactRecord) {
|
private HsOfficePersonEntity addPerson(final HsOfficePersonEntity person, final Record contactRecord) {
|
||||||
// TODO: title+salutation: add to person
|
person.setSalutation(contactRecord.getString("salut").trim());
|
||||||
person.setGivenName(contactRecord.getString("first_name"));
|
person.setTitle(contactRecord.getString("title").trim());
|
||||||
person.setFamilyName(contactRecord.getString("last_name"));
|
person.setGivenName(contactRecord.getString("first_name").trim());
|
||||||
person.setTradeName(contactRecord.getString("firma"));
|
person.setFamilyName(contactRecord.getString("last_name").trim());
|
||||||
|
person.setTradeName(contactRecord.getString("firma").trim());
|
||||||
person.setPersonType(determinePersonType(contactRecord));
|
person.setPersonType(determinePersonType(contactRecord));
|
||||||
|
|
||||||
persons.put(contactRecord.getInteger("contact_id"), person);
|
persons.put(contactRecord.getInteger("contact_id"), person);
|
||||||
|
Loading…
Reference in New Issue
Block a user