TRADACOMS Reference
TRADACOMSGeneral Text › GENHDR

GENHDR: General Communications File Header

The GENHDR message is part of the TRADACOMS General Text file: free-format text messages between trading partners. The General Text file contains: GENHDRGENRALGENTLR.

4 segments9 data elements

Message structure

SegmentNameUsage
MHDMessage HeaderOne message only, at the start of the file
CPTCommunicating Partners
FILFile Details
MTRMessage Trailer
MHDCPTFILMTR

Segments and data elements

MHD: Message Header

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
MSRFMessage ReferenceMV9(12)Consecutive count of messages within the transmission
TYPEType of Message compositeM'GENHDR' '3' for this version
TypeMFX(6)
Version NumberMF9(1)

CPT: Communicating Partners

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
SEIDSender's Identity compositeMEAN Location number identifying sender Sender's identification allocated/used by sender
Sender's EAN Location NumberCF9(13)
Sender's Own Identity CodeCVX(17)
REIDRecipient's Identity compositeMUsed to direct the message from the transmission reception point EAN Location number identifying recipient Recipient identification as used by sender
Recipient's EAN Location NumberCF9(13)
Recipient's Own Identity CodeCVX(17)
ElementNameM/CF/VFormatNotes
FLGNFile Generation NumberMV9(4)This number is sequential, per file type, per trading partner
FLVNFile Version NumberMV9(4)Original (which is always 1) is incremented by 1 for each additional copy created. May be zero-filled in this message if generation number is not needed
FLDTFile Creation DateMF9(6)Date the file is created. Format YYMMDD
FLIDFile (Reel) IdentificationCVX(6)Reference on the outside of the reel containing the file

MTR: Message Trailer

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
NOSGNumber of Segments in MessageMV9(10)Control count of the number of segments comprising message. The count includes the MHD and MTR segments surrounding the message

Need to exchange TRADACOMS messages with a UK retailer?

SupplyLens connects your ERP, e-commerce or accounting system to any TRADACOMS or EDIFACT trading partner: orders in, invoices out, fully managed.

Book a demo   Learn about retail EDI →