Files
2025-03-19 17:12:24 +01:00

6109 lines
746 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DS_App" targetNamespace="http://tempuri.org/DS_App.xsd" xmlns:mstns="http://tempuri.org/DS_App.xsd" xmlns="http://tempuri.org/DS_App.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="Sauder_NKCConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Sauder_NKCConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.AppData.Properties.Settings.GlobalReference.Default.Sauder_NKCConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BatchListTableAdapter" GeneratorDataComponentClassName="BatchListTableAdapter" Name="BatchList" UserDataComponentName="BatchListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_BatchList" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_BatchList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="Takt" DataSetColumn="Takt" />
<Mapping SourceColumn="DueDate" DataSetColumn="DueDate" />
<Mapping SourceColumn="NestingReq" DataSetColumn="NestingReq" />
<Mapping SourceColumn="NestingResp" DataSetColumn="NestingResp" />
<Mapping SourceColumn="STATUS" DataSetColumn="STATUS" />
<Mapping SourceColumn="Position" DataSetColumn="Position" />
<Mapping SourceColumn="TotalTime" DataSetColumn="TotalTime" />
<Mapping SourceColumn="ApprovDate" DataSetColumn="ApprovDate" />
<Mapping SourceColumn="ApprovUser" DataSetColumn="ApprovUser" />
<Mapping SourceColumn="EnvNum" DataSetColumn="EnvNum" />
<Mapping SourceColumn="SchedStatus" DataSetColumn="SchedStatus" />
<Mapping SourceColumn="SchedPrior" DataSetColumn="SchedPrior" />
<Mapping SourceColumn="NumErrPre" DataSetColumn="NumErrPre" />
<Mapping SourceColumn="NumErr" DataSetColumn="NumErr" />
<Mapping SourceColumn="NumOrders" DataSetColumn="NumOrders" />
<Mapping SourceColumn="NumItems" DataSetColumn="NumItems" />
<Mapping SourceColumn="NumStacks" DataSetColumn="NumStacks" />
<Mapping SourceColumn="NumSheets" DataSetColumn="NumSheets" />
<Mapping SourceColumn="Errors" DataSetColumn="Errors" />
<Mapping SourceColumn="BatchType" DataSetColumn="BatchType" />
<Mapping SourceColumn="PlaceCod" DataSetColumn="PlaceCod" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_accept" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="acceptBatch" Modifier="Public" Name="acceptBatch" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="acceptBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_accept</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@userName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_checkPosition" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="checkPosition" Modifier="Public" Name="checkPosition" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="checkPosition">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_checkPosition</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_createFileValBatch" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="createFileValBatch" Modifier="Public" Name="createFileValBatch" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="createFileValBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_createFileValBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@BasePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_createPartValBatch" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="createPartValBatch" Modifier="Public" Name="createPartValBatch" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="createPartValBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_createPartValBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@BasePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_deleteTree" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteTree" Modifier="Public" Name="deleteTree" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="deleteTree">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_deleteTree</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ForceDelete" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_fixRedoSheet" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="fixRedoSheet" Modifier="Public" Name="fixRedoSheet" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="fixRedoSheet">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_fixRedoSheet</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_fixRedoSheetOnEnd" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="fixRedoSheetOnEnd" Modifier="Public" Name="fixRedoSheetOnEnd" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="fixRedoSheetOnEnd">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_fixRedoSheetOnEnd</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_fixSched" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="fixSched" Modifier="Public" Name="fixSched" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy7" UserSourceName="fixSched">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_fixSched</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getApprovedByTakt" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getApprovedByTakt" GetMethodModifier="Public" GetMethodName="getApprovedByTakt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getApprovedByTakt" UserSourceName="getApprovedByTakt">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getApprovedByTakt</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Takt" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getByStatus" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByStatus" GetMethodModifier="Public" GetMethodName="getByStatus" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByStatus" UserSourceName="getByStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getByStatus</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@SearchVal" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@ShowSplit" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PartValid" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getByStatus_Light" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByStatusLight" GetMethodModifier="Public" GetMethodName="getByStatusLight" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByStatusLight" UserSourceName="getByStatusLight">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getByStatus_Light</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@SearchVal" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@ShowSplit" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PartValid" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getCurrentByMachine" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getCurrentByMachine" GetMethodModifier="Public" GetMethodName="getCurrentByMachine" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getCurrentByMachine" UserSourceName="getCurrentByMachine">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getCurrentByMachine</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getDescendantByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getDescendByKey" GetMethodModifier="Public" GetMethodName="getDescendByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getDescendByKey" UserSourceName="getDescendByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getDescendantByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getForBunkMan" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getForBunkMan" GetMethodModifier="Public" GetMethodName="getForBunkMan" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getForBunkMan" UserSourceName="getForBunkMan">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getForBunkMan</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MaxPosition" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getLastByTakt" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getLastByTakt" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="getLastByTakt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getLastByTakt" UserSourceName="getLastByTakt">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getLastByTakt</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Takt" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getNestRunning" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getNestRunning" GetMethodModifier="Public" GetMethodName="getNestRunning" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getNestRunning" UserSourceName="getNestRunning">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getNestRunning</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getNextAvailable" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getNextAvailable" GetMethodModifier="Public" GetMethodName="getNextAvailable" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getNextAvailable" UserSourceName="getNextAvailable">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getNextAvailable</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getRunning" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getRunning" GetMethodModifier="Public" GetMethodName="getRunning" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getRunning" UserSourceName="getRunning">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getRunning</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getSched" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getSched" GetMethodModifier="Public" GetMethodName="getSched" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getSched" UserSourceName="getSched">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getSched</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getSplitByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getSplitByKey" GetMethodModifier="Public" GetMethodName="getSplitByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getSplitByKey" UserSourceName="getSplitByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_getSplitByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_invalidateRunning" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="invalidateRunning" Modifier="Public" Name="invalidateRunning" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy8" UserSourceName="invalidateRunning">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_invalidateRunning</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_makeDescendantByKey" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="makeDescendantByKey" Modifier="Public" Name="makeDescendantByKey" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy9" UserSourceName="makeDescendantByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_makeDescendantByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCodAnces" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_redoPartValid" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="redoPartValid" Modifier="Public" Name="redoPartValid" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy10" UserSourceName="redoPartValid">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_redoPartValid</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Takt" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_refuseNesting" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="refuseNesting" Modifier="Public" Name="refuseNesting" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy11" UserSourceName="refuseNesting">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_refuseNesting</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@userName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_resetAllNesting" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetNesting" Modifier="Public" Name="resetNesting" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy12" UserSourceName="resetNesting">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_resetAllNesting</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_resetPartUnValid" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetPartUnValid" Modifier="Public" Name="resetPartUnValid" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy13" UserSourceName="resetPartUnValid">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_resetPartUnValid</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_zzz_resetProdCall" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetProdCall" Modifier="Public" Name="resetProdCall" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy14" UserSourceName="resetProdCall">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_zzz_resetProdCall</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_resetTree" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetTree" Modifier="Public" Name="resetTree" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy15" UserSourceName="resetTree">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_resetTree</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_updatePlaceCod" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updatePlaceCod" Modifier="Public" Name="updatePlaceCod" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy16" UserSourceName="updatePlaceCod">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_updatePlaceCod</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_updateSchedPrior" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateSchedPrior" Modifier="Public" Name="updateSchedPrior" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy17" UserSourceName="updateSchedPrior">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_updateSchedPrior</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SchedPrio" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_updateStatus" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateStatus" Modifier="Public" Name="updateStatus" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy18" UserSourceName="updateStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_updateStatus</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@EnvNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="numeric" DbType="Decimal" Direction="Input" ParameterName="@TotalTime" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StackListTableAdapter" GeneratorDataComponentClassName="StackListTableAdapter" Name="StackList" UserDataComponentName="StackListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_StackList" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_StackList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="StackID" DataSetColumn="StackID" />
<Mapping SourceColumn="StackIndex" DataSetColumn="StackIndex" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="Position" DataSetColumn="Position" />
<Mapping SourceColumn="StackDtmx" DataSetColumn="StackDtmx" />
<Mapping SourceColumn="NumSheets" DataSetColumn="NumSheets" />
<Mapping SourceColumn="NumSheetsPrepared" DataSetColumn="NumSheetsPrepared" />
<Mapping SourceColumn="NumSheetsPrinted" DataSetColumn="NumSheetsPrinted" />
<Mapping SourceColumn="NumSheetsWorking" DataSetColumn="NumSheetsWorking" />
<Mapping SourceColumn="NumSheetsWorked" DataSetColumn="NumSheetsWorked" />
<Mapping SourceColumn="NumSheetsUnloaded" DataSetColumn="NumSheetsUnloaded" />
<Mapping SourceColumn="NumSheetsToRedo" DataSetColumn="NumSheetsToRedo" />
<Mapping SourceColumn="NumItems" DataSetColumn="NumItems" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Stacks_getByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBatch" GetMethodModifier="Public" GetMethodName="getByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBatch" UserSourceName="getByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Stacks_getByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Stacks_getByDtmx" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByDtmx" GetMethodModifier="Public" GetMethodName="getByDtmx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByDtmx" UserSourceName="getByDtmx">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Stacks_getByDtmx</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@StackDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Stacks_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Stacks_getByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StackID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Stacks_getCurrByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getCurrByBatch" GetMethodModifier="Public" GetMethodName="getCurrByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getCurrByBatch" UserSourceName="getCurrByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Stacks_getCurrByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Stacks_getLoaded" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getLoaded" GetMethodModifier="Public" GetMethodName="getLoaded" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getLoaded" UserSourceName="getLoaded">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Stacks_getLoaded</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Stacks_getNext" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getNext" GetMethodModifier="Public" GetMethodName="getNext" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getNext" UserSourceName="getNext">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Stacks_getNext</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Stacks_insert" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insertAndReturn" GetMethodModifier="Public" GetMethodName="insertAndReturn" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insertAndReturn" UserSourceName="insertAndReturn">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Stacks_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StackIndex" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Stacks_updatePos" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updatePos" Modifier="Public" Name="updatePos" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="updatePos">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Stacks_updatePos</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StackID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Position" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SheetListTableAdapter" GeneratorDataComponentClassName="SheetListTableAdapter" Name="SheetList" UserDataComponentName="SheetListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_SheetList" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_SheetList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="SheetID" DataSetColumn="SheetID" />
<Mapping SourceColumn="StackID" DataSetColumn="StackID" />
<Mapping SourceColumn="ShStatus" DataSetColumn="ShStatus" />
<Mapping SourceColumn="StackIndex" DataSetColumn="StackIndex" />
<Mapping SourceColumn="SheetIndex" DataSetColumn="SheetIndex" />
<Mapping SourceColumn="IsNext" DataSetColumn="IsNext" />
<Mapping SourceColumn="MatID" DataSetColumn="MatID" />
<Mapping SourceColumn="WrkTimeEst" DataSetColumn="WrkTimeEst" />
<Mapping SourceColumn="WrkTimeReal" DataSetColumn="WrkTimeReal" />
<Mapping SourceColumn="Prepared" DataSetColumn="Prepared" />
<Mapping SourceColumn="PrntStart" DataSetColumn="PrntStart" />
<Mapping SourceColumn="PrntEnd" DataSetColumn="PrntEnd" />
<Mapping SourceColumn="WrkStart" DataSetColumn="WrkStart" />
<Mapping SourceColumn="WrkEnd" DataSetColumn="WrkEnd" />
<Mapping SourceColumn="UnlStart" DataSetColumn="UnlStart" />
<Mapping SourceColumn="UnlEnd" DataSetColumn="UnlEnd" />
<Mapping SourceColumn="RemnantID" DataSetColumn="RemnantID" />
<Mapping SourceColumn="PrintFilePath" DataSetColumn="PrintFilePath" />
<Mapping SourceColumn="CncFilePath" DataSetColumn="CncFilePath" />
<Mapping SourceColumn="DrawFilePath" DataSetColumn="DrawFilePath" />
<Mapping SourceColumn="MatExtCode" DataSetColumn="MatExtCode" />
<Mapping SourceColumn="MatDesc" DataSetColumn="MatDesc" />
<Mapping SourceColumn="L_mm" DataSetColumn="L_mm" />
<Mapping SourceColumn="W_mm" DataSetColumn="W_mm" />
<Mapping SourceColumn="T_mm" DataSetColumn="T_mm" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_AdvanceInStack" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="advanceInStack" Modifier="Public" Name="advanceInStack" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="advanceInStack">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_AdvanceInStack</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StackID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_getByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBatch" GetMethodModifier="Public" GetMethodName="getByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBatch" UserSourceName="getByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_getByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Machine" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_getByItemID" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByItemID" GetMethodModifier="Public" GetMethodName="getByItemID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByItemID" UserSourceName="getByItemID">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_getByItemID</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Machine" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_getByMLStatus" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByMLStatus" GetMethodModifier="Public" GetMethodName="getByMLStatus" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByMLStatus" UserSourceName="getByMLStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_getByMLStatus</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ShStatusStart" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ShStatusEnd" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Machine" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_getBySheetID" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getBySheetId" GetMethodModifier="Public" GetMethodName="getBySheetId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getBySheetId" UserSourceName="getBySheetId">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_getBySheetID</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SheetID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Machine" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_getByStack" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByStack" GetMethodModifier="Public" GetMethodName="getByStack" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByStack" UserSourceName="getByStack">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_getByStack</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StackID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Machine" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_getByStackRedux" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByStackRedux" GetMethodModifier="Public" GetMethodName="getByStackRedux" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByStackRedux" UserSourceName="getByStackRedux">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_getByStackRedux</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StackID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Redux" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_getCurrentByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getCurrentByBatch" GetMethodModifier="Public" GetMethodName="getCurrentByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getCurrentByBatch" UserSourceName="getCurrentByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_getCurrentByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Machine" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_getNextByStack" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getNextByStack" GetMethodModifier="Public" GetMethodName="getNextByStack" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getNextByStack" UserSourceName="getNextByStack">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_getNextByStack</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StackID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_insert" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insertAndReturn" GetMethodModifier="Public" GetMethodName="insertAndReturn" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insertAndReturn" UserSourceName="insertAndReturn">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SheetIndex" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@WrkTimeEst" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StackID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PrintFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CncFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@DrawFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_resetPrepared" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetPrepared" Modifier="Public" Name="resetPrepared" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="resetPrepared">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_resetPrepared</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SheetID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_setPrepared" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="setPrepared" Modifier="Public" Name="setPrepared" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="setPrepared">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_setPrepared</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SheetID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Sheets_updDate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateDate" Modifier="Public" Name="updateDate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="updateDate">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Sheets_updDate</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_SheetID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@PrntStart" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@PrntEnd" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@WrkStart" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@WrkEnd" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@UnlStart" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@UnlEnd" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ShStatus" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrderListTableAdapter" GeneratorDataComponentClassName="OrderListTableAdapter" Name="OrderList" UserDataComponentName="OrderListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_OrderList" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT OrdID, OrdType, DestPlant, FamilyCode, OrdDtmx, OrderExtCode, OrderDesc, OrderNote, KitQty, ImportDate, ImportUser, OrdCodOrig, KittingDate FROM v_OrderList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="OrdType" DataSetColumn="OrdType" />
<Mapping SourceColumn="DestPlant" DataSetColumn="DestPlant" />
<Mapping SourceColumn="FamilyCode" DataSetColumn="FamilyCode" />
<Mapping SourceColumn="OrdDtmx" DataSetColumn="OrdDtmx" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="OrderDesc" DataSetColumn="OrderDesc" />
<Mapping SourceColumn="OrderNote" DataSetColumn="OrderNote" />
<Mapping SourceColumn="KitQty" DataSetColumn="KitQty" />
<Mapping SourceColumn="ImportDate" DataSetColumn="ImportDate" />
<Mapping SourceColumn="ImportUser" DataSetColumn="ImportUser" />
<Mapping SourceColumn="OrdCodOrig" DataSetColumn="OrdCodOrig" />
<Mapping SourceColumn="KittingDate" DataSetColumn="KittingDate" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OL_getByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBatch" GetMethodModifier="Public" GetMethodName="getByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBatch" UserSourceName="getByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OL_getByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OL_getByCart" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCart" GetMethodModifier="Public" GetMethodName="getByCart" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCart" UserSourceName="getByCart">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OL_getByCart</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CartDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ItemListTableAdapter" GeneratorDataComponentClassName="ItemListTableAdapter" Name="ItemList" UserDataComponentName="ItemListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.ItemList" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[ItemList] WHERE (([ItemID] = @Original_ItemID) AND ([StatusID] = @Original_StatusID) AND ((@IsNull_KitID = 1 AND [KitID] IS NULL) OR ([KitID] = @Original_KitID)) AND ((@IsNull_ItemDtmx = 1 AND [ItemDtmx] IS NULL) OR ([ItemDtmx] = @Original_ItemDtmx)) AND ([ItemExtCode] = @Original_ItemExtCode) AND ([ItemDesc] = @Original_ItemDesc) AND ([ItemNote] = @Original_ItemNote) AND ([ItemQty] = @Original_ItemQty) AND ([MatID] = @Original_MatID) AND ([MachiningReq] = @Original_MachiningReq) AND ([PostProcList] = @Original_PostProcList) AND ([ProcessesReq] = @Original_ProcessesReq) AND ([CadFilePath] = @Original_CadFilePath) AND ([PdfFilePath] = @Original_PdfFilePath) AND ((@IsNull_OnCartDate = 1 AND [OnCartDate] IS NULL) OR ([OnCartDate] = @Original_OnCartDate)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StatusID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StatusID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KitID" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_KitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KitID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemDtmx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemQty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_MachiningReq" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MachiningReq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PostProcList" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PostProcList" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProcessesReq" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessesReq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CadFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CadFilePath" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PdfFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PdfFilePath" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OnCartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OnCartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_OnCartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OnCartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[ItemList] ([StatusID], [KitID], [ItemDtmx], [ItemExtCode], [ItemDesc], [ItemNote], [ItemQty], [MatID], [MachiningReq], [PostProcList], [ProcessesReq], [CadFilePath], [PdfFilePath], [OnCartDate]) VALUES (@StatusID, @KitID, @ItemDtmx, @ItemExtCode, @ItemDesc, @ItemNote, @ItemQty, @MatID, @MachiningReq, @PostProcList, @ProcessesReq, @CadFilePath, @PdfFilePath, @OnCartDate);
SELECT ItemID, StatusID, KitID, ItemDtmx, ItemExtCode, ItemDesc, ItemNote, ItemQty, MatID, MachiningReq, PostProcList, ProcessesReq, CadFilePath, PdfFilePath, OnCartDate FROM ItemList WHERE (ItemID = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StatusID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StatusID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@KitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KitID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemQty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MachiningReq" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MachiningReq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PostProcList" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PostProcList" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProcessesReq" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessesReq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CadFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CadFilePath" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PdfFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PdfFilePath" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OnCartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OnCartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM dbo.ItemList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[ItemList] SET [StatusID] = @StatusID, [KitID] = @KitID, [ItemDtmx] = @ItemDtmx, [ItemExtCode] = @ItemExtCode, [ItemDesc] = @ItemDesc, [ItemNote] = @ItemNote, [ItemQty] = @ItemQty, [MatID] = @MatID, [MachiningReq] = @MachiningReq, [PostProcList] = @PostProcList, [ProcessesReq] = @ProcessesReq, [CadFilePath] = @CadFilePath, [PdfFilePath] = @PdfFilePath, [OnCartDate] = @OnCartDate WHERE (([ItemID] = @Original_ItemID) AND ([StatusID] = @Original_StatusID) AND ((@IsNull_KitID = 1 AND [KitID] IS NULL) OR ([KitID] = @Original_KitID)) AND ((@IsNull_ItemDtmx = 1 AND [ItemDtmx] IS NULL) OR ([ItemDtmx] = @Original_ItemDtmx)) AND ([ItemExtCode] = @Original_ItemExtCode) AND ([ItemDesc] = @Original_ItemDesc) AND ([ItemNote] = @Original_ItemNote) AND ([ItemQty] = @Original_ItemQty) AND ([MatID] = @Original_MatID) AND ([MachiningReq] = @Original_MachiningReq) AND ([PostProcList] = @Original_PostProcList) AND ([ProcessesReq] = @Original_ProcessesReq) AND ([CadFilePath] = @Original_CadFilePath) AND ([PdfFilePath] = @Original_PdfFilePath) AND ((@IsNull_OnCartDate = 1 AND [OnCartDate] IS NULL) OR ([OnCartDate] = @Original_OnCartDate)));
SELECT ItemID, StatusID, KitID, ItemDtmx, ItemExtCode, ItemDesc, ItemNote, ItemQty, MatID, MachiningReq, PostProcList, ProcessesReq, CadFilePath, PdfFilePath, OnCartDate FROM ItemList WHERE (ItemID = @ItemID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StatusID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StatusID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@KitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KitID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemQty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MachiningReq" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MachiningReq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PostProcList" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PostProcList" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProcessesReq" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessesReq" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CadFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CadFilePath" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PdfFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PdfFilePath" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OnCartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OnCartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StatusID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StatusID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KitID" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_KitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KitID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ItemDtmx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemNote" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemNote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemQty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_MachiningReq" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MachiningReq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PostProcList" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PostProcList" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProcessesReq" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessesReq" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CadFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CadFilePath" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PdfFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PdfFilePath" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OnCartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OnCartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_OnCartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OnCartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="ItemID" ColumnName="ItemID" DataSourceName="Sauder_NKC.dbo.ItemList" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ItemID" DataSetColumn="ItemID" />
<Mapping SourceColumn="StatusID" DataSetColumn="StatusID" />
<Mapping SourceColumn="KitID" DataSetColumn="KitID" />
<Mapping SourceColumn="ItemDtmx" DataSetColumn="ItemDtmx" />
<Mapping SourceColumn="ItemExtCode" DataSetColumn="ItemExtCode" />
<Mapping SourceColumn="ItemDesc" DataSetColumn="ItemDesc" />
<Mapping SourceColumn="ItemNote" DataSetColumn="ItemNote" />
<Mapping SourceColumn="ItemQty" DataSetColumn="ItemQty" />
<Mapping SourceColumn="MatID" DataSetColumn="MatID" />
<Mapping SourceColumn="MachiningReq" DataSetColumn="MachiningReq" />
<Mapping SourceColumn="PostProcList" DataSetColumn="PostProcList" />
<Mapping SourceColumn="ProcessesReq" DataSetColumn="ProcessesReq" />
<Mapping SourceColumn="CadFilePath" DataSetColumn="CadFilePath" />
<Mapping SourceColumn="PdfFilePath" DataSetColumn="PdfFilePath" />
<Mapping SourceColumn="OnCartDate" DataSetColumn="OnCartDate" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBatch" GetMethodModifier="Public" GetMethodName="getByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBatch" UserSourceName="getByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getByOfflineOrder" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByOfflineOrder" GetMethodModifier="Public" GetMethodName="getByOfflineOrder" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByOfflineOrder" UserSourceName="getByOfflineOrder">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getByOfflineOrder</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OffOrdID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getByOrder" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByOrder" GetMethodModifier="Public" GetMethodName="getByOrder" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByOrder" UserSourceName="getByOrder">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getByOrder</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OrdID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getBySearch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getBySearch" GetMethodModifier="Public" GetMethodName="getBySearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getBySearch" UserSourceName="getBySearch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getBySearch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@minStatus" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@maxStatus" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getBySheet" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getBySheet" GetMethodModifier="Public" GetMethodName="getBySheet" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getBySheet" UserSourceName="getBySheet">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getBySheet</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SheetID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getByStatus" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByStatus" GetMethodModifier="Public" GetMethodName="getByStatus" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByStatus" UserSourceName="getByStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getByStatus</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@minStatus" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@maxStatus" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getLastToProduceByBin" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getLastToProduceByBin" GetMethodModifier="Public" GetMethodName="getLastToProduceByBin" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getLastToProduceByBin" UserSourceName="getLastToProduceByBin">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getLastToProduceByBin</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BinID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getMissingByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getMissingByBatch" GetMethodModifier="Public" GetMethodName="getMissingByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getMissingByBatch" UserSourceName="getMissingByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getMissingByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getMissingByCart" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getMissingByCart" GetMethodModifier="Public" GetMethodName="getMissingByCart" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getMissingByCart" UserSourceName="getMissingByCart">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getMissingByCart</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getNeedReValid" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getNeedRevalid" GetMethodModifier="Public" GetMethodName="getNeedRevalid" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getNeedRevalid" UserSourceName="getNeedRevalid">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getNeedReValid</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getNeedValid" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getNeedValid" GetMethodModifier="Public" GetMethodName="getNeedValid" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getNeedValid" UserSourceName="getNeedValid">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getNeedValid</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_getUnValid" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getUnValid" GetMethodModifier="Public" GetMethodName="getUnValid" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getUnValid" UserSourceName="getUnValid">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_getUnValid</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_invalidateByCart" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="invalidateByCart" Modifier="Public" Name="invalidateByCart" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="invalidateByCart">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_invalidateByCart</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_invalidateByPartCart" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="invalidateByPartCart" Modifier="Public" Name="invalidateByPartCart" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="invalidateByPartCart">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_invalidateByPartCart</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_updateCadPath" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateCadPath" Modifier="Public" Name="updateCadPath" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateCadPath">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_updateCadPath</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@BasePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@ForceAll" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_updateExtCodeFromBinNesting" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateExtCodeFromBinNesting" Modifier="Public" Name="updateExtCodeFromBinNesting" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="updateExtCodeFromBinNesting">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_updateExtCodeFromBinNesting</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PartExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PartRev" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_updateExtCodeFromNesting" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateExtCodeFromNesting" Modifier="Public" Name="updateExtCodeFromNesting" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="updateExtCodeFromNesting">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_updateExtCodeFromNesting</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PartExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_updateFromNesting" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateFromNesting" Modifier="Public" Name="updateFromNesting" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="updateFromNesting">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_updateFromNesting</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PostProcList" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ProcessesReq" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PdfFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_updateSheetStatus" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateSheetStatus" Modifier="Public" Name="updateSheetStatus" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="updateSheetStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_updateSheetStatus</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SheetID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StatusID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_updateSheetStatusPU" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateSheetStatusPU" Modifier="Public" Name="updateSheetStatusPU" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy7" UserSourceName="updateSheetStatusPU">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_updateSheetStatusPU</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SheetID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IL_updateStatus" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateStatus" Modifier="Public" Name="updateStatus" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy8" UserSourceName="updateStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IL_updateStatus</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StatusID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MaterialsTableAdapter" GeneratorDataComponentClassName="MaterialsTableAdapter" Name="Materials" UserDataComponentName="MaterialsTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.Materials" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[Materials] WHERE (([MatID] = @Original_MatID) AND ([MatExtCode] = @Original_MatExtCode) AND ([MatDesc] = @Original_MatDesc) AND ([ApprovDate] = @Original_ApprovDate) AND ([ApprovUser] = @Original_ApprovUser) AND ([L_mm] = @Original_L_mm) AND ([W_mm] = @Original_W_mm) AND ([T_mm] = @Original_T_mm) AND ((@IsNull_MatDtmx = 1 AND [MatDtmx] IS NULL) OR ([MatDtmx] = @Original_MatDtmx)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MatExtCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MatDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MatDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ApprovDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ApprovDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ApprovUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ApprovUser" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_L_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="L_mm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_W_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="W_mm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_T_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="T_mm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MatDtmx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatDtmx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MatDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MatDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Materials] ([MatExtCode], [MatDesc], [ApprovDate], [ApprovUser], [L_mm], [W_mm], [T_mm]) VALUES (@MatExtCode, @MatDesc, @ApprovDate, @ApprovUser, @L_mm, @W_mm, @T_mm);
SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, MatDtmx FROM Materials WHERE (MatID = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MatExtCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MatDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MatDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ApprovDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ApprovDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ApprovUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ApprovUser" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@L_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="L_mm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@W_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="W_mm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@T_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="T_mm" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, MatDtmx FROM dbo.Materials</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Materials] SET [MatExtCode] = @MatExtCode, [MatDesc] = @MatDesc, [ApprovDate] = @ApprovDate, [ApprovUser] = @ApprovUser, [L_mm] = @L_mm, [W_mm] = @W_mm, [T_mm] = @T_mm WHERE (([MatID] = @Original_MatID) AND ([MatExtCode] = @Original_MatExtCode) AND ([MatDesc] = @Original_MatDesc) AND ([ApprovDate] = @Original_ApprovDate) AND ([ApprovUser] = @Original_ApprovUser) AND ([L_mm] = @Original_L_mm) AND ([W_mm] = @Original_W_mm) AND ([T_mm] = @Original_T_mm) AND ((@IsNull_MatDtmx = 1 AND [MatDtmx] IS NULL) OR ([MatDtmx] = @Original_MatDtmx)));
SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, MatDtmx FROM Materials WHERE (MatID = @MatID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MatExtCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MatDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MatDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ApprovDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ApprovDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ApprovUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ApprovUser" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@L_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="L_mm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@W_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="W_mm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@T_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="T_mm" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MatExtCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MatDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MatDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ApprovDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ApprovDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ApprovUser" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ApprovUser" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_L_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="L_mm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_W_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="W_mm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_T_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="T_mm" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MatDtmx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatDtmx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MatDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MatDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="MatID" ColumnName="MatID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="MatID" DataSetColumn="MatID" />
<Mapping SourceColumn="MatExtCode" DataSetColumn="MatExtCode" />
<Mapping SourceColumn="MatDesc" DataSetColumn="MatDesc" />
<Mapping SourceColumn="ApprovDate" DataSetColumn="ApprovDate" />
<Mapping SourceColumn="ApprovUser" DataSetColumn="ApprovUser" />
<Mapping SourceColumn="L_mm" DataSetColumn="L_mm" />
<Mapping SourceColumn="W_mm" DataSetColumn="W_mm" />
<Mapping SourceColumn="T_mm" DataSetColumn="T_mm" />
<Mapping SourceColumn="MatDtmx" DataSetColumn="MatDtmx" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Material_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Material_delete</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_MatID" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Material_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Material_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MatExtCode" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@MatDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@L_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@W_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@T_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Material_update" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Material_update</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MatExtCode" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@MatDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@L_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@W_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@T_mm" Precision="18" ProviderType="Decimal" Scale="3" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_MatID" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BinsTableAdapter" GeneratorDataComponentClassName="BinsTableAdapter" Name="Bins" UserDataComponentName="BinsTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_BinDetail" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM v_BinDetail</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="BinID" DataSetColumn="BinID" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="ItemID" DataSetColumn="ItemID" />
<Mapping SourceColumn="BinIndex" DataSetColumn="BinIndex" />
<Mapping SourceColumn="BinDtmx" DataSetColumn="BinDtmx" />
<Mapping SourceColumn="BinDtmxProc" DataSetColumn="BinDtmxProc" />
<Mapping SourceColumn="CreationDate" DataSetColumn="CreationDate" />
<Mapping SourceColumn="TotItem" DataSetColumn="TotItem" />
<Mapping SourceColumn="TotItemLoad" DataSetColumn="TotItemLoad" />
<Mapping SourceColumn="PaintDate" DataSetColumn="PaintDate" />
<Mapping SourceColumn="KittingStart" DataSetColumn="KittingStart" />
<Mapping SourceColumn="KittingEnd" DataSetColumn="KittingEnd" />
<Mapping SourceColumn="ItemExtCode" DataSetColumn="ItemExtCode" />
<Mapping SourceColumn="ItemDesc" DataSetColumn="ItemDesc" />
<Mapping SourceColumn="MatExtCode" DataSetColumn="MatExtCode" />
<Mapping SourceColumn="MatDesc" DataSetColumn="MatDesc" />
<Mapping SourceColumn="KitExtCode" DataSetColumn="KitExtCode" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="DueDate" DataSetColumn="DueDate" />
<Mapping SourceColumn="Fillup" DataSetColumn="Fillup" />
<Mapping SourceColumn="Complete" DataSetColumn="Complete" />
<Mapping SourceColumn="Painted" DataSetColumn="Painted" />
<Mapping SourceColumn="Kitting" DataSetColumn="Kitting" />
<Mapping SourceColumn="Kitted" DataSetColumn="Kitted" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_BIN_getByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBatch" GetMethodModifier="Public" GetMethodName="getByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBatch" UserSourceName="getByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BIN_getByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_BIN_getByItemID" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByItemID" GetMethodModifier="Public" GetMethodName="getByItemID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByItemID" UserSourceName="getByItemID">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BIN_getByItemID</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_BIN_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BIN_getByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BinID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_BIN_getByStatus" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByStatus" GetMethodModifier="Public" GetMethodName="getByStatus" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByStatus" UserSourceName="getByStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BIN_getByStatus</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Fillup" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Complete" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Painted" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@OnKitStation" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_BIN_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorGetMethodName="insertAndReturn" GeneratorSourceName="insertAndReturn" Modifier="Public" Name="insertAndReturn" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertAndReturn">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BIN_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BinIndex" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_BIN_resetKitIncomplete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetKitIncomplete" Modifier="Public" Name="resetKitIncomplete" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="resetKitIncomplete">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BIN_resetKitIncomplete</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_BIN_setKitStart" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="setKitStart" Modifier="Public" Name="setKitStart" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="setKitStart">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BIN_setKitStart</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BinID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_BIN_updateKitting" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateKitting" GetMethodModifier="Public" GetMethodName="updateKitting" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateKitting" UserSourceName="updateKitting">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BIN_updateKitting</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_BinID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@RecStart" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@RecEnd" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_BIN_updatePainted" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updatePainted" GetMethodModifier="Public" GetMethodName="updatePainted" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updatePainted" UserSourceName="updatePainted">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BIN_updatePainted</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_BinID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@PaintDate" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CartsTableAdapter" GeneratorDataComponentClassName="CartsTableAdapter" Name="Carts" UserDataComponentName="CartsTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_CartDetail" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_CartDetail</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="CartIndex" DataSetColumn="CartIndex" />
<Mapping SourceColumn="CartDtmx" DataSetColumn="CartDtmx" />
<Mapping SourceColumn="CreationDate" DataSetColumn="CreationDate" />
<Mapping SourceColumn="TotItem" DataSetColumn="TotItem" />
<Mapping SourceColumn="TotItemLoad" DataSetColumn="TotItemLoad" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_CART_getByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBatch" GetMethodModifier="Public" GetMethodName="getByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBatch" UserSourceName="getByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_CART_getByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_CART_getByItemID" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByItemID" GetMethodModifier="Public" GetMethodName="getByItemID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByItemID" UserSourceName="getByItemID">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_CART_getByItemID</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_CART_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_CART_getByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_CART_insert" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insertAndReturn" GetMethodModifier="Public" GetMethodName="insertAndReturn" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insertAndReturn" UserSourceName="insertAndReturn">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_CART_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartIndex" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_CART_resetKitIncomplete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetKitIncomplete" Modifier="Public" Name="resetKitIncomplete" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="resetKitIncomplete">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_CART_resetKitIncomplete</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_CART_setKitStart" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="setKitStart" Modifier="Public" Name="setKitStart" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="setKitStart">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_CART_setKitStart</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OfflineOrderListTableAdapter" GeneratorDataComponentClassName="OfflineOrderListTableAdapter" Name="OfflineOrderList" UserDataComponentName="OfflineOrderListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_OOL" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_OOL</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="CreationDate" DataSetColumn="CreationDate" />
<Mapping SourceColumn="OrdStatus" DataSetColumn="OrdStatus" />
<Mapping SourceColumn="StatusDesc" DataSetColumn="StatusDesc" />
<Mapping SourceColumn="NumItems" DataSetColumn="NumItems" />
<Mapping SourceColumn="DrawFilePath" DataSetColumn="DrawFilePath" />
<Mapping SourceColumn="CncFilePath" DataSetColumn="CncFilePath" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OOL_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OOL_getByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OrdId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OOL_search" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getBySearch" GetMethodModifier="Public" GetMethodName="getBySearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getBySearch" UserSourceName="getBySearch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OOL_search</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MaxOrdStatus" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OOL_getRunning" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getRunning" GetMethodModifier="Public" GetMethodName="getRunning" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getRunning" UserSourceName="getRunning">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OOL_getRunning</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OOL_insert" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insertNew" GetMethodModifier="Public" GetMethodName="insertNew" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insertNew" UserSourceName="insertNew">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OOL_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OOL_updateDrawing" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateDrawing" Modifier="Public" Name="updateDrawing" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="updateDrawing">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OOL_updateDrawing</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_OrdID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@DrawFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CncFilePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OOL_updateStatus" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateStatus" Modifier="Public" Name="updateStatus" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="updateStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OOL_updateStatus</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_OrdID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OrdStatus" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OffOrd2ItemTableAdapter" GeneratorDataComponentClassName="OffOrd2ItemTableAdapter" Name="OffOrd2Item" UserDataComponentName="OffOrd2ItemTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.OffOrd2Item" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[OffOrd2Item] WHERE (([OrdID] = @Original_OrdID) AND ([ItemID] = @Original_ItemID))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[OffOrd2Item] ([OrdID], [ItemID]) VALUES (@OrdID, @ItemID);
SELECT OrdID, ItemID FROM OffOrd2Item WHERE (ItemID = @ItemID) AND (OrdID = @OrdID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT OrdID, ItemID FROM dbo.OffOrd2Item</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[OffOrd2Item] SET [OrdID] = @OrdID, [ItemID] = @ItemID WHERE (([OrdID] = @Original_OrdID) AND ([ItemID] = @Original_ItemID));
SELECT OrdID, ItemID FROM OffOrd2Item WHERE (ItemID = @ItemID) AND (OrdID = @OrdID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="ItemID" DataSetColumn="ItemID" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OffOrd2Item_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OffOrd2Item_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OrdId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KitListTableAdapter" GeneratorDataComponentClassName="KitListTableAdapter" Name="KitList" UserDataComponentName="KitListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.KitList" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [KitList] WHERE (([KitID] = @Original_KitID) AND ([OrdID] = @Original_OrdID) AND ([BatchID] = @Original_BatchID) AND ([CartID] = @Original_CartID) AND ([KitExtCode] = @Original_KitExtCode))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_KitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KitID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CartID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CartID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_KitExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KitExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [KitList] ([OrdID], [BatchID], [CartID], [KitExtCode]) VALUES (@OrdID, @BatchID, @CartID, @KitExtCode);
SELECT KitID, OrdID, BatchID, CartID, KitExtCode FROM KitList WHERE (KitID = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CartID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@KitExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KitExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM KitList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [KitList] SET [OrdID] = @OrdID, [BatchID] = @BatchID, [CartID] = @CartID, [KitExtCode] = @KitExtCode WHERE (([KitID] = @Original_KitID) AND ([OrdID] = @Original_OrdID) AND ([BatchID] = @Original_BatchID) AND ([CartID] = @Original_CartID) AND ([KitExtCode] = @Original_KitExtCode));
SELECT KitID, OrdID, BatchID, CartID, KitExtCode FROM KitList WHERE (KitID = @KitID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CartID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@KitExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KitExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_KitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KitID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CartID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CartID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_KitExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KitExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="KitID" ColumnName="KitID" DataSourceName="Sauder_NKC.dbo.KitList" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@KitID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="KitID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="KitID" DataSetColumn="KitID" />
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="KitExtCode" DataSetColumn="KitExtCode" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_KL_getByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBatch" GetMethodModifier="Public" GetMethodName="getByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBatch" UserSourceName="getByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_KL_getByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_KL_getByOrder" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByOrder" GetMethodModifier="Public" GetMethodName="getByOrder" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByOrder" UserSourceName="getByOrder">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_KL_getByOrder</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OrdID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_KL_updateCart" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateCart" GetMethodModifier="Public" GetMethodName="updateCart" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateCart" UserSourceName="updateCart">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_KL_updateCart</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@KitID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_KL_updateCartForBin" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateCartForBin" Modifier="Public" Name="updateCartForBin" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="updateCartForBin">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_KL_updateCartForBin</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CartDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="NestingTableAdapter" GeneratorDataComponentClassName="NestingTableAdapter" Name="Nesting" UserDataComponentName="NestingTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.Nesting" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Nesting] WHERE (([SheetID] = @Original_SheetID) AND ([ItemID] = @Original_ItemID) AND ([QtyNest] = @Original_QtyNest))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SheetID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SheetID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QtyNest" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QtyNest" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Nesting] ([SheetID], [ItemID], [QtyNest]) VALUES (@SheetID, @ItemID, @QtyNest);
SELECT SheetID, ItemID, QtyNest FROM Nesting WHERE (ItemID = @ItemID) AND (SheetID = @SheetID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SheetID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SheetID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QtyNest" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QtyNest" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM Nesting</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Nesting] SET [SheetID] = @SheetID, [ItemID] = @ItemID, [QtyNest] = @QtyNest WHERE (([SheetID] = @Original_SheetID) AND ([ItemID] = @Original_ItemID) AND ([QtyNest] = @Original_QtyNest));
SELECT SheetID, ItemID, QtyNest FROM Nesting WHERE (ItemID = @ItemID) AND (SheetID = @SheetID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SheetID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SheetID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QtyNest" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QtyNest" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SheetID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SheetID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QtyNest" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QtyNest" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="SheetID" DataSetColumn="SheetID" />
<Mapping SourceColumn="ItemID" DataSetColumn="ItemID" />
<Mapping SourceColumn="QtyNest" DataSetColumn="QtyNest" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Nesting_insert" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insertAndReturn" GetMethodModifier="Public" GetMethodName="insertAndReturn" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insertAndReturn" UserSourceName="insertAndReturn">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Nesting_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SheetID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ImportLogTableAdapter" GeneratorDataComponentClassName="ImportLogTableAdapter" Name="ImportLog" UserDataComponentName="ImportLogTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.Import_Log" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM Import_Log</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="NumLog" DataSetColumn="NumLog" />
<Mapping SourceColumn="NumTicket" DataSetColumn="NumTicket" />
<Mapping SourceColumn="Data" DataSetColumn="Data" />
<Mapping SourceColumn="StpName" DataSetColumn="StpName" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
<Mapping SourceColumn="IsOk" DataSetColumn="IsOk" />
<Mapping SourceColumn="Command" DataSetColumn="Command" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.raw.stp_All_Check_Kitting" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="importCsvKit" GetMethodModifier="Public" GetMethodName="importCsvKit" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="importCsvKit" UserSourceName="importCsvKit">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>raw.stp_All_Check_Kitting</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@filePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="4000" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@fileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="4000" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@BatchName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@FIELDTERMINATOR" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ROWTERMINATOR" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@FIRSTROW" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@NumTicket" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PrecNumTicket" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smallint" DbType="Int16" Direction="Input" ParameterName="@Type" Precision="5" ProviderType="SmallInt" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@OnlyCheck" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.raw.stp_All_Import_Batch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="importCsvOrd" GetMethodModifier="Public" GetMethodName="importCsvOrd" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="importCsvOrd" UserSourceName="importCsvOrd">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>raw.stp_All_Import_Batch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@filePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="4000" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@fileName" Precision="0" ProviderType="NVarChar" Scale="0" Size="4000" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@BatchName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@FIELDTERMINATOR" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ROWTERMINATOR" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@FIRSTROW" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@NumTicket" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PrecNumTicket" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smallint" DbType="Int16" Direction="Input" ParameterName="@Type" Precision="5" ProviderType="SmallInt" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BinListTableAdapter" GeneratorDataComponentClassName="BinListTableAdapter" Name="BinList" UserDataComponentName="BinListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.BinList" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [BinList] WHERE (([BinID] = @Original_BinID) AND ([ItemID] = @Original_ItemID))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BinID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BinID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [BinList] ([BinID], [ItemID]) VALUES (@BinID, @ItemID);
SELECT BinID, ItemID FROM BinList WHERE (BinID = @BinID) AND (ItemID = @ItemID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BinID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BinID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM BinList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [BinList] SET [BinID] = @BinID, [ItemID] = @ItemID WHERE (([BinID] = @Original_BinID) AND ([ItemID] = @Original_ItemID));
SELECT BinID, ItemID FROM BinList WHERE (BinID = @BinID) AND (ItemID = @ItemID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BinID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BinID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BinID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BinID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="BinID" DataSetColumn="BinID" />
<Mapping SourceColumn="ItemID" DataSetColumn="ItemID" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_B2I_insert" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insertAndReturn" GetMethodModifier="Public" GetMethodName="insertAndReturn" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insertAndReturn" UserSourceName="insertAndReturn">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_B2I_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BinID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FinalKitTableAdapter" GeneratorDataComponentClassName="FinalKitTableAdapter" Name="FinalKit" UserDataComponentName="FinalKitTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.FinalKit" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [finalkit] WHERE (([FinalKitID] = @Original_FinalKitID) AND ([FinalKitExtCode] = @Original_FinalKitExtCode) AND ((@IsNull_DueDate = 1 AND [DueDate] IS NULL) OR ([DueDate] = @Original_DueDate)) AND ([Status] = @Original_Status))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FinalKitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FinalKitID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FinalKitExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FinalKitExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DueDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [finalkit] ([FinalKitExtCode], [DueDate], [Status]) VALUES (@FinalKitExtCode, @DueDate, @Status);
SELECT FinalKitID, FinalKitExtCode, DueDate, Status FROM FinalKit WHERE (FinalKitID = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FinalKitExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FinalKitExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>select * from finalkit</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [finalkit] SET [FinalKitExtCode] = @FinalKitExtCode, [DueDate] = @DueDate, [Status] = @Status WHERE (([FinalKitID] = @Original_FinalKitID) AND ([FinalKitExtCode] = @Original_FinalKitExtCode) AND ((@IsNull_DueDate = 1 AND [DueDate] IS NULL) OR ([DueDate] = @Original_DueDate)) AND ([Status] = @Original_Status));
SELECT FinalKitID, FinalKitExtCode, DueDate, Status FROM FinalKit WHERE (FinalKitID = @FinalKitID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FinalKitExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FinalKitExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FinalKitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FinalKitID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FinalKitExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FinalKitExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DueDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="FinalKitID" ColumnName="FinalKitID" DataSourceName="Sauder_NKC.dbo.FinalKit" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@FinalKitID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="FinalKitID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="FinalKitID" DataSetColumn="FinalKitID" />
<Mapping SourceColumn="FinalKitExtCode" DataSetColumn="FinalKitExtCode" />
<Mapping SourceColumn="DueDate" DataSetColumn="DueDate" />
<Mapping SourceColumn="Status" DataSetColumn="Status" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_FinalKit_insert" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insertAndReturn" GetMethodModifier="Public" GetMethodName="insertAndReturn" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insertAndReturn" UserSourceName="insertAndReturn">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_FinalKit_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@FinalKitExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DueDate" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Order2FinalKitTableAdapter" GeneratorDataComponentClassName="Order2FinalKitTableAdapter" Name="Order2FinalKit" UserDataComponentName="Order2FinalKitTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.Order2FinalKit" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [order2finalkit] WHERE (([OrdID] = @Original_OrdID) AND ([FinalKitID] = @Original_FinalKitID))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FinalKitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FinalKitID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [order2finalkit] ([OrdID], [FinalKitID]) VALUES (@OrdID, @FinalKitID);
SELECT OrdID, FinalKitID FROM Order2FinalKit WHERE (FinalKitID = @FinalKitID) AND (OrdID = @OrdID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FinalKitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FinalKitID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>select * from order2finalkit</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [order2finalkit] SET [OrdID] = @OrdID, [FinalKitID] = @FinalKitID WHERE (([OrdID] = @Original_OrdID) AND ([FinalKitID] = @Original_FinalKitID));
SELECT OrdID, FinalKitID FROM Order2FinalKit WHERE (FinalKitID = @FinalKitID) AND (OrdID = @OrdID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FinalKitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FinalKitID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrdID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrdID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FinalKitID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FinalKitID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="FinalKitID" DataSetColumn="FinalKitID" />
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Ord2FinalKit_insert" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insertAndReturn" GetMethodModifier="Public" GetMethodName="insertAndReturn" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insertAndReturn" UserSourceName="insertAndReturn">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Ord2FinalKit_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OrdID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@FinalKitID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CountersTableAdapter" GeneratorDataComponentClassName="CountersTableAdapter" Name="Counters" UserDataComponentName="CountersTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.Counters" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Counters] WHERE (([CountType] = @Original_CountType) AND ([PCode] = @Original_PCode) AND ([LastNum] = @Original_LastNum) AND ([Description] = @Original_Description))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CountType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CountType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_LastNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Counters] ([CountType], [PCode], [LastNum], [Description]) VALUES (@CountType, @PCode, @LastNum, @Description);
SELECT CountType, PCode, LastNum, Description FROM Counters WHERE (CountType = @CountType)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CountType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CountType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@LastNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>select * from Counters</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Counters] SET [CountType] = @CountType, [PCode] = @PCode, [LastNum] = @LastNum, [Description] = @Description WHERE (([CountType] = @Original_CountType) AND ([PCode] = @Original_PCode) AND ([LastNum] = @Original_LastNum) AND ([Description] = @Original_Description));
SELECT CountType, PCode, LastNum, Description FROM Counters WHERE (CountType = @CountType)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CountType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CountType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@LastNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CountType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CountType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_LastNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CountType" DataSetColumn="CountType" />
<Mapping SourceColumn="PCode" DataSetColumn="PCode" />
<Mapping SourceColumn="LastNum" DataSetColumn="LastNum" />
<Mapping SourceColumn="Description" DataSetColumn="Description" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_getNextNumb" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getNextNum" GetMethodModifier="Public" GetMethodName="getNextNum" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getNextNum" UserSourceName="getNextNum">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_getNextNumb</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CountType" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ErrorsLogTableAdapter" GeneratorDataComponentClassName="ErrorsLogTableAdapter" Name="ErrorsLog" UserDataComponentName="ErrorsLogTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.ErrorsLog" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [ErrorsLog] WHERE (([ErrID] = @Original_ErrID) AND ([DtRif] = @Original_DtRif) AND ([ErrType] = @Original_ErrType) AND ([ParentUid] = @Original_ParentUid) AND ([Uid] = @Original_Uid))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ErrID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ErrID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtRif" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtRif" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ErrType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ErrType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ParentUid" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ParentUid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Uid" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Uid" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [ErrorsLog] ([DtRif], [ErrType], [ParentUid], [Uid], [Description]) VALUES (@DtRif, @ErrType, @ParentUid, @Uid, @Description);
SELECT ErrID, DtRif, ErrType, ParentUid, Uid, Description FROM ErrorsLog WHERE (ErrID = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtRif" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtRif" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ErrType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ErrType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ParentUid" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ParentUid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Uid" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Uid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM ErrorsLog</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [ErrorsLog] SET [DtRif] = @DtRif, [ErrType] = @ErrType, [ParentUid] = @ParentUid, [Uid] = @Uid, [Description] = @Description WHERE (([ErrID] = @Original_ErrID) AND ([DtRif] = @Original_DtRif) AND ([ErrType] = @Original_ErrType) AND ([ParentUid] = @Original_ParentUid) AND ([Uid] = @Original_Uid));
SELECT ErrID, DtRif, ErrType, ParentUid, Uid, Description FROM ErrorsLog WHERE (ErrID = @ErrID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DtRif" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtRif" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ErrType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ErrType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ParentUid" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ParentUid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Uid" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Uid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ErrID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ErrID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DtRif" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DtRif" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ErrType" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ErrType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ParentUid" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ParentUid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Uid" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Uid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="ErrID" ColumnName="ErrID" DataSourceName="Sauder_NKC.dbo.ErrorsLog" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ErrID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ErrID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ErrID" DataSetColumn="ErrID" />
<Mapping SourceColumn="DtRif" DataSetColumn="DtRif" />
<Mapping SourceColumn="ErrType" DataSetColumn="ErrType" />
<Mapping SourceColumn="ParentUid" DataSetColumn="ParentUid" />
<Mapping SourceColumn="Uid" DataSetColumn="Uid" />
<Mapping SourceColumn="Description" DataSetColumn="Description" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_EL_deteteByParent" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deteteByParent" Modifier="Public" Name="deteteByParent" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deteteByParent">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_EL_deteteByParent</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ErrType" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ParentUid" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_EL_getByParent" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByParent" GetMethodModifier="Public" GetMethodName="getByParent" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByParent" UserSourceName="getByParent">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_EL_getByParent</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ErrType" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ParentUid" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_EL_insert" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insertQuery" GetMethodModifier="Public" GetMethodName="insertQuery" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insertQuery" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_EL_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DtRif" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ErrType" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ParentUid" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Uid" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ItemValidationTableAdapter" GeneratorDataComponentClassName="ItemValidationTableAdapter" Name="ItemValidation" UserDataComponentName="ItemValidationTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.ItemValidation" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [ItemValidation] WHERE (([ItemExtCode] = @Original_ItemExtCode) AND ([BatchID] = @Original_BatchID) AND ((@IsNull_EvalDate = 1 AND [EvalDate] IS NULL) OR ([EvalDate] = @Original_EvalDate)) AND ([Status] = @Original_Status))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EvalDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EvalDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EvalDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EvalDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [ItemValidation] ([ItemExtCode], [BatchID], [EvalDate], [Status]) VALUES (@ItemExtCode, @BatchID, @EvalDate, @Status);
SELECT ItemExtCode, BatchID, EvalDate, Status FROM ItemValidation WHERE (ItemExtCode = @ItemExtCode)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EvalDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EvalDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>select * from ItemValidation</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [ItemValidation] SET [ItemExtCode] = @ItemExtCode, [BatchID] = @BatchID, [EvalDate] = @EvalDate, [Status] = @Status WHERE (([ItemExtCode] = @Original_ItemExtCode) AND ([BatchID] = @Original_BatchID) AND ((@IsNull_EvalDate = 1 AND [EvalDate] IS NULL) OR ([EvalDate] = @Original_EvalDate)) AND ([Status] = @Original_Status));
SELECT ItemExtCode, BatchID, EvalDate, Status FROM ItemValidation WHERE (ItemExtCode = @ItemExtCode)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EvalDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EvalDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EvalDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EvalDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EvalDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EvalDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ItemExtCode" DataSetColumn="ItemExtCode" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="EvalDate" DataSetColumn="EvalDate" />
<Mapping SourceColumn="Status" DataSetColumn="Status" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IV_upsertQuery" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="upsertQuery" GetMethodModifier="Public" GetMethodName="upsertQuery" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="upsertQuery" UserSourceName="upsertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IV_upsertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@EstimTime" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PartValidParetoTableAdapter" GeneratorDataComponentClassName="PartValidParetoTableAdapter" Name="PartValidPareto" UserDataComponentName="PartValidParetoTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PartValid_Pareto" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PartValid_Pareto</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="TotParts" DataSetColumn="TotParts" />
<Mapping SourceColumn="QtyUnkn" DataSetColumn="QtyUnkn" />
<Mapping SourceColumn="QtyKo" DataSetColumn="QtyKo" />
<Mapping SourceColumn="QtyOk" DataSetColumn="QtyOk" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UnloadStatsTableAdapter" GeneratorDataComponentClassName="UnloadStatsTableAdapter" Name="UnloadStats" UserDataComponentName="UnloadStatsTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Unload_Stat" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Unload_Stat</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StatLevel" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Stat" DataSetColumn="Stat" />
<Mapping SourceColumn="Total" DataSetColumn="Total" />
<Mapping SourceColumn="Wait" DataSetColumn="Wait" />
<Mapping SourceColumn="Wip" DataSetColumn="Wip" />
<Mapping SourceColumn="Done" DataSetColumn="Done" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RemnantsTableAdapter" GeneratorDataComponentClassName="RemnantsTableAdapter" Name="Remnants" UserDataComponentName="RemnantsTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.Remnants" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Remnants] WHERE (([RemnantID] = @Original_RemnantID) AND ([BatchID] = @Original_BatchID) AND ([MatID] = @Original_MatID) AND ([SheetID] = @Original_SheetID) AND ([DimX] = @Original_DimX) AND ([DimY] = @Original_DimY) AND ([Available] = @Original_Available))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RemnantID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RemnantID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SheetID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SheetID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DimX" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="DimX" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DimY" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="DimY" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Available" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Available" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Remnants] ([BatchID], [MatID], [SheetID], [DimX], [DimY], [Available]) VALUES (@BatchID, @MatID, @SheetID, @DimX, @DimY, @Available);
SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants WHERE (RemnantID = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SheetID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SheetID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DimX" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="DimX" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DimY" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="DimY" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Available" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Available" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM Remnants</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Remnants] SET [BatchID] = @BatchID, [MatID] = @MatID, [SheetID] = @SheetID, [DimX] = @DimX, [DimY] = @DimY, [Available] = @Available WHERE (([RemnantID] = @Original_RemnantID) AND ([BatchID] = @Original_BatchID) AND ([MatID] = @Original_MatID) AND ([SheetID] = @Original_SheetID) AND ([DimX] = @Original_DimX) AND ([DimY] = @Original_DimY) AND ([Available] = @Original_Available));
SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants WHERE (RemnantID = @RemnantID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SheetID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SheetID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DimX" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="DimX" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DimY" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="DimY" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Available" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Available" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RemnantID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RemnantID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SheetID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SheetID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DimX" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="DimX" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DimY" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="DimY" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Available" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Available" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="RemnantID" ColumnName="RemnantID" DataSourceName="Sauder_NKC.dbo.Remnants" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@RemnantID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="RemnantID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="RemnantID" DataSetColumn="RemnantID" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="MatID" DataSetColumn="MatID" />
<Mapping SourceColumn="SheetID" DataSetColumn="SheetID" />
<Mapping SourceColumn="DimX" DataSetColumn="DimX" />
<Mapping SourceColumn="DimY" DataSetColumn="DimY" />
<Mapping SourceColumn="Available" DataSetColumn="Available" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_REM_delByBatch" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteByBatch" Modifier="Public" Name="deleteByBatch" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_REM_delByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_REM_insert" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insertAndReturn" GetMethodModifier="Public" GetMethodName="insertAndReturn" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insertAndReturn" UserSourceName="insertAndReturn">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_REM_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SheetID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@DimX" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@DimY" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Available" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CartOnKitTableAdapter" GeneratorDataComponentClassName="CartOnKitTableAdapter" Name="CartOnKit" UserDataComponentName="CartOnKitTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_CartKitDetail" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT OrdID, CartID, CartIndex, CartDtmx, CreationDate, KittingStart, KittingEnd, TotItem, TotItemCart, TotItemBinReq, NumPzBinAvail, NumPzWaiting, OtherQtyReq, OtherQtyCur, OtherQtyWait, OrderExtCode, DestPlant, ModelCode, KitQty FROM v_CartKitDetail</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="CartIndex" DataSetColumn="CartIndex" />
<Mapping SourceColumn="CartDtmx" DataSetColumn="CartDtmx" />
<Mapping SourceColumn="CreationDate" DataSetColumn="CreationDate" />
<Mapping SourceColumn="KittingStart" DataSetColumn="KittingStart" />
<Mapping SourceColumn="KittingEnd" DataSetColumn="KittingEnd" />
<Mapping SourceColumn="TotItem" DataSetColumn="TotItem" />
<Mapping SourceColumn="TotItemCart" DataSetColumn="TotItemCart" />
<Mapping SourceColumn="TotItemBinReq" DataSetColumn="TotItemBinReq" />
<Mapping SourceColumn="NumPzBinAvail" DataSetColumn="NumPzBinAvail" />
<Mapping SourceColumn="NumPzWaiting" DataSetColumn="NumPzWaiting" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="DestPlant" DataSetColumn="DestPlant" />
<Mapping SourceColumn="ModelCode" DataSetColumn="ModelCode" />
<Mapping SourceColumn="KitQty" DataSetColumn="KitQty" />
<Mapping SourceColumn="OtherQtyReq" DataSetColumn="OtherQtyReq" />
<Mapping SourceColumn="OtherQtyCur" DataSetColumn="OtherQtyCur" />
<Mapping SourceColumn="OtherQtyWait" DataSetColumn="OtherQtyWait" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_CKD_getByDtmx" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByDtmx" GetMethodModifier="Public" GetMethodName="getByDtmx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByDtmx" UserSourceName="getByDtmx">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_CKD_getByDtmx</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CartDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_CKD_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_CKD_getByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PackListTableAdapter" GeneratorDataComponentClassName="PackListTableAdapter" Name="PackList" UserDataComponentName="PackListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_PackList" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_PackList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="PackListID" DataSetColumn="PackListID" />
<Mapping SourceColumn="BatchName" DataSetColumn="BatchName" />
<Mapping SourceColumn="ImportDate" DataSetColumn="ImportDate" />
<Mapping SourceColumn="StatusID" DataSetColumn="StatusID" />
<Mapping SourceColumn="SchedPrior" DataSetColumn="SchedPrior" />
<Mapping SourceColumn="NumCart" DataSetColumn="NumCart" />
<Mapping SourceColumn="NumKit" DataSetColumn="NumKit" />
<Mapping SourceColumn="NumParts" DataSetColumn="NumParts" />
<Mapping SourceColumn="TotQty" DataSetColumn="TotQty" />
<Mapping SourceColumn="TotConf" DataSetColumn="TotConf" />
<Mapping SourceColumn="StatusDesc" DataSetColumn="StatusDesc" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PL_DeleteAll" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteAll" Modifier="Public" Name="deleteAll" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteAll">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PL_DeleteAll</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_PackListID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PLD_fixSched" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="fixSched" Modifier="Public" Name="fixSched" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="fixSched">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="true">
<CommandText>dbo.stp_PL_fixSched</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PLD_getActive" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getActive" GetMethodModifier="Public" GetMethodName="getActive" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getActive" UserSourceName="getActive">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="true">
<CommandText>dbo.stp_PL_getActive</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PLD_getRunning" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getRunning" GetMethodModifier="Public" GetMethodName="getRunning" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getRunning" UserSourceName="getRunning">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="true">
<CommandText>dbo.stp_PL_getRunning</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PLD_getToSchedule" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getToSchedule" GetMethodModifier="Public" GetMethodName="getToSchedule" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getToSchedule" UserSourceName="getToSchedule">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="true">
<CommandText>dbo.stp_PL_getToSchedule</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PLD_updateSchedPrior" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateSchedPrior" Modifier="Public" Name="updateSchedPrior" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateSchedPrior">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="true">
<CommandText>dbo.stp_PL_updateSchedPrior</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PackListID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SchedPrio" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PLD_updStatus" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateStatus" GetMethodModifier="Public" GetMethodName="updateStatus" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateStatus" UserSourceName="updateStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="true">
<CommandText>dbo.stp_PL_updStatus</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_PackListID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StatusID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OtherItemTableAdapter" GeneratorDataComponentClassName="OtherItemTableAdapter" Name="OtherItem" UserDataComponentName="OtherItemTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.OtherItemList" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>select * from OtherItemList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="OtherItemID" DataSetColumn="OtherItemID" />
<Mapping SourceColumn="OtherItemExtCode" DataSetColumn="OtherItemExtCode" />
<Mapping SourceColumn="OtherItemDesc" DataSetColumn="OtherItemDesc" />
<Mapping SourceColumn="OtherItemDtmx" DataSetColumn="OtherItemDtmx" />
<Mapping SourceColumn="OtherItemType" DataSetColumn="OtherItemType" />
<Mapping SourceColumn="OtherItemNote" DataSetColumn="OtherItemNote" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OtherItem_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OtherItem_getByKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OtherItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ItemSearchDetailTableAdapter" GeneratorDataComponentClassName="ItemSearchDetailTableAdapter" Name="ItemSearchDetail" UserDataComponentName="ItemSearchDetailTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_ISD_searchDtmx" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ISD_searchDtmx</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ItemID" DataSetColumn="ItemID" />
<Mapping SourceColumn="StatusID" DataSetColumn="StatusID" />
<Mapping SourceColumn="KitID" DataSetColumn="KitID" />
<Mapping SourceColumn="ItemDtmx" DataSetColumn="ItemDtmx" />
<Mapping SourceColumn="ItemExtCode" DataSetColumn="ItemExtCode" />
<Mapping SourceColumn="ItemDesc" DataSetColumn="ItemDesc" />
<Mapping SourceColumn="ItemNote" DataSetColumn="ItemNote" />
<Mapping SourceColumn="ItemQty" DataSetColumn="ItemQty" />
<Mapping SourceColumn="MatID" DataSetColumn="MatID" />
<Mapping SourceColumn="MachiningReq" DataSetColumn="MachiningReq" />
<Mapping SourceColumn="PostProcList" DataSetColumn="PostProcList" />
<Mapping SourceColumn="ProcessesReq" DataSetColumn="ProcessesReq" />
<Mapping SourceColumn="CadFilePath" DataSetColumn="CadFilePath" />
<Mapping SourceColumn="PdfFilePath" DataSetColumn="PdfFilePath" />
<Mapping SourceColumn="OnCartDate" DataSetColumn="OnCartDate" />
<Mapping SourceColumn="PaintingReq" DataSetColumn="PaintingReq" />
<Mapping SourceColumn="MatExtCode" DataSetColumn="MatExtCode" />
<Mapping SourceColumn="MatDesc" DataSetColumn="MatDesc" />
<Mapping SourceColumn="KitExtCode" DataSetColumn="KitExtCode" />
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="CartDtmx" DataSetColumn="CartDtmx" />
<Mapping SourceColumn="CartIndex" DataSetColumn="CartIndex" />
<Mapping SourceColumn="BinID" DataSetColumn="BinID" />
<Mapping SourceColumn="BinDtmx" DataSetColumn="BinDtmx" />
<Mapping SourceColumn="BinIndex" DataSetColumn="BinIndex" />
<Mapping SourceColumn="DueDate" DataSetColumn="DueDate" />
<Mapping SourceColumn="PlaceCod" DataSetColumn="PlaceCod" />
<Mapping SourceColumn="WrkEnd" DataSetColumn="WrkEnd" />
<Mapping SourceColumn="UnlEnd" DataSetColumn="UnlEnd" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_ISD_getMissingByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getMissingByBatch" GetMethodModifier="Public" GetMethodName="getMissingByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getMissingByBatch" UserSourceName="getMissingByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ISD_getMissingByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_ISD_getMissingByBin" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getMissingByBin" GetMethodModifier="Public" GetMethodName="getMissingByBin" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getMissingByBin" UserSourceName="getMissingByBin">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ISD_getMissingByBin</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BinID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_ISD_getMissingByCart" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getMissingByCart" GetMethodModifier="Public" GetMethodName="getMissingByCart" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getMissingByCart" UserSourceName="getMissingByCart">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ISD_getMissingByCart</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_ISD_getMissingByPLID" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getMissingByPLID" GetMethodModifier="Public" GetMethodName="getMissingByPLID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getMissingByPLID" UserSourceName="getMissingByPLID">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_ISD_getMissingByPLID</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PackListID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PackListDetTableAdapter" GeneratorDataComponentClassName="PackListDetTableAdapter" Name="PackListDet" UserDataComponentName="PackListDetTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_PackListDet" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_PackListDet</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="PackListID" DataSetColumn="PackListID" />
<Mapping SourceColumn="PackListDetID" DataSetColumn="PackListDetID" />
<Mapping SourceColumn="SALES_ORDER" DataSetColumn="SALES_ORDER" />
<Mapping SourceColumn="LINE" DataSetColumn="LINE" />
<Mapping SourceColumn="MODEL" DataSetColumn="MODEL" />
<Mapping SourceColumn="FRAME_QTY" DataSetColumn="FRAME_QTY" />
<Mapping SourceColumn="REQ_DATE" DataSetColumn="REQ_DATE" />
<Mapping SourceColumn="MRP_PART" DataSetColumn="MRP_PART" />
<Mapping SourceColumn="DESC_PART" DataSetColumn="DESC_PART" />
<Mapping SourceColumn="QTY" DataSetColumn="QTY" />
<Mapping SourceColumn="ORIGIN" DataSetColumn="ORIGIN" />
<Mapping SourceColumn="TARGET" DataSetColumn="TARGET" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="ImportDate" DataSetColumn="ImportDate" />
<Mapping SourceColumn="QtyConf" DataSetColumn="QtyConf" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PLD_getByPackListId" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPackListId" GetMethodModifier="Public" GetMethodName="getByPackListId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPackListId" UserSourceName="getByPackListId">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PLD_getByPackListId</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PackListID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PLD_getRunByOrdExtCode" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getRunByOrdExtCode" GetMethodModifier="Public" GetMethodName="getRunByOrdExtCode" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getRunByOrdExtCode" UserSourceName="getRunByOrdExtCode">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PLD_getRunByOrdExtCode</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@OrdExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PackLogTableAdapter" GeneratorDataComponentClassName="PackLogTableAdapter" Name="PackLog" UserDataComponentName="PackLogTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.PackLog" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>select * from PackLog</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="PLogID" DataSetColumn="PLogID" />
<Mapping SourceColumn="PackListID" DataSetColumn="PackListID" />
<Mapping SourceColumn="DtScan" DataSetColumn="DtScan" />
<Mapping SourceColumn="Dtmx" DataSetColumn="Dtmx" />
<Mapping SourceColumn="MRP_PART" DataSetColumn="MRP_PART" />
<Mapping SourceColumn="KitExtCode" DataSetColumn="KitExtCode" />
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="Device" DataSetColumn="Device" />
<Mapping SourceColumn="UserName" DataSetColumn="UserName" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PL_acquireCart" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="acquireCart" Modifier="Public" Name="acquireCart" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="acquireCart">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PL_acquireCart</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CartDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Device" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PL_acquireItems" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="acquireItems" Modifier="Public" Name="acquireItems" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="acquireItems">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PL_acquireItems</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Device" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PL_acquireOtherItems" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="acquireOtherItems" Modifier="Public" Name="acquireOtherItems" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="acquireOtherItems">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PL_acquireOtherItems</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OtherItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MaxNum" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Device" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PL_acquirePaint" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="acquirePaint" Modifier="Public" Name="acquirePaint" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="acquirePaint">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PL_acquirePaint</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BinID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MaxNum" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Device" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PL_closeCart" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="closeCart" Modifier="Public" Name="closeCart" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="closeCart">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PL_closeCart</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PLog_getByCart" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCartId" GetMethodModifier="Public" GetMethodName="getByCartId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCartId" UserSourceName="getByCartId">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PLog_getByCart</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PackCheckTableAdapter" GeneratorDataComponentClassName="PackCheckTableAdapter" Name="PackCheck" UserDataComponentName="PackCheckTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PackList_Check" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PackList_Check</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CartDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="BatchName" DataSetColumn="BatchName" />
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="CartDtmx" DataSetColumn="CartDtmx" />
<Mapping SourceColumn="NumTot" DataSetColumn="NumTot" />
<Mapping SourceColumn="NumProd" DataSetColumn="NumProd" />
<Mapping SourceColumn="NumKit" DataSetColumn="NumKit" />
<Mapping SourceColumn="NumPenalty" DataSetColumn="NumPenalty" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OKIBTableAdapter" GeneratorDataComponentClassName="OKIBTableAdapter" Name="OKIB" UserDataComponentName="OKIBTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_OKIB" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_OKIB</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ItemID" DataSetColumn="ItemID" />
<Mapping SourceColumn="ItemDtmx" DataSetColumn="ItemDtmx" />
<Mapping SourceColumn="ItemExtCode" DataSetColumn="ItemExtCode" />
<Mapping SourceColumn="ItemDesc" DataSetColumn="ItemDesc" />
<Mapping SourceColumn="StatusID" DataSetColumn="StatusID" />
<Mapping SourceColumn="MatID" DataSetColumn="MatID" />
<Mapping SourceColumn="PostProcList" DataSetColumn="PostProcList" />
<Mapping SourceColumn="ProcessesReq" DataSetColumn="ProcessesReq" />
<Mapping SourceColumn="OnCartDate" DataSetColumn="OnCartDate" />
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="KitQty" DataSetColumn="KitQty" />
<Mapping SourceColumn="KitID" DataSetColumn="KitID" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="CartDtmx" DataSetColumn="CartDtmx" />
<Mapping SourceColumn="CartIndex" DataSetColumn="CartIndex" />
<Mapping SourceColumn="CartKitStart" DataSetColumn="CartKitStart" />
<Mapping SourceColumn="CartKitEnd" DataSetColumn="CartKitEnd" />
<Mapping SourceColumn="KitExtCode" DataSetColumn="KitExtCode" />
<Mapping SourceColumn="BinID" DataSetColumn="BinID" />
<Mapping SourceColumn="BinIndex" DataSetColumn="BinIndex" />
<Mapping SourceColumn="BinDtmx" DataSetColumn="BinDtmx" />
<Mapping SourceColumn="BinDtmxProc" DataSetColumn="BinDtmxProc" />
<Mapping SourceColumn="PaintDate" DataSetColumn="PaintDate" />
<Mapping SourceColumn="BinKitStart" DataSetColumn="BinKitStart" />
<Mapping SourceColumn="BinKitEnd" DataSetColumn="BinKitEnd" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OKIB_getByBinDtmxProc" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBinDtmxProc" GetMethodModifier="Public" GetMethodName="getByBinDtmxProc" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBinDtmxProc" UserSourceName="getByBinDtmxProc">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OKIB_getByBinDtmxProc</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@BinDtmxProc" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OKIB_SumTableAdapter" GeneratorDataComponentClassName="OKIB_SumTableAdapter" Name="OKIB_Sum" UserDataComponentName="OKIB_SumTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_OKIB_Sum" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>select * from v_OKIB_Sum</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="BinID" DataSetColumn="BinID" />
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="BinIndex" DataSetColumn="BinIndex" />
<Mapping SourceColumn="BinDtmx" DataSetColumn="BinDtmx" />
<Mapping SourceColumn="BinDtmxProc" DataSetColumn="BinDtmxProc" />
<Mapping SourceColumn="PaintDate" DataSetColumn="PaintDate" />
<Mapping SourceColumn="BinKitStart" DataSetColumn="BinKitStart" />
<Mapping SourceColumn="BinKitEnd" DataSetColumn="BinKitEnd" />
<Mapping SourceColumn="NumItems" DataSetColumn="NumItems" />
<Mapping SourceColumn="NumPicked" DataSetColumn="NumPicked" />
<Mapping SourceColumn="ItemExtCode" DataSetColumn="ItemExtCode" />
<Mapping SourceColumn="ItemDesc" DataSetColumn="ItemDesc" />
<Mapping SourceColumn="OnCartDate" DataSetColumn="OnCartDate" />
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="KitQty" DataSetColumn="KitQty" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="CartDtmx" DataSetColumn="CartDtmx" />
<Mapping SourceColumn="CartIndex" DataSetColumn="CartIndex" />
<Mapping SourceColumn="CartKitStart" DataSetColumn="CartKitStart" />
<Mapping SourceColumn="CartKitEnd" DataSetColumn="CartKitEnd" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OKIB_Sum_getByBinDtmxProc" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBinDtmxProc" GetMethodModifier="Public" GetMethodName="getByBinDtmxProc" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBinDtmxProc" UserSourceName="getByBinDtmxProc">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OKIB_Sum_getByBinDtmxProc</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@BinDtmxProc" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OKIB_Sum_getByCartDtmx" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCartDtmx" GetMethodModifier="Public" GetMethodName="getByCartDtmx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCartDtmx" UserSourceName="getByCartDtmx">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OKIB_Sum_getByCartDtmx</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CartDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OKIB_Sum_byKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OKIB_Sum_byKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BinID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OKOITableAdapter" GeneratorDataComponentClassName="OKOITableAdapter" Name="OKOI" UserDataComponentName="OKOITableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_OKOI" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT * FROM v_OKOI</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="OtherItemID" DataSetColumn="OtherItemID" />
<Mapping SourceColumn="OtherItemExtCode" DataSetColumn="OtherItemExtCode" />
<Mapping SourceColumn="OtherItemDesc" DataSetColumn="OtherItemDesc" />
<Mapping SourceColumn="OtherItemDtmx" DataSetColumn="OtherItemDtmx" />
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="KitExtCode" DataSetColumn="KitExtCode" />
<Mapping SourceColumn="OnCartDate" DataSetColumn="OnCartDate" />
<Mapping SourceColumn="QtyReq" DataSetColumn="QtyReq" />
<Mapping SourceColumn="QtyCur" DataSetColumn="QtyCur" />
<Mapping SourceColumn="KitID" DataSetColumn="KitID" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="CartDtmx" DataSetColumn="CartDtmx" />
<Mapping SourceColumn="CartIndex" DataSetColumn="CartIndex" />
<Mapping SourceColumn="CartKitStart" DataSetColumn="CartKitStart" />
<Mapping SourceColumn="CartKitEnd" DataSetColumn="CartKitEnd" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OKOI_getByOtherItemDtmx" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByOtherItemDtmx" GetMethodModifier="Public" GetMethodName="getByOtherItemDtmx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByOtherItemDtmx" UserSourceName="getByOtherItemDtmx">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OKOI_getByOtherItemDtmx</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@OtherItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OKOI_sumTableAdapter" GeneratorDataComponentClassName="OKOI_sumTableAdapter" Name="OKOI_sum" UserDataComponentName="OKOI_sumTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_OKOI_sum" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT OtherItemID, CartID, OtherItemExtCode, OtherItemDesc, OtherItemDtmx, OrdID, OrderExtCode, NumItems, NumPicked, CartDtmx, CartIndex, CartKitStart, CartKitEnd FROM v_OKOI_sum</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="OtherItemID" DataSetColumn="OtherItemID" />
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="OtherItemExtCode" DataSetColumn="OtherItemExtCode" />
<Mapping SourceColumn="OtherItemDesc" DataSetColumn="OtherItemDesc" />
<Mapping SourceColumn="OtherItemDtmx" DataSetColumn="OtherItemDtmx" />
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="NumItems" DataSetColumn="NumItems" />
<Mapping SourceColumn="NumPicked" DataSetColumn="NumPicked" />
<Mapping SourceColumn="CartDtmx" DataSetColumn="CartDtmx" />
<Mapping SourceColumn="CartIndex" DataSetColumn="CartIndex" />
<Mapping SourceColumn="CartKitStart" DataSetColumn="CartKitStart" />
<Mapping SourceColumn="CartKitEnd" DataSetColumn="CartKitEnd" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OKOI_Sum_getByCartDtmx" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCartDtmx" GetMethodModifier="Public" GetMethodName="getByCartDtmx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCartDtmx" UserSourceName="getByCartDtmx">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OKOI_Sum_getByCartDtmx</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CartDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OKOI_Sum_byKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OKOI_Sum_byKey</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OtherItemID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OKOI_Sum_getByOtherItemDtmx" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByOtherItemDtmx" GetMethodModifier="Public" GetMethodName="getByOtherItemDtmx" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByOtherItemDtmx" UserSourceName="getByOtherItemDtmx">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OKOI_Sum_getByOtherItemDtmx</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@OtherItemDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Pack2CartTableAdapter" GeneratorDataComponentClassName="Pack2CartTableAdapter" Name="Pack2Cart" UserDataComponentName="Pack2CartTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_Pack2Cart" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_Pack2Cart</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="PackListID" DataSetColumn="PackListID" />
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="BatchName" DataSetColumn="BatchName" />
<Mapping SourceColumn="CartIndex" DataSetColumn="CartIndex" />
<Mapping SourceColumn="CartDtmx" DataSetColumn="CartDtmx" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="FamilyCode" DataSetColumn="FamilyCode" />
<Mapping SourceColumn="Started" DataSetColumn="Started" />
<Mapping SourceColumn="Completed" DataSetColumn="Completed" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_P2C_getByCartId" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCartId" GetMethodModifier="Public" GetMethodName="getByCartId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCartId" UserSourceName="getByCartId">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_P2C_getByCartId</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_P2C_getByPackListId" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPackListId" GetMethodModifier="Public" GetMethodName="getByPackListId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPackListId" UserSourceName="getByPackListId">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_P2C_getByPackListId</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PackListID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CartIRKTableAdapter" GeneratorDataComponentClassName="CartIRKTableAdapter" Name="CartIRK" UserDataComponentName="CartIRKTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IRKSum_getByCart" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IRKSum_getByCart</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CartID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="CartDtmx" DataSetColumn="CartDtmx" />
<Mapping SourceColumn="CartIndex" DataSetColumn="CartIndex" />
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="ItemExtCode" DataSetColumn="ItemExtCode" />
<Mapping SourceColumn="ItemDesc" DataSetColumn="ItemDesc" />
<Mapping SourceColumn="ItemNote" DataSetColumn="ItemNote" />
<Mapping SourceColumn="TotReq" DataSetColumn="TotReq" />
<Mapping SourceColumn="TotCur" DataSetColumn="TotCur" />
<Mapping SourceColumn="MatExtCode" DataSetColumn="MatExtCode" />
<Mapping SourceColumn="MatDesc" DataSetColumn="MatDesc" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IRKSum_getByBin" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBin" GetMethodModifier="Public" GetMethodName="getByBin" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBin" UserSourceName="getByBin">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IRKSum_getByBin</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BinID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FileValidationTableAdapter" GeneratorDataComponentClassName="FileValidationTableAdapter" Name="FileValidation" UserDataComponentName="FileValidationTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.FileValidation" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [FileValidation] WHERE (([ItemExtCode] = @Original_ItemExtCode) AND ([BatchID] = @Original_BatchID) AND ((@IsNull_EvalDate = 1 AND [EvalDate] IS NULL) OR ([EvalDate] = @Original_EvalDate)) AND ([EstimTime] = @Original_EstimTime) AND ([Status] = @Original_Status))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EvalDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EvalDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EvalDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EvalDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_EstimTime" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="EstimTime" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [FileValidation] ([ItemExtCode], [BatchID], [EvalDate], [EstimTime], [Status]) VALUES (@ItemExtCode, @BatchID, @EvalDate, @EstimTime, @Status);
SELECT ItemExtCode, BatchID, EvalDate, EstimTime, Status FROM FileValidation WHERE (ItemExtCode = @ItemExtCode)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EvalDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EvalDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@EstimTime" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="EstimTime" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT * FROM FileValidation</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [FileValidation] SET [ItemExtCode] = @ItemExtCode, [BatchID] = @BatchID, [EvalDate] = @EvalDate, [EstimTime] = @EstimTime, [Status] = @Status WHERE (([ItemExtCode] = @Original_ItemExtCode) AND ([BatchID] = @Original_BatchID) AND ((@IsNull_EvalDate = 1 AND [EvalDate] IS NULL) OR ([EvalDate] = @Original_EvalDate)) AND ([EstimTime] = @Original_EstimTime) AND ([Status] = @Original_Status));
SELECT ItemExtCode, BatchID, EvalDate, EstimTime, Status FROM FileValidation WHERE (ItemExtCode = @ItemExtCode)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EvalDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EvalDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@EstimTime" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="EstimTime" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemExtCode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EvalDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EvalDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EvalDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EvalDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_EstimTime" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="EstimTime" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ItemExtCode" DataSetColumn="ItemExtCode" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="EvalDate" DataSetColumn="EvalDate" />
<Mapping SourceColumn="Status" DataSetColumn="Status" />
<Mapping SourceColumn="EstimTime" DataSetColumn="EstimTime" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_IV_upsertQuery" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="upsertQuery" GetMethodModifier="Public" GetMethodName="upsertQuery" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="upsertQuery" UserSourceName="upsertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="true">
<CommandText>dbo.stp_FV_upsertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ItemExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@EstimTime" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SheetsPreviewTableAdapter" GeneratorDataComponentClassName="SheetsPreviewTableAdapter" Name="SheetsPreview" UserDataComponentName="SheetsPreviewTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_SheetsPreview_getByBatch" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_SheetsPreview_getByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="SheetID" DataSetColumn="SheetID" />
<Mapping SourceColumn="StackIndex" DataSetColumn="StackIndex" />
<Mapping SourceColumn="SheetIndex" DataSetColumn="SheetIndex" />
<Mapping SourceColumn="RunnigWorkTime" DataSetColumn="RunnigWorkTime" />
<Mapping SourceColumn="PrevTime" DataSetColumn="PrevTime" />
<Mapping SourceColumn="NumParts" DataSetColumn="NumParts" />
<Mapping SourceColumn="IsLate" DataSetColumn="IsLate" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrderListTreeTableAdapter" GeneratorDataComponentClassName="OrderListTreeTableAdapter" Name="OrderListTree" UserDataComponentName="OrderListTreeTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_OrderListTree" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM v_OrderListTree</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="EstNumBin" DataSetColumn="EstNumBin" />
<Mapping SourceColumn="EstNumCart" DataSetColumn="EstNumCart" />
<Mapping SourceColumn="EstNumPart" DataSetColumn="EstNumPart" />
<Mapping SourceColumn="EstProcTime" DataSetColumn="EstProcTime" />
<Mapping SourceColumn="TotalTime" DataSetColumn="TotalTime" />
<Mapping SourceColumn="TimeQuota" DataSetColumn="TimeQuota" />
<Mapping SourceColumn="AncestBatchID" DataSetColumn="AncestBatchID" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OLT_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="delete" Modifier="Public" Name="delete" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="delete">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OLT_delete</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_OrdID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OLT_deleteByBatch" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteByBatch" Modifier="Public" Name="deleteByBatch" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="deleteByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OLT_deleteByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OLT_getByBatch" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBatch" GetMethodModifier="Public" GetMethodName="getByBatch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBatch" UserSourceName="getByBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OLT_getByBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OLT_getByBatchTree" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByBatchTree" GetMethodModifier="Public" GetMethodName="getByBatchTree" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByBatchTree" UserSourceName="getByBatchTree">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OLT_getByBatchTree</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OLT_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insert" Modifier="Public" Name="insert" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="insert">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OLT_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@AncestBatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OrdID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@OrderExtCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EstNumBin" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EstNumCart" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EstNumPart" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@EstProcTime" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OLT_setBatchSplit" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="setBatchSplit" Modifier="Public" Name="setBatchSplit" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="setBatchSplit">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OLT_setBatchSplit</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@AncestBatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@SetSplit" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OLT_updateBatch" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateBatch" Modifier="Public" Name="updateBatch" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="updateBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OLT_updateBatch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_OrdID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PlacesTableAdapter" GeneratorDataComponentClassName="PlacesTableAdapter" Name="Places" UserDataComponentName="PlacesTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.Places" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [PLACES] WHERE (([PlaceCod] = @Original_PlaceCod))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlaceCod" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [PLACES] ([PlaceCod], [PlaceDesc], [PlaceCodAncest], [ShowSel]) VALUES (@PlaceCod, @PlaceDesc, @PlaceCodAncest, @ShowSel);
SELECT PlaceCod, PlaceDesc, PlaceCodAncest, ShowSel FROM Places WHERE (PlaceCod = @PlaceCod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlaceCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PlaceDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlaceDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PlaceCodAncest" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlaceCodAncest" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ShowSel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ShowSel" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM PLACES</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [PLACES] SET [PlaceCod] = @PlaceCod, [PlaceDesc] = @PlaceDesc, [PlaceCodAncest] = @PlaceCodAncest, [ShowSel] = @ShowSel WHERE (([PlaceCod] = @Original_PlaceCod));
SELECT PlaceCod, PlaceDesc, PlaceCodAncest, ShowSel FROM Places WHERE (PlaceCod = @PlaceCod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlaceCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PlaceDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlaceDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PlaceCodAncest" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlaceCodAncest" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ShowSel" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ShowSel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlaceCod" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="PlaceCod" DataSetColumn="PlaceCod" />
<Mapping SourceColumn="PlaceDesc" DataSetColumn="PlaceDesc" />
<Mapping SourceColumn="PlaceCodAncest" DataSetColumn="PlaceCodAncest" />
<Mapping SourceColumn="ShowSel" DataSetColumn="ShowSel" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_PLAC_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorGetMethodName="insertQuery" GeneratorSourceName="insert" Modifier="Public" Name="insert" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insert">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PLAC_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StatusLogTableAdapter" GeneratorDataComponentClassName="StatusLogTableAdapter" Name="StatusLog" UserDataComponentName="StatusLogTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.StatusLog" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>select * from StatusLog
</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="PlaceCod" DataSetColumn="PlaceCod" />
<Mapping SourceColumn="StatusID" DataSetColumn="StatusID" />
<Mapping SourceColumn="DtRecord" DataSetColumn="DtRecord" />
<Mapping SourceColumn="Code" DataSetColumn="Code" />
<Mapping SourceColumn="Station" DataSetColumn="Station" />
<Mapping SourceColumn="Payload" DataSetColumn="Payload" />
<Mapping SourceColumn="Duration" DataSetColumn="Duration" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_STALOG_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insert" Modifier="Public" Name="insert" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insert">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_STALOG_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DtRecord" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Station" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Code" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Payload" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@Duration" Precision="18" ProviderType="Decimal" Scale="3" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_STALOG_updateDuration" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateDuration" Modifier="Public" Name="updateDuration" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="updateDuration">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_STALOG_updateDuration</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StatusDecodeTableAdapter" GeneratorDataComponentClassName="StatusDecodeTableAdapter" Name="StatusDecode" UserDataComponentName="StatusDecodeTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.StatusDecode" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [StatusDecode] WHERE (([Station] = @Original_Station) AND ([Code] = @Original_Code))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Station" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Station" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Code" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [StatusDecode] ([Station], [Code], [Descript], [Css]) VALUES (@Station, @Code, @Descript, @Css);
SELECT Station, Code, Descript, Css FROM StatusDecode WHERE (Code = @Code) AND (Station = @Station)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Station" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Station" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Code" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descript" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descript" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Css" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Css" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM StatusDecode
</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [StatusDecode] SET [Station] = @Station, [Code] = @Code, [Descript] = @Descript, [Css] = @Css WHERE (([Station] = @Original_Station) AND ([Code] = @Original_Code));
SELECT Station, Code, Descript, Css FROM StatusDecode WHERE (Code = @Code) AND (Station = @Station)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Station" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Station" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Code" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descript" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descript" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Css" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Css" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Station" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Station" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Code" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Station" DataSetColumn="Station" />
<Mapping SourceColumn="Code" DataSetColumn="Code" />
<Mapping SourceColumn="Descript" DataSetColumn="Descript" />
<Mapping SourceColumn="Css" DataSetColumn="Css" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_STADEC_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insert" Modifier="Public" Name="insert" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insert">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_STADEC_insertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Station" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Code" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UpdManTableAdapter" GeneratorDataComponentClassName="UpdManTableAdapter" Name="UpdMan" UserDataComponentName="UpdManTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.UpdateMan" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [UpdateMan] WHERE (([AppName] = @Original_AppName))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AppName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AppName" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [UpdateMan] ([AppName], [ManifestUrl], [IsAuth], [LocalRepo], [PackName], [LicenseKey]) VALUES (@AppName, @ManifestUrl, @IsAuth, @LocalRepo, @PackName, @LicenseKey);
SELECT AppName, ManifestUrl, IsAuth, LocalRepo, PackName, LicenseKey FROM UpdateMan WHERE (AppName = @AppName)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AppName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AppName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ManifestUrl" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ManifestUrl" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsAuth" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsAuth" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LocalRepo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LocalRepo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PackName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PackName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LicenseKey" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LicenseKey" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM UpdateMan</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [UpdateMan] SET [AppName] = @AppName, [ManifestUrl] = @ManifestUrl, [IsAuth] = @IsAuth, [LocalRepo] = @LocalRepo, [PackName] = @PackName, [LicenseKey] = @LicenseKey WHERE (([AppName] = @Original_AppName));
SELECT AppName, ManifestUrl, IsAuth, LocalRepo, PackName, LicenseKey FROM UpdateMan WHERE (AppName = @AppName)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AppName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AppName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ManifestUrl" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ManifestUrl" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsAuth" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsAuth" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LocalRepo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LocalRepo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PackName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PackName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LicenseKey" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LicenseKey" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AppName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AppName" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="AppName" DataSetColumn="AppName" />
<Mapping SourceColumn="ManifestUrl" DataSetColumn="ManifestUrl" />
<Mapping SourceColumn="IsAuth" DataSetColumn="IsAuth" />
<Mapping SourceColumn="LocalRepo" DataSetColumn="LocalRepo" />
<Mapping SourceColumn="PackName" DataSetColumn="PackName" />
<Mapping SourceColumn="LicenseKey" DataSetColumn="LicenseKey" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SheetStatsTableAdapter" GeneratorDataComponentClassName="SheetStatsTableAdapter" Name="SheetStats" UserDataComponentName="SheetStatsTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.SheetStats" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [SheetStats] WHERE (([BatchID] = @Original_BatchID) AND ([SheetIndex] = @Original_SheetIndex))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SheetIndex" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SheetIndex" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [SheetStats] ([BatchID], [SheetIndex], [MatID], [WorkArea], [TotalArea], [NumParts], [NumPainted]) VALUES (@BatchID, @SheetIndex, @MatID, @WorkArea, @TotalArea, @NumParts, @NumPainted);
SELECT BatchID, SheetIndex, MatID, WorkArea, TotalArea, NumParts, NumPainted FROM SheetStats WHERE (BatchID = @BatchID) AND (SheetIndex = @SheetIndex)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SheetIndex" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SheetIndex" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@WorkArea" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="WorkArea" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalArea" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="TotalArea" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumParts" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumParts" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumPainted" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumPainted" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM SheetStats</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [SheetStats] SET [BatchID] = @BatchID, [SheetIndex] = @SheetIndex, [MatID] = @MatID, [WorkArea] = @WorkArea, [TotalArea] = @TotalArea, [NumParts] = @NumParts, [NumPainted] = @NumPainted WHERE (([BatchID] = @Original_BatchID) AND ([SheetIndex] = @Original_SheetIndex));
SELECT BatchID, SheetIndex, MatID, WorkArea, TotalArea, NumParts, NumPainted FROM SheetStats WHERE (BatchID = @BatchID) AND (SheetIndex = @SheetIndex)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SheetIndex" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SheetIndex" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MatID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@WorkArea" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="WorkArea" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalArea" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="TotalArea" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumParts" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumParts" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumPainted" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumPainted" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SheetIndex" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SheetIndex" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="SheetIndex" DataSetColumn="SheetIndex" />
<Mapping SourceColumn="MatID" DataSetColumn="MatID" />
<Mapping SourceColumn="WorkArea" DataSetColumn="WorkArea" />
<Mapping SourceColumn="TotalArea" DataSetColumn="TotalArea" />
<Mapping SourceColumn="NumParts" DataSetColumn="NumParts" />
<Mapping SourceColumn="NumPainted" DataSetColumn="NumPainted" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_SheetStat_resetQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetBatch" Modifier="Public" Name="resetBatch" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="resetBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_SheetStat_resetQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_SheetStat_upsertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="upsertQuery" Modifier="Public" Name="upsertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="upsertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_SheetStat_upsertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SheetIndex" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MatID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="numeric" DbType="Decimal" Direction="Input" ParameterName="@WorkArea" Precision="18" ProviderType="Decimal" Scale="3" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="numeric" DbType="Decimal" Direction="Input" ParameterName="@TotalArea" Precision="18" ProviderType="Decimal" Scale="3" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@NumParts" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@NumPainted" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BatchStatsTableAdapter" GeneratorDataComponentClassName="BatchStatsTableAdapter" Name="BatchStats" UserDataComponentName="BatchStatsTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.BatchStats" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [BatchStats] WHERE (([BatchID] = @Original_BatchID))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [BatchStats] ([BatchID], [Takt], [AvgYeld], [TotalArea], [NumMat], [NumSheets], [NumModel], [NumKit], [NumParts], [NumPainted], [PlaceCod]) VALUES (@BatchID, @Takt, @AvgYeld, @TotalArea, @NumMat, @NumSheets, @NumModel, @NumKit, @NumParts, @NumPainted, @PlaceCod);
SELECT BatchID, Takt, AvgYeld, TotalArea, NumMat, NumSheets, NumModel, NumKit, NumParts, NumPainted, PlaceCod FROM BatchStats WHERE (BatchID = @BatchID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Takt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Takt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@AvgYeld" Precision="18" ProviderType="Decimal" Scale="9" Size="0" SourceColumn="AvgYeld" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalArea" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="TotalArea" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumMat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumMat" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumSheets" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumSheets" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumModel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumModel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumKit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumKit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumParts" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumParts" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumPainted" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumPainted" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlaceCod" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT BatchID, Takt, AvgYeld, TotalArea, NumMat, NumSheets, NumModel, NumKit, NumParts, NumPainted FROM BatchStats</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [BatchStats] SET [BatchID] = @BatchID, [Takt] = @Takt, [AvgYeld] = @AvgYeld, [TotalArea] = @TotalArea, [NumMat] = @NumMat, [NumSheets] = @NumSheets, [NumModel] = @NumModel, [NumKit] = @NumKit, [NumParts] = @NumParts, [NumPainted] = @NumPainted, [PlaceCod] = @PlaceCod WHERE (([BatchID] = @Original_BatchID));
SELECT BatchID, Takt, AvgYeld, TotalArea, NumMat, NumSheets, NumModel, NumKit, NumParts, NumPainted, PlaceCod FROM BatchStats WHERE (BatchID = @BatchID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Takt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Takt" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@AvgYeld" Precision="18" ProviderType="Decimal" Scale="9" Size="0" SourceColumn="AvgYeld" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotalArea" Precision="18" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="TotalArea" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumMat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumMat" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumSheets" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumSheets" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumModel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumModel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumKit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumKit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumParts" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumParts" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumPainted" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumPainted" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PlaceCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlaceCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BatchID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BatchID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="Takt" DataSetColumn="Takt" />
<Mapping SourceColumn="AvgYeld" DataSetColumn="AvgYeld" />
<Mapping SourceColumn="TotalArea" DataSetColumn="TotalArea" />
<Mapping SourceColumn="NumMat" DataSetColumn="NumMat" />
<Mapping SourceColumn="NumSheets" DataSetColumn="NumSheets" />
<Mapping SourceColumn="NumModel" DataSetColumn="NumModel" />
<Mapping SourceColumn="NumKit" DataSetColumn="NumKit" />
<Mapping SourceColumn="NumParts" DataSetColumn="NumParts" />
<Mapping SourceColumn="NumPainted" DataSetColumn="NumPainted" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_BatchStat_getLast" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getLast" GetMethodModifier="Public" GetMethodName="getLast" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getLast" UserSourceName="getLast">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BatchStat_getLast</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ShowMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_BatchStat_refresh" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="refresh" Modifier="Public" Name="refresh" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="refresh">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_BatchStat_refresh</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductionStatsDayTableAdapter" GeneratorDataComponentClassName="ProductionStatsDayTableAdapter" Name="ProductionStatsDay" UserDataComponentName="ProductionStatsDayTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.ProductionStatsDay" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM ProductionStatsDay</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="PlaceCod" DataSetColumn="PlaceCod" />
<Mapping SourceColumn="DataRif" DataSetColumn="DataRif" />
<Mapping SourceColumn="DataOraRif" DataSetColumn="DataOraRif" />
<Mapping SourceColumn="ItmProd" DataSetColumn="ItmProd" />
<Mapping SourceColumn="ItmScrap" DataSetColumn="ItmScrap" />
<Mapping SourceColumn="MinRun" DataSetColumn="MinRun" />
<Mapping SourceColumn="MinDisp" DataSetColumn="MinDisp" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PlantListTableAdapter" GeneratorDataComponentClassName="PlantListTableAdapter" Name="PlantList" UserDataComponentName="PlantListTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.PlantList" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [PlantList] WHERE (([PlantCod] = @Original_PlantCod))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PlantCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlantCod" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [PlantList] ([PlantCod], [PlantDescr]) VALUES (@PlantCod, @PlantDescr);
SELECT PlantCod, PlantDescr FROM PlantList WHERE (PlantCod = @PlantCod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PlantCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlantCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PlantDescr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlantDescr" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT * FROM PlantList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [PlantList] SET [PlantCod] = @PlantCod, [PlantDescr] = @PlantDescr WHERE (([PlantCod] = @Original_PlantCod));
SELECT PlantCod, PlantDescr FROM PlantList WHERE (PlantCod = @PlantCod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PlantCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlantCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PlantDescr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlantDescr" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PlantCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PlantCod" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="PlantCod" DataSetColumn="PlantCod" />
<Mapping SourceColumn="PlantDescr" DataSetColumn="PlantDescr" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Plant_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Plant_delete</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_PlantCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Plant_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Plant_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlantCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlantDescr" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Plant_update" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Plant_update</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlantCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PlantDescr" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_PlantCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SpecialPartsTableAdapter" GeneratorDataComponentClassName="SpecialPartsTableAdapter" Name="SpecialParts" UserDataComponentName="SpecialPartsTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.SpecialParts" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [SpecialParts] WHERE (([SpecPartCod] = @Original_SpecPartCod))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SpecPartCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SpecPartCod" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [SpecialParts] ([SpecPartCod], [ModelCod], [SpecPartDescr], [CartCode]) VALUES (@SpecPartCod, @ModelCod, @SpecPartDescr, @CartCode);
SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (SpecPartCod = @SpecPartCod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SpecPartCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SpecPartCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ModelCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ModelCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SpecPartDescr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SpecPartDescr" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CartCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CartCode" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM SpecialParts</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [SpecialParts] SET [SpecPartCod] = @SpecPartCod, [ModelCod] = @ModelCod, [SpecPartDescr] = @SpecPartDescr, [CartCode] = @CartCode WHERE (([SpecPartCod] = @Original_SpecPartCod));
SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (SpecPartCod = @SpecPartCod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SpecPartCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SpecPartCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ModelCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ModelCod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SpecPartDescr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SpecPartDescr" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CartCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CartCode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SpecPartCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SpecPartCod" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="SpecPartCod" DataSetColumn="SpecPartCod" />
<Mapping SourceColumn="ModelCod" DataSetColumn="ModelCod" />
<Mapping SourceColumn="SpecPartDescr" DataSetColumn="SpecPartDescr" />
<Mapping SourceColumn="CartCode" DataSetColumn="CartCode" />
</Mappings>
<Sources>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_SpecPart_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_SpecPart_delete</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_SpecPartCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_SpecPart_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_SpecPart_insert</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@SpecPartCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ModelCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@SpecPartDescr" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CartCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_SpecPart_update" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_SpecPart_update</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@SpecPartCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ModelCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@SpecPartDescr" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CartCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_SpecPartCod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrderSearchTableAdapter" GeneratorDataComponentClassName="OrderSearchTableAdapter" Name="OrderSearch" UserDataComponentName="OrderSearchTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_OrderSearch" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="true">
<CommandText>dbo.stp_OrderSearch</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodOrder" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodModel" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodPart" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="MODEL" DataSetColumn="MODEL" />
<Mapping SourceColumn="FRAME_QTY" DataSetColumn="FRAME_QTY" />
<Mapping SourceColumn="MRP_PART" DataSetColumn="MRP_PART" />
<Mapping SourceColumn="QTY" DataSetColumn="QTY" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DS_App" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DS_App" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_App">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="BatchList" msprop:Generator_RowEvHandlerName="BatchListRowChangeEventHandler" msprop:Generator_RowDeletedName="BatchListRowDeleted" msprop:Generator_RowDeletingName="BatchListRowDeleting" msprop:Generator_RowEvArgName="BatchListRowChangeEvent" msprop:Generator_TablePropName="BatchList" msprop:Generator_RowChangedName="BatchListRowChanged" msprop:Generator_UserTableName="BatchList" msprop:Generator_RowChangingName="BatchListRowChanging" msprop:Generator_RowClassName="BatchListRow" msprop:Generator_TableClassName="BatchListDataTable" msprop:Generator_TableVarName="tableBatchList">
<xs:complexType>
<xs:sequence>
<xs:element name="BatchID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="Takt" msprop:Generator_ColumnPropNameInTable="TaktColumn" msprop:Generator_ColumnPropNameInRow="Takt" msprop:Generator_UserColumnName="Takt" msprop:Generator_ColumnVarNameInTable="columnTakt">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_UserColumnName="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" type="xs:dateTime" />
<xs:element name="NestingReq" msprop:Generator_ColumnPropNameInTable="NestingReqColumn" msprop:Generator_ColumnPropNameInRow="NestingReq" msprop:Generator_UserColumnName="NestingReq" msprop:Generator_ColumnVarNameInTable="columnNestingReq" type="xs:dateTime" minOccurs="0" />
<xs:element name="NestingResp" msprop:Generator_ColumnPropNameInTable="NestingRespColumn" msprop:Generator_ColumnPropNameInRow="NestingResp" msprop:Generator_UserColumnName="NestingResp" msprop:Generator_ColumnVarNameInTable="columnNestingResp" type="xs:dateTime" minOccurs="0" />
<xs:element name="STATUS" msprop:Generator_ColumnPropNameInTable="STATUSColumn" msprop:Generator_ColumnPropNameInRow="STATUS" msprop:Generator_UserColumnName="STATUS" msprop:Generator_ColumnVarNameInTable="columnSTATUS" type="xs:int" />
<xs:element name="Position" msprop:Generator_ColumnPropNameInTable="PositionColumn" msprop:Generator_ColumnPropNameInRow="Position" msprop:Generator_UserColumnName="Position" msprop:Generator_ColumnVarNameInTable="columnPosition" type="xs:int" />
<xs:element name="TotalTime" msprop:Generator_ColumnPropNameInTable="TotalTimeColumn" msprop:Generator_ColumnPropNameInRow="TotalTime" msprop:Generator_UserColumnName="TotalTime" msprop:Generator_ColumnVarNameInTable="columnTotalTime" type="xs:decimal" />
<xs:element name="ApprovDate" msprop:Generator_ColumnPropNameInTable="ApprovDateColumn" msprop:Generator_ColumnPropNameInRow="ApprovDate" msprop:Generator_UserColumnName="ApprovDate" msprop:Generator_ColumnVarNameInTable="columnApprovDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="ApprovUser" msprop:Generator_ColumnPropNameInTable="ApprovUserColumn" msprop:Generator_ColumnPropNameInRow="ApprovUser" msprop:Generator_UserColumnName="ApprovUser" msprop:Generator_ColumnVarNameInTable="columnApprovUser">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="EnvNum" msprop:Generator_ColumnPropNameInTable="EnvNumColumn" msprop:Generator_ColumnPropNameInRow="EnvNum" msprop:Generator_UserColumnName="EnvNum" msprop:Generator_ColumnVarNameInTable="columnEnvNum">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SchedStatus" msprop:Generator_ColumnPropNameInTable="SchedStatusColumn" msprop:Generator_ColumnPropNameInRow="SchedStatus" msprop:Generator_UserColumnName="SchedStatus" msprop:Generator_ColumnVarNameInTable="columnSchedStatus" type="xs:int" />
<xs:element name="SchedPrior" msprop:Generator_ColumnPropNameInTable="SchedPriorColumn" msprop:Generator_ColumnPropNameInRow="SchedPrior" msprop:Generator_UserColumnName="SchedPrior" msprop:Generator_ColumnVarNameInTable="columnSchedPrior" type="xs:int" />
<xs:element name="NumErrPre" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumErrPreColumn" msprop:Generator_ColumnPropNameInRow="NumErrPre" msprop:Generator_UserColumnName="NumErrPre" msprop:Generator_ColumnVarNameInTable="columnNumErrPre" type="xs:int" minOccurs="0" />
<xs:element name="NumErr" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumErrColumn" msprop:Generator_ColumnPropNameInRow="NumErr" msprop:Generator_UserColumnName="NumErr" msprop:Generator_ColumnVarNameInTable="columnNumErr" type="xs:int" minOccurs="0" />
<xs:element name="NumOrders" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumOrdersColumn" msprop:Generator_ColumnPropNameInRow="NumOrders" msprop:Generator_UserColumnName="NumOrders" msprop:Generator_ColumnVarNameInTable="columnNumOrders" type="xs:int" minOccurs="0" />
<xs:element name="NumItems" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumItemsColumn" msprop:Generator_ColumnPropNameInRow="NumItems" msprop:Generator_UserColumnName="NumItems" msprop:Generator_ColumnVarNameInTable="columnNumItems" type="xs:int" minOccurs="0" />
<xs:element name="NumStacks" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumStacksColumn" msprop:Generator_ColumnPropNameInRow="NumStacks" msprop:Generator_UserColumnName="NumStacks" msprop:Generator_ColumnVarNameInTable="columnNumStacks" type="xs:int" minOccurs="0" />
<xs:element name="NumSheets" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumSheetsColumn" msprop:Generator_ColumnPropNameInRow="NumSheets" msprop:Generator_UserColumnName="NumSheets" msprop:Generator_ColumnVarNameInTable="columnNumSheets" type="xs:int" minOccurs="0" />
<xs:element name="Errors" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="ErrorsColumn" msprop:Generator_ColumnPropNameInRow="Errors" msprop:Generator_UserColumnName="Errors" msprop:Generator_ColumnVarNameInTable="columnErrors" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BatchType" msprop:Generator_ColumnPropNameInTable="BatchTypeColumn" msprop:Generator_ColumnPropNameInRow="BatchType" msprop:Generator_UserColumnName="BatchType" msprop:Generator_ColumnVarNameInTable="columnBatchType" type="xs:int" />
<xs:element name="PlaceCod" msprop:Generator_ColumnPropNameInTable="PlaceCodColumn" msprop:Generator_ColumnPropNameInRow="PlaceCod" msprop:Generator_UserColumnName="PlaceCod" msprop:Generator_ColumnVarNameInTable="columnPlaceCod">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StackList" msprop:Generator_RowEvHandlerName="StackListRowChangeEventHandler" msprop:Generator_RowDeletedName="StackListRowDeleted" msprop:Generator_RowDeletingName="StackListRowDeleting" msprop:Generator_RowEvArgName="StackListRowChangeEvent" msprop:Generator_TablePropName="StackList" msprop:Generator_RowChangedName="StackListRowChanged" msprop:Generator_UserTableName="StackList" msprop:Generator_RowChangingName="StackListRowChanging" msprop:Generator_RowClassName="StackListRow" msprop:Generator_TableClassName="StackListDataTable" msprop:Generator_TableVarName="tableStackList">
<xs:complexType>
<xs:sequence>
<xs:element name="StackID" msprop:Generator_ColumnPropNameInTable="StackIDColumn" msprop:Generator_ColumnPropNameInRow="StackID" msprop:Generator_UserColumnName="StackID" msprop:Generator_ColumnVarNameInTable="columnStackID" type="xs:int" />
<xs:element name="StackIndex" msprop:Generator_ColumnPropNameInTable="StackIndexColumn" msprop:Generator_ColumnPropNameInRow="StackIndex" msprop:Generator_UserColumnName="StackIndex" msprop:Generator_ColumnVarNameInTable="columnStackIndex" type="xs:int" />
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="Position" msprop:Generator_ColumnPropNameInTable="PositionColumn" msprop:Generator_ColumnPropNameInRow="Position" msprop:Generator_UserColumnName="Position" msprop:Generator_ColumnVarNameInTable="columnPosition" type="xs:int" />
<xs:element name="StackDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="StackDtmxColumn" msprop:Generator_ColumnPropNameInRow="StackDtmx" msprop:Generator_UserColumnName="StackDtmx" msprop:Generator_ColumnVarNameInTable="columnStackDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumSheets" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumSheetsColumn" msprop:Generator_ColumnPropNameInRow="NumSheets" msprop:Generator_UserColumnName="NumSheets" msprop:Generator_ColumnVarNameInTable="columnNumSheets" type="xs:int" minOccurs="0" />
<xs:element name="NumSheetsPrepared" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumSheetsPreparedColumn" msprop:Generator_ColumnPropNameInRow="NumSheetsPrepared" msprop:Generator_UserColumnName="NumSheetsPrepared" msprop:Generator_ColumnVarNameInTable="columnNumSheetsPrepared" type="xs:int" minOccurs="0" />
<xs:element name="NumSheetsPrinted" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumSheetsPrintedColumn" msprop:Generator_ColumnPropNameInRow="NumSheetsPrinted" msprop:Generator_UserColumnName="NumSheetsPrinted" msprop:Generator_ColumnVarNameInTable="columnNumSheetsPrinted" type="xs:int" minOccurs="0" />
<xs:element name="NumSheetsWorking" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumSheetsWorkingColumn" msprop:Generator_ColumnPropNameInRow="NumSheetsWorking" msprop:Generator_UserColumnName="NumSheetsWorking" msprop:Generator_ColumnVarNameInTable="columnNumSheetsWorking" type="xs:int" minOccurs="0" />
<xs:element name="NumSheetsWorked" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumSheetsWorkedColumn" msprop:Generator_ColumnPropNameInRow="NumSheetsWorked" msprop:Generator_UserColumnName="NumSheetsWorked" msprop:Generator_ColumnVarNameInTable="columnNumSheetsWorked" type="xs:int" minOccurs="0" />
<xs:element name="NumSheetsUnloaded" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumSheetsUnloadedColumn" msprop:Generator_ColumnPropNameInRow="NumSheetsUnloaded" msprop:Generator_UserColumnName="NumSheetsUnloaded" msprop:Generator_ColumnVarNameInTable="columnNumSheetsUnloaded" type="xs:int" minOccurs="0" />
<xs:element name="NumSheetsToRedo" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumSheetsToRedoColumn" msprop:Generator_ColumnPropNameInRow="NumSheetsToRedo" msprop:Generator_UserColumnName="NumSheetsToRedo" msprop:Generator_ColumnVarNameInTable="columnNumSheetsToRedo" type="xs:int" minOccurs="0" />
<xs:element name="NumItems" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumItemsColumn" msprop:Generator_ColumnPropNameInRow="NumItems" msprop:Generator_UserColumnName="NumItems" msprop:Generator_ColumnVarNameInTable="columnNumItems" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SheetList" msprop:Generator_RowEvHandlerName="SheetListRowChangeEventHandler" msprop:Generator_RowDeletedName="SheetListRowDeleted" msprop:Generator_RowDeletingName="SheetListRowDeleting" msprop:Generator_RowEvArgName="SheetListRowChangeEvent" msprop:Generator_TablePropName="SheetList" msprop:Generator_RowChangedName="SheetListRowChanged" msprop:Generator_UserTableName="SheetList" msprop:Generator_RowChangingName="SheetListRowChanging" msprop:Generator_RowClassName="SheetListRow" msprop:Generator_TableClassName="SheetListDataTable" msprop:Generator_TableVarName="tableSheetList">
<xs:complexType>
<xs:sequence>
<xs:element name="SheetID" msprop:Generator_ColumnPropNameInTable="SheetIDColumn" msprop:Generator_ColumnPropNameInRow="SheetID" msprop:Generator_UserColumnName="SheetID" msprop:Generator_ColumnVarNameInTable="columnSheetID" type="xs:int" />
<xs:element name="StackID" msprop:Generator_ColumnPropNameInTable="StackIDColumn" msprop:Generator_ColumnPropNameInRow="StackID" msprop:Generator_UserColumnName="StackID" msprop:Generator_ColumnVarNameInTable="columnStackID" type="xs:int" />
<xs:element name="ShStatus" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="ShStatusColumn" msprop:Generator_ColumnPropNameInRow="ShStatus" msprop:Generator_UserColumnName="ShStatus" msprop:Generator_ColumnVarNameInTable="columnShStatus" type="xs:int" minOccurs="0" />
<xs:element name="StackIndex" msprop:Generator_ColumnPropNameInTable="StackIndexColumn" msprop:Generator_ColumnPropNameInRow="StackIndex" msprop:Generator_UserColumnName="StackIndex" msprop:Generator_ColumnVarNameInTable="columnStackIndex" type="xs:int" />
<xs:element name="SheetIndex" msprop:Generator_ColumnPropNameInTable="SheetIndexColumn" msprop:Generator_ColumnPropNameInRow="SheetIndex" msprop:Generator_UserColumnName="SheetIndex" msprop:Generator_ColumnVarNameInTable="columnSheetIndex" type="xs:int" />
<xs:element name="IsNext" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="IsNextColumn" msprop:Generator_ColumnPropNameInRow="IsNext" msprop:Generator_UserColumnName="IsNext" msprop:Generator_ColumnVarNameInTable="columnIsNext" type="xs:int" minOccurs="0" />
<xs:element name="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_UserColumnName="MatID" msprop:Generator_ColumnVarNameInTable="columnMatID" type="xs:int" />
<xs:element name="WrkTimeEst" msprop:Generator_ColumnPropNameInTable="WrkTimeEstColumn" msprop:Generator_ColumnPropNameInRow="WrkTimeEst" msprop:Generator_UserColumnName="WrkTimeEst" msprop:Generator_ColumnVarNameInTable="columnWrkTimeEst" type="xs:decimal" />
<xs:element name="WrkTimeReal" msprop:Generator_ColumnPropNameInTable="WrkTimeRealColumn" msprop:Generator_ColumnPropNameInRow="WrkTimeReal" msprop:Generator_UserColumnName="WrkTimeReal" msprop:Generator_ColumnVarNameInTable="columnWrkTimeReal" type="xs:decimal" />
<xs:element name="Prepared" msprop:Generator_ColumnPropNameInTable="PreparedColumn" msprop:Generator_ColumnPropNameInRow="Prepared" msprop:Generator_UserColumnName="Prepared" msprop:Generator_ColumnVarNameInTable="columnPrepared" type="xs:dateTime" minOccurs="0" />
<xs:element name="PrntStart" msprop:Generator_ColumnPropNameInTable="PrntStartColumn" msprop:Generator_ColumnPropNameInRow="PrntStart" msprop:Generator_UserColumnName="PrntStart" msprop:Generator_ColumnVarNameInTable="columnPrntStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="PrntEnd" msprop:Generator_ColumnPropNameInTable="PrntEndColumn" msprop:Generator_ColumnPropNameInRow="PrntEnd" msprop:Generator_UserColumnName="PrntEnd" msprop:Generator_ColumnVarNameInTable="columnPrntEnd" type="xs:dateTime" minOccurs="0" />
<xs:element name="WrkStart" msprop:Generator_ColumnPropNameInTable="WrkStartColumn" msprop:Generator_ColumnPropNameInRow="WrkStart" msprop:Generator_UserColumnName="WrkStart" msprop:Generator_ColumnVarNameInTable="columnWrkStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="WrkEnd" msprop:Generator_ColumnPropNameInTable="WrkEndColumn" msprop:Generator_ColumnPropNameInRow="WrkEnd" msprop:Generator_UserColumnName="WrkEnd" msprop:Generator_ColumnVarNameInTable="columnWrkEnd" type="xs:dateTime" minOccurs="0" />
<xs:element name="UnlStart" msprop:Generator_ColumnPropNameInTable="UnlStartColumn" msprop:Generator_ColumnPropNameInRow="UnlStart" msprop:Generator_UserColumnName="UnlStart" msprop:Generator_ColumnVarNameInTable="columnUnlStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="UnlEnd" msprop:Generator_ColumnPropNameInTable="UnlEndColumn" msprop:Generator_ColumnPropNameInRow="UnlEnd" msprop:Generator_UserColumnName="UnlEnd" msprop:Generator_ColumnVarNameInTable="columnUnlEnd" type="xs:dateTime" minOccurs="0" />
<xs:element name="RemnantID" msprop:Generator_ColumnPropNameInTable="RemnantIDColumn" msprop:Generator_ColumnPropNameInRow="RemnantID" msprop:Generator_UserColumnName="RemnantID" msprop:Generator_ColumnVarNameInTable="columnRemnantID" type="xs:int" minOccurs="0" />
<xs:element name="PrintFilePath" msprop:Generator_ColumnPropNameInTable="PrintFilePathColumn" msprop:Generator_ColumnPropNameInRow="PrintFilePath" msprop:Generator_UserColumnName="PrintFilePath" msprop:Generator_ColumnVarNameInTable="columnPrintFilePath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CncFilePath" msprop:Generator_ColumnPropNameInTable="CncFilePathColumn" msprop:Generator_ColumnPropNameInRow="CncFilePath" msprop:Generator_UserColumnName="CncFilePath" msprop:Generator_ColumnVarNameInTable="columnCncFilePath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DrawFilePath" msprop:Generator_ColumnPropNameInTable="DrawFilePathColumn" msprop:Generator_ColumnPropNameInRow="DrawFilePath" msprop:Generator_UserColumnName="DrawFilePath" msprop:Generator_ColumnVarNameInTable="columnDrawFilePath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MatExtCode" msprop:Generator_ColumnPropNameInTable="MatExtCodeColumn" msprop:Generator_ColumnPropNameInRow="MatExtCode" msprop:Generator_UserColumnName="MatExtCode" msprop:Generator_ColumnVarNameInTable="columnMatExtCode" type="xs:int" />
<xs:element name="MatDesc" msprop:Generator_ColumnPropNameInTable="MatDescColumn" msprop:Generator_ColumnPropNameInRow="MatDesc" msprop:Generator_UserColumnName="MatDesc" msprop:Generator_ColumnVarNameInTable="columnMatDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="L_mm" msprop:Generator_ColumnPropNameInTable="L_mmColumn" msprop:Generator_ColumnPropNameInRow="L_mm" msprop:Generator_UserColumnName="L_mm" msprop:Generator_ColumnVarNameInTable="columnL_mm" type="xs:decimal" />
<xs:element name="W_mm" msprop:Generator_ColumnPropNameInTable="W_mmColumn" msprop:Generator_ColumnPropNameInRow="W_mm" msprop:Generator_UserColumnName="W_mm" msprop:Generator_ColumnVarNameInTable="columnW_mm" type="xs:decimal" />
<xs:element name="T_mm" msprop:Generator_ColumnPropNameInTable="T_mmColumn" msprop:Generator_ColumnPropNameInRow="T_mm" msprop:Generator_UserColumnName="T_mm" msprop:Generator_ColumnVarNameInTable="columnT_mm" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OrderList" msprop:Generator_RowEvHandlerName="OrderListRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderListRowDeleted" msprop:Generator_RowDeletingName="OrderListRowDeleting" msprop:Generator_RowEvArgName="OrderListRowChangeEvent" msprop:Generator_TablePropName="OrderList" msprop:Generator_RowChangedName="OrderListRowChanged" msprop:Generator_UserTableName="OrderList" msprop:Generator_RowChangingName="OrderListRowChanging" msprop:Generator_RowClassName="OrderListRow" msprop:Generator_TableClassName="OrderListDataTable" msprop:Generator_TableVarName="tableOrderList">
<xs:complexType>
<xs:sequence>
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" />
<xs:element name="OrdType" msprop:Generator_ColumnPropNameInTable="OrdTypeColumn" msprop:Generator_ColumnPropNameInRow="OrdType" msprop:Generator_UserColumnName="OrdType" msprop:Generator_ColumnVarNameInTable="columnOrdType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DestPlant" msprop:Generator_ColumnPropNameInTable="DestPlantColumn" msprop:Generator_ColumnPropNameInRow="DestPlant" msprop:Generator_UserColumnName="DestPlant" msprop:Generator_ColumnVarNameInTable="columnDestPlant">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FamilyCode" msprop:Generator_ColumnPropNameInTable="FamilyCodeColumn" msprop:Generator_ColumnPropNameInRow="FamilyCode" msprop:Generator_UserColumnName="FamilyCode" msprop:Generator_ColumnVarNameInTable="columnFamilyCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrdDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="OrdDtmxColumn" msprop:Generator_ColumnPropNameInRow="OrdDtmx" msprop:Generator_UserColumnName="OrdDtmx" msprop:Generator_ColumnVarNameInTable="columnOrdDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrderDesc" msprop:Generator_ColumnPropNameInTable="OrderDescColumn" msprop:Generator_ColumnPropNameInRow="OrderDesc" msprop:Generator_UserColumnName="OrderDesc" msprop:Generator_ColumnVarNameInTable="columnOrderDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrderNote" msprop:Generator_ColumnPropNameInTable="OrderNoteColumn" msprop:Generator_ColumnPropNameInRow="OrderNote" msprop:Generator_UserColumnName="OrderNote" msprop:Generator_ColumnVarNameInTable="columnOrderNote">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KitQty" msprop:Generator_ColumnPropNameInTable="KitQtyColumn" msprop:Generator_ColumnPropNameInRow="KitQty" msprop:Generator_UserColumnName="KitQty" msprop:Generator_ColumnVarNameInTable="columnKitQty" type="xs:int" />
<xs:element name="ImportDate" msprop:Generator_ColumnPropNameInTable="ImportDateColumn" msprop:Generator_ColumnPropNameInRow="ImportDate" msprop:Generator_UserColumnName="ImportDate" msprop:Generator_ColumnVarNameInTable="columnImportDate" type="xs:dateTime" />
<xs:element name="ImportUser" msprop:Generator_ColumnPropNameInTable="ImportUserColumn" msprop:Generator_ColumnPropNameInRow="ImportUser" msprop:Generator_UserColumnName="ImportUser" msprop:Generator_ColumnVarNameInTable="columnImportUser">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrdCodOrig" msprop:Generator_ColumnPropNameInTable="OrdCodOrigColumn" msprop:Generator_ColumnPropNameInRow="OrdCodOrig" msprop:Generator_UserColumnName="OrdCodOrig" msprop:Generator_ColumnVarNameInTable="columnOrdCodOrig" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KittingDate" msprop:Generator_ColumnPropNameInTable="KittingDateColumn" msprop:Generator_ColumnPropNameInRow="KittingDate" msprop:Generator_UserColumnName="KittingDate" msprop:Generator_ColumnVarNameInTable="columnKittingDate" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ItemList" msprop:Generator_RowEvHandlerName="ItemListRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemListRowDeleted" msprop:Generator_RowDeletingName="ItemListRowDeleting" msprop:Generator_RowEvArgName="ItemListRowChangeEvent" msprop:Generator_TablePropName="ItemList" msprop:Generator_RowChangedName="ItemListRowChanged" msprop:Generator_UserTableName="ItemList" msprop:Generator_RowChangingName="ItemListRowChanging" msprop:Generator_RowClassName="ItemListRow" msprop:Generator_TableClassName="ItemListDataTable" msprop:Generator_TableVarName="tableItemList">
<xs:complexType>
<xs:sequence>
<xs:element name="ItemID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="ItemIDColumn" msprop:Generator_ColumnPropNameInRow="ItemID" msprop:Generator_UserColumnName="ItemID" msprop:Generator_ColumnVarNameInTable="columnItemID" type="xs:int" />
<xs:element name="StatusID" msprop:Generator_ColumnPropNameInTable="StatusIDColumn" msprop:Generator_ColumnPropNameInRow="StatusID" msprop:Generator_UserColumnName="StatusID" msprop:Generator_ColumnVarNameInTable="columnStatusID" type="xs:int" />
<xs:element name="KitID" msprop:Generator_ColumnPropNameInTable="KitIDColumn" msprop:Generator_ColumnPropNameInRow="KitID" msprop:Generator_UserColumnName="KitID" msprop:Generator_ColumnVarNameInTable="columnKitID" type="xs:int" minOccurs="0" />
<xs:element name="ItemDtmx" msprop:Generator_ColumnPropNameInTable="ItemDtmxColumn" msprop:Generator_ColumnPropNameInRow="ItemDtmx" msprop:Generator_UserColumnName="ItemDtmx" msprop:Generator_ColumnVarNameInTable="columnItemDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_UserColumnName="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemDesc" msprop:Generator_ColumnPropNameInTable="ItemDescColumn" msprop:Generator_ColumnPropNameInRow="ItemDesc" msprop:Generator_UserColumnName="ItemDesc" msprop:Generator_ColumnVarNameInTable="columnItemDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemNote" msprop:Generator_ColumnPropNameInTable="ItemNoteColumn" msprop:Generator_ColumnPropNameInRow="ItemNote" msprop:Generator_UserColumnName="ItemNote" msprop:Generator_ColumnVarNameInTable="columnItemNote">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemQty" msprop:Generator_ColumnPropNameInTable="ItemQtyColumn" msprop:Generator_ColumnPropNameInRow="ItemQty" msprop:Generator_UserColumnName="ItemQty" msprop:Generator_ColumnVarNameInTable="columnItemQty" type="xs:int" />
<xs:element name="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_UserColumnName="MatID" msprop:Generator_ColumnVarNameInTable="columnMatID" type="xs:int" />
<xs:element name="MachiningReq" msprop:Generator_ColumnPropNameInTable="MachiningReqColumn" msprop:Generator_ColumnPropNameInRow="MachiningReq" msprop:Generator_UserColumnName="MachiningReq" msprop:Generator_ColumnVarNameInTable="columnMachiningReq" type="xs:boolean" />
<xs:element name="PostProcList" msprop:Generator_ColumnPropNameInTable="PostProcListColumn" msprop:Generator_ColumnPropNameInRow="PostProcList" msprop:Generator_UserColumnName="PostProcList" msprop:Generator_ColumnVarNameInTable="columnPostProcList">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProcessesReq" msprop:Generator_ColumnPropNameInTable="ProcessesReqColumn" msprop:Generator_ColumnPropNameInRow="ProcessesReq" msprop:Generator_UserColumnName="ProcessesReq" msprop:Generator_ColumnVarNameInTable="columnProcessesReq">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CadFilePath" msprop:Generator_ColumnPropNameInTable="CadFilePathColumn" msprop:Generator_ColumnPropNameInRow="CadFilePath" msprop:Generator_UserColumnName="CadFilePath" msprop:Generator_ColumnVarNameInTable="columnCadFilePath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PdfFilePath" msprop:Generator_ColumnPropNameInTable="PdfFilePathColumn" msprop:Generator_ColumnPropNameInRow="PdfFilePath" msprop:Generator_UserColumnName="PdfFilePath" msprop:Generator_ColumnVarNameInTable="columnPdfFilePath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OnCartDate" msprop:Generator_ColumnPropNameInTable="OnCartDateColumn" msprop:Generator_ColumnPropNameInRow="OnCartDate" msprop:Generator_UserColumnName="OnCartDate" msprop:Generator_ColumnVarNameInTable="columnOnCartDate" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Materials" msprop:Generator_RowEvHandlerName="MaterialsRowChangeEventHandler" msprop:Generator_RowDeletedName="MaterialsRowDeleted" msprop:Generator_RowDeletingName="MaterialsRowDeleting" msprop:Generator_RowEvArgName="MaterialsRowChangeEvent" msprop:Generator_TablePropName="Materials" msprop:Generator_RowChangedName="MaterialsRowChanged" msprop:Generator_UserTableName="Materials" msprop:Generator_RowChangingName="MaterialsRowChanging" msprop:Generator_RowClassName="MaterialsRow" msprop:Generator_TableClassName="MaterialsDataTable" msprop:Generator_TableVarName="tableMaterials">
<xs:complexType>
<xs:sequence>
<xs:element name="MatID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_UserColumnName="MatID" msprop:Generator_ColumnVarNameInTable="columnMatID" type="xs:int" />
<xs:element name="MatExtCode" msprop:Generator_ColumnPropNameInTable="MatExtCodeColumn" msprop:Generator_ColumnPropNameInRow="MatExtCode" msprop:Generator_UserColumnName="MatExtCode" msprop:Generator_ColumnVarNameInTable="columnMatExtCode" type="xs:int" />
<xs:element name="MatDesc" msprop:Generator_ColumnPropNameInTable="MatDescColumn" msprop:Generator_ColumnPropNameInRow="MatDesc" msprop:Generator_UserColumnName="MatDesc" msprop:Generator_ColumnVarNameInTable="columnMatDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ApprovDate" msprop:Generator_ColumnPropNameInTable="ApprovDateColumn" msprop:Generator_ColumnPropNameInRow="ApprovDate" msprop:Generator_UserColumnName="ApprovDate" msprop:Generator_ColumnVarNameInTable="columnApprovDate" type="xs:dateTime" />
<xs:element name="ApprovUser" msprop:Generator_ColumnPropNameInTable="ApprovUserColumn" msprop:Generator_ColumnPropNameInRow="ApprovUser" msprop:Generator_UserColumnName="ApprovUser" msprop:Generator_ColumnVarNameInTable="columnApprovUser">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="L_mm" msprop:Generator_ColumnPropNameInTable="L_mmColumn" msprop:Generator_ColumnPropNameInRow="L_mm" msprop:Generator_UserColumnName="L_mm" msprop:Generator_ColumnVarNameInTable="columnL_mm" type="xs:decimal" />
<xs:element name="W_mm" msprop:Generator_ColumnPropNameInTable="W_mmColumn" msprop:Generator_ColumnPropNameInRow="W_mm" msprop:Generator_UserColumnName="W_mm" msprop:Generator_ColumnVarNameInTable="columnW_mm" type="xs:decimal" />
<xs:element name="T_mm" msprop:Generator_ColumnPropNameInTable="T_mmColumn" msprop:Generator_ColumnPropNameInRow="T_mm" msprop:Generator_UserColumnName="T_mm" msprop:Generator_ColumnVarNameInTable="columnT_mm" type="xs:decimal" />
<xs:element name="MatDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="MatDtmxColumn" msprop:Generator_ColumnPropNameInRow="MatDtmx" msprop:Generator_UserColumnName="MatDtmx" msprop:Generator_ColumnVarNameInTable="columnMatDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Bins" msprop:Generator_RowEvHandlerName="BinsRowChangeEventHandler" msprop:Generator_RowDeletedName="BinsRowDeleted" msprop:Generator_RowDeletingName="BinsRowDeleting" msprop:Generator_RowEvArgName="BinsRowChangeEvent" msprop:Generator_TablePropName="Bins" msprop:Generator_RowChangedName="BinsRowChanged" msprop:Generator_UserTableName="Bins" msprop:Generator_RowChangingName="BinsRowChanging" msprop:Generator_RowClassName="BinsRow" msprop:Generator_TableClassName="BinsDataTable" msprop:Generator_TableVarName="tableBins">
<xs:complexType>
<xs:sequence>
<xs:element name="BinID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="BinIDColumn" msprop:Generator_ColumnPropNameInRow="BinID" msprop:Generator_UserColumnName="BinID" msprop:Generator_ColumnVarNameInTable="columnBinID" type="xs:int" />
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="ItemID" msprop:Generator_ColumnPropNameInTable="ItemIDColumn" msprop:Generator_ColumnPropNameInRow="ItemID" msprop:Generator_UserColumnName="ItemID" msprop:Generator_ColumnVarNameInTable="columnItemID" type="xs:int" />
<xs:element name="BinIndex" msprop:Generator_ColumnPropNameInTable="BinIndexColumn" msprop:Generator_ColumnPropNameInRow="BinIndex" msprop:Generator_UserColumnName="BinIndex" msprop:Generator_ColumnVarNameInTable="columnBinIndex" type="xs:int" />
<xs:element name="BinDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinDtmxColumn" msprop:Generator_ColumnPropNameInRow="BinDtmx" msprop:Generator_UserColumnName="BinDtmx" msprop:Generator_ColumnVarNameInTable="columnBinDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BinDtmxProc" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinDtmxProcColumn" msprop:Generator_ColumnPropNameInRow="BinDtmxProc" msprop:Generator_UserColumnName="BinDtmxProc" msprop:Generator_ColumnVarNameInTable="columnBinDtmxProc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CreationDate" msprop:Generator_ColumnPropNameInTable="CreationDateColumn" msprop:Generator_ColumnPropNameInRow="CreationDate" msprop:Generator_UserColumnName="CreationDate" msprop:Generator_ColumnVarNameInTable="columnCreationDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="TotItem" msprop:Generator_ColumnPropNameInTable="TotItemColumn" msprop:Generator_ColumnPropNameInRow="TotItem" msprop:Generator_UserColumnName="TotItem" msprop:Generator_ColumnVarNameInTable="columnTotItem" type="xs:int" />
<xs:element name="TotItemLoad" msprop:Generator_ColumnPropNameInTable="TotItemLoadColumn" msprop:Generator_ColumnPropNameInRow="TotItemLoad" msprop:Generator_UserColumnName="TotItemLoad" msprop:Generator_ColumnVarNameInTable="columnTotItemLoad" type="xs:int" />
<xs:element name="PaintDate" msprop:Generator_ColumnPropNameInTable="PaintDateColumn" msprop:Generator_ColumnPropNameInRow="PaintDate" msprop:Generator_UserColumnName="PaintDate" msprop:Generator_ColumnVarNameInTable="columnPaintDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="KittingStart" msprop:Generator_ColumnPropNameInTable="KittingStartColumn" msprop:Generator_ColumnPropNameInRow="KittingStart" msprop:Generator_UserColumnName="KittingStart" msprop:Generator_ColumnVarNameInTable="columnKittingStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="KittingEnd" msprop:Generator_ColumnPropNameInTable="KittingEndColumn" msprop:Generator_ColumnPropNameInRow="KittingEnd" msprop:Generator_UserColumnName="KittingEnd" msprop:Generator_ColumnVarNameInTable="columnKittingEnd" type="xs:dateTime" minOccurs="0" />
<xs:element name="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_UserColumnName="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemDesc" msprop:Generator_ColumnPropNameInTable="ItemDescColumn" msprop:Generator_ColumnPropNameInRow="ItemDesc" msprop:Generator_UserColumnName="ItemDesc" msprop:Generator_ColumnVarNameInTable="columnItemDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MatExtCode" msprop:Generator_ColumnPropNameInTable="MatExtCodeColumn" msprop:Generator_ColumnPropNameInRow="MatExtCode" msprop:Generator_UserColumnName="MatExtCode" msprop:Generator_ColumnVarNameInTable="columnMatExtCode" type="xs:int" />
<xs:element name="MatDesc" msprop:Generator_ColumnPropNameInTable="MatDescColumn" msprop:Generator_ColumnPropNameInRow="MatDesc" msprop:Generator_UserColumnName="MatDesc" msprop:Generator_ColumnVarNameInTable="columnMatDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KitExtCode" msprop:Generator_ColumnPropNameInTable="KitExtCodeColumn" msprop:Generator_ColumnPropNameInRow="KitExtCode" msprop:Generator_UserColumnName="KitExtCode" msprop:Generator_ColumnVarNameInTable="columnKitExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_UserColumnName="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" type="xs:dateTime" />
<xs:element name="Fillup" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="FillupColumn" msprop:Generator_ColumnPropNameInRow="Fillup" msprop:Generator_UserColumnName="Fillup" msprop:Generator_ColumnVarNameInTable="columnFillup" type="xs:int" minOccurs="0" />
<xs:element name="Complete" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CompleteColumn" msprop:Generator_ColumnPropNameInRow="Complete" msprop:Generator_UserColumnName="Complete" msprop:Generator_ColumnVarNameInTable="columnComplete" type="xs:int" minOccurs="0" />
<xs:element name="Painted" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="PaintedColumn" msprop:Generator_ColumnPropNameInRow="Painted" msprop:Generator_UserColumnName="Painted" msprop:Generator_ColumnVarNameInTable="columnPainted" type="xs:int" minOccurs="0" />
<xs:element name="Kitting" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="KittingColumn" msprop:Generator_ColumnPropNameInRow="Kitting" msprop:Generator_UserColumnName="Kitting" msprop:Generator_ColumnVarNameInTable="columnKitting" type="xs:int" minOccurs="0" />
<xs:element name="Kitted" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="KittedColumn" msprop:Generator_ColumnPropNameInRow="Kitted" msprop:Generator_UserColumnName="Kitted" msprop:Generator_ColumnVarNameInTable="columnKitted" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carts" msprop:Generator_RowEvHandlerName="CartsRowChangeEventHandler" msprop:Generator_RowDeletedName="CartsRowDeleted" msprop:Generator_RowDeletingName="CartsRowDeleting" msprop:Generator_RowEvArgName="CartsRowChangeEvent" msprop:Generator_TablePropName="Carts" msprop:Generator_RowChangedName="CartsRowChanged" msprop:Generator_UserTableName="Carts" msprop:Generator_RowChangingName="CartsRowChanging" msprop:Generator_RowClassName="CartsRow" msprop:Generator_TableClassName="CartsDataTable" msprop:Generator_TableVarName="tableCarts">
<xs:complexType>
<xs:sequence>
<xs:element name="CartID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" />
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_UserColumnName="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" type="xs:int" />
<xs:element name="CartDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CreationDate" msprop:Generator_ColumnPropNameInTable="CreationDateColumn" msprop:Generator_ColumnPropNameInRow="CreationDate" msprop:Generator_UserColumnName="CreationDate" msprop:Generator_ColumnVarNameInTable="columnCreationDate" type="xs:dateTime" />
<xs:element name="TotItem" msprop:Generator_ColumnPropNameInTable="TotItemColumn" msprop:Generator_ColumnPropNameInRow="TotItem" msprop:Generator_UserColumnName="TotItem" msprop:Generator_ColumnVarNameInTable="columnTotItem" type="xs:int" minOccurs="0" />
<xs:element name="TotItemLoad" msprop:Generator_ColumnPropNameInTable="TotItemLoadColumn" msprop:Generator_ColumnPropNameInRow="TotItemLoad" msprop:Generator_UserColumnName="TotItemLoad" msprop:Generator_ColumnVarNameInTable="columnTotItemLoad" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OfflineOrderList" msprop:Generator_RowEvHandlerName="OfflineOrderListRowChangeEventHandler" msprop:Generator_RowDeletedName="OfflineOrderListRowDeleted" msprop:Generator_RowDeletingName="OfflineOrderListRowDeleting" msprop:Generator_RowEvArgName="OfflineOrderListRowChangeEvent" msprop:Generator_TablePropName="OfflineOrderList" msprop:Generator_RowChangedName="OfflineOrderListRowChanged" msprop:Generator_UserTableName="OfflineOrderList" msprop:Generator_RowChangingName="OfflineOrderListRowChanging" msprop:Generator_RowClassName="OfflineOrderListRow" msprop:Generator_TableClassName="OfflineOrderListDataTable" msprop:Generator_TableVarName="tableOfflineOrderList">
<xs:complexType>
<xs:sequence>
<xs:element name="OrdID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" />
<xs:element name="CreationDate" msprop:Generator_ColumnPropNameInTable="CreationDateColumn" msprop:Generator_ColumnPropNameInRow="CreationDate" msprop:Generator_UserColumnName="CreationDate" msprop:Generator_ColumnVarNameInTable="columnCreationDate" type="xs:dateTime" />
<xs:element name="OrdStatus" msprop:Generator_ColumnPropNameInTable="OrdStatusColumn" msprop:Generator_ColumnPropNameInRow="OrdStatus" msprop:Generator_UserColumnName="OrdStatus" msprop:Generator_ColumnVarNameInTable="columnOrdStatus" type="xs:int" />
<xs:element name="StatusDesc" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="StatusDescColumn" msprop:Generator_ColumnPropNameInRow="StatusDesc" msprop:Generator_UserColumnName="StatusDesc" msprop:Generator_ColumnVarNameInTable="columnStatusDesc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="9" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumItems" msprop:Generator_ColumnPropNameInTable="NumItemsColumn" msprop:Generator_ColumnPropNameInRow="NumItems" msprop:Generator_UserColumnName="NumItems" msprop:Generator_ColumnVarNameInTable="columnNumItems" type="xs:int" minOccurs="0" />
<xs:element name="DrawFilePath" msprop:Generator_ColumnPropNameInTable="DrawFilePathColumn" msprop:Generator_ColumnPropNameInRow="DrawFilePath" msprop:Generator_UserColumnName="DrawFilePath" msprop:Generator_ColumnVarNameInTable="columnDrawFilePath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CncFilePath" msprop:Generator_ColumnPropNameInTable="CncFilePathColumn" msprop:Generator_ColumnPropNameInRow="CncFilePath" msprop:Generator_UserColumnName="CncFilePath" msprop:Generator_ColumnVarNameInTable="columnCncFilePath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OffOrd2Item" msprop:Generator_RowEvHandlerName="OffOrd2ItemRowChangeEventHandler" msprop:Generator_RowDeletedName="OffOrd2ItemRowDeleted" msprop:Generator_RowDeletingName="OffOrd2ItemRowDeleting" msprop:Generator_RowEvArgName="OffOrd2ItemRowChangeEvent" msprop:Generator_TablePropName="OffOrd2Item" msprop:Generator_RowChangedName="OffOrd2ItemRowChanged" msprop:Generator_UserTableName="OffOrd2Item" msprop:Generator_RowChangingName="OffOrd2ItemRowChanging" msprop:Generator_RowClassName="OffOrd2ItemRow" msprop:Generator_TableClassName="OffOrd2ItemDataTable" msprop:Generator_TableVarName="tableOffOrd2Item">
<xs:complexType>
<xs:sequence>
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" />
<xs:element name="ItemID" msprop:Generator_ColumnPropNameInTable="ItemIDColumn" msprop:Generator_ColumnPropNameInRow="ItemID" msprop:Generator_UserColumnName="ItemID" msprop:Generator_ColumnVarNameInTable="columnItemID" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="KitList" msprop:Generator_RowEvHandlerName="KitListRowChangeEventHandler" msprop:Generator_RowDeletedName="KitListRowDeleted" msprop:Generator_RowDeletingName="KitListRowDeleting" msprop:Generator_RowEvArgName="KitListRowChangeEvent" msprop:Generator_TablePropName="KitList" msprop:Generator_RowChangedName="KitListRowChanged" msprop:Generator_UserTableName="KitList" msprop:Generator_RowChangingName="KitListRowChanging" msprop:Generator_RowClassName="KitListRow" msprop:Generator_TableClassName="KitListDataTable" msprop:Generator_TableVarName="tableKitList">
<xs:complexType>
<xs:sequence>
<xs:element name="KitID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="KitIDColumn" msprop:Generator_ColumnPropNameInRow="KitID" msprop:Generator_UserColumnName="KitID" msprop:Generator_ColumnVarNameInTable="columnKitID" type="xs:int" />
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" />
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" />
<xs:element name="KitExtCode" msprop:Generator_ColumnPropNameInTable="KitExtCodeColumn" msprop:Generator_ColumnPropNameInRow="KitExtCode" msprop:Generator_UserColumnName="KitExtCode" msprop:Generator_ColumnVarNameInTable="columnKitExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Nesting" msprop:Generator_RowEvHandlerName="NestingRowChangeEventHandler" msprop:Generator_RowDeletedName="NestingRowDeleted" msprop:Generator_RowDeletingName="NestingRowDeleting" msprop:Generator_RowEvArgName="NestingRowChangeEvent" msprop:Generator_TablePropName="Nesting" msprop:Generator_RowChangedName="NestingRowChanged" msprop:Generator_UserTableName="Nesting" msprop:Generator_RowChangingName="NestingRowChanging" msprop:Generator_RowClassName="NestingRow" msprop:Generator_TableClassName="NestingDataTable" msprop:Generator_TableVarName="tableNesting">
<xs:complexType>
<xs:sequence>
<xs:element name="SheetID" msprop:Generator_ColumnPropNameInTable="SheetIDColumn" msprop:Generator_ColumnPropNameInRow="SheetID" msprop:Generator_UserColumnName="SheetID" msprop:Generator_ColumnVarNameInTable="columnSheetID" type="xs:int" />
<xs:element name="ItemID" msprop:Generator_ColumnPropNameInTable="ItemIDColumn" msprop:Generator_ColumnPropNameInRow="ItemID" msprop:Generator_UserColumnName="ItemID" msprop:Generator_ColumnVarNameInTable="columnItemID" type="xs:int" />
<xs:element name="QtyNest" msprop:Generator_ColumnPropNameInTable="QtyNestColumn" msprop:Generator_ColumnPropNameInRow="QtyNest" msprop:Generator_UserColumnName="QtyNest" msprop:Generator_ColumnVarNameInTable="columnQtyNest" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ImportLog" msprop:Generator_RowEvHandlerName="ImportLogRowChangeEventHandler" msprop:Generator_RowDeletedName="ImportLogRowDeleted" msprop:Generator_RowDeletingName="ImportLogRowDeleting" msprop:Generator_RowEvArgName="ImportLogRowChangeEvent" msprop:Generator_TablePropName="ImportLog" msprop:Generator_RowChangedName="ImportLogRowChanged" msprop:Generator_UserTableName="ImportLog" msprop:Generator_RowChangingName="ImportLogRowChanging" msprop:Generator_RowClassName="ImportLogRow" msprop:Generator_TableClassName="ImportLogDataTable" msprop:Generator_TableVarName="tableImportLog">
<xs:complexType>
<xs:sequence>
<xs:element name="NumLog" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="NumLogColumn" msprop:Generator_ColumnPropNameInRow="NumLog" msprop:Generator_UserColumnName="NumLog" msprop:Generator_ColumnVarNameInTable="columnNumLog" type="xs:int" />
<xs:element name="NumTicket" msprop:Generator_ColumnPropNameInTable="NumTicketColumn" msprop:Generator_ColumnPropNameInRow="NumTicket" msprop:Generator_UserColumnName="NumTicket" msprop:Generator_ColumnVarNameInTable="columnNumTicket" type="xs:int" />
<xs:element name="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_UserColumnName="Data" msprop:Generator_ColumnVarNameInTable="columnData" type="xs:dateTime" />
<xs:element name="StpName" msprop:Generator_ColumnPropNameInTable="StpNameColumn" msprop:Generator_ColumnPropNameInRow="StpName" msprop:Generator_UserColumnName="StpName" msprop:Generator_ColumnVarNameInTable="columnStpName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_UserColumnName="Note" msprop:Generator_ColumnVarNameInTable="columnNote">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IsOk" msprop:Generator_ColumnPropNameInTable="IsOkColumn" msprop:Generator_ColumnPropNameInRow="IsOk" msprop:Generator_UserColumnName="IsOk" msprop:Generator_ColumnVarNameInTable="columnIsOk" type="xs:boolean" />
<xs:element name="Command" msprop:Generator_ColumnPropNameInTable="CommandColumn" msprop:Generator_ColumnPropNameInRow="Command" msprop:Generator_UserColumnName="Command" msprop:Generator_ColumnVarNameInTable="columnCommand">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BinList" msprop:Generator_RowEvHandlerName="BinListRowChangeEventHandler" msprop:Generator_RowDeletedName="BinListRowDeleted" msprop:Generator_RowDeletingName="BinListRowDeleting" msprop:Generator_RowEvArgName="BinListRowChangeEvent" msprop:Generator_TablePropName="BinList" msprop:Generator_RowChangedName="BinListRowChanged" msprop:Generator_UserTableName="BinList" msprop:Generator_RowChangingName="BinListRowChanging" msprop:Generator_RowClassName="BinListRow" msprop:Generator_TableClassName="BinListDataTable" msprop:Generator_TableVarName="tableBinList">
<xs:complexType>
<xs:sequence>
<xs:element name="BinID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="BinIDColumn" msprop:Generator_ColumnPropNameInRow="BinID" msprop:Generator_UserColumnName="BinID" msprop:Generator_ColumnVarNameInTable="columnBinID" type="xs:int" />
<xs:element name="ItemID" msprop:Generator_ColumnPropNameInTable="ItemIDColumn" msprop:Generator_ColumnPropNameInRow="ItemID" msprop:Generator_UserColumnName="ItemID" msprop:Generator_ColumnVarNameInTable="columnItemID" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FinalKit" msprop:Generator_RowEvHandlerName="FinalKitRowChangeEventHandler" msprop:Generator_RowDeletedName="FinalKitRowDeleted" msprop:Generator_RowDeletingName="FinalKitRowDeleting" msprop:Generator_RowEvArgName="FinalKitRowChangeEvent" msprop:Generator_TablePropName="FinalKit" msprop:Generator_RowChangedName="FinalKitRowChanged" msprop:Generator_UserTableName="FinalKit" msprop:Generator_RowChangingName="FinalKitRowChanging" msprop:Generator_RowClassName="FinalKitRow" msprop:Generator_TableClassName="FinalKitDataTable" msprop:Generator_TableVarName="tableFinalKit">
<xs:complexType>
<xs:sequence>
<xs:element name="FinalKitID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="FinalKitIDColumn" msprop:Generator_ColumnPropNameInRow="FinalKitID" msprop:Generator_UserColumnName="FinalKitID" msprop:Generator_ColumnVarNameInTable="columnFinalKitID" type="xs:int" />
<xs:element name="FinalKitExtCode" msprop:Generator_ColumnPropNameInTable="FinalKitExtCodeColumn" msprop:Generator_ColumnPropNameInRow="FinalKitExtCode" msprop:Generator_UserColumnName="FinalKitExtCode" msprop:Generator_ColumnVarNameInTable="columnFinalKitExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_UserColumnName="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Order2FinalKit" msprop:Generator_RowEvHandlerName="Order2FinalKitRowChangeEventHandler" msprop:Generator_RowDeletedName="Order2FinalKitRowDeleted" msprop:Generator_RowDeletingName="Order2FinalKitRowDeleting" msprop:Generator_RowEvArgName="Order2FinalKitRowChangeEvent" msprop:Generator_TablePropName="Order2FinalKit" msprop:Generator_RowChangedName="Order2FinalKitRowChanged" msprop:Generator_UserTableName="Order2FinalKit" msprop:Generator_RowChangingName="Order2FinalKitRowChanging" msprop:Generator_RowClassName="Order2FinalKitRow" msprop:Generator_TableClassName="Order2FinalKitDataTable" msprop:Generator_TableVarName="tableOrder2FinalKit">
<xs:complexType>
<xs:sequence>
<xs:element name="FinalKitID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="FinalKitIDColumn" msprop:Generator_ColumnPropNameInRow="FinalKitID" msprop:Generator_UserColumnName="FinalKitID" msprop:Generator_ColumnVarNameInTable="columnFinalKitID" type="xs:int" />
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Counters" msprop:Generator_RowEvHandlerName="CountersRowChangeEventHandler" msprop:Generator_RowDeletedName="CountersRowDeleted" msprop:Generator_RowDeletingName="CountersRowDeleting" msprop:Generator_RowEvArgName="CountersRowChangeEvent" msprop:Generator_TablePropName="Counters" msprop:Generator_RowChangedName="CountersRowChanged" msprop:Generator_UserTableName="Counters" msprop:Generator_RowChangingName="CountersRowChanging" msprop:Generator_RowClassName="CountersRow" msprop:Generator_TableClassName="CountersDataTable" msprop:Generator_TableVarName="tableCounters">
<xs:complexType>
<xs:sequence>
<xs:element name="CountType" msprop:Generator_ColumnPropNameInTable="CountTypeColumn" msprop:Generator_ColumnPropNameInRow="CountType" msprop:Generator_UserColumnName="CountType" msprop:Generator_ColumnVarNameInTable="columnCountType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PCode" msprop:Generator_ColumnPropNameInTable="PCodeColumn" msprop:Generator_ColumnPropNameInRow="PCode" msprop:Generator_UserColumnName="PCode" msprop:Generator_ColumnVarNameInTable="columnPCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LastNum" msprop:Generator_ColumnPropNameInTable="LastNumColumn" msprop:Generator_ColumnPropNameInRow="LastNum" msprop:Generator_UserColumnName="LastNum" msprop:Generator_ColumnVarNameInTable="columnLastNum" type="xs:int" />
<xs:element name="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ErrorsLog" msprop:Generator_RowEvHandlerName="ErrorsLogRowChangeEventHandler" msprop:Generator_RowDeletedName="ErrorsLogRowDeleted" msprop:Generator_RowDeletingName="ErrorsLogRowDeleting" msprop:Generator_RowEvArgName="ErrorsLogRowChangeEvent" msprop:Generator_TablePropName="ErrorsLog" msprop:Generator_RowChangedName="ErrorsLogRowChanged" msprop:Generator_UserTableName="ErrorsLog" msprop:Generator_RowChangingName="ErrorsLogRowChanging" msprop:Generator_RowClassName="ErrorsLogRow" msprop:Generator_TableClassName="ErrorsLogDataTable" msprop:Generator_TableVarName="tableErrorsLog">
<xs:complexType>
<xs:sequence>
<xs:element name="ErrID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="ErrIDColumn" msprop:Generator_ColumnPropNameInRow="ErrID" msprop:Generator_UserColumnName="ErrID" msprop:Generator_ColumnVarNameInTable="columnErrID" type="xs:int" />
<xs:element name="DtRif" msprop:Generator_ColumnPropNameInTable="DtRifColumn" msprop:Generator_ColumnPropNameInRow="DtRif" msprop:Generator_UserColumnName="DtRif" msprop:Generator_ColumnVarNameInTable="columnDtRif" type="xs:dateTime" />
<xs:element name="ErrType" msprop:Generator_ColumnPropNameInTable="ErrTypeColumn" msprop:Generator_ColumnPropNameInRow="ErrType" msprop:Generator_UserColumnName="ErrType" msprop:Generator_ColumnVarNameInTable="columnErrType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ParentUid" msprop:Generator_ColumnPropNameInTable="ParentUidColumn" msprop:Generator_ColumnPropNameInRow="ParentUid" msprop:Generator_UserColumnName="ParentUid" msprop:Generator_ColumnVarNameInTable="columnParentUid">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Uid" msprop:Generator_ColumnPropNameInTable="UidColumn" msprop:Generator_ColumnPropNameInRow="Uid" msprop:Generator_UserColumnName="Uid" msprop:Generator_ColumnVarNameInTable="columnUid">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ItemValidation" msprop:Generator_RowEvHandlerName="ItemValidationRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemValidationRowDeleted" msprop:Generator_RowDeletingName="ItemValidationRowDeleting" msprop:Generator_RowEvArgName="ItemValidationRowChangeEvent" msprop:Generator_TablePropName="ItemValidation" msprop:Generator_RowChangedName="ItemValidationRowChanged" msprop:Generator_UserTableName="ItemValidation" msprop:Generator_RowChangingName="ItemValidationRowChanging" msprop:Generator_RowClassName="ItemValidationRow" msprop:Generator_TableClassName="ItemValidationDataTable" msprop:Generator_TableVarName="tableItemValidation">
<xs:complexType>
<xs:sequence>
<xs:element name="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_UserColumnName="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="EvalDate" msprop:Generator_ColumnPropNameInTable="EvalDateColumn" msprop:Generator_ColumnPropNameInRow="EvalDate" msprop:Generator_UserColumnName="EvalDate" msprop:Generator_ColumnVarNameInTable="columnEvalDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PartValidPareto" msprop:Generator_RowEvHandlerName="PartValidParetoRowChangeEventHandler" msprop:Generator_RowDeletedName="PartValidParetoRowDeleted" msprop:Generator_RowDeletingName="PartValidParetoRowDeleting" msprop:Generator_RowEvArgName="PartValidParetoRowChangeEvent" msprop:Generator_TablePropName="PartValidPareto" msprop:Generator_RowChangedName="PartValidParetoRowChanged" msprop:Generator_UserTableName="PartValidPareto" msprop:Generator_RowChangingName="PartValidParetoRowChanging" msprop:Generator_RowClassName="PartValidParetoRow" msprop:Generator_TableClassName="PartValidParetoDataTable" msprop:Generator_TableVarName="tablePartValidPareto">
<xs:complexType>
<xs:sequence>
<xs:element name="TotParts" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="TotPartsColumn" msprop:Generator_ColumnPropNameInRow="TotParts" msprop:Generator_UserColumnName="TotParts" msprop:Generator_ColumnVarNameInTable="columnTotParts" type="xs:int" minOccurs="0" />
<xs:element name="QtyUnkn" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="QtyUnknColumn" msprop:Generator_ColumnPropNameInRow="QtyUnkn" msprop:Generator_UserColumnName="QtyUnkn" msprop:Generator_ColumnVarNameInTable="columnQtyUnkn" type="xs:int" minOccurs="0" />
<xs:element name="QtyKo" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="QtyKoColumn" msprop:Generator_ColumnPropNameInRow="QtyKo" msprop:Generator_UserColumnName="QtyKo" msprop:Generator_ColumnVarNameInTable="columnQtyKo" type="xs:int" minOccurs="0" />
<xs:element name="QtyOk" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="QtyOkColumn" msprop:Generator_ColumnPropNameInRow="QtyOk" msprop:Generator_UserColumnName="QtyOk" msprop:Generator_ColumnVarNameInTable="columnQtyOk" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadStats" msprop:Generator_RowEvHandlerName="UnloadStatsRowChangeEventHandler" msprop:Generator_RowDeletedName="UnloadStatsRowDeleted" msprop:Generator_RowDeletingName="UnloadStatsRowDeleting" msprop:Generator_RowEvArgName="UnloadStatsRowChangeEvent" msprop:Generator_TablePropName="UnloadStats" msprop:Generator_RowChangedName="UnloadStatsRowChanged" msprop:Generator_UserTableName="UnloadStats" msprop:Generator_RowChangingName="UnloadStatsRowChanging" msprop:Generator_RowClassName="UnloadStatsRow" msprop:Generator_TableClassName="UnloadStatsDataTable" msprop:Generator_TableVarName="tableUnloadStats">
<xs:complexType>
<xs:sequence>
<xs:element name="Stat" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="StatColumn" msprop:Generator_ColumnPropNameInRow="Stat" msprop:Generator_UserColumnName="Stat" msprop:Generator_ColumnVarNameInTable="columnStat" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Total" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="TotalColumn" msprop:Generator_ColumnPropNameInRow="Total" msprop:Generator_UserColumnName="Total" msprop:Generator_ColumnVarNameInTable="columnTotal" type="xs:int" minOccurs="0" />
<xs:element name="Wait" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="WaitColumn" msprop:Generator_ColumnPropNameInRow="Wait" msprop:Generator_UserColumnName="Wait" msprop:Generator_ColumnVarNameInTable="columnWait" type="xs:int" minOccurs="0" />
<xs:element name="Wip" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="WipColumn" msprop:Generator_ColumnPropNameInRow="Wip" msprop:Generator_UserColumnName="Wip" msprop:Generator_ColumnVarNameInTable="columnWip" type="xs:int" minOccurs="0" />
<xs:element name="Done" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="DoneColumn" msprop:Generator_ColumnPropNameInRow="Done" msprop:Generator_UserColumnName="Done" msprop:Generator_ColumnVarNameInTable="columnDone" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Remnants" msprop:Generator_RowEvHandlerName="RemnantsRowChangeEventHandler" msprop:Generator_RowDeletedName="RemnantsRowDeleted" msprop:Generator_RowDeletingName="RemnantsRowDeleting" msprop:Generator_RowEvArgName="RemnantsRowChangeEvent" msprop:Generator_TablePropName="Remnants" msprop:Generator_RowChangedName="RemnantsRowChanged" msprop:Generator_UserTableName="Remnants" msprop:Generator_RowChangingName="RemnantsRowChanging" msprop:Generator_RowClassName="RemnantsRow" msprop:Generator_TableClassName="RemnantsDataTable" msprop:Generator_TableVarName="tableRemnants">
<xs:complexType>
<xs:sequence>
<xs:element name="RemnantID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="RemnantIDColumn" msprop:Generator_ColumnPropNameInRow="RemnantID" msprop:Generator_UserColumnName="RemnantID" msprop:Generator_ColumnVarNameInTable="columnRemnantID" type="xs:int" />
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_UserColumnName="MatID" msprop:Generator_ColumnVarNameInTable="columnMatID" type="xs:int" />
<xs:element name="SheetID" msprop:Generator_ColumnPropNameInTable="SheetIDColumn" msprop:Generator_ColumnPropNameInRow="SheetID" msprop:Generator_UserColumnName="SheetID" msprop:Generator_ColumnVarNameInTable="columnSheetID" type="xs:int" />
<xs:element name="DimX" msprop:Generator_ColumnPropNameInTable="DimXColumn" msprop:Generator_ColumnPropNameInRow="DimX" msprop:Generator_UserColumnName="DimX" msprop:Generator_ColumnVarNameInTable="columnDimX" type="xs:decimal" />
<xs:element name="DimY" msprop:Generator_ColumnPropNameInTable="DimYColumn" msprop:Generator_ColumnPropNameInRow="DimY" msprop:Generator_UserColumnName="DimY" msprop:Generator_ColumnVarNameInTable="columnDimY" type="xs:decimal" />
<xs:element name="Available" msprop:Generator_ColumnPropNameInTable="AvailableColumn" msprop:Generator_ColumnPropNameInRow="Available" msprop:Generator_UserColumnName="Available" msprop:Generator_ColumnVarNameInTable="columnAvailable" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CartOnKit" msprop:Generator_RowEvHandlerName="CartOnKitRowChangeEventHandler" msprop:Generator_RowDeletedName="CartOnKitRowDeleted" msprop:Generator_RowDeletingName="CartOnKitRowDeleting" msprop:Generator_RowEvArgName="CartOnKitRowChangeEvent" msprop:Generator_TablePropName="CartOnKit" msprop:Generator_RowChangedName="CartOnKitRowChanged" msprop:Generator_UserTableName="CartOnKit" msprop:Generator_RowChangingName="CartOnKitRowChanging" msprop:Generator_RowClassName="CartOnKitRow" msprop:Generator_TableClassName="CartOnKitDataTable" msprop:Generator_TableVarName="tableCartOnKit">
<xs:complexType>
<xs:sequence>
<xs:element name="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" />
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" minOccurs="0" />
<xs:element name="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_UserColumnName="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" type="xs:int" />
<xs:element name="CartDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CreationDate" msprop:Generator_ColumnPropNameInTable="CreationDateColumn" msprop:Generator_ColumnPropNameInRow="CreationDate" msprop:Generator_UserColumnName="CreationDate" msprop:Generator_ColumnVarNameInTable="columnCreationDate" type="xs:dateTime" />
<xs:element name="KittingStart" msprop:Generator_ColumnPropNameInTable="KittingStartColumn" msprop:Generator_ColumnPropNameInRow="KittingStart" msprop:Generator_UserColumnName="KittingStart" msprop:Generator_ColumnVarNameInTable="columnKittingStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="KittingEnd" msprop:Generator_ColumnPropNameInTable="KittingEndColumn" msprop:Generator_ColumnPropNameInRow="KittingEnd" msprop:Generator_UserColumnName="KittingEnd" msprop:Generator_ColumnVarNameInTable="columnKittingEnd" type="xs:dateTime" minOccurs="0" />
<xs:element name="TotItem" msprop:Generator_ColumnPropNameInTable="TotItemColumn" msprop:Generator_ColumnPropNameInRow="TotItem" msprop:Generator_UserColumnName="TotItem" msprop:Generator_ColumnVarNameInTable="columnTotItem" type="xs:int" />
<xs:element name="TotItemCart" msprop:Generator_ColumnPropNameInTable="TotItemCartColumn" msprop:Generator_ColumnPropNameInRow="TotItemCart" msprop:Generator_UserColumnName="TotItemCart" msprop:Generator_ColumnVarNameInTable="columnTotItemCart" type="xs:int" />
<xs:element name="TotItemBinReq" msprop:Generator_ColumnPropNameInTable="TotItemBinReqColumn" msprop:Generator_ColumnPropNameInRow="TotItemBinReq" msprop:Generator_UserColumnName="TotItemBinReq" msprop:Generator_ColumnVarNameInTable="columnTotItemBinReq" type="xs:int" />
<xs:element name="NumPzBinAvail" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumPzBinAvailColumn" msprop:Generator_ColumnPropNameInRow="NumPzBinAvail" msprop:Generator_UserColumnName="NumPzBinAvail" msprop:Generator_ColumnVarNameInTable="columnNumPzBinAvail" type="xs:int" minOccurs="0" />
<xs:element name="NumPzWaiting" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumPzWaitingColumn" msprop:Generator_ColumnPropNameInRow="NumPzWaiting" msprop:Generator_UserColumnName="NumPzWaiting" msprop:Generator_ColumnVarNameInTable="columnNumPzWaiting" type="xs:int" minOccurs="0" />
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DestPlant" msprop:Generator_ColumnPropNameInTable="DestPlantColumn" msprop:Generator_ColumnPropNameInRow="DestPlant" msprop:Generator_UserColumnName="DestPlant" msprop:Generator_ColumnVarNameInTable="columnDestPlant">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ModelCode" msprop:Generator_ColumnPropNameInTable="ModelCodeColumn" msprop:Generator_ColumnPropNameInRow="ModelCode" msprop:Generator_UserColumnName="ModelCode" msprop:Generator_ColumnVarNameInTable="columnModelCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KitQty" msprop:Generator_ColumnPropNameInTable="KitQtyColumn" msprop:Generator_ColumnPropNameInRow="KitQty" msprop:Generator_UserColumnName="KitQty" msprop:Generator_ColumnVarNameInTable="columnKitQty" type="xs:int" />
<xs:element name="OtherQtyReq" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="OtherQtyReqColumn" msprop:Generator_ColumnPropNameInRow="OtherQtyReq" msprop:Generator_UserColumnName="OtherQtyReq" msprop:Generator_ColumnVarNameInTable="columnOtherQtyReq" type="xs:int" minOccurs="0" />
<xs:element name="OtherQtyCur" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="OtherQtyCurColumn" msprop:Generator_ColumnPropNameInRow="OtherQtyCur" msprop:Generator_UserColumnName="OtherQtyCur" msprop:Generator_ColumnVarNameInTable="columnOtherQtyCur" type="xs:int" minOccurs="0" />
<xs:element name="OtherQtyWait" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="OtherQtyWaitColumn" msprop:Generator_ColumnPropNameInRow="OtherQtyWait" msprop:Generator_UserColumnName="OtherQtyWait" msprop:Generator_ColumnVarNameInTable="columnOtherQtyWait" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PackList" msprop:Generator_RowEvHandlerName="PackListRowChangeEventHandler" msprop:Generator_RowDeletedName="PackListRowDeleted" msprop:Generator_RowDeletingName="PackListRowDeleting" msprop:Generator_RowEvArgName="PackListRowChangeEvent" msprop:Generator_TablePropName="PackList" msprop:Generator_RowChangedName="PackListRowChanged" msprop:Generator_UserTableName="PackList" msprop:Generator_RowChangingName="PackListRowChanging" msprop:Generator_RowClassName="PackListRow" msprop:Generator_TableClassName="PackListDataTable" msprop:Generator_TableVarName="tablePackList">
<xs:complexType>
<xs:sequence>
<xs:element name="PackListID" msprop:Generator_ColumnPropNameInTable="PackListIDColumn" msprop:Generator_ColumnPropNameInRow="PackListID" msprop:Generator_UserColumnName="PackListID" msprop:Generator_ColumnVarNameInTable="columnPackListID" type="xs:int" />
<xs:element name="BatchName" msprop:Generator_ColumnPropNameInTable="BatchNameColumn" msprop:Generator_ColumnPropNameInRow="BatchName" msprop:Generator_UserColumnName="BatchName" msprop:Generator_ColumnVarNameInTable="columnBatchName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ImportDate" msprop:Generator_ColumnPropNameInTable="ImportDateColumn" msprop:Generator_ColumnPropNameInRow="ImportDate" msprop:Generator_UserColumnName="ImportDate" msprop:Generator_ColumnVarNameInTable="columnImportDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="StatusID" msprop:Generator_ColumnPropNameInTable="StatusIDColumn" msprop:Generator_ColumnPropNameInRow="StatusID" msprop:Generator_UserColumnName="StatusID" msprop:Generator_ColumnVarNameInTable="columnStatusID" type="xs:int" />
<xs:element name="SchedPrior" msprop:Generator_ColumnPropNameInTable="SchedPriorColumn" msprop:Generator_ColumnPropNameInRow="SchedPrior" msprop:Generator_UserColumnName="SchedPrior" msprop:Generator_ColumnVarNameInTable="columnSchedPrior" type="xs:int" />
<xs:element name="NumCart" msprop:Generator_ColumnPropNameInTable="NumCartColumn" msprop:Generator_ColumnPropNameInRow="NumCart" msprop:Generator_UserColumnName="NumCart" msprop:Generator_ColumnVarNameInTable="columnNumCart" type="xs:int" minOccurs="0" />
<xs:element name="NumKit" msprop:Generator_ColumnPropNameInTable="NumKitColumn" msprop:Generator_ColumnPropNameInRow="NumKit" msprop:Generator_UserColumnName="NumKit" msprop:Generator_ColumnVarNameInTable="columnNumKit" type="xs:int" minOccurs="0" />
<xs:element name="NumParts" msprop:Generator_ColumnPropNameInTable="NumPartsColumn" msprop:Generator_ColumnPropNameInRow="NumParts" msprop:Generator_UserColumnName="NumParts" msprop:Generator_ColumnVarNameInTable="columnNumParts" type="xs:int" />
<xs:element name="TotQty" msprop:Generator_ColumnPropNameInTable="TotQtyColumn" msprop:Generator_ColumnPropNameInRow="TotQty" msprop:Generator_UserColumnName="TotQty" msprop:Generator_ColumnVarNameInTable="columnTotQty" type="xs:int" />
<xs:element name="TotConf" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="TotConfColumn" msprop:Generator_ColumnPropNameInRow="TotConf" msprop:Generator_UserColumnName="TotConf" msprop:Generator_ColumnVarNameInTable="columnTotConf" type="xs:int" minOccurs="0" />
<xs:element name="StatusDesc" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="StatusDescColumn" msprop:Generator_ColumnPropNameInRow="StatusDesc" msprop:Generator_UserColumnName="StatusDesc" msprop:Generator_ColumnVarNameInTable="columnStatusDesc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OtherItem" msprop:Generator_RowEvHandlerName="OtherItemRowChangeEventHandler" msprop:Generator_RowDeletedName="OtherItemRowDeleted" msprop:Generator_RowDeletingName="OtherItemRowDeleting" msprop:Generator_RowEvArgName="OtherItemRowChangeEvent" msprop:Generator_TablePropName="OtherItem" msprop:Generator_RowChangedName="OtherItemRowChanged" msprop:Generator_UserTableName="OtherItem" msprop:Generator_RowChangingName="OtherItemRowChanging" msprop:Generator_RowClassName="OtherItemRow" msprop:Generator_TableClassName="OtherItemDataTable" msprop:Generator_TableVarName="tableOtherItem">
<xs:complexType>
<xs:sequence>
<xs:element name="OtherItemID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="OtherItemIDColumn" msprop:Generator_ColumnPropNameInRow="OtherItemID" msprop:Generator_UserColumnName="OtherItemID" msprop:Generator_ColumnVarNameInTable="columnOtherItemID" type="xs:int" />
<xs:element name="OtherItemExtCode" msprop:Generator_ColumnPropNameInTable="OtherItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OtherItemExtCode" msprop:Generator_UserColumnName="OtherItemExtCode" msprop:Generator_ColumnVarNameInTable="columnOtherItemExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OtherItemDesc" msprop:Generator_ColumnPropNameInTable="OtherItemDescColumn" msprop:Generator_ColumnPropNameInRow="OtherItemDesc" msprop:Generator_UserColumnName="OtherItemDesc" msprop:Generator_ColumnVarNameInTable="columnOtherItemDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OtherItemDtmx" msprop:Generator_ColumnPropNameInTable="OtherItemDtmxColumn" msprop:Generator_ColumnPropNameInRow="OtherItemDtmx" msprop:Generator_UserColumnName="OtherItemDtmx" msprop:Generator_ColumnVarNameInTable="columnOtherItemDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OtherItemType" msprop:Generator_ColumnPropNameInTable="OtherItemTypeColumn" msprop:Generator_ColumnPropNameInRow="OtherItemType" msprop:Generator_UserColumnName="OtherItemType" msprop:Generator_ColumnVarNameInTable="columnOtherItemType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OtherItemNote" msprop:Generator_ColumnPropNameInTable="OtherItemNoteColumn" msprop:Generator_ColumnPropNameInRow="OtherItemNote" msprop:Generator_UserColumnName="OtherItemNote" msprop:Generator_ColumnVarNameInTable="columnOtherItemNote">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ItemSearchDetail" msprop:Generator_RowEvHandlerName="ItemSearchDetailRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemSearchDetailRowDeleted" msprop:Generator_RowDeletingName="ItemSearchDetailRowDeleting" msprop:Generator_RowEvArgName="ItemSearchDetailRowChangeEvent" msprop:Generator_TablePropName="ItemSearchDetail" msprop:Generator_RowChangedName="ItemSearchDetailRowChanged" msprop:Generator_UserTableName="ItemSearchDetail" msprop:Generator_RowChangingName="ItemSearchDetailRowChanging" msprop:Generator_RowClassName="ItemSearchDetailRow" msprop:Generator_TableClassName="ItemSearchDetailDataTable" msprop:Generator_TableVarName="tableItemSearchDetail">
<xs:complexType>
<xs:sequence>
<xs:element name="ItemID" msprop:Generator_ColumnPropNameInTable="ItemIDColumn" msprop:Generator_ColumnPropNameInRow="ItemID" msprop:Generator_UserColumnName="ItemID" msprop:Generator_ColumnVarNameInTable="columnItemID" type="xs:int" />
<xs:element name="StatusID" msprop:Generator_ColumnPropNameInTable="StatusIDColumn" msprop:Generator_ColumnPropNameInRow="StatusID" msprop:Generator_UserColumnName="StatusID" msprop:Generator_ColumnVarNameInTable="columnStatusID" type="xs:int" />
<xs:element name="KitID" msprop:Generator_ColumnPropNameInTable="KitIDColumn" msprop:Generator_ColumnPropNameInRow="KitID" msprop:Generator_UserColumnName="KitID" msprop:Generator_ColumnVarNameInTable="columnKitID" type="xs:int" minOccurs="0" />
<xs:element name="ItemDtmx" msprop:Generator_ColumnPropNameInTable="ItemDtmxColumn" msprop:Generator_ColumnPropNameInRow="ItemDtmx" msprop:Generator_UserColumnName="ItemDtmx" msprop:Generator_ColumnVarNameInTable="columnItemDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_UserColumnName="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemDesc" msprop:Generator_ColumnPropNameInTable="ItemDescColumn" msprop:Generator_ColumnPropNameInRow="ItemDesc" msprop:Generator_UserColumnName="ItemDesc" msprop:Generator_ColumnVarNameInTable="columnItemDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemNote" msprop:Generator_ColumnPropNameInTable="ItemNoteColumn" msprop:Generator_ColumnPropNameInRow="ItemNote" msprop:Generator_UserColumnName="ItemNote" msprop:Generator_ColumnVarNameInTable="columnItemNote">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemQty" msprop:Generator_ColumnPropNameInTable="ItemQtyColumn" msprop:Generator_ColumnPropNameInRow="ItemQty" msprop:Generator_UserColumnName="ItemQty" msprop:Generator_ColumnVarNameInTable="columnItemQty" type="xs:int" />
<xs:element name="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_UserColumnName="MatID" msprop:Generator_ColumnVarNameInTable="columnMatID" type="xs:int" />
<xs:element name="MachiningReq" msprop:Generator_ColumnPropNameInTable="MachiningReqColumn" msprop:Generator_ColumnPropNameInRow="MachiningReq" msprop:Generator_UserColumnName="MachiningReq" msprop:Generator_ColumnVarNameInTable="columnMachiningReq" type="xs:boolean" />
<xs:element name="PostProcList" msprop:Generator_ColumnPropNameInTable="PostProcListColumn" msprop:Generator_ColumnPropNameInRow="PostProcList" msprop:Generator_UserColumnName="PostProcList" msprop:Generator_ColumnVarNameInTable="columnPostProcList">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProcessesReq" msprop:Generator_ColumnPropNameInTable="ProcessesReqColumn" msprop:Generator_ColumnPropNameInRow="ProcessesReq" msprop:Generator_UserColumnName="ProcessesReq" msprop:Generator_ColumnVarNameInTable="columnProcessesReq">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CadFilePath" msprop:Generator_ColumnPropNameInTable="CadFilePathColumn" msprop:Generator_ColumnPropNameInRow="CadFilePath" msprop:Generator_UserColumnName="CadFilePath" msprop:Generator_ColumnVarNameInTable="columnCadFilePath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PdfFilePath" msprop:Generator_ColumnPropNameInTable="PdfFilePathColumn" msprop:Generator_ColumnPropNameInRow="PdfFilePath" msprop:Generator_UserColumnName="PdfFilePath" msprop:Generator_ColumnVarNameInTable="columnPdfFilePath">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OnCartDate" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="OnCartDateColumn" msprop:Generator_ColumnPropNameInRow="OnCartDate" msprop:Generator_UserColumnName="OnCartDate" msprop:Generator_ColumnVarNameInTable="columnOnCartDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="PaintingReq" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="PaintingReqColumn" msprop:Generator_ColumnPropNameInRow="PaintingReq" msprop:Generator_UserColumnName="PaintingReq" msprop:Generator_ColumnVarNameInTable="columnPaintingReq" type="xs:int" minOccurs="0" />
<xs:element name="MatExtCode" msprop:Generator_ColumnPropNameInTable="MatExtCodeColumn" msprop:Generator_ColumnPropNameInRow="MatExtCode" msprop:Generator_UserColumnName="MatExtCode" msprop:Generator_ColumnVarNameInTable="columnMatExtCode" type="xs:int" />
<xs:element name="MatDesc" msprop:Generator_ColumnPropNameInTable="MatDescColumn" msprop:Generator_ColumnPropNameInRow="MatDesc" msprop:Generator_UserColumnName="MatDesc" msprop:Generator_ColumnVarNameInTable="columnMatDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KitExtCode" msprop:Generator_ColumnPropNameInTable="KitExtCodeColumn" msprop:Generator_ColumnPropNameInRow="KitExtCode" msprop:Generator_UserColumnName="KitExtCode" msprop:Generator_ColumnVarNameInTable="columnKitExtCode" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" minOccurs="0" />
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CartID" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" minOccurs="0" />
<xs:element name="CartDtmx" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_UserColumnName="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" type="xs:int" minOccurs="0" />
<xs:element name="BinID" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinIDColumn" msprop:Generator_ColumnPropNameInRow="BinID" msprop:Generator_UserColumnName="BinID" msprop:Generator_ColumnVarNameInTable="columnBinID" type="xs:int" minOccurs="0" />
<xs:element name="BinDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinDtmxColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="BinDtmx" msprop:Generator_UserColumnName="BinDtmx" msprop:Generator_ColumnVarNameInTable="columnBinDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BinIndex" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinIndexColumn" msprop:Generator_ColumnPropNameInRow="BinIndex" msprop:Generator_UserColumnName="BinIndex" msprop:Generator_ColumnVarNameInTable="columnBinIndex" type="xs:int" minOccurs="0" />
<xs:element name="DueDate" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_UserColumnName="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="PlaceCod" msprop:Generator_ColumnPropNameInTable="PlaceCodColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PlaceCod" msprop:Generator_UserColumnName="PlaceCod" msprop:Generator_ColumnVarNameInTable="columnPlaceCod">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="WrkEnd" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="WrkEndColumn" msprop:Generator_ColumnPropNameInRow="WrkEnd" msprop:Generator_UserColumnName="WrkEnd" msprop:Generator_ColumnVarNameInTable="columnWrkEnd" type="xs:dateTime" minOccurs="0" />
<xs:element name="UnlEnd" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="UnlEndColumn" msprop:Generator_ColumnPropNameInRow="UnlEnd" msprop:Generator_UserColumnName="UnlEnd" msprop:Generator_ColumnVarNameInTable="columnUnlEnd" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PackListDet" msprop:Generator_RowEvHandlerName="PackListDetRowChangeEventHandler" msprop:Generator_RowDeletedName="PackListDetRowDeleted" msprop:Generator_RowDeletingName="PackListDetRowDeleting" msprop:Generator_RowEvArgName="PackListDetRowChangeEvent" msprop:Generator_TablePropName="PackListDet" msprop:Generator_RowChangedName="PackListDetRowChanged" msprop:Generator_UserTableName="PackListDet" msprop:Generator_RowChangingName="PackListDetRowChanging" msprop:Generator_RowClassName="PackListDetRow" msprop:Generator_TableClassName="PackListDetDataTable" msprop:Generator_TableVarName="tablePackListDet">
<xs:complexType>
<xs:sequence>
<xs:element name="PackListID" msprop:Generator_ColumnPropNameInTable="PackListIDColumn" msprop:Generator_ColumnPropNameInRow="PackListID" msprop:Generator_UserColumnName="PackListID" msprop:Generator_ColumnVarNameInTable="columnPackListID" type="xs:int" />
<xs:element name="PackListDetID" msprop:Generator_ColumnPropNameInTable="PackListDetIDColumn" msprop:Generator_ColumnPropNameInRow="PackListDetID" msprop:Generator_UserColumnName="PackListDetID" msprop:Generator_ColumnVarNameInTable="columnPackListDetID" type="xs:int" />
<xs:element name="SALES_ORDER" msprop:Generator_ColumnPropNameInTable="SALES_ORDERColumn" msprop:Generator_ColumnPropNameInRow="SALES_ORDER" msprop:Generator_UserColumnName="SALES_ORDER" msprop:Generator_ColumnVarNameInTable="columnSALES_ORDER">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LINE" msprop:Generator_ColumnPropNameInTable="LINEColumn" msprop:Generator_ColumnPropNameInRow="LINE" msprop:Generator_UserColumnName="LINE" msprop:Generator_ColumnVarNameInTable="columnLINE" type="xs:int" />
<xs:element name="MODEL" msprop:Generator_ColumnPropNameInTable="MODELColumn" msprop:Generator_ColumnPropNameInRow="MODEL" msprop:Generator_UserColumnName="MODEL" msprop:Generator_ColumnVarNameInTable="columnMODEL">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FRAME_QTY" msprop:Generator_ColumnPropNameInTable="FRAME_QTYColumn" msprop:Generator_ColumnPropNameInRow="FRAME_QTY" msprop:Generator_UserColumnName="FRAME_QTY" msprop:Generator_ColumnVarNameInTable="columnFRAME_QTY" type="xs:int" />
<xs:element name="REQ_DATE" msprop:Generator_ColumnPropNameInTable="REQ_DATEColumn" msprop:Generator_ColumnPropNameInRow="REQ_DATE" msprop:Generator_UserColumnName="REQ_DATE" msprop:Generator_ColumnVarNameInTable="columnREQ_DATE" type="xs:dateTime" />
<xs:element name="MRP_PART" msprop:Generator_ColumnPropNameInTable="MRP_PARTColumn" msprop:Generator_ColumnPropNameInRow="MRP_PART" msprop:Generator_UserColumnName="MRP_PART" msprop:Generator_ColumnVarNameInTable="columnMRP_PART">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DESC_PART" msprop:Generator_ColumnPropNameInTable="DESC_PARTColumn" msprop:Generator_ColumnPropNameInRow="DESC_PART" msprop:Generator_UserColumnName="DESC_PART" msprop:Generator_ColumnVarNameInTable="columnDESC_PART">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="QTY" msprop:Generator_ColumnPropNameInTable="QTYColumn" msprop:Generator_ColumnPropNameInRow="QTY" msprop:Generator_UserColumnName="QTY" msprop:Generator_ColumnVarNameInTable="columnQTY" type="xs:int" />
<xs:element name="ORIGIN" msprop:Generator_ColumnPropNameInTable="ORIGINColumn" msprop:Generator_ColumnPropNameInRow="ORIGIN" msprop:Generator_UserColumnName="ORIGIN" msprop:Generator_ColumnVarNameInTable="columnORIGIN">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TARGET" msprop:Generator_ColumnPropNameInTable="TARGETColumn" msprop:Generator_ColumnPropNameInRow="TARGET" msprop:Generator_UserColumnName="TARGET" msprop:Generator_ColumnVarNameInTable="columnTARGET">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ImportDate" msprop:Generator_ColumnPropNameInTable="ImportDateColumn" msprop:Generator_ColumnPropNameInRow="ImportDate" msprop:Generator_UserColumnName="ImportDate" msprop:Generator_ColumnVarNameInTable="columnImportDate" type="xs:dateTime" />
<xs:element name="QtyConf" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="QtyConfColumn" msprop:Generator_ColumnPropNameInRow="QtyConf" msprop:Generator_UserColumnName="QtyConf" msprop:Generator_ColumnVarNameInTable="columnQtyConf" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PackLog" msprop:Generator_RowEvHandlerName="PackLogRowChangeEventHandler" msprop:Generator_RowDeletedName="PackLogRowDeleted" msprop:Generator_RowDeletingName="PackLogRowDeleting" msprop:Generator_RowEvArgName="PackLogRowChangeEvent" msprop:Generator_TablePropName="PackLog" msprop:Generator_RowChangedName="PackLogRowChanged" msprop:Generator_UserTableName="PackLog" msprop:Generator_RowChangingName="PackLogRowChanging" msprop:Generator_RowClassName="PackLogRow" msprop:Generator_TableClassName="PackLogDataTable" msprop:Generator_TableVarName="tablePackLog">
<xs:complexType>
<xs:sequence>
<xs:element name="PLogID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="PLogIDColumn" msprop:Generator_ColumnPropNameInRow="PLogID" msprop:Generator_UserColumnName="PLogID" msprop:Generator_ColumnVarNameInTable="columnPLogID" type="xs:int" />
<xs:element name="PackListID" msprop:Generator_ColumnPropNameInTable="PackListIDColumn" msprop:Generator_ColumnPropNameInRow="PackListID" msprop:Generator_UserColumnName="PackListID" msprop:Generator_ColumnVarNameInTable="columnPackListID" type="xs:int" />
<xs:element name="DtScan" msprop:Generator_ColumnPropNameInTable="DtScanColumn" msprop:Generator_ColumnPropNameInRow="DtScan" msprop:Generator_UserColumnName="DtScan" msprop:Generator_ColumnVarNameInTable="columnDtScan" type="xs:dateTime" minOccurs="0" />
<xs:element name="Dtmx" msprop:Generator_ColumnPropNameInTable="DtmxColumn" msprop:Generator_ColumnPropNameInRow="Dtmx" msprop:Generator_UserColumnName="Dtmx" msprop:Generator_ColumnVarNameInTable="columnDtmx">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MRP_PART" msprop:Generator_ColumnPropNameInTable="MRP_PARTColumn" msprop:Generator_ColumnPropNameInRow="MRP_PART" msprop:Generator_UserColumnName="MRP_PART" msprop:Generator_ColumnVarNameInTable="columnMRP_PART">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KitExtCode" msprop:Generator_ColumnPropNameInTable="KitExtCodeColumn" msprop:Generator_ColumnPropNameInRow="KitExtCode" msprop:Generator_UserColumnName="KitExtCode" msprop:Generator_ColumnVarNameInTable="columnKitExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" />
<xs:element name="Device" msprop:Generator_ColumnPropNameInTable="DeviceColumn" msprop:Generator_ColumnPropNameInRow="Device" msprop:Generator_UserColumnName="Device" msprop:Generator_ColumnVarNameInTable="columnDevice">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UserName" msprop:Generator_ColumnPropNameInTable="UserNameColumn" msprop:Generator_ColumnPropNameInRow="UserName" msprop:Generator_UserColumnName="UserName" msprop:Generator_ColumnVarNameInTable="columnUserName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PackCheck" msprop:Generator_RowEvHandlerName="PackCheckRowChangeEventHandler" msprop:Generator_RowDeletedName="PackCheckRowDeleted" msprop:Generator_RowDeletingName="PackCheckRowDeleting" msprop:Generator_RowEvArgName="PackCheckRowChangeEvent" msprop:Generator_TablePropName="PackCheck" msprop:Generator_RowChangedName="PackCheckRowChanged" msprop:Generator_UserTableName="PackCheck" msprop:Generator_RowChangingName="PackCheckRowChanging" msprop:Generator_RowClassName="PackCheckRow" msprop:Generator_TableClassName="PackCheckDataTable" msprop:Generator_TableVarName="tablePackCheck">
<xs:complexType>
<xs:sequence>
<xs:element name="CartID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" minOccurs="0" />
<xs:element name="BatchName" msprop:Generator_ColumnPropNameInTable="BatchNameColumn" msprop:Generator_ColumnPropNameInRow="BatchName" msprop:Generator_UserColumnName="BatchName" msprop:Generator_ColumnVarNameInTable="columnBatchName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" minOccurs="0" />
<xs:element name="CartDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumTot" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumTotColumn" msprop:Generator_ColumnPropNameInRow="NumTot" msprop:Generator_UserColumnName="NumTot" msprop:Generator_ColumnVarNameInTable="columnNumTot" type="xs:int" minOccurs="0" />
<xs:element name="NumProd" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumProdColumn" msprop:Generator_ColumnPropNameInRow="NumProd" msprop:Generator_UserColumnName="NumProd" msprop:Generator_ColumnVarNameInTable="columnNumProd" type="xs:int" minOccurs="0" />
<xs:element name="NumKit" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumKitColumn" msprop:Generator_ColumnPropNameInRow="NumKit" msprop:Generator_UserColumnName="NumKit" msprop:Generator_ColumnVarNameInTable="columnNumKit" type="xs:int" minOccurs="0" />
<xs:element name="NumPenalty" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumPenaltyColumn" msprop:Generator_ColumnPropNameInRow="NumPenalty" msprop:Generator_UserColumnName="NumPenalty" msprop:Generator_ColumnVarNameInTable="columnNumPenalty" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OKIB" msprop:Generator_RowEvHandlerName="OKIBRowChangeEventHandler" msprop:Generator_RowDeletedName="OKIBRowDeleted" msprop:Generator_RowDeletingName="OKIBRowDeleting" msprop:Generator_RowEvArgName="OKIBRowChangeEvent" msprop:Generator_TablePropName="OKIB" msprop:Generator_RowChangedName="OKIBRowChanged" msprop:Generator_UserTableName="OKIB" msprop:Generator_RowChangingName="OKIBRowChanging" msprop:Generator_RowClassName="OKIBRow" msprop:Generator_TableClassName="OKIBDataTable" msprop:Generator_TableVarName="tableOKIB">
<xs:complexType>
<xs:sequence>
<xs:element name="ItemID" msprop:Generator_ColumnPropNameInTable="ItemIDColumn" msprop:Generator_ColumnPropNameInRow="ItemID" msprop:Generator_UserColumnName="ItemID" msprop:Generator_ColumnVarNameInTable="columnItemID" type="xs:int" />
<xs:element name="ItemDtmx" msprop:Generator_ColumnPropNameInTable="ItemDtmxColumn" msprop:Generator_ColumnPropNameInRow="ItemDtmx" msprop:Generator_UserColumnName="ItemDtmx" msprop:Generator_ColumnVarNameInTable="columnItemDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_UserColumnName="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemDesc" msprop:Generator_ColumnPropNameInTable="ItemDescColumn" msprop:Generator_ColumnPropNameInRow="ItemDesc" msprop:Generator_UserColumnName="ItemDesc" msprop:Generator_ColumnVarNameInTable="columnItemDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="StatusID" msprop:Generator_ColumnPropNameInTable="StatusIDColumn" msprop:Generator_ColumnPropNameInRow="StatusID" msprop:Generator_UserColumnName="StatusID" msprop:Generator_ColumnVarNameInTable="columnStatusID" type="xs:int" />
<xs:element name="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_UserColumnName="MatID" msprop:Generator_ColumnVarNameInTable="columnMatID" type="xs:int" />
<xs:element name="PostProcList" msprop:Generator_ColumnPropNameInTable="PostProcListColumn" msprop:Generator_ColumnPropNameInRow="PostProcList" msprop:Generator_UserColumnName="PostProcList" msprop:Generator_ColumnVarNameInTable="columnPostProcList">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProcessesReq" msprop:Generator_ColumnPropNameInTable="ProcessesReqColumn" msprop:Generator_ColumnPropNameInRow="ProcessesReq" msprop:Generator_UserColumnName="ProcessesReq" msprop:Generator_ColumnVarNameInTable="columnProcessesReq">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OnCartDate" msprop:Generator_ColumnPropNameInTable="OnCartDateColumn" msprop:Generator_ColumnPropNameInRow="OnCartDate" msprop:Generator_UserColumnName="OnCartDate" msprop:Generator_ColumnVarNameInTable="columnOnCartDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" />
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KitQty" msprop:Generator_ColumnPropNameInTable="KitQtyColumn" msprop:Generator_ColumnPropNameInRow="KitQty" msprop:Generator_UserColumnName="KitQty" msprop:Generator_ColumnVarNameInTable="columnKitQty" type="xs:int" />
<xs:element name="KitID" msprop:Generator_ColumnPropNameInTable="KitIDColumn" msprop:Generator_ColumnPropNameInRow="KitID" msprop:Generator_UserColumnName="KitID" msprop:Generator_ColumnVarNameInTable="columnKitID" type="xs:int" />
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" />
<xs:element name="CartDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_UserColumnName="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" type="xs:int" />
<xs:element name="CartKitStart" msprop:Generator_ColumnPropNameInTable="CartKitStartColumn" msprop:Generator_ColumnPropNameInRow="CartKitStart" msprop:Generator_UserColumnName="CartKitStart" msprop:Generator_ColumnVarNameInTable="columnCartKitStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="CartKitEnd" msprop:Generator_ColumnPropNameInTable="CartKitEndColumn" msprop:Generator_ColumnPropNameInRow="CartKitEnd" msprop:Generator_UserColumnName="CartKitEnd" msprop:Generator_ColumnVarNameInTable="columnCartKitEnd" type="xs:dateTime" minOccurs="0" />
<xs:element name="KitExtCode" msprop:Generator_ColumnPropNameInTable="KitExtCodeColumn" msprop:Generator_ColumnPropNameInRow="KitExtCode" msprop:Generator_UserColumnName="KitExtCode" msprop:Generator_ColumnVarNameInTable="columnKitExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BinID" msprop:Generator_ColumnPropNameInTable="BinIDColumn" msprop:Generator_ColumnPropNameInRow="BinID" msprop:Generator_UserColumnName="BinID" msprop:Generator_ColumnVarNameInTable="columnBinID" type="xs:int" />
<xs:element name="BinIndex" msprop:Generator_ColumnPropNameInTable="BinIndexColumn" msprop:Generator_ColumnPropNameInRow="BinIndex" msprop:Generator_UserColumnName="BinIndex" msprop:Generator_ColumnVarNameInTable="columnBinIndex" type="xs:int" />
<xs:element name="BinDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinDtmxColumn" msprop:Generator_ColumnPropNameInRow="BinDtmx" msprop:Generator_UserColumnName="BinDtmx" msprop:Generator_ColumnVarNameInTable="columnBinDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BinDtmxProc" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinDtmxProcColumn" msprop:Generator_ColumnPropNameInRow="BinDtmxProc" msprop:Generator_UserColumnName="BinDtmxProc" msprop:Generator_ColumnVarNameInTable="columnBinDtmxProc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PaintDate" msprop:Generator_ColumnPropNameInTable="PaintDateColumn" msprop:Generator_ColumnPropNameInRow="PaintDate" msprop:Generator_UserColumnName="PaintDate" msprop:Generator_ColumnVarNameInTable="columnPaintDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="BinKitStart" msprop:Generator_ColumnPropNameInTable="BinKitStartColumn" msprop:Generator_ColumnPropNameInRow="BinKitStart" msprop:Generator_UserColumnName="BinKitStart" msprop:Generator_ColumnVarNameInTable="columnBinKitStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="BinKitEnd" msprop:Generator_ColumnPropNameInTable="BinKitEndColumn" msprop:Generator_ColumnPropNameInRow="BinKitEnd" msprop:Generator_UserColumnName="BinKitEnd" msprop:Generator_ColumnVarNameInTable="columnBinKitEnd" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OKIB_Sum" msprop:Generator_RowEvHandlerName="OKIB_SumRowChangeEventHandler" msprop:Generator_RowDeletedName="OKIB_SumRowDeleted" msprop:Generator_RowDeletingName="OKIB_SumRowDeleting" msprop:Generator_RowEvArgName="OKIB_SumRowChangeEvent" msprop:Generator_TablePropName="OKIB_Sum" msprop:Generator_RowChangedName="OKIB_SumRowChanged" msprop:Generator_UserTableName="OKIB_Sum" msprop:Generator_RowChangingName="OKIB_SumRowChanging" msprop:Generator_RowClassName="OKIB_SumRow" msprop:Generator_TableClassName="OKIB_SumDataTable" msprop:Generator_TableVarName="tableOKIB_Sum">
<xs:complexType>
<xs:sequence>
<xs:element name="BinID" msprop:Generator_ColumnPropNameInTable="BinIDColumn" msprop:Generator_ColumnPropNameInRow="BinID" msprop:Generator_UserColumnName="BinID" msprop:Generator_ColumnVarNameInTable="columnBinID" type="xs:int" />
<xs:element name="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" />
<xs:element name="BinIndex" msprop:Generator_ColumnPropNameInTable="BinIndexColumn" msprop:Generator_ColumnPropNameInRow="BinIndex" msprop:Generator_UserColumnName="BinIndex" msprop:Generator_ColumnVarNameInTable="columnBinIndex" type="xs:int" />
<xs:element name="BinDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinDtmxColumn" msprop:Generator_ColumnPropNameInRow="BinDtmx" msprop:Generator_UserColumnName="BinDtmx" msprop:Generator_ColumnVarNameInTable="columnBinDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BinDtmxProc" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinDtmxProcColumn" msprop:Generator_ColumnPropNameInRow="BinDtmxProc" msprop:Generator_UserColumnName="BinDtmxProc" msprop:Generator_ColumnVarNameInTable="columnBinDtmxProc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PaintDate" msprop:Generator_ColumnPropNameInTable="PaintDateColumn" msprop:Generator_ColumnPropNameInRow="PaintDate" msprop:Generator_UserColumnName="PaintDate" msprop:Generator_ColumnVarNameInTable="columnPaintDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="BinKitStart" msprop:Generator_ColumnPropNameInTable="BinKitStartColumn" msprop:Generator_ColumnPropNameInRow="BinKitStart" msprop:Generator_UserColumnName="BinKitStart" msprop:Generator_ColumnVarNameInTable="columnBinKitStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="BinKitEnd" msprop:Generator_ColumnPropNameInTable="BinKitEndColumn" msprop:Generator_ColumnPropNameInRow="BinKitEnd" msprop:Generator_UserColumnName="BinKitEnd" msprop:Generator_ColumnVarNameInTable="columnBinKitEnd" type="xs:dateTime" minOccurs="0" />
<xs:element name="NumItems" msprop:Generator_ColumnPropNameInTable="NumItemsColumn" msprop:Generator_ColumnPropNameInRow="NumItems" msprop:Generator_UserColumnName="NumItems" msprop:Generator_ColumnVarNameInTable="columnNumItems" type="xs:int" minOccurs="0" />
<xs:element name="NumPicked" msprop:Generator_ColumnPropNameInTable="NumPickedColumn" msprop:Generator_ColumnPropNameInRow="NumPicked" msprop:Generator_UserColumnName="NumPicked" msprop:Generator_ColumnVarNameInTable="columnNumPicked" type="xs:int" minOccurs="0" />
<xs:element name="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_UserColumnName="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemDesc" msprop:Generator_ColumnPropNameInTable="ItemDescColumn" msprop:Generator_ColumnPropNameInRow="ItemDesc" msprop:Generator_UserColumnName="ItemDesc" msprop:Generator_ColumnVarNameInTable="columnItemDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OnCartDate" msprop:Generator_ColumnPropNameInTable="OnCartDateColumn" msprop:Generator_ColumnPropNameInRow="OnCartDate" msprop:Generator_UserColumnName="OnCartDate" msprop:Generator_ColumnVarNameInTable="columnOnCartDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" />
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KitQty" msprop:Generator_ColumnPropNameInTable="KitQtyColumn" msprop:Generator_ColumnPropNameInRow="KitQty" msprop:Generator_UserColumnName="KitQty" msprop:Generator_ColumnVarNameInTable="columnKitQty" type="xs:int" />
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="CartDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_UserColumnName="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" type="xs:int" />
<xs:element name="CartKitStart" msprop:Generator_ColumnPropNameInTable="CartKitStartColumn" msprop:Generator_ColumnPropNameInRow="CartKitStart" msprop:Generator_UserColumnName="CartKitStart" msprop:Generator_ColumnVarNameInTable="columnCartKitStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="CartKitEnd" msprop:Generator_ColumnPropNameInTable="CartKitEndColumn" msprop:Generator_ColumnPropNameInRow="CartKitEnd" msprop:Generator_UserColumnName="CartKitEnd" msprop:Generator_ColumnVarNameInTable="columnCartKitEnd" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OKOI" msprop:Generator_RowEvHandlerName="OKOIRowChangeEventHandler" msprop:Generator_RowDeletedName="OKOIRowDeleted" msprop:Generator_RowDeletingName="OKOIRowDeleting" msprop:Generator_RowEvArgName="OKOIRowChangeEvent" msprop:Generator_TablePropName="OKOI" msprop:Generator_RowChangedName="OKOIRowChanged" msprop:Generator_UserTableName="OKOI" msprop:Generator_RowChangingName="OKOIRowChanging" msprop:Generator_RowClassName="OKOIRow" msprop:Generator_TableClassName="OKOIDataTable" msprop:Generator_TableVarName="tableOKOI">
<xs:complexType>
<xs:sequence>
<xs:element name="OtherItemID" msprop:Generator_ColumnPropNameInTable="OtherItemIDColumn" msprop:Generator_ColumnPropNameInRow="OtherItemID" msprop:Generator_UserColumnName="OtherItemID" msprop:Generator_ColumnVarNameInTable="columnOtherItemID" type="xs:int" />
<xs:element name="OtherItemExtCode" msprop:Generator_ColumnPropNameInTable="OtherItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OtherItemExtCode" msprop:Generator_UserColumnName="OtherItemExtCode" msprop:Generator_ColumnVarNameInTable="columnOtherItemExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OtherItemDesc" msprop:Generator_ColumnPropNameInTable="OtherItemDescColumn" msprop:Generator_ColumnPropNameInRow="OtherItemDesc" msprop:Generator_UserColumnName="OtherItemDesc" msprop:Generator_ColumnVarNameInTable="columnOtherItemDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OtherItemDtmx" msprop:Generator_ColumnPropNameInTable="OtherItemDtmxColumn" msprop:Generator_ColumnPropNameInRow="OtherItemDtmx" msprop:Generator_UserColumnName="OtherItemDtmx" msprop:Generator_ColumnVarNameInTable="columnOtherItemDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" />
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KitExtCode" msprop:Generator_ColumnPropNameInTable="KitExtCodeColumn" msprop:Generator_ColumnPropNameInRow="KitExtCode" msprop:Generator_UserColumnName="KitExtCode" msprop:Generator_ColumnVarNameInTable="columnKitExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OnCartDate" msprop:Generator_ColumnPropNameInTable="OnCartDateColumn" msprop:Generator_ColumnPropNameInRow="OnCartDate" msprop:Generator_UserColumnName="OnCartDate" msprop:Generator_ColumnVarNameInTable="columnOnCartDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="QtyReq" msprop:Generator_ColumnPropNameInTable="QtyReqColumn" msprop:Generator_ColumnPropNameInRow="QtyReq" msprop:Generator_UserColumnName="QtyReq" msprop:Generator_ColumnVarNameInTable="columnQtyReq" type="xs:int" />
<xs:element name="QtyCur" msprop:Generator_ColumnPropNameInTable="QtyCurColumn" msprop:Generator_ColumnPropNameInRow="QtyCur" msprop:Generator_UserColumnName="QtyCur" msprop:Generator_ColumnVarNameInTable="columnQtyCur" type="xs:int" />
<xs:element name="KitID" msprop:Generator_ColumnPropNameInTable="KitIDColumn" msprop:Generator_ColumnPropNameInRow="KitID" msprop:Generator_UserColumnName="KitID" msprop:Generator_ColumnVarNameInTable="columnKitID" type="xs:int" />
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" />
<xs:element name="CartDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_UserColumnName="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" type="xs:int" />
<xs:element name="CartKitStart" msprop:Generator_ColumnPropNameInTable="CartKitStartColumn" msprop:Generator_ColumnPropNameInRow="CartKitStart" msprop:Generator_UserColumnName="CartKitStart" msprop:Generator_ColumnVarNameInTable="columnCartKitStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="CartKitEnd" msprop:Generator_ColumnPropNameInTable="CartKitEndColumn" msprop:Generator_ColumnPropNameInRow="CartKitEnd" msprop:Generator_UserColumnName="CartKitEnd" msprop:Generator_ColumnVarNameInTable="columnCartKitEnd" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OKOI_sum" msprop:Generator_RowEvHandlerName="OKOI_sumRowChangeEventHandler" msprop:Generator_RowDeletedName="OKOI_sumRowDeleted" msprop:Generator_RowDeletingName="OKOI_sumRowDeleting" msprop:Generator_RowEvArgName="OKOI_sumRowChangeEvent" msprop:Generator_TablePropName="OKOI_sum" msprop:Generator_RowChangedName="OKOI_sumRowChanged" msprop:Generator_UserTableName="OKOI_sum" msprop:Generator_RowChangingName="OKOI_sumRowChanging" msprop:Generator_RowClassName="OKOI_sumRow" msprop:Generator_TableClassName="OKOI_sumDataTable" msprop:Generator_TableVarName="tableOKOI_sum">
<xs:complexType>
<xs:sequence>
<xs:element name="OtherItemID" msprop:Generator_ColumnPropNameInTable="OtherItemIDColumn" msprop:Generator_ColumnPropNameInRow="OtherItemID" msprop:Generator_UserColumnName="OtherItemID" msprop:Generator_ColumnVarNameInTable="columnOtherItemID" type="xs:int" />
<xs:element name="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" />
<xs:element name="OtherItemExtCode" msprop:Generator_ColumnPropNameInTable="OtherItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OtherItemExtCode" msprop:Generator_UserColumnName="OtherItemExtCode" msprop:Generator_ColumnVarNameInTable="columnOtherItemExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OtherItemDesc" msprop:Generator_ColumnPropNameInTable="OtherItemDescColumn" msprop:Generator_ColumnPropNameInRow="OtherItemDesc" msprop:Generator_UserColumnName="OtherItemDesc" msprop:Generator_ColumnVarNameInTable="columnOtherItemDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OtherItemDtmx" msprop:Generator_ColumnPropNameInTable="OtherItemDtmxColumn" msprop:Generator_ColumnPropNameInRow="OtherItemDtmx" msprop:Generator_UserColumnName="OtherItemDtmx" msprop:Generator_ColumnVarNameInTable="columnOtherItemDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" />
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumItems" msprop:Generator_ColumnPropNameInTable="NumItemsColumn" msprop:Generator_ColumnPropNameInRow="NumItems" msprop:Generator_UserColumnName="NumItems" msprop:Generator_ColumnVarNameInTable="columnNumItems" type="xs:int" minOccurs="0" />
<xs:element name="NumPicked" msprop:Generator_ColumnPropNameInTable="NumPickedColumn" msprop:Generator_ColumnPropNameInRow="NumPicked" msprop:Generator_UserColumnName="NumPicked" msprop:Generator_ColumnVarNameInTable="columnNumPicked" type="xs:int" minOccurs="0" />
<xs:element name="CartDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_UserColumnName="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" type="xs:int" />
<xs:element name="CartKitStart" msprop:Generator_ColumnPropNameInTable="CartKitStartColumn" msprop:Generator_ColumnPropNameInRow="CartKitStart" msprop:Generator_UserColumnName="CartKitStart" msprop:Generator_ColumnVarNameInTable="columnCartKitStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="CartKitEnd" msprop:Generator_ColumnPropNameInTable="CartKitEndColumn" msprop:Generator_ColumnPropNameInRow="CartKitEnd" msprop:Generator_UserColumnName="CartKitEnd" msprop:Generator_ColumnVarNameInTable="columnCartKitEnd" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Pack2Cart" msprop:Generator_RowEvHandlerName="Pack2CartRowChangeEventHandler" msprop:Generator_RowDeletedName="Pack2CartRowDeleted" msprop:Generator_RowDeletingName="Pack2CartRowDeleting" msprop:Generator_RowEvArgName="Pack2CartRowChangeEvent" msprop:Generator_TablePropName="Pack2Cart" msprop:Generator_RowChangedName="Pack2CartRowChanged" msprop:Generator_UserTableName="Pack2Cart" msprop:Generator_RowChangingName="Pack2CartRowChanging" msprop:Generator_RowClassName="Pack2CartRow" msprop:Generator_TableClassName="Pack2CartDataTable" msprop:Generator_TableVarName="tablePack2Cart">
<xs:complexType>
<xs:sequence>
<xs:element name="PackListID" msprop:Generator_ColumnPropNameInTable="PackListIDColumn" msprop:Generator_ColumnPropNameInRow="PackListID" msprop:Generator_UserColumnName="PackListID" msprop:Generator_ColumnVarNameInTable="columnPackListID" type="xs:int" />
<xs:element name="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" />
<xs:element name="BatchName" msprop:Generator_ColumnPropNameInTable="BatchNameColumn" msprop:Generator_ColumnPropNameInRow="BatchName" msprop:Generator_UserColumnName="BatchName" msprop:Generator_ColumnVarNameInTable="columnBatchName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_UserColumnName="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" type="xs:int" />
<xs:element name="CartDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FamilyCode" msprop:Generator_ColumnPropNameInTable="FamilyCodeColumn" msprop:Generator_ColumnPropNameInRow="FamilyCode" msprop:Generator_UserColumnName="FamilyCode" msprop:Generator_ColumnVarNameInTable="columnFamilyCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Started" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="StartedColumn" msprop:Generator_ColumnPropNameInRow="Started" msprop:Generator_UserColumnName="Started" msprop:Generator_ColumnVarNameInTable="columnStarted" type="xs:int" minOccurs="0" />
<xs:element name="Completed" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CompletedColumn" msprop:Generator_ColumnPropNameInRow="Completed" msprop:Generator_UserColumnName="Completed" msprop:Generator_ColumnVarNameInTable="columnCompleted" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CartIRK" msprop:Generator_RowEvHandlerName="CartIRKRowChangeEventHandler" msprop:Generator_RowDeletedName="CartIRKRowDeleted" msprop:Generator_RowDeletingName="CartIRKRowDeleting" msprop:Generator_RowEvArgName="CartIRKRowChangeEvent" msprop:Generator_TablePropName="CartIRK" msprop:Generator_RowChangedName="CartIRKRowChanged" msprop:Generator_UserTableName="CartIRK" msprop:Generator_RowChangingName="CartIRKRowChanging" msprop:Generator_RowClassName="CartIRKRow" msprop:Generator_TableClassName="CartIRKDataTable" msprop:Generator_TableVarName="tableCartIRK">
<xs:complexType>
<xs:sequence>
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CartDtmx" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_UserColumnName="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" type="xs:int" minOccurs="0" />
<xs:element name="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" />
<xs:element name="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_UserColumnName="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemDesc" msprop:Generator_ColumnPropNameInTable="ItemDescColumn" msprop:Generator_ColumnPropNameInRow="ItemDesc" msprop:Generator_UserColumnName="ItemDesc" msprop:Generator_ColumnVarNameInTable="columnItemDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemNote" msprop:Generator_ColumnPropNameInTable="ItemNoteColumn" msprop:Generator_ColumnPropNameInRow="ItemNote" msprop:Generator_UserColumnName="ItemNote" msprop:Generator_ColumnVarNameInTable="columnItemNote">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TotReq" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="TotReqColumn" msprop:Generator_ColumnPropNameInRow="TotReq" msprop:Generator_UserColumnName="TotReq" msprop:Generator_ColumnVarNameInTable="columnTotReq" type="xs:int" minOccurs="0" />
<xs:element name="TotCur" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="TotCurColumn" msprop:Generator_ColumnPropNameInRow="TotCur" msprop:Generator_UserColumnName="TotCur" msprop:Generator_ColumnVarNameInTable="columnTotCur" type="xs:int" minOccurs="0" />
<xs:element name="MatExtCode" msprop:Generator_ColumnPropNameInTable="MatExtCodeColumn" msprop:Generator_ColumnPropNameInRow="MatExtCode" msprop:Generator_UserColumnName="MatExtCode" msprop:Generator_ColumnVarNameInTable="columnMatExtCode" type="xs:int" />
<xs:element name="MatDesc" msprop:Generator_ColumnPropNameInTable="MatDescColumn" msprop:Generator_ColumnPropNameInRow="MatDesc" msprop:Generator_UserColumnName="MatDesc" msprop:Generator_ColumnVarNameInTable="columnMatDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FileValidation" msprop:Generator_RowEvHandlerName="FileValidationRowChangeEventHandler" msprop:Generator_RowDeletedName="FileValidationRowDeleted" msprop:Generator_RowDeletingName="FileValidationRowDeleting" msprop:Generator_RowEvArgName="FileValidationRowChangeEvent" msprop:Generator_TablePropName="FileValidation" msprop:Generator_RowChangedName="FileValidationRowChanged" msprop:Generator_UserTableName="FileValidation" msprop:Generator_RowChangingName="FileValidationRowChanging" msprop:Generator_RowClassName="FileValidationRow" msprop:Generator_TableClassName="FileValidationDataTable" msprop:Generator_TableVarName="tableFileValidation">
<xs:complexType>
<xs:sequence>
<xs:element name="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_UserColumnName="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="EvalDate" msprop:Generator_ColumnPropNameInTable="EvalDateColumn" msprop:Generator_ColumnPropNameInRow="EvalDate" msprop:Generator_UserColumnName="EvalDate" msprop:Generator_ColumnVarNameInTable="columnEvalDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" type="xs:int" />
<xs:element name="EstimTime" msprop:Generator_ColumnPropNameInTable="EstimTimeColumn" msprop:Generator_ColumnPropNameInRow="EstimTime" msprop:Generator_UserColumnName="EstimTime" msprop:Generator_ColumnVarNameInTable="columnEstimTime" type="xs:double" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SheetsPreview" msprop:Generator_RowEvHandlerName="SheetsPreviewRowChangeEventHandler" msprop:Generator_RowDeletedName="SheetsPreviewRowDeleted" msprop:Generator_RowDeletingName="SheetsPreviewRowDeleting" msprop:Generator_RowEvArgName="SheetsPreviewRowChangeEvent" msprop:Generator_TablePropName="SheetsPreview" msprop:Generator_RowChangedName="SheetsPreviewRowChanged" msprop:Generator_UserTableName="SheetsPreview" msprop:Generator_RowChangingName="SheetsPreviewRowChanging" msprop:Generator_RowClassName="SheetsPreviewRow" msprop:Generator_TableClassName="SheetsPreviewDataTable" msprop:Generator_TableVarName="tableSheetsPreview">
<xs:complexType>
<xs:sequence>
<xs:element name="SheetID" msprop:Generator_ColumnPropNameInTable="SheetIDColumn" msprop:Generator_ColumnPropNameInRow="SheetID" msprop:Generator_UserColumnName="SheetID" msprop:Generator_ColumnVarNameInTable="columnSheetID" type="xs:int" />
<xs:element name="StackIndex" msprop:Generator_ColumnPropNameInTable="StackIndexColumn" msprop:Generator_ColumnPropNameInRow="StackIndex" msprop:Generator_UserColumnName="StackIndex" msprop:Generator_ColumnVarNameInTable="columnStackIndex" type="xs:int" />
<xs:element name="SheetIndex" msprop:Generator_ColumnPropNameInTable="SheetIndexColumn" msprop:Generator_ColumnPropNameInRow="SheetIndex" msprop:Generator_UserColumnName="SheetIndex" msprop:Generator_ColumnVarNameInTable="columnSheetIndex" type="xs:int" />
<xs:element name="RunnigWorkTime" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="RunnigWorkTimeColumn" msprop:Generator_ColumnPropNameInRow="RunnigWorkTime" msprop:Generator_UserColumnName="RunnigWorkTime" msprop:Generator_ColumnVarNameInTable="columnRunnigWorkTime" type="xs:decimal" minOccurs="0" />
<xs:element name="PrevTime" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="PrevTimeColumn" msprop:Generator_ColumnPropNameInRow="PrevTime" msprop:Generator_UserColumnName="PrevTime" msprop:Generator_ColumnVarNameInTable="columnPrevTime" type="xs:dateTime" minOccurs="0" />
<xs:element name="NumParts" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="NumPartsColumn" msprop:Generator_ColumnPropNameInRow="NumParts" msprop:Generator_UserColumnName="NumParts" msprop:Generator_ColumnVarNameInTable="columnNumParts" type="xs:int" minOccurs="0" />
<xs:element name="IsLate" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="IsLateColumn" msprop:Generator_ColumnPropNameInRow="IsLate" msprop:Generator_UserColumnName="IsLate" msprop:Generator_ColumnVarNameInTable="columnIsLate" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OrderListTree" msprop:Generator_RowEvHandlerName="OrderListTreeRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderListTreeRowDeleted" msprop:Generator_RowDeletingName="OrderListTreeRowDeleting" msprop:Generator_RowEvArgName="OrderListTreeRowChangeEvent" msprop:Generator_TablePropName="OrderListTree" msprop:Generator_RowChangedName="OrderListTreeRowChanged" msprop:Generator_UserTableName="OrderListTree" msprop:Generator_RowChangingName="OrderListTreeRowChanging" msprop:Generator_RowClassName="OrderListTreeRow" msprop:Generator_TableClassName="OrderListTreeDataTable" msprop:Generator_TableVarName="tableOrderListTree">
<xs:complexType>
<xs:sequence>
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" />
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="EstNumBin" msprop:Generator_ColumnPropNameInTable="EstNumBinColumn" msprop:Generator_ColumnPropNameInRow="EstNumBin" msprop:Generator_UserColumnName="EstNumBin" msprop:Generator_ColumnVarNameInTable="columnEstNumBin" type="xs:int" />
<xs:element name="EstNumCart" msprop:Generator_ColumnPropNameInTable="EstNumCartColumn" msprop:Generator_ColumnPropNameInRow="EstNumCart" msprop:Generator_UserColumnName="EstNumCart" msprop:Generator_ColumnVarNameInTable="columnEstNumCart" type="xs:int" />
<xs:element name="EstNumPart" msprop:Generator_ColumnPropNameInTable="EstNumPartColumn" msprop:Generator_ColumnPropNameInRow="EstNumPart" msprop:Generator_UserColumnName="EstNumPart" msprop:Generator_ColumnVarNameInTable="columnEstNumPart" type="xs:int" />
<xs:element name="EstProcTime" msprop:Generator_ColumnPropNameInTable="EstProcTimeColumn" msprop:Generator_ColumnPropNameInRow="EstProcTime" msprop:Generator_UserColumnName="EstProcTime" msprop:Generator_ColumnVarNameInTable="columnEstProcTime" type="xs:double" />
<xs:element name="TotalTime" msprop:Generator_ColumnPropNameInTable="TotalTimeColumn" msprop:Generator_ColumnPropNameInRow="TotalTime" msprop:Generator_UserColumnName="TotalTime" msprop:Generator_ColumnVarNameInTable="columnTotalTime" type="xs:double" />
<xs:element name="TimeQuota" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="TimeQuotaColumn" msprop:Generator_ColumnPropNameInRow="TimeQuota" msprop:Generator_UserColumnName="TimeQuota" msprop:Generator_ColumnVarNameInTable="columnTimeQuota" type="xs:double" minOccurs="0" />
<xs:element name="AncestBatchID" msprop:Generator_ColumnPropNameInTable="AncestBatchIDColumn" msprop:Generator_ColumnPropNameInRow="AncestBatchID" msprop:Generator_UserColumnName="AncestBatchID" msprop:Generator_ColumnVarNameInTable="columnAncestBatchID" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Places" msprop:Generator_RowEvHandlerName="PlacesRowChangeEventHandler" msprop:Generator_RowDeletedName="PlacesRowDeleted" msprop:Generator_RowDeletingName="PlacesRowDeleting" msprop:Generator_RowEvArgName="PlacesRowChangeEvent" msprop:Generator_TablePropName="Places" msprop:Generator_RowChangedName="PlacesRowChanged" msprop:Generator_UserTableName="Places" msprop:Generator_RowChangingName="PlacesRowChanging" msprop:Generator_RowClassName="PlacesRow" msprop:Generator_TableClassName="PlacesDataTable" msprop:Generator_TableVarName="tablePlaces">
<xs:complexType>
<xs:sequence>
<xs:element name="PlaceCod" msprop:Generator_ColumnPropNameInTable="PlaceCodColumn" msprop:Generator_ColumnPropNameInRow="PlaceCod" msprop:Generator_UserColumnName="PlaceCod" msprop:Generator_ColumnVarNameInTable="columnPlaceCod">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PlaceDesc" msprop:Generator_ColumnPropNameInTable="PlaceDescColumn" msprop:Generator_ColumnPropNameInRow="PlaceDesc" msprop:Generator_UserColumnName="PlaceDesc" msprop:Generator_ColumnVarNameInTable="columnPlaceDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PlaceCodAncest" msprop:Generator_ColumnPropNameInTable="PlaceCodAncestColumn" msprop:Generator_ColumnPropNameInRow="PlaceCodAncest" msprop:Generator_UserColumnName="PlaceCodAncest" msprop:Generator_ColumnVarNameInTable="columnPlaceCodAncest">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ShowSel" msprop:Generator_ColumnPropNameInTable="ShowSelColumn" msprop:Generator_ColumnPropNameInRow="ShowSel" msprop:Generator_UserColumnName="ShowSel" msprop:Generator_ColumnVarNameInTable="columnShowSel" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StatusLog" msprop:Generator_RowEvHandlerName="StatusLogRowChangeEventHandler" msprop:Generator_RowDeletedName="StatusLogRowDeleted" msprop:Generator_RowDeletingName="StatusLogRowDeleting" msprop:Generator_RowEvArgName="StatusLogRowChangeEvent" msprop:Generator_TablePropName="StatusLog" msprop:Generator_RowChangedName="StatusLogRowChanged" msprop:Generator_UserTableName="StatusLog" msprop:Generator_RowChangingName="StatusLogRowChanging" msprop:Generator_RowClassName="StatusLogRow" msprop:Generator_TableClassName="StatusLogDataTable" msprop:Generator_TableVarName="tableStatusLog">
<xs:complexType>
<xs:sequence>
<xs:element name="PlaceCod" msprop:Generator_ColumnPropNameInTable="PlaceCodColumn" msprop:Generator_ColumnPropNameInRow="PlaceCod" msprop:Generator_UserColumnName="PlaceCod" msprop:Generator_ColumnVarNameInTable="columnPlaceCod">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="StatusID" msprop:Generator_ColumnPropNameInTable="StatusIDColumn" msprop:Generator_ColumnPropNameInRow="StatusID" msprop:Generator_UserColumnName="StatusID" msprop:Generator_ColumnVarNameInTable="columnStatusID" type="xs:int" />
<xs:element name="DtRecord" msprop:Generator_ColumnPropNameInTable="DtRecordColumn" msprop:Generator_ColumnPropNameInRow="DtRecord" msprop:Generator_UserColumnName="DtRecord" msprop:Generator_ColumnVarNameInTable="columnDtRecord" type="xs:dateTime" />
<xs:element name="Code" msprop:Generator_ColumnPropNameInTable="CodeColumn" msprop:Generator_ColumnPropNameInRow="Code" msprop:Generator_UserColumnName="Code" msprop:Generator_ColumnVarNameInTable="columnCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Station" msprop:Generator_ColumnPropNameInTable="StationColumn" msprop:Generator_ColumnPropNameInRow="Station" msprop:Generator_UserColumnName="Station" msprop:Generator_ColumnVarNameInTable="columnStation">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Payload" msprop:Generator_ColumnPropNameInTable="PayloadColumn" msprop:Generator_ColumnPropNameInRow="Payload" msprop:Generator_UserColumnName="Payload" msprop:Generator_ColumnVarNameInTable="columnPayload">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Duration" msprop:Generator_ColumnPropNameInTable="DurationColumn" msprop:Generator_ColumnPropNameInRow="Duration" msprop:Generator_UserColumnName="Duration" msprop:Generator_ColumnVarNameInTable="columnDuration" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StatusDecode" msprop:Generator_RowEvHandlerName="StatusDecodeRowChangeEventHandler" msprop:Generator_RowDeletedName="StatusDecodeRowDeleted" msprop:Generator_RowDeletingName="StatusDecodeRowDeleting" msprop:Generator_RowEvArgName="StatusDecodeRowChangeEvent" msprop:Generator_TablePropName="StatusDecode" msprop:Generator_RowChangedName="StatusDecodeRowChanged" msprop:Generator_UserTableName="StatusDecode" msprop:Generator_RowChangingName="StatusDecodeRowChanging" msprop:Generator_RowClassName="StatusDecodeRow" msprop:Generator_TableClassName="StatusDecodeDataTable" msprop:Generator_TableVarName="tableStatusDecode">
<xs:complexType>
<xs:sequence>
<xs:element name="Station" msprop:Generator_ColumnPropNameInTable="StationColumn" msprop:Generator_ColumnPropNameInRow="Station" msprop:Generator_UserColumnName="Station" msprop:Generator_ColumnVarNameInTable="columnStation">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Code" msprop:Generator_ColumnPropNameInTable="CodeColumn" msprop:Generator_ColumnPropNameInRow="Code" msprop:Generator_UserColumnName="Code" msprop:Generator_ColumnVarNameInTable="columnCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Descript" msprop:Generator_ColumnPropNameInTable="DescriptColumn" msprop:Generator_ColumnPropNameInRow="Descript" msprop:Generator_UserColumnName="Descript" msprop:Generator_ColumnVarNameInTable="columnDescript">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Css" msprop:Generator_ColumnPropNameInTable="CssColumn" msprop:Generator_ColumnPropNameInRow="Css" msprop:Generator_UserColumnName="Css" msprop:Generator_ColumnVarNameInTable="columnCss">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UpdMan" msprop:Generator_RowEvHandlerName="UpdManRowChangeEventHandler" msprop:Generator_RowDeletedName="UpdManRowDeleted" msprop:Generator_RowDeletingName="UpdManRowDeleting" msprop:Generator_RowEvArgName="UpdManRowChangeEvent" msprop:Generator_TablePropName="UpdMan" msprop:Generator_RowChangedName="UpdManRowChanged" msprop:Generator_UserTableName="UpdMan" msprop:Generator_RowChangingName="UpdManRowChanging" msprop:Generator_RowClassName="UpdManRow" msprop:Generator_TableClassName="UpdManDataTable" msprop:Generator_TableVarName="tableUpdMan">
<xs:complexType>
<xs:sequence>
<xs:element name="AppName" msprop:Generator_ColumnPropNameInTable="AppNameColumn" msprop:Generator_ColumnPropNameInRow="AppName" msprop:Generator_UserColumnName="AppName" msprop:Generator_ColumnVarNameInTable="columnAppName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ManifestUrl" msprop:Generator_ColumnPropNameInTable="ManifestUrlColumn" msprop:Generator_ColumnPropNameInRow="ManifestUrl" msprop:Generator_UserColumnName="ManifestUrl" msprop:Generator_ColumnVarNameInTable="columnManifestUrl">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IsAuth" msprop:Generator_ColumnPropNameInTable="IsAuthColumn" msprop:Generator_ColumnPropNameInRow="IsAuth" msprop:Generator_UserColumnName="IsAuth" msprop:Generator_ColumnVarNameInTable="columnIsAuth" type="xs:boolean" />
<xs:element name="LocalRepo" msprop:Generator_ColumnPropNameInTable="LocalRepoColumn" msprop:Generator_ColumnPropNameInRow="LocalRepo" msprop:Generator_UserColumnName="LocalRepo" msprop:Generator_ColumnVarNameInTable="columnLocalRepo">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PackName" msprop:Generator_ColumnPropNameInTable="PackNameColumn" msprop:Generator_ColumnPropNameInRow="PackName" msprop:Generator_UserColumnName="PackName" msprop:Generator_ColumnVarNameInTable="columnPackName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LicenseKey" msprop:Generator_ColumnPropNameInTable="LicenseKeyColumn" msprop:Generator_ColumnPropNameInRow="LicenseKey" msprop:Generator_UserColumnName="LicenseKey" msprop:Generator_ColumnVarNameInTable="columnLicenseKey">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SheetStats" msprop:Generator_RowEvHandlerName="SheetStatsRowChangeEventHandler" msprop:Generator_RowDeletedName="SheetStatsRowDeleted" msprop:Generator_RowDeletingName="SheetStatsRowDeleting" msprop:Generator_RowEvArgName="SheetStatsRowChangeEvent" msprop:Generator_TablePropName="SheetStats" msprop:Generator_RowChangedName="SheetStatsRowChanged" msprop:Generator_UserTableName="SheetStats" msprop:Generator_RowChangingName="SheetStatsRowChanging" msprop:Generator_RowClassName="SheetStatsRow" msprop:Generator_TableClassName="SheetStatsDataTable" msprop:Generator_TableVarName="tableSheetStats">
<xs:complexType>
<xs:sequence>
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="SheetIndex" msprop:Generator_ColumnPropNameInTable="SheetIndexColumn" msprop:Generator_ColumnPropNameInRow="SheetIndex" msprop:Generator_UserColumnName="SheetIndex" msprop:Generator_ColumnVarNameInTable="columnSheetIndex" type="xs:int" />
<xs:element name="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_UserColumnName="MatID" msprop:Generator_ColumnVarNameInTable="columnMatID" type="xs:int" />
<xs:element name="WorkArea" msprop:Generator_ColumnPropNameInTable="WorkAreaColumn" msprop:Generator_ColumnPropNameInRow="WorkArea" msprop:Generator_UserColumnName="WorkArea" msprop:Generator_ColumnVarNameInTable="columnWorkArea" type="xs:decimal" />
<xs:element name="TotalArea" msprop:Generator_ColumnPropNameInTable="TotalAreaColumn" msprop:Generator_ColumnPropNameInRow="TotalArea" msprop:Generator_UserColumnName="TotalArea" msprop:Generator_ColumnVarNameInTable="columnTotalArea" type="xs:decimal" />
<xs:element name="NumParts" msprop:Generator_ColumnPropNameInTable="NumPartsColumn" msprop:Generator_ColumnPropNameInRow="NumParts" msprop:Generator_UserColumnName="NumParts" msprop:Generator_ColumnVarNameInTable="columnNumParts" type="xs:int" />
<xs:element name="NumPainted" msprop:Generator_ColumnPropNameInTable="NumPaintedColumn" msprop:Generator_ColumnPropNameInRow="NumPainted" msprop:Generator_UserColumnName="NumPainted" msprop:Generator_ColumnVarNameInTable="columnNumPainted" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BatchStats" msprop:Generator_RowEvHandlerName="BatchStatsRowChangeEventHandler" msprop:Generator_RowDeletedName="BatchStatsRowDeleted" msprop:Generator_RowDeletingName="BatchStatsRowDeleting" msprop:Generator_RowEvArgName="BatchStatsRowChangeEvent" msprop:Generator_TablePropName="BatchStats" msprop:Generator_RowChangedName="BatchStatsRowChanged" msprop:Generator_UserTableName="BatchStats" msprop:Generator_RowChangingName="BatchStatsRowChanging" msprop:Generator_RowClassName="BatchStatsRow" msprop:Generator_TableClassName="BatchStatsDataTable" msprop:Generator_TableVarName="tableBatchStats">
<xs:complexType>
<xs:sequence>
<xs:element name="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_UserColumnName="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" type="xs:int" />
<xs:element name="Takt" msprop:Generator_ColumnPropNameInTable="TaktColumn" msprop:Generator_ColumnPropNameInRow="Takt" msprop:Generator_UserColumnName="Takt" msprop:Generator_ColumnVarNameInTable="columnTakt">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="AvgYeld" msprop:Generator_ColumnPropNameInTable="AvgYeldColumn" msprop:Generator_ColumnPropNameInRow="AvgYeld" msprop:Generator_UserColumnName="AvgYeld" msprop:Generator_ColumnVarNameInTable="columnAvgYeld" type="xs:decimal" />
<xs:element name="TotalArea" msprop:Generator_ColumnPropNameInTable="TotalAreaColumn" msprop:Generator_ColumnPropNameInRow="TotalArea" msprop:Generator_UserColumnName="TotalArea" msprop:Generator_ColumnVarNameInTable="columnTotalArea" type="xs:decimal" />
<xs:element name="NumMat" msprop:Generator_ColumnPropNameInTable="NumMatColumn" msprop:Generator_ColumnPropNameInRow="NumMat" msprop:Generator_UserColumnName="NumMat" msprop:Generator_ColumnVarNameInTable="columnNumMat" type="xs:int" />
<xs:element name="NumSheets" msprop:Generator_ColumnPropNameInTable="NumSheetsColumn" msprop:Generator_ColumnPropNameInRow="NumSheets" msprop:Generator_UserColumnName="NumSheets" msprop:Generator_ColumnVarNameInTable="columnNumSheets" type="xs:int" />
<xs:element name="NumModel" msprop:Generator_ColumnPropNameInTable="NumModelColumn" msprop:Generator_ColumnPropNameInRow="NumModel" msprop:Generator_UserColumnName="NumModel" msprop:Generator_ColumnVarNameInTable="columnNumModel" type="xs:int" />
<xs:element name="NumKit" msprop:Generator_ColumnPropNameInTable="NumKitColumn" msprop:Generator_ColumnPropNameInRow="NumKit" msprop:Generator_UserColumnName="NumKit" msprop:Generator_ColumnVarNameInTable="columnNumKit" type="xs:int" />
<xs:element name="NumParts" msprop:Generator_ColumnPropNameInTable="NumPartsColumn" msprop:Generator_ColumnPropNameInRow="NumParts" msprop:Generator_UserColumnName="NumParts" msprop:Generator_ColumnVarNameInTable="columnNumParts" type="xs:int" />
<xs:element name="NumPainted" msprop:Generator_ColumnPropNameInTable="NumPaintedColumn" msprop:Generator_ColumnPropNameInRow="NumPainted" msprop:Generator_UserColumnName="NumPainted" msprop:Generator_ColumnVarNameInTable="columnNumPainted" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ProductionStatsDay" msprop:Generator_RowEvHandlerName="ProductionStatsDayRowChangeEventHandler" msprop:Generator_RowDeletedName="ProductionStatsDayRowDeleted" msprop:Generator_RowDeletingName="ProductionStatsDayRowDeleting" msprop:Generator_RowEvArgName="ProductionStatsDayRowChangeEvent" msprop:Generator_TablePropName="ProductionStatsDay" msprop:Generator_RowChangedName="ProductionStatsDayRowChanged" msprop:Generator_UserTableName="ProductionStatsDay" msprop:Generator_RowChangingName="ProductionStatsDayRowChanging" msprop:Generator_RowClassName="ProductionStatsDayRow" msprop:Generator_TableClassName="ProductionStatsDayDataTable" msprop:Generator_TableVarName="tableProductionStatsDay">
<xs:complexType>
<xs:sequence>
<xs:element name="PlaceCod" msprop:Generator_ColumnPropNameInTable="PlaceCodColumn" msprop:Generator_ColumnPropNameInRow="PlaceCod" msprop:Generator_UserColumnName="PlaceCod" msprop:Generator_ColumnVarNameInTable="columnPlaceCod">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataRif" msprop:Generator_ColumnPropNameInTable="DataRifColumn" msprop:Generator_ColumnPropNameInRow="DataRif" msprop:Generator_UserColumnName="DataRif" msprop:Generator_ColumnVarNameInTable="columnDataRif" type="xs:dateTime" />
<xs:element name="DataOraRif" msprop:Generator_ColumnPropNameInTable="DataOraRifColumn" msprop:Generator_ColumnPropNameInRow="DataOraRif" msprop:Generator_UserColumnName="DataOraRif" msprop:Generator_ColumnVarNameInTable="columnDataOraRif" type="xs:dateTime" />
<xs:element name="ItmProd" msprop:Generator_ColumnPropNameInTable="ItmProdColumn" msprop:Generator_ColumnPropNameInRow="ItmProd" msprop:Generator_UserColumnName="ItmProd" msprop:Generator_ColumnVarNameInTable="columnItmProd" type="xs:int" />
<xs:element name="ItmScrap" msprop:Generator_ColumnPropNameInTable="ItmScrapColumn" msprop:Generator_ColumnPropNameInRow="ItmScrap" msprop:Generator_UserColumnName="ItmScrap" msprop:Generator_ColumnVarNameInTable="columnItmScrap" type="xs:int" />
<xs:element name="MinRun" msprop:Generator_ColumnPropNameInTable="MinRunColumn" msprop:Generator_ColumnPropNameInRow="MinRun" msprop:Generator_UserColumnName="MinRun" msprop:Generator_ColumnVarNameInTable="columnMinRun" type="xs:int" />
<xs:element name="MinDisp" msprop:Generator_ColumnPropNameInTable="MinDispColumn" msprop:Generator_ColumnPropNameInRow="MinDisp" msprop:Generator_UserColumnName="MinDisp" msprop:Generator_ColumnVarNameInTable="columnMinDisp" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PlantList" msprop:Generator_RowEvHandlerName="PlantListRowChangeEventHandler" msprop:Generator_RowDeletedName="PlantListRowDeleted" msprop:Generator_RowDeletingName="PlantListRowDeleting" msprop:Generator_RowEvArgName="PlantListRowChangeEvent" msprop:Generator_TablePropName="PlantList" msprop:Generator_RowChangedName="PlantListRowChanged" msprop:Generator_UserTableName="PlantList" msprop:Generator_RowChangingName="PlantListRowChanging" msprop:Generator_RowClassName="PlantListRow" msprop:Generator_TableClassName="PlantListDataTable" msprop:Generator_TableVarName="tablePlantList">
<xs:complexType>
<xs:sequence>
<xs:element name="PlantCod" msprop:Generator_ColumnPropNameInTable="PlantCodColumn" msprop:Generator_ColumnPropNameInRow="PlantCod" msprop:Generator_UserColumnName="PlantCod" msprop:Generator_ColumnVarNameInTable="columnPlantCod">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PlantDescr" msprop:Generator_ColumnPropNameInTable="PlantDescrColumn" msprop:Generator_ColumnPropNameInRow="PlantDescr" msprop:Generator_UserColumnName="PlantDescr" msprop:Generator_ColumnVarNameInTable="columnPlantDescr">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SpecialParts" msprop:Generator_RowEvHandlerName="SpecialPartsRowChangeEventHandler" msprop:Generator_RowDeletedName="SpecialPartsRowDeleted" msprop:Generator_RowDeletingName="SpecialPartsRowDeleting" msprop:Generator_RowEvArgName="SpecialPartsRowChangeEvent" msprop:Generator_TablePropName="SpecialParts" msprop:Generator_RowChangedName="SpecialPartsRowChanged" msprop:Generator_UserTableName="SpecialParts" msprop:Generator_RowChangingName="SpecialPartsRowChanging" msprop:Generator_RowClassName="SpecialPartsRow" msprop:Generator_TableClassName="SpecialPartsDataTable" msprop:Generator_TableVarName="tableSpecialParts">
<xs:complexType>
<xs:sequence>
<xs:element name="SpecPartCod" msprop:Generator_ColumnPropNameInTable="SpecPartCodColumn" msprop:Generator_ColumnPropNameInRow="SpecPartCod" msprop:Generator_UserColumnName="SpecPartCod" msprop:Generator_ColumnVarNameInTable="columnSpecPartCod">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ModelCod" msprop:Generator_ColumnPropNameInTable="ModelCodColumn" msprop:Generator_ColumnPropNameInRow="ModelCod" msprop:Generator_UserColumnName="ModelCod" msprop:Generator_ColumnVarNameInTable="columnModelCod">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SpecPartDescr" msprop:Generator_ColumnPropNameInTable="SpecPartDescrColumn" msprop:Generator_ColumnPropNameInRow="SpecPartDescr" msprop:Generator_UserColumnName="SpecPartDescr" msprop:Generator_ColumnVarNameInTable="columnSpecPartDescr">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CartCode" msprop:Generator_ColumnPropNameInTable="CartCodeColumn" msprop:Generator_ColumnPropNameInRow="CartCode" msprop:Generator_UserColumnName="CartCode" msprop:Generator_ColumnVarNameInTable="columnCartCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OrderSearch" msprop:Generator_RowEvHandlerName="OrderSearchRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderSearchRowDeleted" msprop:Generator_RowDeletingName="OrderSearchRowDeleting" msprop:Generator_RowEvArgName="OrderSearchRowChangeEvent" msprop:Generator_TablePropName="OrderSearch" msprop:Generator_RowChangedName="OrderSearchRowChanged" msprop:Generator_RowChangingName="OrderSearchRowChanging" msprop:Generator_TableClassName="OrderSearchDataTable" msprop:Generator_RowClassName="OrderSearchRow" msprop:Generator_TableVarName="tableOrderSearch" msprop:Generator_UserTableName="OrderSearch">
<xs:complexType>
<xs:sequence>
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode" msprop:Generator_UserColumnName="OrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MODEL" msprop:Generator_ColumnPropNameInRow="MODEL" msprop:Generator_ColumnPropNameInTable="MODELColumn" msprop:Generator_ColumnVarNameInTable="columnMODEL" msprop:Generator_UserColumnName="MODEL">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FRAME_QTY" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="FRAME_QTY" msprop:Generator_ColumnPropNameInTable="FRAME_QTYColumn" msprop:Generator_ColumnVarNameInTable="columnFRAME_QTY" msprop:Generator_UserColumnName="FRAME_QTY" type="xs:int" minOccurs="0" />
<xs:element name="MRP_PART" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="MRP_PART" msprop:Generator_ColumnPropNameInTable="MRP_PARTColumn" msprop:Generator_ColumnVarNameInTable="columnMRP_PART" msprop:Generator_UserColumnName="MRP_PART" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="QTY" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="QTY" msprop:Generator_ColumnPropNameInTable="QTYColumn" msprop:Generator_ColumnVarNameInTable="columnQTY" msprop:Generator_UserColumnName="QTY" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:BatchList" />
<xs:field xpath="mstns:BatchID" />
</xs:unique>
<xs:unique name="StackList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:StackList" />
<xs:field xpath="mstns:StackID" />
</xs:unique>
<xs:unique name="SheetList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:SheetList" />
<xs:field xpath="mstns:SheetID" />
</xs:unique>
<xs:unique name="OrderList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:OrderList" />
<xs:field xpath="mstns:OrdID" />
</xs:unique>
<xs:unique name="ItemList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:ItemList" />
<xs:field xpath="mstns:ItemID" />
</xs:unique>
<xs:unique name="Materials_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Materials" />
<xs:field xpath="mstns:MatID" />
</xs:unique>
<xs:unique name="Bins_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Bins" />
<xs:field xpath="mstns:BinID" />
</xs:unique>
<xs:unique name="Carts_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Carts" />
<xs:field xpath="mstns:BatchID" />
<xs:field xpath="mstns:CartID" />
</xs:unique>
<xs:unique name="OfflineOrderList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:OfflineOrderList" />
<xs:field xpath="mstns:OrdID" />
</xs:unique>
<xs:unique name="OffOrd2Item_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:OffOrd2Item" />
<xs:field xpath="mstns:OrdID" />
<xs:field xpath="mstns:ItemID" />
</xs:unique>
<xs:unique name="KitList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:KitList" />
<xs:field xpath="mstns:KitID" />
</xs:unique>
<xs:unique name="Nesting_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Nesting" />
<xs:field xpath="mstns:SheetID" />
<xs:field xpath="mstns:ItemID" />
</xs:unique>
<xs:unique name="ImportLog_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:ImportLog" />
<xs:field xpath="mstns:NumLog" />
</xs:unique>
<xs:unique name="BinList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:BinList" />
<xs:field xpath="mstns:BinID" />
</xs:unique>
<xs:unique name="FinalKit_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:FinalKit" />
<xs:field xpath="mstns:FinalKitID" />
</xs:unique>
<xs:unique name="Order2FinalKit_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Order2FinalKit" />
<xs:field xpath="mstns:FinalKitID" />
</xs:unique>
<xs:unique name="Counters_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Counters" />
<xs:field xpath="mstns:CountType" />
</xs:unique>
<xs:unique name="ErrorsLog_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:ErrorsLog" />
<xs:field xpath="mstns:ErrID" />
</xs:unique>
<xs:unique name="ItemValidation_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:ItemValidation" />
<xs:field xpath="mstns:ItemExtCode" />
</xs:unique>
<xs:unique name="Remnants_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Remnants" />
<xs:field xpath="mstns:RemnantID" />
</xs:unique>
<xs:unique name="CartOnKit_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:CartOnKit" />
<xs:field xpath="mstns:CartID" />
</xs:unique>
<xs:unique name="PackList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:PackList" />
<xs:field xpath="mstns:PackListID" />
</xs:unique>
<xs:unique name="OtherItem_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:OtherItem" />
<xs:field xpath="mstns:OtherItemID" />
</xs:unique>
<xs:unique name="ItemSearchDetail_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:ItemSearchDetail" />
<xs:field xpath="mstns:ItemID" />
</xs:unique>
<xs:unique name="PackListDet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:PackListDet" />
<xs:field xpath="mstns:PackListDetID" />
</xs:unique>
<xs:unique name="PackLog_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:PackLog" />
<xs:field xpath="mstns:PLogID" />
</xs:unique>
<xs:unique name="PackCheck_Constraint1" msdata:ConstraintName="Constraint1">
<xs:selector xpath=".//mstns:PackCheck" />
<xs:field xpath="mstns:CartID" />
</xs:unique>
<xs:unique name="OKIB_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:OKIB" />
<xs:field xpath="mstns:ItemID" />
</xs:unique>
<xs:unique name="OKIB_Sum_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:OKIB_Sum" />
<xs:field xpath="mstns:BinID" />
<xs:field xpath="mstns:CartID" />
</xs:unique>
<xs:unique name="OKOI_sum_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:OKOI_sum" />
<xs:field xpath="mstns:OtherItemID" />
<xs:field xpath="mstns:OrdID" />
<xs:field xpath="mstns:CartID" />
</xs:unique>
<xs:unique name="Pack2Cart_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Pack2Cart" />
<xs:field xpath="mstns:CartID" />
<xs:field xpath="mstns:PackListID" />
</xs:unique>
<xs:unique name="FileValidation_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:FileValidation" />
<xs:field xpath="mstns:ItemExtCode" />
</xs:unique>
<xs:unique name="SheetsPreview_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:SheetsPreview" />
<xs:field xpath="mstns:SheetID" />
</xs:unique>
<xs:unique name="OrderListTree_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:OrderListTree" />
<xs:field xpath="mstns:BatchID" />
<xs:field xpath="mstns:OrdID" />
</xs:unique>
<xs:unique name="Places_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Places" />
<xs:field xpath="mstns:PlaceCod" />
</xs:unique>
<xs:unique name="StatusLog_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:StatusLog" />
<xs:field xpath="mstns:PlaceCod" />
</xs:unique>
<xs:unique name="Constraint2">
<xs:selector xpath=".//mstns:StatusLog" />
<xs:field xpath="mstns:StatusID" />
</xs:unique>
<xs:unique name="StatusDecode_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:StatusDecode" />
<xs:field xpath="mstns:Station" />
<xs:field xpath="mstns:Code" />
</xs:unique>
<xs:unique name="UpdMan_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:UpdMan" />
<xs:field xpath="mstns:AppName" />
</xs:unique>
<xs:unique name="SheetStats_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:SheetStats" />
<xs:field xpath="mstns:BatchID" />
<xs:field xpath="mstns:SheetIndex" />
</xs:unique>
<xs:unique name="BatchStats_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:BatchStats" />
<xs:field xpath="mstns:BatchID" />
</xs:unique>
<xs:unique name="ProductionStatsDayKey1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:ProductionStatsDay" />
<xs:field xpath="mstns:PlaceCod" />
<xs:field xpath="mstns:DataRif" />
</xs:unique>
<xs:unique name="PlantList_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:PlantList" />
<xs:field xpath="mstns:PlantCod" />
</xs:unique>
<xs:unique name="SpecialParts_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:SpecialParts" />
<xs:field xpath="mstns:SpecPartCod" />
</xs:unique>
<xs:unique name="OrderSearchKey1">
<xs:selector xpath=".//mstns:OrderSearch" />
<xs:field xpath="mstns:OrderExtCode" />
<xs:field xpath="mstns:MODEL" />
<xs:field xpath="mstns:MRP_PART" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_ItemList_Materials1" msdata:parent="Materials" msdata:child="ItemList" msdata:parentkey="MatID" msdata:childkey="MatID" msprop:Generator_UserParentTable="Materials" msprop:Generator_UserChildTable="ItemList" msprop:Generator_RelationVarName="relationFK_ItemList_Materials1" msprop:Generator_ChildPropName="GetItemListRows" msprop:Generator_UserRelationName="FK_ItemList_Materials1" msprop:Generator_ParentPropName="MaterialsRow" />
<msdata:Relationship name="FK_OffOrd2Item_OfflineOrderList" msdata:parent="OfflineOrderList" msdata:child="OffOrd2Item" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OfflineOrderList" msprop:Generator_UserChildTable="OffOrd2Item" msprop:Generator_RelationVarName="relationFK_OffOrd2Item_OfflineOrderList" msprop:Generator_ChildPropName="GetOffOrd2ItemRows" msprop:Generator_UserRelationName="FK_OffOrd2Item_OfflineOrderList" msprop:Generator_ParentPropName="OfflineOrderListRow" />
<msdata:Relationship name="FK_ItemList_KitList" msdata:parent="KitList" msdata:child="ItemList" msdata:parentkey="KitID" msdata:childkey="KitID" msprop:Generator_UserParentTable="KitList" msprop:Generator_UserChildTable="ItemList" msprop:Generator_RelationVarName="relationFK_ItemList_KitList" msprop:Generator_ChildPropName="GetItemListRows" msprop:Generator_UserRelationName="FK_ItemList_KitList" msprop:Generator_ParentPropName="KitListRow" />
<msdata:Relationship name="FK_Nesting_ItemList" msdata:parent="ItemList" msdata:child="Nesting" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="Nesting" msprop:Generator_RelationVarName="relationFK_Nesting_ItemList" msprop:Generator_ChildPropName="GetNestingRows" msprop:Generator_UserRelationName="FK_Nesting_ItemList" msprop:Generator_ParentPropName="ItemListRow" />
<msdata:Relationship name="FK_KitList_Carts" msdata:parent="Carts" msdata:child="KitList" msdata:parentkey="CartID" msdata:childkey="CartID" msprop:Generator_UserParentTable="Carts" msprop:Generator_UserChildTable="KitList" msprop:Generator_RelationVarName="relationFK_KitList_Carts" msprop:Generator_ChildPropName="GetKitListRows" msprop:Generator_UserRelationName="FK_KitList_Carts" msprop:Generator_ParentPropName="CartsRow" />
<msdata:Relationship name="FK_KitList_OrderList" msdata:parent="OrderList" msdata:child="KitList" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OrderList" msprop:Generator_UserChildTable="KitList" msprop:Generator_RelationVarName="relationFK_KitList_OrderList" msprop:Generator_ChildPropName="GetKitListRows" msprop:Generator_UserRelationName="FK_KitList_OrderList" msprop:Generator_ParentPropName="OrderListRow" />
<msdata:Relationship name="FK_OffOrd2Item_ItemList" msdata:parent="ItemList" msdata:child="OffOrd2Item" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="OffOrd2Item" msprop:Generator_RelationVarName="relationFK_OffOrd2Item_ItemList" msprop:Generator_ChildPropName="GetOffOrd2ItemRows" msprop:Generator_UserRelationName="FK_OffOrd2Item_ItemList" msprop:Generator_ParentPropName="ItemListRow" />
<msdata:Relationship name="FK_BinList_Bins" msdata:parent="Bins" msdata:child="BinList" msdata:parentkey="BinID" msdata:childkey="BinID" msprop:Generator_UserParentTable="Bins" msprop:Generator_UserChildTable="BinList" msprop:Generator_RelationVarName="relationFK_BinList_Bins" msprop:Generator_ChildPropName="GetBinListRows" msprop:Generator_UserRelationName="FK_BinList_Bins" msprop:Generator_ParentPropName="BinsRow" />
<msdata:Relationship name="FK_BinList_ItemList" msdata:parent="ItemList" msdata:child="BinList" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="BinList" msprop:Generator_RelationVarName="relationFK_BinList_ItemList" msprop:Generator_ChildPropName="GetBinListRows" msprop:Generator_UserRelationName="FK_BinList_ItemList" msprop:Generator_ParentPropName="ItemListRow" />
<msdata:Relationship name="FK_Order2FinalKit_FinalKit" msdata:parent="FinalKit" msdata:child="Order2FinalKit" msdata:parentkey="FinalKitID" msdata:childkey="FinalKitID" msprop:Generator_UserParentTable="FinalKit" msprop:Generator_UserChildTable="Order2FinalKit" msprop:Generator_RelationVarName="relationFK_Order2FinalKit_FinalKit" msprop:Generator_ChildPropName="GetOrder2FinalKitRows" msprop:Generator_ParentPropName="FinalKitRow" msprop:Generator_UserRelationName="FK_Order2FinalKit_FinalKit" />
<msdata:Relationship name="FK_Order2FinalKit_OrderList" msdata:parent="OrderList" msdata:child="Order2FinalKit" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OrderList" msprop:Generator_UserChildTable="Order2FinalKit" msprop:Generator_RelationVarName="relationFK_Order2FinalKit_OrderList" msprop:Generator_ChildPropName="GetOrder2FinalKitRows" msprop:Generator_ParentPropName="OrderListRow" msprop:Generator_UserRelationName="FK_Order2FinalKit_OrderList" />
<msdata:Relationship name="FK_StatusLog_Places" msdata:parent="Places" msdata:child="StatusLog" msdata:parentkey="PlaceCod" msdata:childkey="PlaceCod" msprop:Generator_UserParentTable="Places" msprop:Generator_UserChildTable="StatusLog" msprop:Generator_RelationVarName="relationFK_StatusLog_Places" msprop:Generator_ChildPropName="GetStatusLogRows" msprop:Generator_ParentPropName="PlacesRow" msprop:Generator_UserRelationName="FK_StatusLog_Places" />
</xs:appinfo>
</xs:annotation>
</xs:schema>