<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.0.1 (http://www.xmlspy.com) by Rick Killen (Thomasville Furniture Ind/IS) -->
<!-- © 2001 FurnishNet.com.  All rights reserved.  Contains confidential and proprietary information. -->
<!-- 
Ver.   Date            By                      Action                                             
1.0    01-Sep-01   Rick Killen       Created, modeled on FnPOACK.xsd.
-->
<schema targetNamespace="http://www.thomasville.com/xml/POInq_v1.2" xmlns:fnPOInq="http://www.thomasville.com/xml/POInq_v1.2" xmlns:fnParty="http://support.furnishnet.com/xml/schemas/fnParty_v1.3" xmlns:fnItem="http://support.furnishnet.com/xml/schemas/fnItem_v1.3" xmlns:fnBase="http://support.furnishnet.com/xml/schemas/fnBase_v1.3" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified" version="1.2">
	<import namespace="http://support.furnishnet.com/xml/schemas/fnBase_v1.3" schemaLocation="http://support.furnishnet.com/xml/schemas/fn_base_v1.3.xsd"/>
	<import namespace="http://support.furnishnet.com/xml/schemas/fnItem_v1.3" schemaLocation="http://support.furnishnet.com/xml/schemas/fn_item_v1.3.xsd"/>
	<import namespace="http://support.furnishnet.com/xml/schemas/fnParty_v1.3" schemaLocation="http://support.furnishnet.com/xml/schemas/fn_party_v1.3.xsd"/>
	<complexType name="lineItemInqType">
		<sequence>
			<element name="inqProductID" type="fnItem:itemIdentifierType">
				<annotation>
					<documentation>Inquiry of status for a specific product or item on the specified document.</documentation>
				</annotation>
			</element>
			<element name="inqLineSystemReference" type="fnBase:systemReferenceType" minOccurs="0" maxOccurs="unbounded">
				<annotation>
					<documentation>A system reference facilitates automated processing of the document by including data elements that are not necessarily part of a standard transaction but are required or desired by the computer systems of the trading partners.  Effective use of system references requires pre-arrangement between trading partners.  NOTE: this structure should not be used for data that is otherwise accommodated within a transaction schema.</documentation>
				</annotation>
			</element>
		</sequence>
		<attribute name="lineItemNumber" type="positiveInteger" use="optional"/>
		<attribute name="comment" type="string" use="optional">
			<annotation>
				<documentation>General comments about the item.</documentation>
			</annotation>
		</attribute>
		<attribute name="requestedSerialNumber" type="string" use="optional"/>
	</complexType>
	<complexType name="orderInqType">
		<annotation>
			<documentation>Represents a complete furniture purchase order document.</documentation>
		</annotation>
		<sequence>
			<element name="statusRequestIndicator" minOccurs="0">
				<annotation>
					<documentation>Specifies type of Order Status Report being requested.</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<enumeration value="Unshipped"/>
						<enumeration value="Drop Shipped"/>
						<enumeration value="All Open"/>
						<enumeration value="Specific PO"/>
						<enumeration value="Specific Items"/>
						<enumeration value="PO Date Range"/>
						<enumeration value="Ship Date Range"/>
						<enumeration value="Cancel Date Range"/>
						<enumeration value="Status Change Date Range"/>
					</restriction>
				</simpleType>
			</element>
			<element name="beginDate" type="date" minOccurs="0">
				<annotation>
					<documentation>Beginning date of any Inquiry involving a date range.</documentation>
				</annotation>
			</element>
			<element name="endDate" type="date" minOccurs="0">
				<annotation>
					<documentation>Ending date of any Inquiry involvinga date range.</documentation>
				</annotation>
			</element>
			<element name="buyer" type="fnParty:partyIdentificationType" minOccurs="0">
				<annotation>
					<documentation>The party buying the goods being ordered.</documentation>
				</annotation>
			</element>
			<element name="seller" type="fnParty:sellerIdentificationType" minOccurs="0">
				<annotation>
					<documentation>The seller of the goods being ordered.</documentation>
				</annotation>
			</element>
			<element name="shipTo" type="fnParty:shipToPartyType" minOccurs="0" maxOccurs="unbounded">
				<annotation>
					<documentation>One or more ship-to parties. This would be used to limit the Order Status to specific "ShipTo" locations.</documentation>
				</annotation>
			</element>
			<element name="markFor" type="fnParty:shipToPartyType" minOccurs="0" maxOccurs="unbounded">
				<annotation>
					<documentation>Mark-For parties are parties, generally entities within the buying organization, to whom goods will be routed after physical receipt of goods by the ship-to party. This would be used to limit the Order Status to specific Mark For parties.</documentation>
				</annotation>
			</element>
			<element name="inqSystemReference" type="fnBase:systemReferenceType" minOccurs="0" maxOccurs="unbounded">
				<annotation>
					<documentation>A system reference facilitates automated processing of the document by including data elements that are not necessarily part of a standard transaction but are required or desired by the computer systems of the trading partners.  Effective use of system references requires pre-arrangement between trading partners.  NOTE: this structure should not be used for data that is otherwise accommodated within a transaction schema.</documentation>
				</annotation>
			</element>
			<element name="inqLine" type="fnPOInq:lineItemInqType" minOccurs="0" maxOccurs="unbounded">
				<annotation>
					<documentation>Inquiry of specific  line items. If used this would logically limit the Order Status Report to only the items listed in the Inquiry. No line items need be sent to receive a complete Order Status Report.</documentation>
				</annotation>
			</element>
		</sequence>
		<attribute name="comment" type="string" use="optional">
			<annotation>
				<documentation>General comments about the order.</documentation>
			</annotation>
		</attribute>
	</complexType>
	<complexType name="poInqType">
		<sequence>
			<element name="inqDocument" type="fnBase:documentType">
				<annotation>
					<documentation>Specifies inquiry of a particular document. The id attribute represents the original document number.</documentation>
				</annotation>
			</element>
			<element name="inqOrder" type="fnPOInq:orderInqType" maxOccurs="unbounded"/>
		</sequence>
	</complexType>
	<element name="poInq">
		<complexType>
			<complexContent>
				<extension base="fnPOInq:poInqType"/>
			</complexContent>
		</complexType>
	</element>
</schema>
