<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by bvoordt (Baan International BV) -->
<!--
	
	** 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
	13/05/2013   Ajayraj    Added elements Classification,CreationPeriod,DuePeriod and CompltetionPeriod(BOD 2300)
	*****     Update End     *****
	
-->
<xsd:schema targetNamespace="http://schema.infor.com/InforOAGIS/2" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schema.infor.com/InforOAGIS/2" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xsd:include schemaLocation="../Components/Operational/Components.xsd"/>
	<xsd:element name="CorrectiveActionPlan" type="CorrectiveActionPlanType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">A set of actions,
				defined to improve a process. </xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="CorrectiveActionPlanHeader" type="CorrectiveActionPlanHeaderType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">A corrective action
				plan header groups a set of actions, defined to improve a process.
			</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="CorrectiveActionPlanAction" type="CorrectiveActionPlanActionType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">A defined action to
				improve a process, as part of a corrective action plan. </xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="CorrectiveActionPlanType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">A set of actions,
				defined to improve a process. </xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="CorrectiveActionPlanHeader" minOccurs="0"/>
			<xsd:element ref="CorrectiveActionPlanAction" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="CorrectiveActionPlanHeaderType">
		<xsd:complexContent>
			<xsd:extension base="StatusEnabledHeaderType">
				<xsd:sequence>
					<xsd:element ref="ResponsiblePersonReference" minOccurs="0"/>
					<xsd:element ref="CorrectiveActionApproval" minOccurs="0"/>
					<xsd:element ref="CorrectiveActionInitiation" minOccurs="0"/>
					<xsd:element ref="Item" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="PlannedTimePeriod" minOccurs="0"/>
					<xsd:element ref="ActualTimePeriod" minOccurs="0"/>
					<xsd:element ref="SupplierParty" minOccurs="0"/>
					<xsd:element ref="ShipFromParty" minOccurs="0"/>
					<xsd:element ref="CustomerParty" minOccurs="0"/>
					<xsd:element ref="ShipToParty" minOccurs="0"/>
					<xsd:element ref="ProjectReference" minOccurs="0"/>
					<xsd:element ref="DefectiveMaterialNoticeReference" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="UserArea" minOccurs="0"/>
					<xsd:element ref="Classification" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="CreationPeriod" minOccurs="0"/><!--Element added for BOD-2300  -->           
					<xsd:element ref="CompletionPeriod" minOccurs="0"/><!--Element added for BOD-2300  -->    
					<xsd:element ref="DuePeriod" minOccurs="0"/><!--Element added for BOD-2300  -->    
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="CorrectiveActionPlanActionType">
		<xsd:annotation>
			<xsd:documentation source="http://schema.infor.com/InforOAGIS/2">A defined action to
				improve a process, as part of a corrective action plan. </xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="StatusEnabledLineType">
				<xsd:sequence>
					<xsd:element ref="CorrectiveActionType" minOccurs="0"/>
					<xsd:element ref="CorrectiveActionAssignment" minOccurs="0"/>
					<xsd:element ref="CorrectiveActionApproval" minOccurs="0"/>
					<xsd:element ref="PlannedTimePeriod" minOccurs="0"/>
					<xsd:element ref="ActualTimePeriod" minOccurs="0"/>
					<xsd:element ref="UserArea" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:element name="CorrectiveActionType" type="CodeType">
		<xsd:annotation>
			<xsd:documentation>A typing of the corrective action; a value from the extensible list
				Corrective Action Types. Valid values include: Appointment, Call, Task, Mailing,
				EMail.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="CorrectiveActionApproval" type="CorrectiveActionApprovalType"/>
	<xsd:element name="CorrectiveActionInitiation" type="CorrectiveActionAssignmentType"/>
	<xsd:element name="CorrectiveActionAssignment" type="CorrectiveActionAssignmentType"/>
	<xsd:complexType name="CorrectiveActionApprovalType">
		<xsd:sequence>
			<xsd:element ref="PersonReference" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="SupplierParty" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="CustomerParty" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="CorrectiveActionAssignmentType">
		<xsd:sequence>
			<xsd:element ref="PersonReference" minOccurs="0"/>
			<xsd:element ref="SupplierParty" minOccurs="0"/>
			<xsd:element ref="CustomerParty" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
