<?xml version="1.0" encoding="utf-8"?>
<!--
        
        ** OAGIS® Revision: 9.1  **
        ** Date: 11 May 2007 **
        ** Copyright 1997-2007, All Rights Reserved **
        
        This is an OAGIS® BOD XML Schema (XSD) Definition.
        
       License information for this file is provided in the file **OAGi License Agreement.txt** that is provided with this download package.
        
        For support, more information, or to report implementation bugs, please contact the Open Applications Group at xml@openapplications.org.
        
        XML Schema 
        
-->
<!--
© Copyright 2007 Infor Global Solutions Technology GmbH and/or its affiliates and subsidiaries. All rights reserved. The 
word and design marks set forth herein are trademarks and/or registered trademarks of Infor Global Solutions 
Technology GmbH and/or its affiliates and subsidiaries. All rights reserved. All other trademarks listed herein 
are the property of their respective owners.
 
-->
<!--    *****     Update Log     *****
 
Date             By     Note
04 Oct 2012 BvO  Created.
17 Oct 2012 BvO  Few elements added.
        *****     Update End     *****
 
-->
<xsd:schema targetNamespace="http://schema.infor.com/InforOAGIS/2" xmlns="http://schema.infor.com/InforOAGIS/2" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xsd:include schemaLocation="../Components/Operational/LogisticsComponents.xsd"/>
	<xsd:element name="PackageLabel" type="PackageLabelType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Package labels require similar information as is available for shipments in the Shipment noun. When a shipment is involved in the process, the Shipment message may trigger the printing of package labels. Printing of package labels must also be possible directly from production, without involvement of a shipment. For that purpose, the PackageLabel noun is introduced. Compared to the Shipment noun, which has 3 levels, the PackageLabel noun only has a header and a unit level.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="PackageLabelHeader" type="PackageLabelHeaderType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Provides general information about the document that is used to print a package label or set of labels.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="PackageLabelUnit" type="PackageLabelUnitType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Contains the detail data that is used for printing a package label or set of package labels. The Unit represents the physical structure the label or set of labels applies to. This level equals the ShipmentUnit level of the Shipment noun, with a few extra elements added.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="PackageLabelType">
		<xsd:sequence>
			<xsd:element ref="PackageLabelHeader" minOccurs="0"/>
			<xsd:element ref="PackageLabelUnit" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="PackageLabelHeaderType">
		<xsd:complexContent>
			<xsd:extension base="ShipmentHeaderBaseType">
				<xsd:sequence>
					<xsd:element ref="ShipToParty" minOccurs="0"/>
					<xsd:element ref="RequiredDeliveryDateTime" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is the date that the business partner is requesting delivery of goods to arrive.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="PromisedDeliveryDateTime" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is the date that the supplier business partner promises delivery of goods</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="LoadingDateTime" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is the date that is used to mark the date and time a shipment loading process is complete.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="PlannedDeliveryDateTime" minOccurs="0"/>
					<xsd:element ref="ImportLicenseRequiredIndicator" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Communicates the need for an import license on a good or service. Valid values are '0' for no license required, and '1' for license required.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="ExportLicenseRequiredIndicator" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Communicates the need for an export license on a good or service. Valid values are '0' for no license required, and '1' for license required.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="PriorityCode" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Priority of a document, task, or activity. Could be used for production orders, sales orders, purchase orders, etc.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="ShipmentServiceLevelCode" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is a
                                                  generic code that specifies a particular type or
                                                  quality of carrier delivery service to be used for
                                                  transporting goods. A generic service level code
                                                  is often established by shippers to consolidate
                                                  various equivalent, but differently named, carrier
                                                  service levels for comparison when "rate shopping"
                                                  for the lowest cost transportation provider. See
                                                  CarrierServiceLevel for specifying the carrier's
                                                  actual service level code.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="CarrierServiceLevelCode" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The
                                                  carrier's code or marketing term for specifying a
                                                  particular type or quality of delivery service to
                                                  be used for transporting goods. Use
                                                  ShipmentServiceLevel when specifying a
                                                  shipper-assigned code for generic delivery service
                                                  level that is not specific to a
                                                  carrier.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="DestinationCountryCode" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Represents the identifier of the country of
                                                  origin. The list of valid codes can be found in
                                                  ISO Standard number 3166.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="PointOfLoadingCode" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Identifies the location shipped goods are to be
                                                  loaded.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="PointOfShipmentCode" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Identifies the location the goods are to be
                                                  shipped.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="PointOfStagingCode" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Identifies the location goods are to be placed
                                                  prior to loading for shipment.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="TransportationTerm" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is a
                                                  contractual code used to describe the point where
                                                  delivery occurs (goods ownership is transferred)
                                                  in a contract of sale. It identifies the rights
                                                  and obligations of each partner (supplier, carrier
                                                  and customer) in the transaction and may specify
                                                  the requirements to assume ownership (i.e. paying
                                                  for the cost of the goods and/or transportation).
                                                  The United Nations Trade Facilitation Information
                                                  Exchange (UN/TraFIX) has established the following
                                                  codes (INCOTERMS 1990) for use in international
                                                  trade to Europe, Asia and the Pacific. (See
                                                  http://www.unece.org/trade/rec/rec05en.htm). These
                                                  terms may also be found in the United States
                                                  Uniform Commercial Code (UCC).</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="TrackingID" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="EarliestDeliveryDateTime" minOccurs="0"/>
					<xsd:element ref="WeightMeasure" minOccurs="0"/>
					<xsd:element ref="VolumeMeasure" minOccurs="0"/>
					<xsd:element ref="LengthMeasure" minOccurs="0"/>
					<xsd:element ref="RemoteWarehouseIndicator" minOccurs="0"/>
					<xsd:element ref="SpecializedLogisticHeader" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation>Elements in this container are specialized and not supported by most Infor applications.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="CustomerParty" minOccurs="0"/>
					<xsd:element ref="SupplierParty" minOccurs="0"/>
					<xsd:element ref="TotalReceivedVolumeMeasure" minOccurs="0"/>
					<xsd:element ref="TotalShippedVolumeMeasure" minOccurs="0"/>
					<xsd:element ref="InternalLabelIndicator" minOccurs="0"/>
					<xsd:element ref="PackageLabelTemplateCode" minOccurs="0"/>
					<xsd:element ref="NumberOfCopies" minOccurs="0"/>
					<xsd:element ref="Classification" minOccurs="0"/>
					<xsd:element ref="UserArea" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="PackageLabelUnitType">
		<xsd:complexContent>
			<xsd:extension base="ShipmentUnitType">
				<xsd:sequence>
					<xsd:element ref="PackageLabelTemplateCode" minOccurs="0"/>
					<xsd:element ref="NumberOfCopies" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:element name="PackageLabelTemplateCode" type="CodeType">
		<xsd:annotation>
			<xsd:documentation>User defined code of code list "Package Label Template Codes".</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="InternalLabelIndicator" type="IndicatorType"/>
	<xsd:element name="NumberOfCopies" type="PositiveIntegerNumericType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is the number of package label copies.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
</xsd:schema>
