M3 Address Structure
For the FBMs that include the VAT reports, the address information must be sent with a specific structure. This table shows the structure of the Name and Address fields (1-4) for which the required format is supported:
Field | Value |
---|---|
Name | Name |
Address line 1 | Street and building number |
Address line 2 | Street and building number continued if line 1 is insufficient, otherwise left blank |
Address line 3 | Postal code and town |
Address line 4 | Country |
Translation in the ‘addressFieldType’ element for address information
If the address structure does not correspond to the settings described in M3 Address Structure, then an additional setting in (CRS881) and (CRS882) is required to identify the contents of the fields in Infor M3 Business Engine.
‘Business Message Data Translation. Display’ (CRS881)
Field | Value |
---|---|
Msg standard | FBM |
Business msg | Generic |
Message version | 1 |
Parent elements | Generic |
In/Outbound msg | O |
Data element | addressFieldType |
‘M3 Business Message Data Translation. Display’ (CRS882) for data element addressFieldType
Field | Value |
---|---|
M3 data (Value – In) |
Address rule to indicate the type of address information that requires translation:
|
Message data (Value-Out) |
A combination of five characters to indicate whether and how each of the name and address line fields 1-4 in M3 Business Engine are used, for example AEFGX. The value out must contain five characters to correspond to the five positions. |
This table shows the available codes for the message data (Value – Out), which is five characters long, to define the structure of the address:
Code | Description | Comment |
---|---|---|
X | Field not used, empty | The code indicates that the field is not used. |
A | Name | This information is required. If code A is not defined, then the value of the Name field is retrieved. |
B | Name, part 2 | This information is used in combination with code A. This information is added after the value from code A with a blank as separator. |
C | Name of location, if different from the name above | This information is optional. If code C is not defined, then no information is sent. |
D | Name of location, part 2, if different from the name above | This information is used in combination with code C. This information is added after the value from code C with a blank as separator. |
E | Street and building number | This information is required. If code E is not defined, then the value of the Address line 1 field is retrieved. |
F | Street and building number, part 2 | This information is used in combination with code E. This information is added after the value from code E with a blank as separator. |
G | Postal code and city | This information is required. If code G is not defined and the Postal code and City fields are blank, the value of the Address line 3 field is retrieved. |
H | Postal code and city, part 2 | This information is used in combination with code G. This information is added after the value from code G with a blank as separator. |
I | Country | This information is optional. If code I is not defined, then no information is sent. |
J | Country, part 2 | This information is used in combination with code I. This information is added after the value from code I with a blank as separator. |