<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Mike Overholt (Ashley Furniture Ind. / MIS Web Development) -->
<!-- 
Ver.   	Date         	 	By                      Action   
0.3		2004-08-09 		MOverholt		Original creation (draft)
1.0		2004-11-19		MOverholt		Initial release
1.1		2005-03-16		MOverholt		Added support for price change
1.2		2007-08-30		MOverholt		Added systemReference and lineSystemReference elements
-->
<schema targetNamespace="http://schema.fidx.org/fidx_PoChgAck_v1.2" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:fnBase="http://support.furnishnet.com/xml/schemas/fnBase_v1.5" xmlns:fnItem="http://support.furnishnet.com/xml/schemas/fnItem_v1.5" xmlns:fnParty="http://support.furnishnet.com/xml/schemas/fnParty_v1.4" xmlns:fidx_POCA="http://schema.fidx.org/fidx_PoChgAck_v1.2" version="1.2">
	<import namespace="http://support.furnishnet.com/xml/schemas/fnBase_v1.5" schemaLocation="http://support.furnishnet.com/xml/schemas/fn_base_v1.5.xsd"/>
	<import namespace="http://support.furnishnet.com/xml/schemas/fnItem_v1.5" schemaLocation="http://support.furnishnet.com/xml/schemas/fn_item_v1.5.xsd"/>
	<import namespace="http://support.furnishnet.com/xml/schemas/fnParty_v1.4" schemaLocation="http://support.furnishnet.com/xml/schemas/fn_party_v1.4.xsd"/>
	<element name="poChangeAck" type="fidx_POCA:poChangeAckType">
		<annotation>
			<documentation>PO Change acknowledgement (865) transaction schema.</documentation>
		</annotation>
	</element>
	<complexType name="poChangeAckType">
		<sequence>
			<element name="ack" type="fidx_POCA:ackType"/>
			<element name="line" type="fidx_POCA:lineItemType" minOccurs="0" maxOccurs="unbounded"/>
		</sequence>
	</complexType>
	<complexType name="ackType">
		<sequence>
			<element name="document" type="fidx_POCA:pocaDocumentType"/>
			<element name="poDocument" type="fidx_POCA:poDocumentType"/>
			<element name="changeAcknowledgement" type="fidx_POCA:changeAcknowledgementType" minOccurs="0"/>
			<element name="currency" type="fidx_POCA:currencyType" minOccurs="0"/>
			<element name="exchangeRate" type="fidx_POCA:exchangeRateType" minOccurs="0"/>
			<element name="buyer" type="fnParty:partyIdentificationType"/>
			<element name="carrier" type="fidx_POCA:carrierIdentificationType" minOccurs="0"/>
			<element name="shipTo" maxOccurs="unbounded">
				<complexType>
					<complexContent>
						<extension base="fidx_POCA:partyIdentificationType">
							<attribute name="id" type="string" use="optional"/>
						</extension>
					</complexContent>
				</complexType>
			</element>
			<element name="markFor" minOccurs="0" maxOccurs="unbounded">
				<complexType>
					<complexContent>
						<extension base="fidx_POCA:partyIdentificationType">
							<attribute name="description" type="fnBase:locationType" use="optional"/>
							<attribute name="shippingInstructions" type="string" use="optional"/>
							<attribute name="id" type="string" use="optional"/>
						</extension>
					</complexContent>
				</complexType>
			</element>
			<element name="shipDates" type="fidx_POCA:shipDatesType" minOccurs="0">
				<annotation>
					<documentation>Dates returned will be the actual value now in the vendor's system.</documentation>
				</annotation>
			</element>
			<element name="systemReference" type="fnBase:systemReferenceType" minOccurs="0" maxOccurs="unbounded"/>
		</sequence>
		<attribute name="comment" type="string" use="optional"/>
	</complexType>
	<complexType name="pocaDocumentType">
		<complexContent>
			<restriction base="fnBase:documentType">
				<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="type" use="required" fixed="poChangeAck"/>
			</restriction>
		</complexContent>
	</complexType>
	<complexType name="poDocumentType">
		<complexContent>
			<restriction base="fnBase:documentType">
				<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="type" use="required" fixed="purchaseOrder"/>
			</restriction>
		</complexContent>
	</complexType>
	<complexType name="shipDatesType">
		<sequence>
			<element name="requestedShipDate" type="fidx_POCA:pocaDate" minOccurs="0"/>
			<element name="DoNotShipBeforeDate" type="fidx_POCA:pocaDate" minOccurs="0"/>
			<element name="DoNotShipAfterDate" type="fidx_POCA:pocaDate" minOccurs="0"/>
			<element name="requestedArrivalDate" type="fidx_POCA:pocaDate" minOccurs="0"/>
			<element name="cancelDate" type="fidx_POCA:pocaDate" minOccurs="0"/>
			<element name="otherDate" minOccurs="0" maxOccurs="unbounded">
				<complexType>
					<complexContent>
						<extension base="fidx_POCA:pocaDate">
							<attribute name="otherDateQualifier" type="fidx_POCA:otherDateQualifierType"/>
						</extension>
					</complexContent>
				</complexType>
			</element>
		</sequence>
	</complexType>
	<simpleType name="otherDateQualifierType">
		<restriction base="string">
			<enumeration value="AdvertisingDate"/>
			<enumeration value="GrandOpeningDate"/>
		</restriction>
	</simpleType>
	<complexType name="pocaDate">
		<sequence>
			<element name="changeAcknowledgement" type="fidx_POCA:changeAcknowledgementType" minOccurs="0"/>
			<element name="date" type="date"/>
		</sequence>
	</complexType>
	<complexType name="changeAcknowledgementType">
		<attribute name="changeAccepted" type="boolean" use="required"/>
		<attribute name="reasonForRejection" type="string" use="optional"/>
	</complexType>
	<complexType name="lineItemType">
		<sequence>
			<element name="changeAcknowledgement" type="fidx_POCA:changeAcknowledgementType" minOccurs="0"/>
			<element name="productID" type="fnItem:itemIdentifierType"/>
			<element name="requestedQuantity" minOccurs="0">
				<complexType>
					<complexContent>
						<extension base="fidx_POCA:quantityType">
							<sequence>
								<element name="shipToLocation" type="fidx_POCA:shipToLocationType" minOccurs="0"/>
								<element name="pieceIdentification" type="fidx_POCA:pieceIdentificationType" minOccurs="0"/>
							</sequence>
						</extension>
					</complexContent>
				</complexType>
			</element>
			<element name="unitPrice" type="fidx_POCA:priceType" minOccurs="0"/>
			<element name="extendedPrice" type="fidx_POCA:priceType" minOccurs="0"/>
			<element name="lineSystemReference" type="fnBase:systemReferenceType" minOccurs="0" maxOccurs="unbounded"/>
			<element name="option" type="fnItem:itemOptionType" minOccurs="0" maxOccurs="unbounded"/>
			<element name="subItem" type="fidx_POCA:lineItemType" minOccurs="0" maxOccurs="unbounded"/>
		</sequence>
		<attribute name="lineItemNumber" type="positiveInteger" use="required"/>
		<attribute name="comment" type="string" use="optional"/>
	</complexType>
	<complexType name="shipToLocationType">
		<sequence>
			<element name="changeAcknowledgement" type="fidx_POCA:changeAcknowledgementType" minOccurs="0"/>
			<element name="shipDates" type="fidx_POCA:shipDatesType" minOccurs="0"/>
			<element name="markForLocation" type="fidx_POCA:markForLocationType" minOccurs="0" maxOccurs="unbounded"/>
		</sequence>
		<attribute name="originalQuantityValue" type="float" use="optional"/>
		<attribute name="requestedQuantityValue" type="float" use="optional"/>
		<attribute name="actualQuantityValue" type="float" use="optional"/>
		<attribute name="originalShipToID" type="string" use="optional"/>
		<attribute name="requestedShipToID" type="string" use="optional"/>
		<attribute name="actualShipToID" type="string" use="optional"/>
	</complexType>
	<complexType name="markForLocationType">
		<sequence>
			<element name="changeAcknowledgement" type="fidx_POCA:changeAcknowledgementType" minOccurs="0"/>
		</sequence>
		<attribute name="originalQuantityValue" type="float" use="optional"/>
		<attribute name="requestedQuantityValue" type="float" use="optional"/>
		<attribute name="actualQuantityValue" type="float" use="optional"/>
		<attribute name="originalMarkForID" type="string" use="optional"/>
		<attribute name="requestedMarkForID" type="string" use="optional"/>
		<attribute name="actualMarkForID" type="string" use="optional"/>
	</complexType>
	<complexType name="priceType">
		<sequence>
			<element name="discount" type="fnBase:discountOrAllowanceType" minOccurs="0" maxOccurs="unbounded"/>
			<element name="surcharge" type="fnBase:additionalChargeType" minOccurs="0" maxOccurs="unbounded"/>
			<element name="price">
				<complexType>
					<complexContent>
						<restriction base="fidx_POCA:monitaryAmountType"/>
					</complexContent>
				</complexType>
			</element>
		</sequence>
	</complexType>
	<complexType name="currencyType">
		<sequence>
			<element name="changeAcknowledgement" type="fidx_POCA:changeAcknowledgementType" minOccurs="0"/>
		</sequence>
		<attribute name="originalCurrency" use="required">
			<simpleType>
				<restriction base="string">
					<maxLength value="3"/>
				</restriction>
			</simpleType>
		</attribute>
		<attribute name="requestedCurrency" use="required">
			<simpleType>
				<restriction base="string">
					<maxLength value="3"/>
				</restriction>
			</simpleType>
		</attribute>
		<attribute name="actualCurrency" use="required">
			<simpleType>
				<restriction base="string">
					<maxLength value="3"/>
				</restriction>
			</simpleType>
		</attribute>
	</complexType>
	<complexType name="exchangeRateType">
		<sequence>
			<element name="changeAcknowledgement" type="fidx_POCA:changeAcknowledgementType" minOccurs="0"/>
		</sequence>
		<attribute name="sourceCurrency" use="required">
			<simpleType>
				<restriction base="string">
					<maxLength value="3"/>
				</restriction>
			</simpleType>
		</attribute>
		<attribute name="originalRate" type="float" use="required"/>
		<attribute name="requestedRate" type="float" use="required"/>
		<attribute name="actualRate" type="float" use="required"/>
	</complexType>
	<complexType name="carrierIdentificationType">
		<sequence>
			<element name="newCarrierIdentification" type="fidx_POCA:partyIdentificationType"/>
			<element name="transitTime" type="fidx_POCA:quantityType" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="quantityType">
		<sequence>
			<element name="changeAcknowledgement" type="fidx_POCA:changeAcknowledgementType" minOccurs="0"/>
		</sequence>
		<attribute name="unitOfMeasure" type="fnBase:unitOfMeasureType" use="required"/>
		<attribute name="originalValue" type="float" use="required"/>
		<attribute name="requestedValue" type="float" use="required"/>
		<attribute name="actualValue" type="float" use="required"/>
	</complexType>
	<complexType name="pieceIdentificationType">
		<choice>
			<element name="pieceIdentificationNumber" maxOccurs="unbounded">
				<complexType>
					<sequence>
						<element name="changeAcknowledgement" type="fidx_POCA:changeAcknowledgementType" minOccurs="0"/>
					</sequence>
					<attribute name="originalIDNumber" type="string" use="required"/>
					<attribute name="requestedIDNumber" type="string" use="required"/>
					<attribute name="actualIDNumber" type="string" use="required"/>
				</complexType>
			</element>
			<element name="pieceIdentificationNumberRange" maxOccurs="unbounded">
				<complexType>
					<sequence>
						<element name="changeAcknowledgement" type="fidx_POCA:changeAcknowledgementType" minOccurs="0"/>
					</sequence>
					<attribute name="originalFirstNumber" type="string" use="required"/>
					<attribute name="originalLastNomber" type="string" use="required"/>
					<attribute name="requestedFirstNumber" type="string" use="required"/>
					<attribute name="requestedLastNumber" type="string" use="required"/>
					<attribute name="actualFirstNumber" type="string" use="required"/>
					<attribute name="actualLastNumber" type="string" use="required"/>
				</complexType>
			</element>
		</choice>
	</complexType>
	<complexType name="partyIdentificationType">
		<complexContent>
			<extension base="fnParty:partyIdentificationType">
				<sequence>
					<element name="changeAcknowledgement" type="fidx_POCA:changeAcknowledgementType" minOccurs="0"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="monitaryAmountType">
		<sequence>
			<element name="changeAcknowledgement" type="fidx_POCA:changeAcknowledgementType"/>
		</sequence>
		<attribute name="originalValue" type="float" use="required"/>
		<attribute name="requestedValue" type="float" use="required"/>
		<attribute name="actualValue" type="float" use="required"/>
	</complexType>
</schema>
