<?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
08 Oct 2009   PO      Added new noun based upon Quote.
 
        *****     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/Operational/OrderManagementComponents.xsd"/>

        <xsd:element name="SupplierQuote" type="SupplierQuoteType">
                <xsd:annotation>
                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Is a
                                document describing the prices of goods or services provided by a
                                vendor. The Quote includes the terms of the purchase, delivery
                                proposals, identification of goods or services ordered, as well as
                                their quantities.The Quote noun is used in conjunction with the RFQ
                                noun to form a Business-to-Business negotiation dialogue concerning
                                the goods or services specified.</xsd:documentation>
                </xsd:annotation>
        </xsd:element>

        <xsd:element name="SupplierQuoteHeader" type="SupplierQuoteHeaderType">
                <xsd:annotation>
                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">-
                               Information that applies to the entire quote. </xsd:documentation>
                </xsd:annotation>
        </xsd:element>

        <xsd:element name="SupplierQuoteLine" type="SupplierQuoteLineType">
                <xsd:annotation>
                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">The item or
                                product quoted along with quantity, price and other descriptive
                                information.</xsd:documentation>
                </xsd:annotation>
        </xsd:element>

        <xsd:element name="QuoteSubLine" type="SupplierQuoteSubLineType">
                <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="SupplierQuoteScheduleType">
                <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:complexType name="SupplierQuoteType">
                <xsd:annotation>
                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Defines the
                                Quote structure.</xsd:documentation>
                </xsd:annotation>
                <xsd:sequence>
                        <xsd:element ref="SupplierQuoteHeader" minOccurs="0"/>
                        <xsd:element ref="SupplierQuoteLine" minOccurs="0" maxOccurs="unbounded"/>
                </xsd:sequence>
        </xsd:complexType>

        <xsd:complexType name="SupplierQuoteHeaderType">
                <xsd:annotation>
                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Defines the
                                Quote Header structure.</xsd:documentation>
                </xsd:annotation>
                <xsd:complexContent>
                        <xsd:extension base="ProcurementHeaderType">
                                <xsd:sequence>
                                        <xsd:element ref="RFQReference" minOccurs="0"/>
                                        <xsd:element ref="EffectiveTimePeriod" minOccurs="0"/>
                                        <xsd:element ref="QualificationTerm" minOccurs="0"
                                                maxOccurs="unbounded"/>
                                        <xsd:element ref="OrderCommission" minOccurs="0"
                                                maxOccurs="unbounded"/>
                                        <xsd:element ref="Message" minOccurs="0"
                                               maxOccurs="unbounded"/>
                                        <xsd:element ref="UserArea" minOccurs="0"/>
                                        <xsd:element ref="ExpectedDeliveryDate" minOccurs="0"/>
                                        <xsd:element ref="FollowUpDate" minOccurs="0"/>
                                        <xsd:element ref="LeadTimeDuration" minOccurs="0"/>
                                        <xsd:element ref="ProbabilityPercent" minOccurs="0" />
                                        <xsd:element ref="UnitCost" minOccurs="0"/>
                                        <xsd:element ref="Cost" minOccurs="0"/>
                                        <xsd:element ref="Classification" minOccurs="0" maxOccurs="unbounded" />
                                        <xsd:element ref="SalesPersonReference" minOccurs="0" maxOccurs="unbounded"/>   
                                        <xsd:element ref="BaseCurrencyAmount" minOccurs="0" maxOccurs="unbounded" />
                                        <xsd:element ref="RemitToParty" minOccurs="0"/>
                                </xsd:sequence>
                        </xsd:extension>
                </xsd:complexContent>
        </xsd:complexType>

        <xsd:complexType name="SupplierQuoteLineType">
                <xsd:annotation>
                        <xsd:documentation source="http://schema.infor.com/InforOAGIS/2">Defines the
                                Quote Line structure.</xsd:documentation>
                </xsd:annotation>
                <xsd:complexContent>
                        <xsd:extension base="ProcurementLineType">
                                <xsd:sequence>
                                        <xsd:element ref="RFQReference" minOccurs="0"/>
                                        <xsd:element ref="EffectiveTimePeriod" minOccurs="0"/>
                                        <xsd:element ref="PromisedShipDateTime" minOccurs="0">
                                                <xsd:annotation>
                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2"
                                                  >Indicates the date in which the
                                                  order line was promised to be
                                                  shipped from the supplier to the
                                                  customer.</xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element ref="PromisedDeliveryDateTime" minOccurs="0">
                                                <xsd:annotation>
                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2"
                                                  >Indicates the date in which the
                                                  order line was promised to be
                                                  delivered to the customer.</xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>
                                        <xsd:element ref="DeliveryTimeTolerance" minOccurs="0">
                                                <xsd:annotation>
                                                  <xsd:documentation
                                                  source="http://schema.infor.com/InforOAGIS/2"
                                                  >Indicated the flexibility in the
                                                  delivery date that the requester
                                                  will of the Quote will allow in the
                                                  Line.</xsd:documentation>
                                                </xsd:annotation>
                                        </xsd:element>
                                       <xsd:element ref="OrderCommission" minOccurs="0"
                                                maxOccurs="unbounded"/>
                                        <xsd:element ref="Message" minOccurs="0"
                                                maxOccurs="unbounded"/>
                                        <xsd:element ref="QuoteSubLine" minOccurs="0"
                                                maxOccurs="unbounded"/>
                                        <xsd:element ref="QuoteSchedule" minOccurs="0"
                                                maxOccurs="unbounded"/>
                                        <xsd:element ref="UserArea" minOccurs="0"/>
                                        <xsd:element ref="OpportunityReference" minOccurs="0" />
                                        <xsd:element ref="ProbabilityPercent" minOccurs="0" />
                                        <xsd:element ref="UnitCost" minOccurs="0"/>
                                        <xsd:element ref="FixedPriceItemIndicator" minOccurs="0"/>
                                        <xsd:element ref="ExpensableItemIndicator" minOccurs="0"/>
                                        <xsd:element ref="AllocatedQuantity" minOccurs="0"/>
                                        <xsd:element ref="AllocatedBaseUOMQuantity" minOccurs="0"/>
                                        <xsd:element ref="UnitQuantityConversionFactor" minOccurs="0"/>
                                        <xsd:element ref="SupplierParty" minOccurs="0"/>
                                        <xsd:element ref="ShipFromParty" minOccurs="0"/>
                                        <xsd:element ref="RemitToParty" minOccurs="0"/>
                                        <xsd:element ref="BuyerParty" minOccurs="0"/>
                                        <xsd:element ref="PurchaseOrderReference" minOccurs="0" maxOccurs="unbounded"/>
                                        <xsd:element ref="Allowance" minOccurs="0" maxOccurs="unbounded"/>
                                        <xsd:element ref="Charge" minOccurs="0" maxOccurs="unbounded"/>
                                        <xsd:element ref="Classification" minOccurs="0" maxOccurs="unbounded" />
                                        <xsd:element ref="QuantityBreakPricing" minOccurs="0" maxOccurs="unbounded"/>
                                        <xsd:element ref="BaseCurrencyAmount" minOccurs="0" maxOccurs="unbounded" />
                               </xsd:sequence>
                        </xsd:extension>
                </xsd:complexContent>
        </xsd:complexType>

        <xsd:complexType name="SupplierQuoteSubLineType">
                <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="SupplierQuoteScheduleType">
                <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:element name="ExpectedDeliveryDate" type="DateTimeType"/>
        <xsd:element name="FollowUpDate" type="DateTimeType"/> 

</xsd:schema>
