<?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
10 Apr 2008   JB      Added correct Copyright and update comments to schema.
10 Sep 2009   NO      Added ReturnToShipFromParty and ReturnFromShipToParty (BOD-1082).
09 Dec 2009   PO      Created Specialized elements for autoconnect - see BOD-1161 for details
05 Oct 2010   NO      Added EquipmentClassificationCode element (BOD-1341)
11 Oct 2010   NO      Added EngineeringLevel element (BOD-1354)

        *****     Update End     *****
 
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns="http://schema.infor.com/InforOAGIS/2"
        targetNamespace="http://schema.infor.com/InforOAGIS/2" elementFormDefault="qualified"
        attributeFormDefault="unqualified">

        <xsd:include schemaLocation="../Common/Components.xsd"/>

        <xsd:complexType name="ShipmentHeaderBaseType">

                <xsd:annotation>

                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The
                                Warehouse Location identifies the place from where the goods are
                                shipped</xsd:documentation>

                </xsd:annotation>

                <xsd:complexContent>

                        <xsd:extension base="StatusEnabledHeaderType">

                                <xsd:sequence>

                                        <xsd:element ref="ShipUnitQuantity" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2"
                                                  >Contains the quantity of units or things shipped.
                                                  This represents the container(s), not the product
                                                  shipped. An example of this is "4 truck loads" or
                                                  "2 wooden crates".</xsd:documentation>

                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:element ref="WarehouseLocation" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">Is
                                                  the storage facility for
                                                  inventory.</xsd:documentation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">Is
                                                  the storage facility for
                                                  inventory.</xsd:documentation>

                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:element ref="CarrierRouteReference" minOccurs="0"/>

                                        <xsd:element ref="ActualShipDateTime" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">Is
                                                  the date that is used to identify the actual date
                                                  and time a shipment occurs.</xsd:documentation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">Is
                                                  the date that is used to identify the actual date
                                                  and time a shipment occurs.</xsd:documentation>

                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:element ref="ScheduledDeliveryDateTime" minOccurs="0"/>

                                        <xsd:element ref="ActualDeliveryDateTime" minOccurs="0"/>

                                        <xsd:element ref="EstimatedWeightMeasure" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">The
                                                  estimated weight of an item or container. An
                                                  estimate is provided as a processing alternative
                                                  when the actual weight of an item is not known or
                                                  cannot be calculated exactly.</xsd:documentation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">The
                                                  estimated weight of an item or container. An
                                                  estimate is provided as a processing alternative
                                                  when the actual weight of an item is not known or
                                                  cannot be calculated exactly.</xsd:documentation>

                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:element ref="LoadingWeightMeasure" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">This
                                                  is the net weight at loading time of the container
                                                  in which the materials are being
                                                  shipped.</xsd:documentation>

                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:group ref="ShippingWeightandVolumeGroup" minOccurs="0"/>

                                        <xsd:element ref="HazardousMaterialCodes" minOccurs="0"/>

                                        <xsd:element ref="CountryOfOriginCode" minOccurs="0"/>

                                        <xsd:element ref="DistributionCenterCode" minOccurs="0"/>

                                        <xsd:element ref="TransportationMethodCode" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2"
                                                  >Identifies the general type of carrier
                                                  transportation used to deliver
                                                  goods.</xsd:documentation>

                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:element ref="SpecialHandlingNote" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                        <xsd:element ref="DockID" minOccurs="0"/>

                                        <xsd:element ref="ShipFromParty" minOccurs="0"/>

                                        <xsd:element ref="CarrierParty" minOccurs="0"/>

                                        <xsd:element ref="FreightTermCode" minOccurs="0"/>

                                        <xsd:element ref="Party" minOccurs="0" maxOccurs="unbounded"/>

                                        <xsd:element ref="DistributedCharge" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                        <xsd:element ref="ReturnToShipFromParty" minOccurs="0"/>

                                        <xsd:element ref="ReturnFromShipToParty" minOccurs="0"/>

                                </xsd:sequence>

                        </xsd:extension>

                </xsd:complexContent>

        </xsd:complexType>

        <xsd:complexType name="ShipUnitBaseType">

                <xsd:sequence>

                        <xsd:group ref="TrackingIDGroup" minOccurs="0"/>

                        <xsd:group ref="ContainerInstanceIDsGroup" minOccurs="0"/>
                        <xsd:element ref="ContainerType" minOccurs="0"/>   
                        <xsd:element ref="CarrierParty" minOccurs="0"/>

                        <xsd:element ref="ShipFromParty" minOccurs="0"/>

                        <xsd:element ref="DeclaredValueAmount" minOccurs="0"/>

                        <xsd:element ref="ShipmentDateTime" minOccurs="0"/>

                        <xsd:element ref="ExportLicenseRequiredIndicator" minOccurs="0"/>

                        <xsd:element ref="ImportLicenseRequiredIndicator" minOccurs="0"/>

                        <xsd:element ref="ScheduledDeliveryDateTime" minOccurs="0"/>

                        <xsd:element ref="ActualDeliveryDateTime" minOccurs="0"/>

                        <xsd:element ref="SpecialHandlingNote" minOccurs="0" maxOccurs="unbounded"/>

                        <xsd:element ref="Status" minOccurs="0"/>

                        <xsd:group ref="ShippingWeightandVolumeGroup" minOccurs="0"/>

                        <xsd:element ref="DistributedCharge" minOccurs="0" maxOccurs="unbounded"/>

                </xsd:sequence>

        </xsd:complexType>

        <xsd:complexType name="ShipItemBaseType">

                <xsd:complexContent>

                        <xsd:extension base="ItemInstanceBaseType">

                                <xsd:sequence>

                                        <xsd:element ref="CountryOfOriginCode" minOccurs="0"/>

                                        <xsd:element ref="ImportLicenseRequiredIndicator"
                                                minOccurs="0"/>

                                        <xsd:element ref="OrderQuantity" minOccurs="0"/>
                                        <xsd:element ref="CustomerPurchaseOrderReference" minOccurs="0"/>

                                        <xsd:element ref="ShippedQuantity" minOccurs="0"/>

                                        <xsd:element ref="OpenQuantity" minOccurs="0"/>

                                        <xsd:element ref="BackOrderedQuantity" minOccurs="0"/>

                                        <xsd:element ref="OwnershipCode" minOccurs="0"/>

                                        <xsd:element ref="EstimatedWeightMeasure" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">The
                                                  estimated weight of an item or container. An
                                                  estimate is provided as a processing alternative
                                                  when the actual weight of an item is not known or
                                                  cannot be calculated exactly.</xsd:documentation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">The
                                                  estimated weight of an item or container. An
                                                  estimate is provided as a processing alternative
                                                  when the actual weight of an item is not known or
                                                  cannot be calculated exactly.</xsd:documentation>

                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:element ref="LoadingWeightMeasure" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">This
                                                  is the net weight at loading time of the container
                                                  in which the materials are being
                                                  shipped.</xsd:documentation>

                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:element ref="RequisitionReference" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                        <xsd:element ref="PurchaseOrderReference" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                        <xsd:element ref="SalesOrderReference" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                        <xsd:element ref="DocumentReference" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                        <xsd:element ref="ItemSubLine" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                </xsd:sequence>

                        </xsd:extension>

                </xsd:complexContent>

        </xsd:complexType>

        <xsd:complexType name="ContainerBaseType">

                <xsd:sequence>

                        <xsd:group ref="ContainerInstanceIDsGroup" minOccurs="0"/>

                        <xsd:element ref="ContainerGroupID" minOccurs="0"/>

                        <xsd:element ref="PackingMaterial" minOccurs="0"/>

                        <xsd:element ref="ShippingMaterial" minOccurs="0"/>

                </xsd:sequence>

                <xsd:attribute name="type" type="NormalizedStringType">

                        <xsd:annotation>

                                <xsd:documentation source="http://schema.infor.com/InforOAGIS/2"
                                        >Indicates the type of container.</xsd:documentation>

                        </xsd:annotation>

                </xsd:attribute>

        </xsd:complexType>

        <xsd:complexType name="ContainerType">

                <xsd:complexContent>

                        <xsd:extension base="ContainerBaseType">

                                <xsd:sequence>

                                        <xsd:element ref="UserArea" minOccurs="0"/>

                                </xsd:sequence>

                        </xsd:extension>

                </xsd:complexContent>

        </xsd:complexType>

        <xsd:complexType name="ItemSubLineType">

                <xsd:sequence>

                        <xsd:group ref="ItemInstanceIDsGroup" minOccurs="0"/>

                        <xsd:element ref="Quantity" minOccurs="0"/>

                        <xsd:element ref="Status" minOccurs="0"/>

                        <xsd:group ref="FreeFormTextGroup" minOccurs="0"/>

                        <xsd:element ref="UserArea" minOccurs="0"/>

                </xsd:sequence>

        </xsd:complexType>

        <xsd:element name="ItemSubLine" type="ItemSubLineType">

                <xsd:annotation>

                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Identifies
                                the lot number and serial number details for a specific quantity of
                                items. This can be used to identify either all the serial numbers
                                within a given lot, or lot numbers and serial numbers independent of
                                each other</xsd:documentation>

                </xsd:annotation>

        </xsd:element>

        <xsd:element name="Container" type="ContainerType">

                <xsd:annotation>

                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Uniquely
                                identifies a shipping container</xsd:documentation>

                </xsd:annotation>

        </xsd:element>

        <xsd:group name="ContainerInstanceIDsGroup">

                <xsd:sequence>

                        <xsd:element ref="ContainerID" minOccurs="0"/>

                        <xsd:element ref="RFID" minOccurs="0"/>

                        <xsd:element ref="SealID" minOccurs="0"/>

                </xsd:sequence>

        </xsd:group>

        <xsd:complexType name="ShipmentUnitType">

                <xsd:annotation>

                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The Amount
                                contains the total sales price for the contents of the shipping
                                unit. The TotalAmount contains the sum of the FreightCharges and the
                                Sales price (Amount) for the shipping unit. If C.O.D. (Collect On
                                Delivery) freight terms were specified for the transaction, this is
                                monetary amount that the carrier is to collect as payment from the
                                customer upon shipment of the shipping unit.</xsd:documentation>

                </xsd:annotation>

                <xsd:complexContent>

                        <xsd:extension base="ShipUnitBaseType">

                                <xsd:sequence>

                                        <xsd:element ref="EstimatedFreightChargeAmount"
                                                minOccurs="0"/>

                                        <xsd:element ref="FreightChargeAmount" minOccurs="0"/>

                                        <xsd:element ref="SalePriceAmount" minOccurs="0"/>

                                        <xsd:element ref="ShipmentTotalAmount" minOccurs="0"/>

                                        <xsd:element ref="LoadingDateTime" minOccurs="0"/>

                                        <xsd:element ref="EstimatedWeightMeasure" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">The
                                                  estimated weight of an item or container. An
                                                  estimate is provided as a processing alternative
                                                  when the actual weight of an item is not known or
                                                  cannot be calculated exactly.</xsd:documentation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">The
                                                  estimated weight of an item or container. An
                                                  estimate is provided as a processing alternative
                                                  when the actual weight of an item is not known or
                                                  cannot be calculated exactly.</xsd:documentation>

                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:element ref="LoadingWeightMeasure" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">This
                                                  is the net weight at loading time of the container
                                                  in which the materials are being
                                                  shipped.</xsd:documentation>

                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:element ref="Dimensions" minOccurs="0"/>

                                        <xsd:element ref="CountryOfOriginCode" minOccurs="0"/>

                                        <xsd:element ref="DestinationCountryCode" minOccurs="0"/>

                                        <xsd:element ref="TransportationMethodCode" minOccurs="0"/>

                                        <xsd:element ref="ShipmentServiceLevelCode" minOccurs="0"/>

                                        <xsd:element ref="PointOfStagingCode" minOccurs="0"/>

                                        <xsd:element ref="TransportationTerm" minOccurs="0"/>

                                        <xsd:element ref="ShipToLocation" minOccurs="0"/>

                                        <xsd:element ref="PackingMaterial" minOccurs="0" maxOccurs="unbounded"/>

                                        <xsd:element ref="ShippingMaterial" minOccurs="0" maxOccurs="unbounded"/>

                                        <xsd:element ref="ShipmentUnitContainer" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                        <xsd:element ref="ShipmentUnitItem" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                        <xsd:element ref="UserArea" minOccurs="0"/>
                                        <xsd:element ref="SpecializedLogisticUnit" minOccurs="0"/>
                                </xsd:sequence>

                        </xsd:extension>

                </xsd:complexContent>

        </xsd:complexType>

        <xsd:complexType name="ShipmentUnitItemType">

                <xsd:complexContent>

                        <xsd:extension base="ShipItemBaseType">

                                <xsd:sequence>

                                        <xsd:element ref="UnitSalePriceAmount" minOccurs="0"/>

                                        <xsd:element ref="ExtendedSalePriceAmount" minOccurs="0"/>

                                        <xsd:group ref="FreightItemGroup" minOccurs="0"/>

                                        <xsd:element ref="UserArea" minOccurs="0"/>
                                        <xsd:element ref="SerializedLot" minOccurs="0"
                                        maxOccurs="unbounded"/>
                                        <xsd:element ref="EngineeringLevel" minOccurs="0">
                                                <xsd:annotation>
                                                        <xsd:documentation>used by AutoConnect</xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>

                                </xsd:sequence>

                        </xsd:extension>

                </xsd:complexContent>

        </xsd:complexType>

        <xsd:complexType name="ShipmentUnitContainerType">

                <xsd:complexContent>

                        <xsd:extension base="ContainerBaseType">

                                <xsd:sequence>

                                        <xsd:element ref="ParentContainerID" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">Is
                                                  the identifier of the container that physically
                                                  holds other subordinate
                                                  containers.</xsd:documentation>


                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:group ref="FreeFormTextGroup" minOccurs="0"/>

                                        <xsd:element ref="ShipmentUnitItem" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                        <xsd:element ref="UserArea" minOccurs="0"/>

                                </xsd:sequence>

                        </xsd:extension>

                </xsd:complexContent>

        </xsd:complexType>

        <xsd:element name="ShipmentUnit" type="ShipmentUnitType">

                <xsd:annotation>

                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The
                                ShipmentUnit represents a single trackable, uniquely identifiable
                                assembly or container containing a specific collection of goods
                                inventory that is packaged by a supplier for carrier transportation
                                to a customer business partner destination The ShipmentUnit
                                component identifies and describes the physical shipping
                                container(s) and internal packaging structure of the delivered
                                goods. The ShipmentUnit component is typically constructed to
                                describe the result of an inventory picking and packing operation. A
                                ShipmentUnit is generally the smallest "thing" that can be
                                individually moved and tracked throughout a carrier's transportation
                                network. The physical size, inventory, content and internal nested
                                container complexity within a ShipUnit is arbitrary. The ShipUnit
                                component was specifically designed to be transportation mode
                                independent. It may be used to represent any uniquely identifiable
                                and trackable assembly, container or vessel including, but not
                                limited to: a parcel express package; a pallet of identical or mixed
                                items; a truck trailer, rail car or an ocean cargo container. The
                                ShipmentUnit complements the line-item oriented summary information
                                provided in the Shipment's ShipmentItem and InventoryDetail
                                component with detailed information to accurately describe complex
                                shipping unit assemblies and item packaging. </xsd:documentation>

                </xsd:annotation>

        </xsd:element>

        <xsd:element name="ShipmentUnitItem" type="ShipmentUnitItemType"/>

        <xsd:element name="ShipmentUnitContainer" type="ShipmentUnitContainerType">

                <xsd:annotation>

                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The
                                ShipmentUnitContainer represents information about an intermediate
                                packaging level within the shipping unit. A ShipmentUnitContainer
                                may or may not have ShipmentUnitItem associated with
                                it</xsd:documentation>

                </xsd:annotation>

        </xsd:element>

        <xsd:group name="TrackingIDGroup">

                <xsd:annotation>

                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Contains
                                the TrackingID and the two optional elements that uniquely identify
                                a ship unit</xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                        <xsd:element ref="TrackingID" minOccurs="0"/>

                        <xsd:element ref="ShipUnitSequenceID" minOccurs="0"/>

                        <xsd:element ref="ShipUnitTotalID" minOccurs="0"/>

                        <xsd:element ref="ContainerGroupID" minOccurs="0"/>

                </xsd:sequence>

        </xsd:group>

        <xsd:group name="CatchWeightGroup">

                <xsd:sequence>

                        <xsd:element ref="CatchWeightQuantity" minOccurs="0"/>

                        <xsd:element ref="CatchWeightConversionFactor" minOccurs="0"/>

                </xsd:sequence>

        </xsd:group>

        <xsd:group name="FreightItemGroup">

                <xsd:sequence>

                        <xsd:element ref="FreightItemID" minOccurs="0"/>

                        <xsd:element ref="FreightClassificationCode" minOccurs="0"/>

                </xsd:sequence>

        </xsd:group>

        <xsd:complexType name="ProductionReceiverBaseType">

                <xsd:sequence>

                        <xsd:group ref="TrackingIDGroup" minOccurs="0"/>

                        <xsd:group ref="ContainerInstanceIDsGroup" minOccurs="0"/>

                        <xsd:element ref="CarrierParty" minOccurs="0"/>

                        <xsd:element ref="ShipFromParty" minOccurs="0"/>

                        <xsd:element ref="DeclaredValueAmount" minOccurs="0"/>

                        <xsd:element ref="ShipmentDateTime" minOccurs="0"/>

                        <xsd:element ref="ExportLicenseRequiredIndicator" minOccurs="0"/>

                        <xsd:element ref="ImportLicenseRequiredIndicator" minOccurs="0"/>

                        <xsd:element ref="ScheduledDeliveryDateTime" minOccurs="0"/>

                        <xsd:element ref="ActualDeliveryDateTime" minOccurs="0"/>

                        <xsd:element ref="SpecialHandlingNote" minOccurs="0" maxOccurs="unbounded"/>

                        <xsd:element ref="Status" minOccurs="0"/>

                        <xsd:group ref="ShippingWeightandVolumeGroup" minOccurs="0"/>

                        <xsd:element ref="DistributedCharge" minOccurs="0" maxOccurs="unbounded"/>

                </xsd:sequence>

        </xsd:complexType>

        <xsd:complexType name="ProductionReceiverUnitBaseType">

                <xsd:sequence>

                        <xsd:group ref="TrackingIDGroup" minOccurs="0"/>

                        <xsd:group ref="ContainerInstanceIDsGroup" minOccurs="0"/>
                        <xsd:element ref="ContainerType" minOccurs="0"/>                        
                        <xsd:element ref="CarrierParty" minOccurs="0"/>

                        <xsd:element ref="ShipFromParty" minOccurs="0"/>

                        <xsd:element ref="DeclaredValueAmount" minOccurs="0"/>

                        <xsd:element ref="ShipmentDateTime" minOccurs="0"/>

                        <xsd:element ref="ExportLicenseRequiredIndicator" minOccurs="0"/>

                        <xsd:element ref="ImportLicenseRequiredIndicator" minOccurs="0"/>

                        <xsd:element ref="ScheduledDeliveryDateTime" minOccurs="0"/>

                        <xsd:element ref="ActualDeliveryDateTime" minOccurs="0"/>

                        <xsd:element ref="SpecialHandlingNote" minOccurs="0" maxOccurs="unbounded"/>

                        <xsd:element ref="Status" minOccurs="0"/>

                        <xsd:group ref="ShippingWeightandVolumeGroup" minOccurs="0"/>

                        <xsd:element ref="DistributedCharge" minOccurs="0" maxOccurs="unbounded"/>

                </xsd:sequence>
        </xsd:complexType>

        <xsd:complexType name="ProductionReceiverUnitType">

                <xsd:annotation>

                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The Amount
                                contains the total sales price for the contents of the shipping
                                unit. The TotalAmount contains the sum of the FreightCharges and the
                                Sales price (Amount) for the shipping unit. If C.O.D. (Collect On
                                Delivery) freight terms were specified for the transaction, this is
                                monetary amount that the carrier is to collect as payment from the
                                customer upon shipment of the shipping unit.</xsd:documentation>

                </xsd:annotation>

                <xsd:complexContent>

                        <xsd:extension base="ProductionReceiverUnitBaseType">

                                <xsd:sequence>

                                        <xsd:element ref="EstimatedFreightChargeAmount"
                                                minOccurs="0"/>

                                        <xsd:element ref="FreightChargeAmount" minOccurs="0"/>

                                        <xsd:element ref="SalePriceAmount" minOccurs="0"/>

                                        <xsd:element ref="ShipmentTotalAmount" minOccurs="0"/>

                                        <xsd:element ref="LoadingDateTime" minOccurs="0"/>

                                        <xsd:element ref="EstimatedWeightMeasure" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">The
                                                  estimated weight of an item or container. An
                                                  estimate is provided as a processing alternative
                                                  when the actual weight of an item is not known or
                                                  cannot be calculated exactly.</xsd:documentation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">The
                                                  estimated weight of an item or container. An
                                                  estimate is provided as a processing alternative
                                                  when the actual weight of an item is not known or
                                                  cannot be calculated exactly.</xsd:documentation>

                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:element ref="LoadingWeightMeasure" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">This
                                                  is the net weight at loading time of the container
                                                  in which the materials are being
                                                  shipped.</xsd:documentation>

                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:element ref="Dimensions" minOccurs="0"/>

                                        <xsd:element ref="CountryOfOriginCode" minOccurs="0"/>

                                        <xsd:element ref="DestinationCountryCode" minOccurs="0"/>

                                        <xsd:element ref="TransportationMethodCode" minOccurs="0"/>

                                        <xsd:element ref="ShipmentServiceLevelCode" minOccurs="0"/>

                                        <xsd:element ref="PointOfStagingCode" minOccurs="0"/>

                                        <xsd:element ref="TransportationTerm" minOccurs="0"/>

                                        <xsd:element ref="ShipToLocation" minOccurs="0"/>

                                        <xsd:element ref="PackingMaterial" minOccurs="0"/>

                                        <xsd:element ref="ShippingMaterial" minOccurs="0"/>

                                        <xsd:element ref="ProductionReceiverUnitContainer"
                                                minOccurs="0" maxOccurs="unbounded"/>

                                        <xsd:element ref="ProductionReceiverUnitItem" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                        <xsd:element ref="UserArea" minOccurs="0"/>

                                </xsd:sequence>

                        </xsd:extension>

                </xsd:complexContent>

        </xsd:complexType>

        <xsd:complexType name="ProductionReceiverUnitItemType">

                <xsd:complexContent>

                        <xsd:extension base="ShipItemBaseType">

                                <xsd:sequence>

                                        <xsd:element ref="UnitSalePriceAmount" minOccurs="0"/>

                                        <xsd:element ref="ExtendedSalePriceAmount" minOccurs="0"/>

                                        <xsd:group ref="FreightItemGroup" minOccurs="0"/>

                                        <xsd:element ref="UserArea" minOccurs="0"/>
                                        <xsd:element ref="SerializedLot" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                </xsd:sequence>

                        </xsd:extension>

                </xsd:complexContent>

        </xsd:complexType>

        <xsd:complexType name="ProductionReceiverUnitContainerType">

                <xsd:complexContent>

                        <xsd:extension base="ContainerBaseType">

                                <xsd:sequence>

                                        <xsd:element ref="ParentContainerID" minOccurs="0">

                                                <xsd:annotation>

                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2">Is
                                                  the identifier of the container that physically
                                                  holds other subordinate
                                                  containers.</xsd:documentation>


                                                </xsd:annotation>

                                        </xsd:element>

                                        <xsd:group ref="FreeFormTextGroup" minOccurs="0"/>

                                        <xsd:element ref="ProductionReceiverUnitItem" minOccurs="0"
                                                maxOccurs="unbounded"/>

                                        <xsd:element ref="UserArea" minOccurs="0"/>

                                </xsd:sequence>

                        </xsd:extension>

                </xsd:complexContent>

        </xsd:complexType>

        <xsd:complexType name="SpecializedLogisticHeaderType">
                <xsd:sequence>
                        <xsd:element ref="CustomerStorageLocation" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:documentation>location at the customer site, where the
                                                goods are stored - used by
                                                AutoConnect</xsd:documentation>
                                </xsd:annotation>
                        </xsd:element>
                        <xsd:element ref="ConsumptionPoint" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:documentation>location at the customer site, where the
                                                goods are going to be assembled (assembly line) -
                                                used by AutoConnect</xsd:documentation>
                                </xsd:annotation>
                        </xsd:element>
                        <xsd:element ref="Reference" minOccurs="0" maxOccurs="unbounded">
                                <xsd:annotation>
                                        <xsd:documentation>Miscellaneous reference numbers that are
                                                not stored in other elements - used by
                                                AutoConnect</xsd:documentation>
                                </xsd:annotation>
                        </xsd:element>
                        <xsd:element ref="PickUpSheetNumber" minOccurs="0"/>
                        <xsd:element ref="NatureOfTransaction" minOccurs="0"/>
                        <xsd:element ref="TransportationServiceCode" minOccurs="0"
                                maxOccurs="unbounded"/>
                        <xsd:element ref="EquipmentTypeCode" minOccurs="0"/>
                        <xsd:element ref="EquipmentLengthCode" minOccurs="0"/>
                        <xsd:element ref="OceanDetails" minOccurs="0"/>
                        <xsd:element ref="AirDetails" minOccurs="0"/>
                        <xsd:element ref="EquipmentClassificationCode" minOccurs="0"/>
                </xsd:sequence>
        </xsd:complexType>

        <xsd:element name="SpecializedLogisticHeader" type="SpecializedLogisticHeaderType"/>

        <xsd:complexType name="SpecializedLogisticItemType">
                <xsd:sequence>
                        <xsd:element ref="ItemUsageType" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:documentation>enumeration for type of item. eg. spare
                                                part, test part, serial part ... - used by
                                                AutoConnect</xsd:documentation>
                                </xsd:annotation>
                        </xsd:element>
                        <xsd:element ref="Reference" minOccurs="0" maxOccurs="unbounded">
                                <xsd:annotation>
                                        <xsd:documentation>Miscellaneous reference numbers that are
                                                not stored in other elements - used by
                                                AutoConnect</xsd:documentation>
                                </xsd:annotation>
                        </xsd:element>
                        <xsd:element ref="EngineeringLevel" minOccurs="0"/>
                </xsd:sequence>
        </xsd:complexType>

        <xsd:element name="SpecializedLogisticItem" type="SpecializedLogisticItemType"/>

        <xsd:complexType name="SpecializedLogisticUnitType">
                <xsd:sequence>
                        <xsd:element ref="ShipmentUnitType" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:documentation>Enumeration for Unit type e.g. outer, inner - used by
                                                AutoConnect</xsd:documentation>
                                </xsd:annotation>
                        </xsd:element>
                        <xsd:element ref="Reference" minOccurs="0" maxOccurs="unbounded">
                                <xsd:annotation>
                                        <xsd:documentation>Miscellaneous reference numbers that are
                                                not stored in other elements - used by
                                                AutoConnect</xsd:documentation>
                                </xsd:annotation>
                        </xsd:element>
                </xsd:sequence>
        </xsd:complexType>
        
        <xsd:element name="SpecializedLogisticUnit" type="SpecializedLogisticUnitType"/>
        
        <xsd:complexType name="EngineeringLevelType">
                <xsd:sequence>
                        <xsd:element ref="DrawingNumber" minOccurs="0"/>
                        <xsd:element ref="DrawingDate" minOccurs="0"/>
                        <xsd:element ref="DrawingIndex" minOccurs="0"/>
                 </xsd:sequence>
        </xsd:complexType>

        <xsd:element name="EngineeringLevel" type="EngineeringLevelType"/>

        <xsd:element name="ProductionReceiverUnit" type="ProductionReceiverUnitType">

                <xsd:annotation>

                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The
                                ProductionReceiverUnit represents a single trackable, uniquely
                                identifiable assembly or container containing a specific collection
                                of goods inventory that is packaged production for the warehouse.
                                The ProductionReceiverUnit component is typically constructed to
                                describe the result of an inventory picking and packing operation. A
                                ProductionReceiverUnit is generally the smallest "thing" that can be
                                individually moved and tracked throughout a carrier's transportation
                                network. The physical size, inventory, content and internal nested
                                container complexity within a ProductionReceiverUnit is arbitrary.
                                The ProductionReceiverUnit component was specifically designed to be
                                transportation mode independent. It may be used to represent any
                                uniquely identifiable and trackable assembly, container or vessel
                                including, but not limited to: a parcel express package; a pallet of
                                identical or mixed items; a truck trailer, rail car or an ocean
                                cargo container. </xsd:documentation>

                </xsd:annotation>

        </xsd:element>

        <xsd:element name="ProductionReceiverUnitItem" type="ProductionReceiverUnitItemType"/>

        <xsd:element name="ProductionReceiverUnitContainer"
                type="ProductionReceiverUnitContainerType">
                <xsd:annotation>
                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The
                                ProductionReceiverUnitContainer represents information about an
                                intermediate packaging level within the ProductionReceiver unit. A
                                ProductionReceiverUnitContainer may or may not have
                                ProductionReceiverUnitItem associated with it</xsd:documentation>
                </xsd:annotation>
        </xsd:element>

        <xsd:complexType name="OceanDetailsType">
                <xsd:sequence>
                        <xsd:element ref="PortOfLoadingCode" minOccurs="0"/>
                        <xsd:element ref="PortOfDischargeCode" minOccurs="0"/>
                        <xsd:element ref="TariffServiceCode" minOccurs="0"/>
                        <xsd:element ref="OceanServiceLevelCode" minOccurs="0"/>
                </xsd:sequence>
        </xsd:complexType>
        <xsd:element name="OceanDetails" type="OceanDetailsType"/>
        
        <xsd:complexType name="AirDetailsType">
                <xsd:sequence>
                        <xsd:element ref="RoutedViaCode" minOccurs="0"/>
                        <xsd:element ref="AirServiceLevelCode" minOccurs="0"/>
                </xsd:sequence>
        </xsd:complexType>
        <xsd:element name="AirDetails" type="AirDetailsType"/>
        <xsd:element name="EquipmentClassificationCode" type="CodeType"/>
</xsd:schema>
