<?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.
14 Jan 2010   PO      Added transaction source (BOD-1100)
19 Jan 2011   PO      Added elements for configure items. (BOD-1436)
17 Jun 2011   NO      Added ScheduleLineType element for Back Order Processing. (BOD-1578)
08 Oct 2012   NO      Added OrderLineTypeCode and OrderLineCategoryCode CodeTypes (BOD-2014)
10 Oct 2012   NO      Added OrderTypeCode CodeTypes (BOD-2082)
26 June 2013 Ajay     Moved OrderCommissionType & ScheduleLineType to Common/component/Common -Bod 2203
15th July 2013 Ajay   Added CanceledAmount,CanceledBaseAmount,CanceledReportingAmount to RequestHeaderType-B0D 2155
*****     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="./Components.xsd"/>
	<xsd:complexType name="RequestHeaderType" abstract="true">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">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="StatusEnabledHeaderType">
				<xsd:sequence>
					<xsd:element ref="Party" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="CustomerParty" minOccurs="0"/>
					<xsd:element ref="SupplierParty" minOccurs="0"/>
					<xsd:element ref="ShipToParty" minOccurs="0"/>
					<xsd:element ref="ShipFromParty" minOccurs="0"/>
					<xsd:element ref="PlannerContact" minOccurs="0"/>
					<xsd:element ref="CatalogReference" minOccurs="0"/>
					<xsd:element ref="ContractReference" minOccurs="0"/>
					<xsd:element ref="ExtendedAmount" minOccurs="0"/>
					<xsd:element ref="ExtendedBaseAmount" minOccurs="0"/>
					<xsd:element ref="ExtendedReportAmount" minOccurs="0"/>
					<xsd:element ref="TotalAmount" minOccurs="0"/>
					<xsd:element ref="TotalBaseAmount" minOccurs="0"/>
					<xsd:element ref="TotalReportAmount" minOccurs="0"/>
					<xsd:element ref="CanceledAmount" minOccurs="0"/>
					<!--Element added for BOD-2155  -->
					<xsd:element ref="CanceledBaseAmount" minOccurs="0"/>
					<!--Element added for BOD-2155  -->
					<xsd:element ref="CanceledReportingAmount" minOccurs="0"/>
					<!--Element added for BOD-2155  -->
					<xsd:element ref="EnterpriseUnit" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="RequestLineType">
		<xsd:complexContent>
			<xsd:extension base="StatusEnabledLineType">
				<xsd:sequence>
					<xsd:group ref="ItemInstanceGroup" minOccurs="0"/>
					<xsd:element ref="UnitPrice" minOccurs="0"/>
					<xsd:element ref="ExtendedAmount" minOccurs="0"/>
					<xsd:element ref="ExtendedBaseAmount" minOccurs="0"/>
					<xsd:element ref="ExtendedReportAmount" minOccurs="0"/>
					<xsd:element ref="TotalAmount" minOccurs="0"/>
					<xsd:element ref="TotalBaseAmount" minOccurs="0"/>
					<xsd:element ref="TotalReportAmount" minOccurs="0"/>
					<xsd:element ref="CatalogReference" minOccurs="0"/>
					<xsd:element ref="CancelShipByDateTime" minOccurs="0"/>
					<xsd:element ref="CancelDeliveryByDateTime" minOccurs="0"/>
					<xsd:element ref="EarliestShipDateTime" minOccurs="0"/>
					<xsd:element ref="EarliestDeliveryDateTime" minOccurs="0"/>
					<xsd:element ref="RequestedShipDateTime" minOccurs="0"/>
					<xsd:element ref="RequiredDeliveryDateTime" minOccurs="0"/>
					<xsd:element ref="AllowSubstitutionIndicator" minOccurs="0"/>
					<xsd:element ref="ShipToParty" minOccurs="0"/>
					<xsd:element ref="DrawingAttachment" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="RequestSubLineType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The basis for the
				ProcurementDocumet SubLine.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="LineType">
				<xsd:sequence>
					<xsd:element ref="Item" minOccurs="0"/>
					<xsd:element ref="Quantity" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2"
								>Indicates the number of order items for the given
								line..</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="BaseUOMQuantity" minOccurs="0"/>
					<xsd:element ref="DrawingReference" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="CatalogReference" minOccurs="0"/>
					<xsd:element ref="ParentLineNumber" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="ProcurementHeaderType">
		<xsd:complexContent>
			<xsd:extension base="RequestHeaderType">
				<xsd:sequence>
					<xsd:element ref="BillToParty" minOccurs="0"/>
					<xsd:element ref="CarrierParty" minOccurs="0"/>
					<xsd:element ref="PayFromParty" minOccurs="0"/>
					<xsd:element ref="PartialShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="DropShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="EarlyShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="LicenseIndicator" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="TaxExemptIndicator" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2"
								>Specifies whether the associated element is exempt from withholding
								taxes.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="TransportationTerm" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="PaymentTerm" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="DistributedCharge" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="DistributedTax" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="Distribution" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="TransactionSourceCode" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="ProcurementLineType">
		<xsd:complexContent>
			<xsd:extension base="RequestLineType">
				<xsd:sequence>
					<xsd:element ref="PartialShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="DropShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="EarlyShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="LicenseIndicator" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="TransportationTerm" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="PaymentTerm" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="DistributedCharge" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="DistributedTax" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="Distribution" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="OrderHeaderType">
		<xsd:complexContent>
			<xsd:extension base="ProcurementHeaderType">
				<xsd:sequence>
					<xsd:element ref="SpecialPriceAuthorizationCode" minOccurs="0"/>
					<xsd:element ref="CancelShipByDateTime" minOccurs="0"/>
					<xsd:element ref="CancelDeliveryByDateTime" minOccurs="0"/>
					<xsd:element ref="EarliestShipDateTime" minOccurs="0"/>
					<xsd:element ref="EarliestDeliveryDateTime" minOccurs="0"/>
					<xsd:element ref="RequestedShipDateTime" minOccurs="0"/>
					<xsd:element ref="RequiredDeliveryDateTime" minOccurs="0"/>
					<xsd:element ref="PromisedShipDateTime" minOccurs="0"/>
					<xsd:element ref="PromisedDeliveryDateTime" minOccurs="0"/>
					<xsd:element ref="PaymentMethodCode" minOccurs="0"/>
					<xsd:element ref="Payment" minOccurs="0" maxOccurs="unbounded"/>

				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>


	<xsd:complexType name="OrderLineType">
		<xsd:complexContent>
			<xsd:extension base="ProcurementLineType">
				<xsd:sequence>
					<xsd:element ref="FreightClassification" minOccurs="0"/>
					<xsd:element ref="SpecialPriceAuthorizationCode" minOccurs="0"/>
					<xsd:element ref="SubstituteItemIndicator" minOccurs="0"/>
					<xsd:element ref="RequisitionReference" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="PromisedShipDateTime" minOccurs="0"/>
					<xsd:element ref="PromisedDeliveryDateTime" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="PriceBreakType">
		<xsd:sequence>
			<xsd:choice>
				<xsd:sequence>
					<xsd:element ref="DiscountAmount" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Allows
								a flat amount to be discounted per item.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="DiscountBaseAmount" minOccurs="0"/>
					<xsd:element ref="DiscountReportAmount" minOccurs="0"/>
				</xsd:sequence>
				<xsd:element ref="DiscountPercent" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Indicates
							the percentage of the PriceBreak.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element ref="OverridePrice" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">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:sequence>
					<xsd:element ref="PriceBreakQuantity" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">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="PriceBreakBaseUOMQuantity" minOccurs="0"/>
				</xsd:sequence>
				<xsd:sequence>
					<xsd:element ref="PriceBreakAmount" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">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:element ref="PriceBreakBaseAmount" minOccurs="0"/>
					<xsd:element ref="PriceBreakReportAmount" minOccurs="0"/>
				</xsd:sequence>
			</xsd:choice>
			<xsd:group ref="FreeFormTextGroup" minOccurs="0"/>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="PriceBreak" type="PriceBreakType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">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="DiscountScheduleType">
		<xsd:sequence>
			<xsd:element ref="ScheduleNumber" minOccurs="0"/>
			<xsd:element ref="Status" minOccurs="0"/>
			<xsd:element ref="DiscountLine" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="DiscountLineType">
		<xsd:sequence>
			<xsd:element ref="TimePeriod" minOccurs="0"/>
			<xsd:choice>
				<xsd:sequence>
					<xsd:element ref="EffectiveQuantity" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The
								quantity that must be purchased of the item or commodity before the
								benefit will apply.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="EffectiveBaseUOMQuantity" minOccurs="0"/>
				</xsd:sequence>
				<xsd:sequence>
					<xsd:element ref="EffectiveAmount" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The
								monetary amount that must be spent on a given price list line before
								the benefit will apply.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="EffectiveBaseAmount" minOccurs="0"/>
					<xsd:element ref="EffectiveReportAmount" minOccurs="0"/>
				</xsd:sequence>
			</xsd:choice>
			<xsd:choice>
				<xsd:sequence>
					<xsd:element ref="DiscountAmount" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Allows
								a flat amount to be discounted per item.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="DiscountBaseAmount" minOccurs="0"/>
					<xsd:element ref="DiscountReportAmount" minOccurs="0"/>
				</xsd:sequence>
				<xsd:element ref="DiscountPercent" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Indicates
							the percentage of the PriceBreak.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="DiscountLine" type="DiscountLineType"/>

	<xsd:element name="DiscountSchedule" type="DiscountScheduleType"/>
	<xsd:complexType name="QualificationTermType">
		<xsd:sequence>
			<xsd:element ref="ID" minOccurs="0"/>
			<xsd:element ref="Type" minOccurs="0"/>
			<xsd:element ref="ValueText" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:group ref="FreeFormTextGroup" minOccurs="0"/>
			<xsd:element ref="UserArea" minOccurs="0"/>
		</xsd:sequence>
		<xsd:attribute name="type" type="NormalizedStringType" use="optional"/>
	</xsd:complexType>
	<xsd:element name="QualificationTerm" type="QualificationTermType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">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="TransferProcurementHeaderType">
		<xsd:complexContent>
			<xsd:extension base="TransferRequestHeaderType">
				<xsd:sequence>
					<xsd:element ref="BillToParty" minOccurs="0"/>
					<xsd:element ref="CarrierParty" minOccurs="0"/>
					<xsd:element ref="PartialShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="DropShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="EarlyShipmentAllowedIndicator" minOccurs="0"/>
					<xsd:element ref="LicenseIndicator" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="DistributedCharge" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="DistributedTax" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="Distribution" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>

	<xsd:complexType name="TransferRequestHeaderType" abstract="true">
		<xsd:annotation>
			<xsd:documentation source="http://www.openapplications.org/oagis/9">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="StatusEnabledHeaderType">
				<xsd:sequence>
					<xsd:element ref="ReceivingDistributionCenterCode" minOccurs="0"
						maxOccurs="unbounded"/>
					<xsd:element ref="ShipFromParty" minOccurs="0"/>
					<xsd:element ref="ShipToParty" minOccurs="0"/>
					<xsd:element ref="PlannerContact" minOccurs="0"/>
					<xsd:element ref="ExtendedAmount" minOccurs="0"/>
					<xsd:element ref="TotalAmount" minOccurs="0"/>
					<xsd:element ref="TotalBaseAmount" minOccurs="0"/>
					<xsd:element ref="TotalReportAmount" minOccurs="0"/>
					<xsd:element ref="EnterpriseUnit" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>

	<xsd:complexType name="ItemConfigurationType">
		<xsd:sequence>
			<xsd:group ref="FreeFormTextGroup"/>
			<xsd:element ref="ConfigurationComponent" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="ItemConfiguration" type="ItemConfigurationType"/>

	<xsd:complexType name="ConfiguratorLinksType">
		<xsd:sequence>
			<xsd:element ref="ConfigurationID" minOccurs="0"/>
			<xsd:element ref="ConfigurationDetailID" minOccurs="0"/>
			<xsd:element ref="ImageLinkURI" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="ConfiguratorLinks" type="ConfiguratorLinksType"/>

	<xsd:complexType name="ConfigurationComponentType">
		<xsd:sequence>
			<xsd:element ref="Sequence" minOccurs="0"/>
			<xsd:element ref="ConfiguratorLinks" minOccurs="0"/>
			<xsd:element ref="ParentComponent" minOccurs="0"/>
			<xsd:element ref="ParentFeature" minOccurs="0"/>
			<xsd:element ref="Name" minOccurs="0"/>
			<xsd:group ref="ItemInstanceGroup" minOccurs="0"/>
			<xsd:element ref="UnitPrice" minOccurs="0"/>
			<xsd:group ref="FreeFormTextGroup"/>
			<xsd:element ref="Feature" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="ConfigurationComponent" type="ConfigurationComponentType"/>

	<xsd:complexType name="FeatureType">
		<xsd:sequence>
			<xsd:element ref="Sequence" minOccurs="0"/>
			<xsd:element ref="OptionClass" minOccurs="0"/>
			<xsd:element ref="OptionClassDescription" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="Option" minOccurs="0"/>
			<xsd:element ref="Note" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="OptionDescription" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="Classification" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="Feature" type="FeatureType"/>

	<xsd:complexType name="OptionClassType">
		<xsd:simpleContent>
			<xsd:extension base="StringType">
				<xsd:attribute name="type" type="NormalizedStringType" use="optional">
					<xsd:annotation>
						<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is the type
							of the information being passed in the Option.</xsd:documentation>
					</xsd:annotation>
				</xsd:attribute>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>

	<xsd:element name="OptionClass" type="OptionClassType"/>

	<xsd:complexType name="QuantityBreakPricingType">
		<xsd:sequence>
			<xsd:element ref="MinimumQuantity" minOccurs="0"/>
			<xsd:element ref="MinimumBaseUOMQuantity" minOccurs="0"/>
			<xsd:element ref="UnitPrice" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:element name="ParentComponent" type="PositiveIntegerNumericType"/>
	<xsd:element name="ParentFeature" type="PositiveIntegerNumericType"/>
	<xsd:element name="ConfigurationID" type="IdentifierType"/>
	<xsd:element name="ConfigurationDetailID" type="IdentifierType"/>
	<xsd:element name="ImageLinkURI" type="URIType"/>

	<xsd:element name="Option" type="NormalizedStringType"/>
	<xsd:element name="OptionClassDescription" type="DescriptionType"/>
	<xsd:element name="OptionDescription" type="DescriptionType"/>
	<xsd:element name="UrgentRequestIndicator" type="IndicatorType"/>
	<xsd:element name="ExtendedPretaxAmount" type="AmountType"/>
	<xsd:element name="QuantityBreakPricing" type="QuantityBreakPricingType"/>
	<xsd:element name="ExpectedDeliveryDate" type="DateTimeType"/>
	<xsd:element name="FollowUpDate" type="DateTimeType"/>
	<xsd:element name="SubTotalAmount" type="AmountType">
		<xsd:annotation>
			<xsd:documentation> The sum of the pretax amounts from the lines before any order
				adjustments or taxes are added. </xsd:documentation>
		</xsd:annotation>
	</xsd:element>

	<xsd:element name="AuthorizedBy" type="NameType">
		<xsd:annotation>
			<xsd:documentation> Name of the person who authorized the RMA. </xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="UnderWarrantyQuantity" type="QuantityType">
		<xsd:annotation>
			<xsd:documentation> Specific quantity of an item under warranty. </xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="PickUpDate" type="DateType">
		<xsd:annotation>
			<xsd:documentation> Date the goods will be picked up by the carrier.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="PromisedReturnDateTime" type="DateTimeType">
		<xsd:annotation>
			<xsd:documentation> Date the customer promised to ship the goods back.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="CreditedQuantity" type="QuantityType">
		<xsd:annotation>
			<xsd:documentation> Quantity that will be credited to the (Customer) account.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="RequiredReturnDateTime" type="DateTimeType">
		<xsd:annotation>
			<xsd:documentation> Date the customer is required to ship the goods back.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="RestockPercent" type="PercentType">
		<xsd:annotation>
			<xsd:documentation> Percentage of the price that is charged for restocking the returned
				item. </xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="ReturnDisposition" type="StringType">
		<xsd:annotation>
			<xsd:documentation> Identifies what is to be done with the returned item (e.g., Returned
				to Inventory, Scrapped due to damage, Returned to Vendor, Replace, Credited, and
				Repaired). </xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="ReturnReasonCode" type="ReasonCodeType">
		<xsd:annotation>
			<xsd:documentation> Reason for the return : Return, Damage, and Replace.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="RFQSubLineType">

		<xsd:complexContent>

			<xsd:extension base="RequestSubLineType">

				<xsd:sequence>

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

				</xsd:sequence>

			</xsd:extension>

		</xsd:complexContent>

	</xsd:complexType>

	<xsd:complexType name="RFQScheduleType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The Quantity on the
				Schedule Line Indicates the number of items that are to be deliveried on the
				Required Date or the number of items to be delivered on each occurance 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 NumberOfDeliveries field
				below.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="ProcurementScheduleType">
				<xsd:sequence>
					<xsd:element ref="UserArea" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>

	<xsd:complexType name="PurchaseOrderScheduleType">
		<xsd:complexContent>
			<xsd:extension base="ProcurementScheduleType">
				<xsd:sequence>
					<xsd:element ref="UserArea" minOccurs="0"/>
					<xsd:element ref="Status" minOccurs="0"/>
					<xsd:element ref="PriceOverrideIndicator" minOccurs="0"/>
					<xsd:element ref="ContractApplicableIndicator" minOccurs="0"/>
					<xsd:element ref="ShipToParty" minOccurs="0"/>
					<xsd:element ref="BackOrderedQuantity" minOccurs="0"/>
					<xsd:element ref="BackOrderedBaseUOMQuantity" minOccurs="0"/>
					<xsd:element ref="ReceivedQuantity" minOccurs="0"/>
					<xsd:element ref="ReceivedQuantityDistribution" minOccurs="0"
						maxOccurs="unbounded"/>
					<xsd:element ref="ReceivedBaseUOMQuantity" minOccurs="0"/>
					<xsd:element ref="UnitPrice" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation>This amount is used to override the amount on the
								line. When omitted the unit price is the same as the unit price for
								the line.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="IncotermsCode" minOccurs="0"/>
					<xsd:element ref="CarrierParty" minOccurs="0"/>
					<xsd:element ref="TaxJurisdicationCodes" minOccurs="0"/>
					<xsd:element ref="FreightTermCode" minOccurs="0"/>
					<xsd:element ref="BaseCurrencyAmount" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="ScheduleLineType" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="PurchaseOrderSubLineType">
		<xsd:complexContent>
			<xsd:extension base="RequestSubLineType">
				<xsd:sequence>
					<xsd:element ref="BaseCurrencyAmount" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="UserArea" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="QuoteScheduleType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Indicates the schedule
				for the order items to be delivered.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="ProcurementScheduleType">
				<xsd:sequence>
					<xsd:element ref="PromisedDeliveryDateTime" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Date in
								which the supplier indicates that the Schedule Line will be
								delivered.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="PromisedShipDateTime" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Date in
								whicht the supplier indicates the Schedule Line will be
								shipped.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="OrderCommission" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="UserArea" minOccurs="0"/>
					<xsd:element ref="BaseCurrencyAmount" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="QuoteSubLineType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Defines the
				QuoteSubLine structure.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="RequestSubLineType">
				<xsd:sequence>
					<xsd:element ref="UserArea" minOccurs="0"/>
					<xsd:element ref="Type" minOccurs="0"/>
					<xsd:element ref="UnitCost" minOccurs="0"/>
					<xsd:element ref="BaseCurrencyAmount" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="RequisitionSubLineType">
		<xsd:complexContent>
			<xsd:extension base="RequestSubLineType">
				<xsd:sequence>
					<xsd:element ref="UserArea" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>

	<xsd:element name="RequisitionSubLine" type="RequisitionSubLineType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Used if the item on the
				REQLINE needs to be divided into smaller units such as sub-components or
				subassemblies.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>

	<xsd:element name="InvoiceAllowance" type="ChargeType"/>
	<xsd:element name="RFQSchedule" type="RFQScheduleType">

		<xsd:annotation>

			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Indicates the schedule
				for the delivery of this line item.</xsd:documentation>

		</xsd:annotation>

	</xsd:element>
	<xsd:element name="RFQSubLine" type="RFQSubLineType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The Component Subline
				represents any additional information concerning the product on the Line. The
				Subline can be used to describe a specific configuration of the ordered
				item.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>

	<xsd:element name="InvoiceCharge" type="ChargeType"/>
	<xsd:complexType name="InvoiceLineBaseType">
		<xsd:complexContent>
			<xsd:extension base="LineType">
				<xsd:sequence>
					<xsd:element ref="Item" minOccurs="0"/>
					<xsd:element ref="CountryOfOriginCode" minOccurs="0"/>
					<xsd:element ref="Quantity" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2"
								>Indicates the number of order items for the given
								line..</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="BaseUOMQuantity" minOccurs="0"/>
					<xsd:element ref="UnitPrice" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Unit
								price of the item for the number of items in the unitCode specified
								in the PerQuantity elements. In most cases the unitCode of the
								PerQuantity is the same as the unitCode of the Quantity element
								above.</xsd:documentation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Unit
								price of the item for the number of items in the unitCode specified
								in the PerQuantity elements. In most cases the unitCode of the
								PerQuantity is the same as the unitCode of the Quantity element
								above.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="PurchaseOrderReference" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="ContractReference" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="ExtendedAmount" minOccurs="0"/>
					<xsd:element ref="ExtendedBaseAmount" minOccurs="0"/>
					<xsd:element ref="ExtendedReportAmount" minOccurs="0"/>
					<xsd:element ref="TotalAmount" minOccurs="0"/>
					<xsd:element ref="TotalBaseAmount" minOccurs="0"/>
					<xsd:element ref="TotalReportAmount" minOccurs="0"/>
					<xsd:element ref="OpenItemIndicator" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2"
								>Indicates that the line is an open item and is not to be included
								in the document total. </xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="Tax" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="InvoiceCharge" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="InvoiceAllowance" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="OrderCommission" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="InvoiceSubLineType">
		<xsd:complexContent>
			<xsd:extension base="InvoiceLineBaseType">
				<xsd:sequence>
					<xsd:element ref="UserArea" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:element name="InvoiceSubLine" type="InvoiceSubLineType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is a SubLine of the
				InvoiceLine in order to provide a finer grained breakdown of the items being
				invoiced.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="SupplierInvoiceSubLineType">
		<xsd:complexContent>
			<xsd:extension base="SupplierInvoiceLineBaseType">
				<xsd:sequence>
					<xsd:element ref="UserArea" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="SupplierInvoiceLineBaseType">
		<xsd:complexContent>
			<xsd:extension base="LineType">
				<xsd:sequence>
					<xsd:element ref="Item" minOccurs="0"/>
					<xsd:element ref="Quantity" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2"
								>Indicates the number of order items for the given
								line..</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="BaseUOMQuantity" minOccurs="0"/>
					<xsd:element ref="UnitPrice" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Unit
								price of the item for the number of items in the unitCode specified
								in the PerQuantity elements. In most cases the unitCode of the
								PerQuantity is the same as the unitCode of the Quantity element
								above.</xsd:documentation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Unit
								price of the item for the number of items in the unitCode specified
								in the PerQuantity elements. In most cases the unitCode of the
								PerQuantity is the same as the unitCode of the Quantity element
								above.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="PurchaseOrderReference" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="ContractReference" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="ExtendedAmount" minOccurs="0"/>
					<xsd:element ref="ExtendedBaseAmount" minOccurs="0"/>
					<xsd:element ref="ExtendedReportAmount" minOccurs="0"/>
					<xsd:element ref="TotalAmount" minOccurs="0"/>
					<xsd:element ref="TotalBaseAmount" minOccurs="0"/>
					<xsd:element ref="TotalReportAmount" minOccurs="0"/>
					<xsd:element ref="OpenItemIndicator" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation source="http://schema.infor.com/InforOAGIS/2"
								>Indicates that the line is an open item and is not to be included
								in the document total. </xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element ref="Tax" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="InvoiceCharge" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="InvoiceAllowance" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>


	<xsd:element name="PurchaseOrderSubLine" type="PurchaseOrderSubLineType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The Component Subline
				represents any additional information concerning the product on the Line. The
				Subline can be used to describe a specific configuration of the ordered
				item.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>

	<xsd:element name="PurchaseOrderSchedule" type="PurchaseOrderScheduleType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The Component Schedule
				represents the requested ship or delivery dates for goods ordered. The Schedule is
				an optional Component. The Schedule can not be associated with a Subline. It is only
				associated with a Line.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>


	<xsd:element name="QuoteSubLine" type="QuoteSubLineType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The Component Subline
				represents any additional information concerning the product on the Line. The
				Subline can be used to describe a specific configuration of the ordered
				item.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>

	<xsd:element name="QuoteSchedule" type="QuoteScheduleType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Indicates the schedule
				for the delivery of this line item.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>

	<xsd:group name="WarrantyGroup">
		<xsd:sequence>
			<xsd:element ref="WarrantyIndicator" minOccurs="0"/>
			<xsd:element ref="UnderWarrantyQuantity" minOccurs="0"/>
			<xsd:element ref="UnderWarrantyBaseUOMQuantity" minOccurs="0"/>
		</xsd:sequence>
	</xsd:group>
	<xsd:element name="SourceWarehouseLocation" type="LocationType"/>
	<xsd:element name="DestinationWarehouseLocation" type="LocationType"/>

	<xsd:element name="TransportPriority" type="CodeType"/>
	<xsd:element name="TransportCost" type="PriceABIEType"/>
	<xsd:element name="TransportLeadTime" type="DurationMeasureType"/>

	<xsd:element name="TransportMethodCode" type="CodeType"/>

	<xsd:element name="OrderTypeCode" type="CodeType"/>
	<xsd:element name="OrderLineTypeCode" type="CodeType"/>
	<xsd:element name="OrderLineCategoryCode" type="CodeType"/>
	<xsd:element name="DropShipIndicator" type="IndicatorType"/>

	<xsd:element name="ScheduleNumber" type="IdentifierType"/>
	<xsd:element name="DiscountScheduleNumber" type="IdentifierType"/>
	<xsd:element name="EffectiveQuantity" type="QuantityType"/>
	<xsd:element name="EffectiveBaseUOMQuantity" type="QuantityType"/>
	<xsd:element name="EffectiveAmount" type="AmountType"/>
	<xsd:element name="EffectiveBaseAmount" type="AmountType"/>
	<xsd:element name="EffectiveReportAmount" type="AmountType"/>
</xsd:schema>
