TRADACOMS Reference
TRADACOMSLocation Planning › LPRDET

LPRDET: Location Planning Report Details

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

11 segments45 data elements

Message structure

SegmentNameUsage
MHDMessage HeaderOne message for each report
SFRPlanning Report Rules
SLOOutlet Location DetailsRepeat as necessary
PDSProduct DetailsRepeat as necessary
SFPPlanning Report DataRepeat as necessary
SFSFunction Report DataRepeat as necessary
RFDReport References and DatesRepeat as necessary
SFCTime Base Control TotalsRepeat as necessary
SFXFunctional Data Time Base ControlRepeat as necessary
SFLPlanning Report Trailer
MTRMessage Trailer
MHDSFRSLOPDSSFPSFSRFDSFCSFXSFLMTR

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

SFR: Planning Report Rules

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
RTRSReport Time Rules compositeMDate of first record in each row of the report. Format: YYMMDD Code which specifies the time period covered by each repeat of data segment. Code Values List 27 Specifies the number of data segments for each product or location Date of last record in each line Indicates the number of periods before the same reporting period repeats, eg the number of working days reported between Mondays, etc · code list 27
Date of First EntryMF9(6)
Report Period BaseMVX(3)
Number of Report Segments per RowMV9(3)
Date at End of PeriodCF9(6)
Number of Periods in a Base CycleCV9(3)
REPTReport TypeMVX(3)Indicates whether the data which follows is B = "Budget"; A = "Actual"; or F = "Forecast"
REPUReport Function IndicatorCFX(3)Indicates which function is being reported, eg. SALES, ORDERS, STOCK, etc. - Code List 29 · code list 29

SLO: Unit Location

Call uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Starts at 1 and is incremented by 1 for each segment of this type
CLOCCustomer's Location compositeMOne of the following 3 references must be present EAN Location number identifying the customer's location Customer's identity for location Supplier's identity for customer's location
Customer's EAN Location NumberCF9(13)
Customer's Own Location CodeCVX(17)
Supplier's Own Location codeCVX(17)
CNAMCustomer's NameCVX(40)Customer's registered legal name
CADDCustomer's Address compositeCA maximum of five lines to give the customers 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)

PDS: Product Details

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Take value of preceding SLO if used or starts at 1 and increases
SEQBSecond Level Sequence NumberMV9(10)Starts at 1 and increases for each repeat of this segment Defines the row of the report
SPROSupplier's Product Number compositeCEither EAN or supplier's code must be quoted EAN article number allocated to the unit of trade Supplier's internal reference (non-EAN) identifying the traded unit Code for traded unit allocated under EAN-DUN14
EAN-13 Article Number for the Traded UnitCF9(13)
Supplier's Code for the Traded UnitCVX(30)
Dun-14 Code for Traded UnitCF9(14)
CPROCustomer's Product Number compositeCCan be used for "own label" items allocated a customer's internal number Customer's internal reference for the item (non-EAN)
Customer's Own Brand EAN NumberCF9(15)
Customer's Item CodeCVX(30)
IDIDEAN/ISSN NumberCV9(15)EAN/ISSN Number inc. add-on for issue number
TDESTraded Unit Description compositeCFull description of the item being traded. Consistent with Product Information data and any labels or packaging
Traded Unit Description Line 1CVX(40)
Traded Unit Description Line 2CVX(40)

SFP: Planning Report Data

Call uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Takes first level sequence from SLO
SEQBSecond Level Sequence NumberMV9(10)Takes second level sequence from PDS
SEQCThird Level Sequence NumberMV9(10)Starts at 1; sequential for each column of data
REFPPeriod Reference compositeMUse either of the sub-elements not both. Indicates by value: O = opening position or T = line total Indicates the report period to which the data applies Indicates date that period ends. Format: YYMMDD
Summary PeriodCFX(1)
Report Period NumberCV9(2)
Period End DateCF9(6)
QPERQuantity Data compositeCUsed if REPU specifies the function in SFR otherwise QPER in segment SFS should be used. Number of traded units. Weight or volume or variable unit reported. Must have associated unit of measure reported (Code List 4). Financial amount. Should have currency indicator unless currency already defined: Use Code Values List 31
Total Traded unitsCV9(15)
Total Variable unitsCV9(10)V9(3)
Measure IndicatorCVX(6)
Total Financial unitsCV9(10)V9(2)
Currency indicatorCFX(3)

SFS: Function Data Segment

Call uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Takes first level sequence from SLO
SEQBSecond Level Sequence NumberMV9(10)Takes second level sequence from PDS
SEQCThird Level Sequence NumberMV9(10)Takes third level sequence from SFP
SEQDFourth Level Sequence NumberMV9(10)Starts at 1; sequential for each row of data
REPUReport Function IndicatorMFX(3)Note used to indicate the function of the data being reported. Code list 29 · code list 29
QPERQuantity Data compositeMQuantity for each period by report type Number of traded units. Weight or volume or variable unit reported. Must have the associated unit of measure (Code List 4). Financial amount. Should have currency indicator, unless currency is already defined: Use Code Values List 31
Total Traded UnitsCV9(15)
Total Variable UnitsCV9(10)V9(3)
Measure IndicatorCVX(6)
Total Financial UnitsCV9(10)V9(2)
CurrencyCFX(3)

RFD: Report References And Dates

Call uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Takes first level sequence from SLO
SEQBSecond Level Sequence NumberMV9(10)Takes second level sequence from PDS
SEQCThird Level Sequence NumberMV9(10)Set by SFP. Starts at 1; sequential for each column of data
SEQDFourth Level Sequence NumberMV9(10)Starts at 1; increases for each column of data
ORNOOrder Number and Date compositeMUsed to indicate outstanding order numbers Format YYMMDD Format YYMMDD
Customer's Order NumberCVX(17)
Supplier's Order NumberCVX(17)
Date Order Placed by CustomerCF9(6)
Date Order Received by SupplierCF9(6)
RDATRequired Delivery DateCF9(6)Date on which delivery is expected or required. Format YYMMDD

SFC: Time Base Control Totals

Call uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Starts at 1 and increases for each repeat, set by SLO
SEQBSecond Level Sequence NumberMV9(10)Starts at 1 and repeats for column of data, set by PDS
REFPPeriod Reference compositeMUse either of sub-elements not both Maybe O = Opening or T = Total Indicates the report period to which data applies Indicates date that period ends
Summary PeriodCFX(1)
Report Period NumberCV9(2)
Period End DateCF9(6)
QPERQuantity Data compositeCTotals per time period, reported if REPU used at SFR indicating data where only one function is being reported. If not use QPER in SFX Code Values List 4 Financial Amount Use Code Values List 31
Total Traded UnitsCV9(15)
Total Variable UnitsCV9(10)V9(3)
Measure IndicatorCVX(6)
Total Financial UnitsCV9(10)V9(2)
Currency IndicatorCFX(3)

SFX: Function Data Segment

Call uses of this segment →
ElementNameM/CF/VFormatNotes
SEQAFirst Level Sequence NumberMV9(10)Takes first level sequence from SLO
SEQBSecond Level Sequence NumberMV9(10)Either sequential or takes second level sequence from PDS
SEQCThird Level Sequence NumberMV9(10)Starts at 1; sequential for each column of data
REPUReport Function IndicatorMFX(3)Note: used to indicate the function of the data being reported. Code List 29 · code list 29
QPERQuantity Data compositeM
Total Traded UnitsCV9(15)
Total Variable UnitsCV9(10)V9(3)
Measure IndicatorCVX(6)
Total Financial UnitsCV9(10)V9(2)
Currency IndicatorCFX(3)

SFL: Planning Report Trailer

Mall uses of this segment →
ElementNameM/CF/VFormatNotes
STLDData LinesCV9(10)Number of SFP segments in the file
STLNNumber of Locations ReportedCV9(10)The number of locations for which data is reported. (SLO segments)
STPTNumber of Products ReportedCV9(10)Number of products reported within the file. Count of product reference numbers

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 →