Materials Produced Guidelines (.csv)

See How To Use this Guide before interpreting the guidelines below.

The following outlines the TL_CSV_PTWO_MaterialsProduced_IB message guidelines.

When sending an element in Date or DateTime format, a valid date must be given. "00" is not a valid day or month value and "0000" is not a valid year value.
Data Element Occurs Format Length Enum Req Description
TL_CSV_MaterialsProduced [1...1] - - - - -
ControlFileHeader [1...1] - - - - CSV file control header record.
Flag [1...1] String [6/6] - M Control file code identifying record = HEADER. *1
Version [1...1] String [1/*] - M Version of CSV message. *2
FileSenderNumber [1...1] String [1/*] - M File sender company IDE - Supplier Site ID. *3
FileReceiverNumber [1...1] String [1/*] - M File receiver company ID - customer. *4
UsageIndicator [0...1] String [0/*] UsageIndicator O Identifies test or production data. *5
FileTransactionType [1...1] String [1/*] TransactionType M File message type must equal "MATPRODUCED." *6
FileControlNumber [1...1] String [1/*] - M Unique file control ID number. *7
FileDate [0...1] Date [8/8] - O Date file generated in format YYYYMMDD. *8
FileTime [0...1] Time [6/6] - O Time file generated in format HHMMSS. *9
MaterialsConsumed_HeaderRecord [1...1] - - - - -
Flag [1...1] String [6/6] - M Header record code = DOCHDR. *10

CustomerNumber

[0...1] String [1/*] - O Customer ID number. *11
SupplierNumber [0...1] String [1/*] - O Supplier ID number. *12
ShipToNumber [0...1] String [0/*] - O Ship-to party ID number.
ConsumptionDate [1...1] Date [8/8] - M Date goods consumed in format YYYYMMDD. *13
ConsumptionTime [0...1] String [6/6] - O Time goods consumed in format HHMMSS. *14
ReferenceDocumentNumber [0...1] String [0/*] - O Reference document number.
DocumentText [0...1] String [0/*] - O Reference document text.
MaterialConsumptionType [0...1] String [0/*] MaterialConsumptionType O Material consumption type: Production, Returns, Ship Confirm, etc. *15
BillOfLadingNumber [0...1] String [0/*] - O Bill of Lading number.
MaterialsConsumed_DetailsRecord [1...*] String - - O Materials consumed item details records.
Flag [1...1] String [7/7] - M Item details record code = ITEMDET. *16
PurchaseOrderNumber [1...1] String [1/*] - M Purchase Order (PO) number. *17
PurchaseOrderLineItem [1...1] String [1/*] - M PO item number. *18
PurchaseOrderDate [0...1] Date [8/8] - O PO date. *19
WorkOrderNumber [1...1] String [1/*] - M Work order number. *20
CustomerMaterialNumber [1...1] String [0/*] - M Customer material number. *21
ExpirationDate [0...1] Date [8/8] - O Expiration date for customer material. *22
SupplierMaterialNumber [0...1] String [0/*] - O Supplier material number. *23
MaterialDescription [0...1] String [0/*] - O Material description.
QuantityPosted [1...1] String [0/*] - M Quantity consumed. *24
QuantityUOM [1...1] String [0/*] UnitOfMeasure M Unit of measure for quantity consumed. *25
TypeOfMaterialConsumed [0...1] String [0/*] MaterialType O Type of material consumed: component consumed or finished good produced. *26
Plant [0...1] String [0/*] - O Plant ID. *27
StorageLocation [0...1] String [0/*] - O Storage location. *28
CustomerBatchNumber [1...1] String [0/*] - M Customer batch number. *29
SupplierBatchNumber [0...1] String [0/*] - O Supplier batch number.