<?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/POStatus_v1.2" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:fnBase="http://support.furnishnet.com/xml/schemas/fnBase_v1.3" xmlns:fnItem="http://support.furnishnet.com/xml/schemas/fnItem_v1.3" xmlns:fnParty="http://support.furnishnet.com/xml/schemas/fnParty_v1.3" xmlns:fnPOStatus="http://www.thomasville.com/xml/POStatus_v1.2" 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="lineItemStatusType">
		<sequence>
			<element name="statusProductID" type="fnItem:itemIdentifierType">
				<annotation>
					<documentation>ID of product to be supplied.</documentation>
				</annotation>
			</element>
			<element name="statusQuantity">
				<annotation>
					<documentation>Current quantity of product with the specified status.</documentation>
				</annotation>
				<complexType>
					<complexContent>
						<extension base="fnBase:quantityType">
							<sequence minOccurs="0">
								<element name="shipToLocation" minOccurs="0" maxOccurs="unbounded">
									<annotation>
										<documentation>The sum of all quantities specified here should equal the "value" attribute on element statusQuantity.  The shipToID refers to an entry in the shipTo element on the header.  The date attributes allow multiple shipments on a single Order Status.</documentation>
									</annotation>
									<complexType>
										<complexContent>
											<extension base="fnBase:shipToLocationType">
												<sequence minOccurs="0">
													<element name="markForLocation" type="fnBase:markForLocationType" minOccurs="0" maxOccurs="unbounded">
														<annotation>
															<documentation>The sum of all quantities specified here should equal the "quantity" attribute of the immediately enclosing shipToLocation element.  The markForID refers to an entry in the markFor element on the header.</documentation>
														</annotation>
													</element>
												</sequence>
											</extension>
										</complexContent>
									</complexType>
								</element>
								<element name="pieceIdentification" type="fnBase:pieceIdentificationNumberType" minOccurs="0">
									<annotation>
										<documentation>A piece identification number uniquely identifes a single piece in a transaction.  When used, there is normally one piece ID number for each and every piece in the transaction.  They may be buyer assigned or seller assigned.  These numbers are NOT associated with a particular destination location.</documentation>
									</annotation>
								</element>
							</sequence>
						</extension>
					</complexContent>
				</complexType>
			</element>
			<element name="itemStatus" minOccurs="0">
				<annotation>
					<documentation>Specifies status of line item. The date would be used to notate any applicable date concerning the status. The invalidData attribute can be used to return any invalid or questionable data sent on the original PO for this item.</documentation>
				</annotation>
				<complexType>
					<complexContent>
						<extension base="fnPOStatus:poStatusDocumentItemType"/>
					</complexContent>
				</complexType>
			</element>
			<element name="statusLineSystemReference" 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="statusOption" minOccurs="0" maxOccurs="unbounded">
				<annotation>
					<documentation>This structure is used to send any comments needed regarding the options of an item.</documentation>
				</annotation>
				<complexType>
					<all>
						<element name="statusOptionID" type="fnItem:optionProductIDType"/>
						<element name="statusOptionComments" type="string" minOccurs="0"/>
					</all>
					<attribute name="status" use="optional">
						<simpleType>
							<restriction base="string">
								<enumeration value="Awaiting COM"/>
								<enumeration value="Awaiting Other Materials"/>
							</restriction>
						</simpleType>
					</attribute>
				</complexType>
			</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="orderStatusType">
		<annotation>
			<documentation>Represents a complete furniture purchase order document.</documentation>
		</annotation>
		<sequence>
			<element name="inquiryID" type="fnBase:documentType" minOccurs="0"/>
			<element name="statusOrderDocument" type="fnPOStatus:poStatusDocumentType">
				<annotation>
					<documentation>Original order identification and current status. The date attribute would be used to notate any "scheduled" or applicable dates concerning this status.</documentation>
				</annotation>
			</element>
			<element name="statusCarrier" minOccurs="0">
				<annotation>
					<documentation>Current carrier, if applicable.</documentation>
				</annotation>
				<complexType>
					<complexContent>
						<extension base="fnParty:carrierIdentificationType">
							<attribute name="bolNumber" type="string" use="optional"/>
							<attribute name="containerNumber" type="string" use="optional"/>
						</extension>
					</complexContent>
				</complexType>
			</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 show the current "ShipTo" locations for the original document specified on the Inquiry.</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.</documentation>
				</annotation>
			</element>
			<element name="statusSystemReference" 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="statusLineItem" type="fnPOStatus:lineItemStatusType" minOccurs="0" maxOccurs="unbounded"/>
		</sequence>
		<attribute name="comment" type="string" use="optional">
			<annotation>
				<documentation>General comments about the order.</documentation>
			</annotation>
		</attribute>
	</complexType>
	<complexType name="statusDatesType">
		<sequence>
			<element name="ackShipDate" type="date" minOccurs="0">
				<annotation>
					<documentation>Seller's acknowledgement of  estimated ship date.</documentation>
				</annotation>
			</element>
			<element name="ackDoNotShipBeforeDate" type="date" minOccurs="0">
				<annotation>
					<documentation>Seller's acknowledgement of "Do not ship before" date.</documentation>
				</annotation>
			</element>
			<element name="ackDoNotShipAfterDate" type="date" minOccurs="0">
				<annotation>
					<documentation>Seller's acknowledgement of "Do not ship after" date.</documentation>
				</annotation>
			</element>
			<element name="ackArrivalDate" type="date" minOccurs="0">
				<annotation>
					<documentation>Seller's acknowledgement of date when product is anticipated to arrive at buyer's primary destination.</documentation>
				</annotation>
			</element>
			<element name="ackCancelDate" type="date" minOccurs="0">
				<annotation>
					<documentation>Seller's acknowledgement of  cancellation date limit.</documentation>
				</annotation>
			</element>
		</sequence>
	</complexType>
	<complexType name="poStatusType">
		<sequence>
			<element name="orderStatusDocument" type="fnBase:documentType" maxOccurs="unbounded">
				<annotation>
					<documentation>Identificationof this Order Status Report document.</documentation>
				</annotation>
			</element>
			<element name="statusOrder" maxOccurs="unbounded">
				<complexType>
					<complexContent>
						<extension base="fnPOStatus:orderStatusType"/>
					</complexContent>
				</complexType>
			</element>
		</sequence>
	</complexType>
	<complexType name="poStatusDocumentType">
		<annotation>
			<documentation>Order Status Document Identification. ID contains the actual Order Status Report document number. Status is the overall status of the originaL order. Date is the date that would logically apply to the status if it is a date-oriented status (i.e. if the staus was "Shipped"). </documentation>
		</annotation>
		<sequence>
			<element name="creationDate" type="date">
				<annotation>
					<documentation>The creation date of the transaction referred to by this element.  Format is CCYY-MM-DD.</documentation>
				</annotation>
			</element>
			<element name="creationTime" type="time" minOccurs="0">
				<annotation>
					<documentation>The time on creationDate that the document was created.  Format is HH:MM:SS.</documentation>
				</annotation>
			</element>
		</sequence>
		<attribute name="id" type="string" use="required"/>
		<attribute name="status" use="required">
			<simpleType>
				<restriction base="string">
					<enumeration value="Mixed Status - see Line Items"/>
					<enumeration value="Received"/>
					<enumeration value="Validating/Proofing"/>
					<enumeration value="Cancelled"/>
					<enumeration value="Awaiting Production - unscheduled"/>
					<enumeration value="Awaiting Production - scheduled"/>
					<enumeration value="Awaiting Shipment - unscheduled"/>
					<enumeration value="Awaiting Shipment - scheduled"/>
					<enumeration value="In Manifest / BOL"/>
					<enumeration value="Shipped"/>
					<enumeration value="Not Received"/>
					<enumeration value="Credit Hold"/>
					<enumeration value="Call For Details"/>
					<enumeration value="Ready To Ship"/>
					<enumeration value="Invoiced"/>
					<enumeration value="Customer Hold"/>
					<enumeration value="Backordered Scheduled"/>
					<enumeration value="Backordered Unscheduled"/>
				</restriction>
			</simpleType>
		</attribute>
		<attribute name="date" type="date" use="optional"/>
		<attribute name="language" type="language" use="optional"/>
	</complexType>
	<complexType name="poStatusDocumentItemType">
		<annotation>
			<documentation>"invalidData" is used to specify bad data (maybe an invalid option or subitem) for a particular item.</documentation>
		</annotation>
		<sequence>
			<element name="statusItemCarrier" minOccurs="0">
				<complexType>
					<complexContent>
						<extension base="fnParty:carrierIdentificationType">
							<attribute name="bolNumber" type="string" use="optional"/>
							<attribute name="containerNumber" type="string" use="optional"/>
						</extension>
					</complexContent>
				</complexType>
			</element>
			<element name="itemStatusMiscNotes" type="string" minOccurs="0"/>
		</sequence>
		<attribute name="status" use="required">
			<simpleType>
				<restriction base="string">
					<enumeration value="Awaiting COM"/>
					<enumeration value="Not Received"/>
					<enumeration value="Validating/Proofing"/>
					<enumeration value="Awaiting Production - unscheduled"/>
					<enumeration value="Awaiting Production - scheduled"/>
					<enumeration value="Awaiting Shipment - unscheduled"/>
					<enumeration value="Awaiting Shipment - scheduled"/>
					<enumeration value="Credit Hold"/>
					<enumeration value="Invalid Item"/>
					<enumeration value="Invalid Configuration"/>
					<enumeration value="Invalid Option"/>
					<enumeration value="Invalid SubItem"/>
					<enumeration value="Invalid Fabric"/>
					<enumeration value="Received"/>
					<enumeration value="Cancelled"/>
					<enumeration value="In Manifest / BOL"/>
					<enumeration value="Call For Details"/>
					<enumeration value="Incomplete Specification"/>
					<enumeration value="Invoiced"/>
					<enumeration value="Backordered Scheduled"/>
					<enumeration value="Backordered Unscheduled"/>
				</restriction>
			</simpleType>
		</attribute>
		<attribute name="date" type="date" use="optional"/>
		<attribute name="invalidData" type="string" use="optional"/>
	</complexType>
	<element name="poStatusReport">
		<complexType>
			<complexContent>
				<extension base="fnPOStatus:poStatusType">
					<attribute name="statusType" use="required">
						<simpleType>
							<restriction base="string">
								<enumeration value="Requested"/>
								<enumeration value="Unrequested"/>
							</restriction>
						</simpleType>
					</attribute>
				</extension>
			</complexContent>
		</complexType>
	</element>
</schema>
