54

We need to be able to add optional additional information to an address that is formatted by the address formatting functionality. In the Netherlands it’s possible that a letter needs to be addressed to a specific room number from an apartment complex. This room number is not seen as part of the official address of the recipient. Instead, it’s more like a ‘for the attention of’. So the desired end result would look like the following example:


Contact Person Name

Room Number 1

Street Address 123

1111AB City


We need to add this extra information to the address formatting. This formatting is standard functionality which can be extended using events (see codeunit 365 Format Address). However, the address will always be formatted using an array[8] of Text. Any integration events we can subscribe to will use the pre-arranged standard array[8] in which each of the 8 Texts that are part of the array already have a designated function in the address (e.g. name, address, country).


This means we cannot add additional information to the array. Additionally, we cannot increase the array in our custom code to accommodate more information for the address since this would break our integration with standard.

The room number cannot be added to the official address lines as this is not accepted by the Dutch postal service (PostNL). So we cannot resolve it by using one of the following options:


NOK

Contact Person Name

Room Number 1 Street Address 123

1111AB City

NOK

Contact Person Name

Street Address 123 Room Number 1

1111AB City



What do we need to resolve it?

We need a robust way to be able to add additional information to an address at a specific line without risking losing other information. We have investigated multiple ways to adapt our integration to add this, but all have too high a risk of errors or losing required information since the length of the array is set in standard with no way to increase it to add the information we need.

Category: Development
STATUS DETAILS
New

Comments

N

What's the differnt to Address 2?

I always the field "Address 2" is meant for this purpose?

Category: Development