Materials Produced Guidelines (.xml)

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

Message Type: MATERIALS_PRODUCED

Info Exchange Display Name: Materials Produced

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
mtp:TL_XML_MaterialsProduced [1...1] - - - - Root element.
  mtp:ControlFileHeader [1...1] - - - - Materials produced file control header.
    txn:Version [1...1] String [1/20] - M Version of XML message. *1
    txn:FileSenderNumber [1...1] String [1/20] - M File sender company IDE - Supplier Site ID. *2
    txn:FileReceiverNumber [1...1] String [1/20] - M File receiver company ID - customer. *3
    txn:UsageIndicator [1...1] String [0/10] UsageIndicator M Identifies test or production data. *4
    txn:FileTransactionType [1...1] String [1/30] - M File message type = MATPRODUCED. *5
    txn:FileControlNumber [1...1] String [1/20] - M Unique file control ID number. *6
    txn:FileDate [1...1] Date [0/*] - M Date file generated. *7
    txn:FileTime [1...1] Time [0/*] - M Time file generated. *8
  mtp:MaterialsProducedHeaderRecord [1...1] - - - M Materials produced header segment.
    txn:CustomerNumber [0...1] String [0/80] - O Customer ID number. *9
    txn:SupplierNumber [0...1] String [0/80] - O Supplier ID number. *10
    txn:ShipToNumber [0...1] String [0/80] - O Ship-to party ID number.
    txn:DateOfProduction [1...1] Date [0/*] - M Date of manufacture in supplier's system. *11
    txn:TimeOfProduction [0...1] Time [0/*] - O Time goods consumed in format HHMMSS. *12
    txn:ReferenceDocumentNumber [0...1] String [0/35] - O Reference document number.
    txn:DocumentText [0...1] String [0/25] - O Reference document text.
    txn:MaterialProductionType [0...1] String [0/5] MaterialProductionType O Material consumption type: Production, Returns, Ship Confirm, etc. *13
    txn:BillOfLadingNumber [0...1] String [0/35] - O Bill of Lading number.
  mtp:MaterialsProducedDetailsRecord [1...1] String - - O Materials produced item details segment.
    txn:PurchaseOrderNumber [1...1] String [1/35] - M Purchase Order (PO) number. *14
    txn:PurchaseOrderLineItem [1...1] String [1/6] - M PO item number. *15
    txn:PurchaseOrderDate [0...1] Date [0/*] - O PO date. *16
    txn:WorkOrderNumber [1...1] String [1/35] - M Work order number. *17
    txn:CustomerMaterialNumber [1...1] String [1/35] - M Customer material number. *18
    txn:ExpirationDate [0...1] Date [0/*] - O Expiration date for customer material. *19
    txn:SupplierMaterialNumber [0...1] String [0/35] - O Supplier material number. *20
    txn:MaterialDescription [0...1] String [0/50] - O Material description.
    txn:QuantityPosted [1...1] String [1/15] - M Quantity consumed. *21
    txn:QuantityUOM [1...1] String [1/3] UnitOfMeasure M Unit of measure for quantity consumed. *22
    txn:TypeOfMaterialProduced [0...1] String [0/5] MaterialType O Type of material consumed: component consumed or finished good produced. *23
    txn:Plant [0...1] String [0/4] - O Plant ID. *24
    txn:StorageLocation [0...1] String [0/4] - O Storage location. *25
    txn:CustomerBatchNumber [1...1] String [1/35] - M Customer batch number. *26
    txn:SupplierBatchNumber [0...1] String [0/35] - O Supplier batch number.