When the SmartPost process sends or receives messages, it identifies the sender in the messages based on the addresses.
In WorkZone Configurator, two parameters, PartyIdentifierSources and ContactAddressKeySources, are used to identify sender information.
Parameter | Description |
---|---|
PartyIdentifierSources |
Specifies where the SmartPost sending process looks up sender information such as CVR or CPR numbers. |
ContactAddressKeySources |
Specifies where the receiver workflow looks up sender addresses based on the CVR and CPR numbers provided by e-Boks. For example, for the purpose of linking the received documents to the addresses of the senders. |
The values of these settings are XML elements that identify where SmartPost looks up sender information. By default the standard location of CPR and CVR data is specified in the XML elements.
Handling multiple addresses in received messages
When SmartPost receives a message with a CPR or CVR number, the CPR or CVR number may be connected with several contacts and addresses. The e-Boks receiver workflow retrieves the data and registers the contact information on the contact that is associated with the document that is created when a message is received. The following rules apply:
Example
An unsolicited message with an unknown identifier is received. No contacts can be identified based on the CPR or CVR number because the contact does not exist as a WorkZone contact. Therefore, no parties are associated with the document that was created.
Example
An unsolicited message is received. It has a known identifier (CPR or CVR number), which is associated with one contact with one address. This is the simple situation, for example when a small business or a person sends a message from e-Boks. The address is used to create a party on the document with the role Sender.
Example
An unsolicited message is received. It has a known identifier with one contact with multiple addresses. One contact is identified with several active addresses. The message is from a company where multiple addresses are registered in WorkZone.
No contacts will be associated with the document. The MULTIADDRESS information field is added to the document and shows the number of addresses found.
Example
An unsolicited message is received. It has a known identifier with multiple contacts with multiple addresses.
Multiple contacts can be identified from the identifier. There are multiple addresses associated with the contact. For example a large company where WorkZone Client has registered the same CVR number on multiple contacts, where each contact has a unique P-number (production unit), for example subsidiaries of the company. Some of the production units have several addresses registered in WorkZone.
No contacts will associated with the record. The information field MULTIADDRESS is added to the document and shows the number of addresses found.
CPR and CVR data in other locations
Some organizations store CPR and CVR data in other locations than the default WorkZone location. In this case, you can set up the SmartPost process to comply with these locations by customizing or extending the XML elements that you insert as values in WorkZone Configuration Management.
See Configure PartyIdentifierSources and Configure SmartPost ContactAddressSources in the WorkZone Process Developer's Guide for information about how to customize or extend the configuration.