<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2014 (x64) (http://www.altova.com) by Group IT (PostNL Groep) -->
<!--



major/ minor versie:	1.0
datum productie:		13-12-2011


   Schema agency: 	Open Applications Group 


   OAGIS® Revision:    OAGIS Platform 1_2  
   Date:               05 May 2011 
   Copyright 1997-2011, All Rights Reserved 

  	
   Copyright (C) Open Applications Group (1997-2011). 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 oagis@openapplications.org.
    
   XML Schema 
     
    Name: /OAGi-BPI-Platform/org_openapplications_platform/1_2/Common/OAGi/Components/OrderManagementComponents.xsd
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:om1="urn:postnl/mail/ordermanagementcomponents/1" xmlns:fi1="urn:postnl/mail/fields1" xmlns:me1="urn:postnl/mail/meta/1" xmlns:co1="urn:postnl/mail/components/1" xmlns:co2="urn:postnl/mail/components/2" xmlns:co3="urn:postnl/mail/components/3" xmlns:co4="urn:postnl/mail/components/4" xmlns:co5="urn:postnl/mail/components/5" targetNamespace="urn:postnl/mail/ordermanagementcomponents/1" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xsd:import namespace="urn:postnl/mail/fields1" schemaLocation="Fields1.xsd"/>
	<xsd:import namespace="urn:postnl/mail/meta/1" schemaLocation="Meta1.xsd"/>
	<xsd:import namespace="urn:postnl/mail/components/1" schemaLocation="Components1.xsd"/>
	<xsd:import namespace="urn:postnl/mail/components/2" schemaLocation="Components2.xsd"/>
	<xsd:import namespace="urn:postnl/mail/components/3" schemaLocation="Components3.xsd"/>
	<xsd:import namespace="urn:postnl/mail/components/4" schemaLocation="Components4.xsd"/>
	<xsd:import namespace="urn:postnl/mail/components/5" schemaLocation="Components5.xsd"/>
	<xsd:complexType name="RequestHeaderType" abstract="true">
		<xsd:annotation>
			<xsd:documentation source="http://www.openapplications.org/platform/1">The abstract basis for the Header of all the Procurement Documents.

For a Procurement Document the CustomerParty is the party in which the items have been or will be SoldTo (i.e. the SoldToParty).</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="co1:StatusEnabledHeaderType">
				<xsd:sequence>
					<xsd:element ref="co1:Party" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:CustomerParty" minOccurs="0"/>
					<xsd:element ref="co1:SupplierParty" minOccurs="0"/>
					<xsd:element ref="co1:ShipToParty" minOccurs="0"/>
					<xsd:element ref="co1:PlannerContact" minOccurs="0"/>
					<xsd:element ref="co1:CatalogReference" minOccurs="0"/>
					<xsd:element ref="co1:ContractReference" minOccurs="0"/>
					<xsd:element ref="fi1:ExtendedAmount" minOccurs="0"/>
					<xsd:element ref="fi1:TotalAmount" minOccurs="0"/>
					<xsd:element ref="co1:QualifiedAmount" minOccurs="0"/>
					<xsd:element ref="co1:EnterpriseUnit" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="RequestLineType">
		<xsd:complexContent>
			<xsd:extension base="co1:StatusEnabledLineType">
				<xsd:sequence>
					<xsd:group ref="co1:ItemInstanceGroup" minOccurs="0"/>
					<xsd:element ref="co1:UnitPrice" minOccurs="0"/>
					<xsd:element ref="fi1:ExtendedAmount" minOccurs="0"/>
					<xsd:element ref="fi1:TotalAmount" minOccurs="0"/>
					<xsd:element ref="co1:QualifiedAmount" minOccurs="0"/>
					<xsd:element ref="co1:CatalogReference" minOccurs="0"/>
					<xsd:element ref="co1:ContractReference" minOccurs="0"/>
					<xsd:element ref="fi1:RequiredDeliveryDateTime" minOccurs="0"/>
					<xsd:element ref="fi1:AllowSubstitutionIndicator" minOccurs="0"/>
					<xsd:element ref="co1:ShipToParty" minOccurs="0"/>
					<xsd:element ref="co1:DrawingAttachment" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="RequestSubLineType">
		<xsd:annotation>
			<xsd:documentation source="http://www.openapplications.org/platform/1">The basis for the ProcurementDocumet SubLine.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="co1:LineType">
				<xsd:sequence>
					<xsd:element ref="co1:Item" minOccurs="0"/>
					<xsd:element name="Quantity" type="fi1:QuantityType" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://www.openapplications.org/platform/1">Indicates the number of order items for the given line..</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="co1:DrawingReference" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:CatalogReference" minOccurs="0"/>
					<xsd:element ref="fi1:ParentLineNumber" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="ProcurementHeaderType">
		<xsd:complexContent>
			<xsd:extension base="om1:RequestHeaderType">
				<xsd:sequence>
					<xsd:element ref="co1:BillToParty" minOccurs="0"/>
					<xsd:element ref="co1:CarrierParty" minOccurs="0"/>
					<xsd:element ref="co1:PayFromParty" minOccurs="0"/>
					<xsd:element ref="fi1:PartialShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="fi1:DropShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="fi1:EarlyShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="fi1:LicenseIndicator" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="fi1:TaxExemptIndicator" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://www.openapplications.org/platform/1">Specifies whether the associated element is exempt from withholding taxes.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="co1:TransportationTerm" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:PaymentTerm" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:DistributedCharge" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:DistributedTax" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:Tax" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:Distribution" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:Charge" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:Allowance" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="ProcurementLineType">
		<xsd:complexContent>
			<xsd:extension base="om1:RequestLineType">
				<xsd:sequence>
					<xsd:element ref="fi1:PartialShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="fi1:DropShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="fi1:EarlyShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="fi1:LicenseIndicator" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:TransportationTerm" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:PaymentTerm" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:DistributedCharge" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:DistributedTax" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:Tax" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:Distribution" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:Charge" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:Allowance" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="ProcurementScheduleType">
		<xsd:annotation>
			<xsd:documentation source="http://www.openapplications.org/platform/1">The Quantity Indicates the number of items that are to be deliveried on the Required Date or the number of items to be delivered on each occurence of the Schedule period frequency or the number of items to be delivered on each delivery where the number of deliveries is provided by the NumberOfDelivery field below.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="co1:LineType">
				<xsd:sequence>
					<xsd:element ref="fi1:Quantity" minOccurs="0"/>
					<xsd:choice>
						<xsd:element ref="fi1:RequiredDeliveryDateTime" minOccurs="0"/>
						<xsd:element ref="co1:ScheduleTimePeriod" minOccurs="0"/>
					</xsd:choice>
					<xsd:element ref="fi1:NumberOfDeliveries" minOccurs="0"/>
					<xsd:element ref="co1:ShipmentQuantityTolerence" minOccurs="0"/>
					<xsd:element ref="co1:ShipmentQuantityTolerance" minOccurs="0"/>
					<xsd:element ref="co1:ShipmemtTimeTolerance" minOccurs="0"/>
					<xsd:element ref="fi1:ReasonCode" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="OrderHeaderType">
		<xsd:complexContent>
			<xsd:extension base="om1:ProcurementHeaderType">
				<xsd:sequence>
					<xsd:element ref="fi1:SpecialPriceAuthorizationCode" minOccurs="0"/>
					<xsd:element ref="fi1:EarliestShipDateTime" minOccurs="0"/>
					<xsd:element ref="fi1:RequestedShipDateTime" minOccurs="0"/>
					<xsd:element ref="fi1:PromisedShipDateTime" minOccurs="0"/>
					<xsd:element ref="fi1:PromisedDeliveryDateTime" minOccurs="0"/>
					<xsd:element ref="fi1:PaymentMethodCode" minOccurs="0"/>
					<xsd:element ref="co1:Payment" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="fi1:ShippingInstructions" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="OrderLineType">
		<xsd:complexContent>
			<xsd:extension base="om1:ProcurementLineType">
				<xsd:sequence>
					<xsd:element ref="co1:FreightClassification" minOccurs="0"/>
					<xsd:element ref="fi1:SpecialPriceAuthorizationCode" minOccurs="0"/>
					<xsd:element ref="fi1:SubstituteItemIndicator" minOccurs="0"/>
					<xsd:element ref="co1:RequisitionReference" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="fi1:PromisedShipDateTime" minOccurs="0"/>
					<xsd:element ref="fi1:PromisedDeliveryDateTime" minOccurs="0"/>
					<xsd:element ref="fi1:ShippingInstructions" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="PriceBreakType">
		<xsd:sequence>
			<xsd:choice>
				<xsd:element ref="fi1:DiscountAmount" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation source="http://www.openapplications.org/platform/1">Allows a flat amount to be discounted per item.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element ref="fi1:DiscountPercent" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation source="http://www.openapplications.org/platform/1">Indicates the percentage of the PriceBreak.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element ref="fi1:OverridePrice" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation source="http://www.openapplications.org/platform/1">This is the price that overrides the list price when a given price break requirement is reached. For example, if a customer orders over 50,000 dollars worth of computer equipment, he may qualify for an overriding price.  The list price of $800 per will be modified to $700 per</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>
			<xsd:choice>
				<xsd:element ref="fi1:PriceBreakQuantity" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation source="http://www.openapplications.org/platform/1">The quantity that must be purchased of the item or commodity on a given price list line before the benefit, or until the detriment of a given price break line will apply.  For example, if a customer orders up to 5000 units of flour, they will get a price of $8:00 a case.  If the customer buys 5500 units of flour they will get a price of $7.50 a case</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element ref="fi1:PriceBreakAmount" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation source="http://www.openapplications.org/platform/1">The monetary amount that must be spent on a given price list line before the benefit or until the detriment of a given price break line will apply.  For example, if a customer orders up to 5000 dollars worth of flour, they will get a price of $8:00 a case.  If the customer buys 5500 dollars worth of flour they will get a price of $7.50 a case</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>
			<xsd:element ref="co1:EffectiveTimePeriod" minOccurs="0"/>
			<xsd:group ref="me1:FreeFormTextGroup" minOccurs="0"/>
			<xsd:element ref="fi1:UserArea" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="PriceBreak" type="om1:PriceBreakType">
		<xsd:annotation>
			<xsd:documentation source="http://www.openapplications.org/platform/1">This defines the prices and modifiers to the price for buying a given quantity or value of an item or item category on a price list line. For Price List Lines that specify Items the price breaks can be specified in terms of quantity or amount. For Price list lines that specify commodity, price breaks can only be specified in terms of currency amount</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="QualificationTermType">
		<xsd:sequence>
			<xsd:element ref="fi1:ID" minOccurs="0"/>
			<xsd:element ref="fi1:Type" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation source="http://www.openapplications.org/platform/1">Code type specifing the type of qualification term.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element ref="fi1:ValueText" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:group ref="me1:FreeFormTextGroup" minOccurs="0"/>
			<xsd:element ref="fi1:UserArea" minOccurs="0"/>
		</xsd:sequence>
		<xsd:attribute name="type" type="fi1:NormalizedStringType"/>
	</xsd:complexType>
	<xsd:element name="QualificationTerm" type="om1:QualificationTermType">
		<xsd:annotation>
			<xsd:documentation source="http://www.openapplications.org/platform/1">This is used to describe preferences that will be used to evaluate responses to an RFQ. For example, to identify a preference for sharing CAD data in VRML format the ID = VRML, Type = CAD and Value = 1 or Yes</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="OrderCommissionType">
		<xsd:annotation>
			<xsd:documentation source="http://www.openapplications.org/platform/1">Contains the relevant information about the salesperson and the associated commission information. </xsd:documentation>
		</xsd:annotation>
		<xsd:sequence minOccurs="0">
			<xsd:element ref="co1:SalesOrganizationIDs" minOccurs="0"/>
			<xsd:element ref="co1:SalesPerson" minOccurs="0"/>
			<xsd:choice>
				<xsd:sequence>
					<xsd:element ref="fi1:Amount" minOccurs="0"/>
					<xsd:element ref="fi1:Quantity" minOccurs="0"/>
				</xsd:sequence>
				<xsd:sequence>
					<xsd:element ref="fi1:OrderAmount" minOccurs="0"/>
					<xsd:element ref="fi1:OrderQuantity" minOccurs="0"/>
					<xsd:element ref="fi1:Percentage" minOccurs="0"/>
				</xsd:sequence>
			</xsd:choice>
			<!--<xsd:element ref="fi1:UserArea" minOccurs="0"/>-->
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="OrderCommission" type="om1:OrderCommissionType">
		<xsd:annotation>
			<xsd:documentation source="http://www.openapplications.org/platform/1">Contains the relevant information about the salesperson and the associated commission information. </xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<!--Ten behoeve van OperatorOrder
	-->
	<xsd:element name="OperatorOrderTransportHeader" type="om1:OperatorOrderTransportHeaderType"/>
	<xsd:complexType name="OperatorOrderTransportHeaderType">
		<xsd:complexContent>
			<xsd:extension base="co1:StatusEnabledHeaderType">
				<xsd:sequence>
					<xsd:element ref="co2:ConsumerParty" minOccurs="0"/>
					<xsd:element ref="co2:ProviderParty" minOccurs="0"/>
					<xsd:element ref="co2:BillToParty" minOccurs="0"/>
					<xsd:element ref="fi1:OrderUrgencyCode" minOccurs="0"/>
					<xsd:element ref="co1:ContractsReferences" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="co1:SalesOrderReference" minOccurs="0"/>
					<xsd:element ref="fi1:OperatorContractID" minOccurs="0"/>
					<xsd:element ref="fi1:CommunicationLanguage" minOccurs="0"/>
					<xsd:element ref="fi1:RemboursAmount" minOccurs="0"/>
					<xsd:element ref="fi1:InsuranceValueAmount" minOccurs="0"/>
					<xsd:element ref="fi1:TotalAmount" minOccurs="0"/>
					<xsd:element ref="co1:TotalDimensions" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:element name="OperatorOrderTransportLine" type="om1:OperatorOrderTransportLineType"/>
	<xsd:complexType name="OperatorOrderTransportLineType">
		<xsd:sequence>
			<xsd:element ref="fi1:ID" minOccurs="0"/>
			<xsd:element ref="fi1:ConsigneeAssignedID" minOccurs="0"/>
			<xsd:element ref="fi1:ConsignorAssignedID" minOccurs="0"/>
			<xsd:element ref="fi1:CarrierAssignedID" minOccurs="0"/>
			<xsd:element ref="co3:ConsigneeParty" minOccurs="0"/>
			<xsd:element ref="co3:ConsignorParty" minOccurs="0"/>
			<xsd:element ref="co2:ReturnToParty" minOccurs="0"/>
			<xsd:element ref="co1:ReturnToSender-Party" minOccurs="0"/>
			<xsd:element ref="co2:NotifyingParty" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="co2:FinalDeliveryParty" minOccurs="0"/>
			<xsd:element ref="co2:CarrierParty" minOccurs="0"/>
			<xsd:element ref="co1:Identification" minOccurs="0"/>
			<xsd:element ref="co1:ExcecutionPlanReference" minOccurs="0"/>
			<xsd:element ref="co1:CustomerOrderReference" minOccurs="0"/>
			<xsd:element ref="co1:CustomerPartyReference" minOccurs="0"/>
			<xsd:element ref="co1:ConsumerPartyReference" minOccurs="0"/>
			<xsd:element ref="co2:OperatorService" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="co1:LogisticServiceInformation" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="co2:TransportInformation" minOccurs="0"/>
			<xsd:element ref="fi1:ConsignmentInformation" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="co1:AgreementSchedule" minOccurs="0"/>
			<xsd:element name="DropOffTransportEvent" type="co3:TransportEventType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>The delivery of this consignment by the party responsible for providing the transportation service (the transport service provider).</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PickUpTransportEvent" type="co3:TransportEventType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>The pickup of this consignment by the party responsible for providing the transportation service (the transport service provider).</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="DropOffSortingTransportEvent" type="co1:SortingTransportEventType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>nog invullen door Mathijs</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PickUpSortingTransportEvent" type="co1:SortingTransportEventType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>nog invullen door Mathijs</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element ref="co2:IncoTerms" minOccurs="0"/>
			<xsd:element ref="co5:TransportHandlingUnit" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>A class to describe a uniquely identifiable unit consisting of one or more packages, goods items, or pieces of transport equipment, as requested to be handled by the Transport User.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element ref="fi1:SpecialServiceInstructions" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="fi1:RemboursAmount" minOccurs="0"/>
			<xsd:element ref="fi1:InsuranceValueAmount" minOccurs="0"/>
			<xsd:element ref="fi1:TotalAmount" minOccurs="0"/>
			<xsd:element ref="co1:ExpectedTimePeriod" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="co1:DEPR_ParcelElements" minOccurs="0"/>
			<xsd:element ref="co1:DEPR_MailElements" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
