D18A

Message D18A/GENRAL

General purpose message

A message to enable the transmission of textual information.

Message description

UNH

M(1) : Message header

A service segment starting and uniquely identifying a message. The message type code for the General purpose message is GENRAL. Note: General purpose messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 GENRAL 0052 D 0054 18A 0051 UN

BGM

M(1) : Beginning of message

A segment to indicate the type and function of the GENRAL message and to transmit its unique identifying number.

DTM

C(1) : Date/time/period

A segment specifying general dates, and when relevant, times related to the whole message.

SG1 C(10) : RFF-DTM

A group of segments giving references where necessary, their dates relating to the whole message, e.g. despatch advice, contract number.

RFF

M(1) : Reference

A segment for referencing documents relating to the whole message, e.g. despatch advice, purchase orders, delivery instructions.

DTM

C(10) : Date/time/period

Date/time/period as applied to the referenced document.

SG2 C(2) : NAD-LOC-SG3-SG4

A group of segments identifying names, addresses and locations, and referred documents relevant for the whole message.

NAD

M(1) : Name and address

A segment for identifying name and addresses of a party and their functions relevant for the whole message. Identification of the sender and receiver parties are mandatory for the message. It is recommended that where possible only the coded form of the party ID should be specified.

LOC

C(5) : Place/location identification

A segment indicating more details regarding specific place/location related to the party specified in the NAD segment, e.g. internal site/building number.

SG3 C(10) : RFF-DTM

A group of segments giving references only relevant to the specified party rather than to the whole message.

RFF

M(1) : Reference

A segment for referencing documents relating to the party specified by the NAD segment.

DTM

C(10) : Date/time/period

A segment for date/time/period as related to the referred document.

SG4 C(5) : CTA-COM

A group of segments giving contact details of the specific person or department within the party identified in the NAD segment.

CTA

M(1) : Contact information

A segment to identify the person, function, department to whom communication should be directed.

COM

C(9) : Communication contact

A segment to identify communication types and numbers for person, function, department identified in CTA.

SG5 C(100) : FTX-SG6

A group of segments enabling the specification of the text and optionally, the identification of other parties or locations to whom the information should be directed.

FTX

M(1) : Free text

A segment to identify the text type and reason, and to specify the relevant agreed information.

SG6 C(100) : NAD-LOC-SG7-SG8

A group of segments allowing the specification of the name and address of a party, within the receiving party identified in the heading section, to whom the preceding text should be distributed. It also allows to specify the name and address of a party advised as copyreader of this text.

NAD

M(1) : Name and address

A segment for identifying names and addresses. It is recommended that where possible the coded form of the party identification should be specified.

LOC

C(5) : Place/location identification

A segment indicating more details regarding specific place/location related to the party specified in the NAD segment, e.g. internal site/building number.

SG7 C(10) : RFF-DTM

A group of segments giving references only relevant to the specified party rather than the whole message.

RFF

M(1) : Reference

A segment for referencing documents relating to the party specified by the NAD segment.

DTM

C(10) : Date/time/period

A segment for date/time/period as related to the referenced document.

SG8 C(5) : CTA-COM

A group of segments giving contact details of the specific person or department within the party identified in the NAD segment.

CTA

M(1) : Contact information

A segment to identify person, function, department to whom communication should be directed.

COM

C(5) : Communication contact

A segment to identify communication types and numbers for person, function, department identified in CTA.

UNT

M(1) : Message trailer

A service segment ending a message, giving the total number of segments in the message (including the UNH & UNT) and the control reference number of the message.

Message structure

UNH, Message header                           M        1
BGM, Beginning of message                     M        1
DTM, Date/time/period                         C        1

--- Segment Group 1 ------------------------- C       10 -------+
RFF, Reference                                M        1        |
DTM, Date/time/period                         C       10        |
---- -----------------------------------------------------------+

--- Segment Group 2 ------------------------- C        2 -------+
NAD, Name and address                         M        1        |
LOC, Place/location identification            C        5        |
                                                                |
--- Segment Group 3 ------------------------- C       10 ------+|
RFF, Reference                                M        1       ||
DTM, Date/time/period                         C       10       ||
---- ----------------------------------------------------------+|
                                                                |
--- Segment Group 4 ------------------------- C        5 ------+|
CTA, Contact information                      M        1       ||
COM, Communication contact                    C        9       ||
---- ----------------------------------------------------------++

--- Segment Group 5 ------------------------- C      100 -------+
FTX, Free text                                M        1        |
                                                                |
--- Segment Group 6 ------------------------- C      100 ------+|
NAD, Name and address                         M        1       ||
LOC, Place/location identification            C        5       ||
                                                               ||
--- Segment Group 7 ------------------------- C       10 -----+||
RFF, Reference                                M        1      |||
DTM, Date/time/period                         C       10      |||
---- ---------------------------------------------------------+||
                                                               ||
--- Segment Group 8 ------------------------- C        5 -----+||
CTA, Contact information                      M        1      |||
COM, Communication contact                    C        5      |||
---- ---------------------------------------------------------+++
UNT, Message trailer                          M        1