TRADACOMS Reference
TRADACOMSLocation Planning › LPRHDR

LPRHDR: Location Planning Report Header

The LPRHDR message is part of the TRADACOMS Location Planning file: location-level planning information. The Location Planning file contains: LPRHDRLPRDETLPRTLR.

7 segments21 data elements

Message structure

SegmentNameUsage
MHDMessage HeaderOne message only, at the start of the file
TYPTransaction Type
SDTSupplier Details
CDTCustomer Details
DNAData NarrativeRepeat as necessary
FILFile Details
MTRMessage
MHDTYPSDTCDTDNAFILMTR

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'LPRHDR' '2' for this version
TypeMFX(6)
Version NumberMF9(1)

TYP: Transaction Type Details

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
TCDETransaction CodeMF9(4)Code Values List 2 · code list 2
TTYPTransaction TypeCVX(12)Code Values List 3 · code list 3

SDT: Supplier Details

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
SIDNSupplier's Identity compositeMEAN Location Number identifying supplier Supplier's Code as allocated/used by customer
Supplier's EAN Location NumberCF9(13)
Supplier's Identity Allocated by CustomerCVX(17)
SNAMSupplier's NameCVX(40)Supplier's legal name as printed on invoices
SADDSupplier's Address compositeCA maximum of five lines to give the supplier's address
Supplier's Address Line 1CVX(35)
Supplier's Address Line 2CVX(35)
Supplier's Address Line 3CVX(35)
Supplier's Address Line 4CVX(35)
Supplier's Post CodeCVX(8)
VATNSupplier's VAT Registration Number compositeCTrader's VAT number allocated by HM Customs & Excise Government department or non-UK VAT number
Numeric VAT Registration NumberCF9(9)
Alphanumeric VAT Registration NumberCVX(17)

CDT: Customer Details

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
CIDNCustomer's Identity compositeMEAN Location number identifying the customer Customer's Code as allocated/used by supplier
Customer's EAN Location NumberCF9(13)
Customer's Identity Allocated by SupplierCVX(17)
CNAMCustomer's NameCVX(40)Customer's registered legal name
CADDCustomer's Address compositeCA maximum of five lines to give the customer's address
Customer's Address Line 1CVX(35)
Customer's Address Line 2CVX(35)
Customer's Address Line 3CVX(35)
Customer's Address Line 4CVX(35)
Customer's Post CodeCVX(8)
VATRCustomer's VAT Registration Number compositeCTrader's VAT number allocated by HM Customs & Excise Government department or non-UK VAT number
Numeric VAT Registration NumberCF9(9)
Alphanumeric VAT Registration NumberCVX(17)

DNA: Data Narrative

Call uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Starts at 1 and incremented by 1 for each 1st level repeat
DNACData Narrative Code compositeCStandard data narrative previously defined and agreed by sender and receiver Number of relevant code list Value from code list · code list 22
Code Table NumberCV9(4)
Code ValueCVX(3)
RTEXRegistered Text compositeCEssential text, where not provided for by specific fields may be communicated using this element. Codes to define the function of the text should be registered with the ANA. The same application code may be repeated up to 4 times, or up to 4 different codes may be used in each repeat of the segment. · code list 24
First Registered Application CodeCVX(3)
Application TextCVX(40)
Second Registered Application CodeCVX(3)
Application TextCVX(40)
Third Registered Application CodeCVX(3)
Application TextCVX(40)
Fourth Registered Application CodeCVX(3)
Application TextCVX(40)
GNARGeneral Narrative compositeC
General Narrative Line 1CVX(40)
General Narrative Line 2CVX(40)
General Narrative Line 3CVX(40)
General Narrative Line 4CVX(40)
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
FLDTFile Creation DateMF9(6)Date the file is created. Format: YYMMDD
FLIDFile (Reel) IdentificationCVX(6)Reference on the outside of 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 →