Files
C2P/C2P_Data/DS_Quotes.xsd
2015-10-06 17:42:18 +02:00

3605 lines
474 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DS_Quotes" targetNamespace="http://tempuri.org/DS_Quotes.xsd" xmlns:mstns="http://tempuri.org/DS_Quotes.xsd" xmlns="http://tempuri.org/DS_Quotes.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="C2PConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="C2PConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.C2P_Data.Properties.Settings.GlobalReference.Default.C2PConnectionString" Provider="System.Data.SqlClient" />
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="C2P_DataConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="C2P_DataConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.C2P_Data.Properties.Settings.GlobalReference.Default.C2P_DataConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="QuoteListTableAdapter" GeneratorDataComponentClassName="QuoteListTableAdapter" Name="QuoteList" UserDataComponentName="QuoteListTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P_Data.dbo.QuoteList" 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">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM QuoteList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="QuoteType" DataSetColumn="QuoteType" />
<Mapping SourceColumn="CodQuote" DataSetColumn="CodQuote" />
<Mapping SourceColumn="QuoteRev" DataSetColumn="QuoteRev" />
<Mapping SourceColumn="OfferResult" DataSetColumn="OfferResult" />
<Mapping SourceColumn="KoReason" DataSetColumn="KoReason" />
<Mapping SourceColumn="Agente" DataSetColumn="Agente" />
<Mapping SourceColumn="ProdType" DataSetColumn="ProdType" />
<Mapping SourceColumn="IdxQState" DataSetColumn="IdxQState" />
<Mapping SourceColumn="CodClient" DataSetColumn="CodClient" />
<Mapping SourceColumn="CodItem" DataSetColumn="CodItem" />
<Mapping SourceColumn="CodItemGroup" DataSetColumn="CodItemGroup" />
<Mapping SourceColumn="RawMat" DataSetColumn="RawMat" />
<Mapping SourceColumn="UnitWeight" DataSetColumn="UnitWeight" />
<Mapping SourceColumn="BatchQty" DataSetColumn="BatchQty" />
<Mapping SourceColumn="CodInco" DataSetColumn="CodInco" />
<Mapping SourceColumn="KeyAM" DataSetColumn="KeyAM" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
<Mapping SourceColumn="PriceOff" DataSetColumn="PriceOff" />
<Mapping SourceColumn="OrdDate" DataSetColumn="OrdDate" />
<Mapping SourceColumn="OrdNum" DataSetColumn="OrdNum" />
<Mapping SourceColumn="OrdRow" DataSetColumn="OrdRow" />
<Mapping SourceColumn="OrdPrice" DataSetColumn="OrdPrice" />
<Mapping SourceColumn="OrdQty" DataSetColumn="OrdQty" />
<Mapping SourceColumn="valid" DataSetColumn="valid" />
<Mapping SourceColumn="errorScore" DataSetColumn="errorScore" />
<Mapping SourceColumn="UserCreaz" DataSetColumn="UserCreaz" />
<Mapping SourceColumn="DataCreaz" DataSetColumn="DataCreaz" />
<Mapping SourceColumn="UserMod" DataSetColumn="UserMod" />
<Mapping SourceColumn="DataMod" DataSetColumn="DataMod" />
</Mappings>
<Sources>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QL_clone" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="clone" GetMethodModifier="Public" GetMethodName="clone" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="clone" UserSourceName="clone">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QL_clone</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType_orig" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote_orig" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuoteRev_orig" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QL_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_QL_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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QL_insNew" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insNew" GeneratorSourceName="stp_QL_insNew" GetMethodModifier="Public" GetMethodName="insNew" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insNew" UserSourceName="insNew">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QL_insNew</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodClient" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodItem" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@RawMatCost" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@RawMatExtraCost" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchQty" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodInco" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="2500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QL_makeSim" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="makeSim" GetMethodModifier="Public" GetMethodName="makeSim" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="makeSim" UserSourceName="makeSim">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QL_makeSim</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="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote_orig" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuoteRev_orig" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QL_newRev" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="newRev" GetMethodModifier="Public" GetMethodName="newRev" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="newRev" UserSourceName="newRev">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QL_newRev</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuoteRev_orig" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QL_update" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_QL_update" Modifier="Public" Name="stp_QL_update" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="stp_QL_update">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QL_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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" 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="QuoteRMTableAdapter" GeneratorDataComponentClassName="QuoteRMTableAdapter" Name="QuoteRM" UserDataComponentName="QuoteRMTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.QuoteRM" 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].[QuoteRM] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumRM] = @Original_NumRM) AND ([RawMat] = @Original_RawMat) AND ([RawMatCost] = @Original_RawMatCost) AND ([RawMatExtraCost] = @Original_RawMatExtraCost) AND ([CodPackag] = @Original_CodPackag) AND ([FCR] = @Original_FCR) AND ((@IsNull_FYR = 1 AND [FYR] IS NULL) OR ([FYR] = @Original_FYR)) AND ((@IsNull_FSR = 1 AND [FSR] IS NULL) OR ([FSR] = @Original_FSR)) AND ([valid] = @Original_valid))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumRM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumRM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RawMat" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RawMatCost" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="RawMatCost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RawMatExtraCost" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="RawMatExtraCost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPackag" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_FCR" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="FCR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FYR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FYR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_FYR" Precision="26" ProviderType="Decimal" Scale="19" Size="0" SourceColumn="FYR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FSR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FSR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_FSR" Precision="27" ProviderType="Decimal" Scale="19" Size="0" SourceColumn="FSR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[QuoteRM] ([QuoteType], [CodQuote], [QuoteRev], [NumRM], [RawMat], [RawMatCost], [RawMatExtraCost], [CodPackag], [FCR], [valid]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumRM, @RawMat, @RawMatCost, @RawMatExtraCost, @CodPackag, @FCR, @valid);
SELECT QuoteType, CodQuote, QuoteRev, NumRM, RawMat, RawMatCost, RawMatExtraCost, CodPackag, FCR, FYR, FSR, valid FROM QuoteRM WHERE (CodQuote = @CodQuote) AND (NumRM = @NumRM) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumRM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumRM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RawMat" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RawMatCost" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="RawMatCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RawMatExtraCost" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="RawMatExtraCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPackag" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@FCR" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="FCR" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT QuoteType, CodQuote, QuoteRev, NumRM, RawMat, RawMatCost, RawMatExtraCost, CodPackag, FCR, FYR, FSR, valid FROM dbo.QuoteRM</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[QuoteRM] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumRM] = @NumRM, [RawMat] = @RawMat, [RawMatCost] = @RawMatCost, [RawMatExtraCost] = @RawMatExtraCost, [CodPackag] = @CodPackag, [FCR] = @FCR, [valid] = @valid WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumRM] = @Original_NumRM) AND ([RawMat] = @Original_RawMat) AND ([RawMatCost] = @Original_RawMatCost) AND ([RawMatExtraCost] = @Original_RawMatExtraCost) AND ([CodPackag] = @Original_CodPackag) AND ([FCR] = @Original_FCR) AND ((@IsNull_FYR = 1 AND [FYR] IS NULL) OR ([FYR] = @Original_FYR)) AND ((@IsNull_FSR = 1 AND [FSR] IS NULL) OR ([FSR] = @Original_FSR)) AND ([valid] = @Original_valid));
SELECT QuoteType, CodQuote, QuoteRev, NumRM, RawMat, RawMatCost, RawMatExtraCost, CodPackag, FCR, FYR, FSR, valid FROM QuoteRM WHERE (CodQuote = @CodQuote) AND (NumRM = @NumRM) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumRM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumRM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RawMat" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RawMatCost" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="RawMatCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RawMatExtraCost" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="RawMatExtraCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPackag" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@FCR" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="FCR" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumRM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumRM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RawMat" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RawMatCost" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="RawMatCost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RawMatExtraCost" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="RawMatExtraCost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPackag" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_FCR" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="FCR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FYR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FYR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_FYR" Precision="26" ProviderType="Decimal" Scale="19" Size="0" SourceColumn="FYR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FSR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FSR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_FSR" Precision="27" ProviderType="Decimal" Scale="19" Size="0" SourceColumn="FSR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="QuoteType" DataSetColumn="QuoteType" />
<Mapping SourceColumn="CodQuote" DataSetColumn="CodQuote" />
<Mapping SourceColumn="QuoteRev" DataSetColumn="QuoteRev" />
<Mapping SourceColumn="NumRM" DataSetColumn="NumRM" />
<Mapping SourceColumn="RawMat" DataSetColumn="RawMat" />
<Mapping SourceColumn="RawMatCost" DataSetColumn="RawMatCost" />
<Mapping SourceColumn="RawMatExtraCost" DataSetColumn="RawMatExtraCost" />
<Mapping SourceColumn="CodPackag" DataSetColumn="CodPackag" />
<Mapping SourceColumn="FCR" DataSetColumn="FCR" />
<Mapping SourceColumn="FYR" DataSetColumn="FYR" />
<Mapping SourceColumn="FSR" DataSetColumn="FSR" />
<Mapping SourceColumn="valid" DataSetColumn="valid" />
</Mappings>
<Sources>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QRM_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_QRM_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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@NumRM" 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="QuoteWorkExtTableAdapter" GeneratorDataComponentClassName="QuoteWorkExtTableAdapter" Name="QuoteWorkExt" UserDataComponentName="QuoteWorkExtTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.QuoteWorkExt" 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].[QuoteWorkExt] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumWE] = @Original_NumWE) AND ([EWC4UG] = @Original_EWC4UG) AND ([UM] = @Original_UM) AND ([valid] = @Original_valid))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumWE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumWE" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_EWC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="EWC4UG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[QuoteWorkExt] ([QuoteType], [CodQuote], [QuoteRev], [NumWE], [EWC4UG], [UM], [valid]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumWE, @EWC4UG, @UM, @valid);
SELECT QuoteType, CodQuote, QuoteRev, NumWE, EWC4UG, UM, valid FROM QuoteWorkExt WHERE (CodQuote = @CodQuote) AND (NumWE = @NumWE) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumWE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumWE" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@EWC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="EWC4UG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT QuoteType, CodQuote, QuoteRev, NumWE, EWC4UG, UM, valid FROM dbo.QuoteWorkExt</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[QuoteWorkExt] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumWE] = @NumWE, [EWC4UG] = @EWC4UG, [UM] = @UM, [valid] = @valid WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumWE] = @Original_NumWE) AND ([EWC4UG] = @Original_EWC4UG) AND ([UM] = @Original_UM) AND ([valid] = @Original_valid));
SELECT QuoteType, CodQuote, QuoteRev, NumWE, EWC4UG, UM, valid FROM QuoteWorkExt WHERE (CodQuote = @CodQuote) AND (NumWE = @NumWE) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumWE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumWE" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@EWC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="EWC4UG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UM" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumWE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumWE" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_EWC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="EWC4UG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UM" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UM" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="QuoteType" DataSetColumn="QuoteType" />
<Mapping SourceColumn="CodQuote" DataSetColumn="CodQuote" />
<Mapping SourceColumn="QuoteRev" DataSetColumn="QuoteRev" />
<Mapping SourceColumn="NumWE" DataSetColumn="NumWE" />
<Mapping SourceColumn="EWC4UG" DataSetColumn="EWC4UG" />
<Mapping SourceColumn="UM" DataSetColumn="UM" />
<Mapping SourceColumn="valid" DataSetColumn="valid" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="QuoteWorkIntTableAdapter" GeneratorDataComponentClassName="QuoteWorkIntTableAdapter" Name="QuoteWorkInt" UserDataComponentName="QuoteWorkIntTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.QuoteWorkInt" 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].[QuoteWorkInt] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumWI] = @Original_NumWI) AND ([ProcessNum] = @Original_ProcessNum) AND ([CodPlant] = @Original_CodPlant) AND ([Class01] = @Original_Class01) AND ([Class02] = @Original_Class02) AND ([Class03] = @Original_Class03) AND ([Class04] = @Original_Class04) AND ([Class05] = @Original_Class05) AND ([NetProd] = @Original_NetProd) AND ([WSR] = @Original_WSR) AND ([MSR] = @Original_MSR) AND ([DSR] = @Original_DSR) AND ([FC4UG] = @Original_FC4UG) AND ([VC4UG] = @Original_VC4UG) AND ([OH4UG] = @Original_OH4UG) AND ([SC4UG] = @Original_SC4UG) AND ((@IsNull_WYR = 1 AND [WYR] IS NULL) OR ([WYR] = @Original_WYR)) AND ((@IsNull_MYR = 1 AND [MYR] IS NULL) OR ([MYR] = @Original_MYR)) AND ((@IsNull_DYR = 1 AND [DYR] IS NULL) OR ([DYR] = @Original_DYR)) AND ((@IsNull_WCR = 1 AND [WCR] IS NULL) OR ([WCR] = @Original_WCR)) AND ((@IsNull_MCR = 1 AND [MCR] IS NULL) OR ([MCR] = @Original_MCR)) AND ((@IsNull_DCR = 1 AND [DCR] IS NULL) OR ([DCR] = @Original_DCR)) AND ([valid] = @Original_valid))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumWI" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumWI" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class01" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class01" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class02" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class02" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class03" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class03" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class04" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class04" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class05" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class05" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_NetProd" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="NetProd" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_WSR" Precision="9" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="WSR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_MSR" Precision="9" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="MSR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DSR" Precision="9" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="DSR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_FC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="FC4UG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="VC4UG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_OH4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="OH4UG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="SC4UG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_WYR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="WYR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_WYR" Precision="10" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="WYR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MYR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MYR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_MYR" Precision="10" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="MYR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DYR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DYR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DYR" Precision="10" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="DYR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_WCR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="WCR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_WCR" Precision="20" ProviderType="Decimal" Scale="11" Size="0" SourceColumn="WCR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MCR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MCR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_MCR" Precision="20" ProviderType="Decimal" Scale="11" Size="0" SourceColumn="MCR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DCR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DCR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DCR" Precision="20" ProviderType="Decimal" Scale="11" Size="0" SourceColumn="DCR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[QuoteWorkInt] ([QuoteType], [CodQuote], [QuoteRev], [NumWI], [ProcessNum], [CodPlant], [Class01], [Class02], [Class03], [Class04], [Class05], [NetProd], [WSR], [MSR], [DSR], [FC4UG], [VC4UG], [OH4UG], [SC4UG], [valid]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumWI, @ProcessNum, @CodPlant, @Class01, @Class02, @Class03, @Class04, @Class05, @NetProd, @WSR, @MSR, @DSR, @FC4UG, @VC4UG, @OH4UG, @SC4UG, @valid);
SELECT QuoteType, CodQuote, QuoteRev, NumWI, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, NetProd, WSR, MSR, DSR, FC4UG, VC4UG, OH4UG, SC4UG, WYR, MYR, DYR, WCR, MCR, DCR, valid FROM QuoteWorkInt WHERE (CodQuote = @CodQuote) AND (NumWI = @NumWI) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumWI" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumWI" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class01" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class01" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class02" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class02" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class03" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class03" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class04" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class04" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class05" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class05" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@NetProd" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="NetProd" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@WSR" Precision="9" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="WSR" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@MSR" Precision="9" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="MSR" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DSR" Precision="9" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="DSR" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@FC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="FC4UG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="VC4UG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@OH4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="OH4UG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="SC4UG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT QuoteType, CodQuote, QuoteRev, NumWI, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, NetProd, WSR, MSR, DSR, FC4UG, VC4UG, OH4UG, SC4UG, WYR, MYR, DYR, WCR, MCR, DCR, valid FROM dbo.QuoteWorkInt</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[QuoteWorkInt] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumWI] = @NumWI, [ProcessNum] = @ProcessNum, [CodPlant] = @CodPlant, [Class01] = @Class01, [Class02] = @Class02, [Class03] = @Class03, [Class04] = @Class04, [Class05] = @Class05, [NetProd] = @NetProd, [WSR] = @WSR, [MSR] = @MSR, [DSR] = @DSR, [FC4UG] = @FC4UG, [VC4UG] = @VC4UG, [OH4UG] = @OH4UG, [SC4UG] = @SC4UG, [valid] = @valid WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumWI] = @Original_NumWI) AND ([ProcessNum] = @Original_ProcessNum) AND ([CodPlant] = @Original_CodPlant) AND ([Class01] = @Original_Class01) AND ([Class02] = @Original_Class02) AND ([Class03] = @Original_Class03) AND ([Class04] = @Original_Class04) AND ([Class05] = @Original_Class05) AND ([NetProd] = @Original_NetProd) AND ([WSR] = @Original_WSR) AND ([MSR] = @Original_MSR) AND ([DSR] = @Original_DSR) AND ([FC4UG] = @Original_FC4UG) AND ([VC4UG] = @Original_VC4UG) AND ([OH4UG] = @Original_OH4UG) AND ([SC4UG] = @Original_SC4UG) AND ((@IsNull_WYR = 1 AND [WYR] IS NULL) OR ([WYR] = @Original_WYR)) AND ((@IsNull_MYR = 1 AND [MYR] IS NULL) OR ([MYR] = @Original_MYR)) AND ((@IsNull_DYR = 1 AND [DYR] IS NULL) OR ([DYR] = @Original_DYR)) AND ((@IsNull_WCR = 1 AND [WCR] IS NULL) OR ([WCR] = @Original_WCR)) AND ((@IsNull_MCR = 1 AND [MCR] IS NULL) OR ([MCR] = @Original_MCR)) AND ((@IsNull_DCR = 1 AND [DCR] IS NULL) OR ([DCR] = @Original_DCR)) AND ([valid] = @Original_valid));
SELECT QuoteType, CodQuote, QuoteRev, NumWI, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, NetProd, WSR, MSR, DSR, FC4UG, VC4UG, OH4UG, SC4UG, WYR, MYR, DYR, WCR, MCR, DCR, valid FROM QuoteWorkInt WHERE (CodQuote = @CodQuote) AND (NumWI = @NumWI) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumWI" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumWI" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class01" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class01" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class02" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class02" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class03" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class03" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class04" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class04" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class05" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class05" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@NetProd" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="NetProd" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@WSR" Precision="9" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="WSR" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@MSR" Precision="9" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="MSR" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DSR" Precision="9" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="DSR" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@FC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="FC4UG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="VC4UG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@OH4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="OH4UG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="SC4UG" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumWI" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumWI" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class01" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class01" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class02" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class02" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class03" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class03" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class04" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class04" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class05" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class05" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_NetProd" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="NetProd" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_WSR" Precision="9" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="WSR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_MSR" Precision="9" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="MSR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DSR" Precision="9" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="DSR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_FC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="FC4UG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="VC4UG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_OH4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="OH4UG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SC4UG" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="SC4UG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_WYR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="WYR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_WYR" Precision="10" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="WYR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MYR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MYR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_MYR" Precision="10" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="MYR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DYR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DYR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DYR" Precision="10" ProviderType="Decimal" Scale="8" Size="0" SourceColumn="DYR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_WCR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="WCR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_WCR" Precision="20" ProviderType="Decimal" Scale="11" Size="0" SourceColumn="WCR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MCR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MCR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_MCR" Precision="20" ProviderType="Decimal" Scale="11" Size="0" SourceColumn="MCR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DCR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DCR" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DCR" Precision="20" ProviderType="Decimal" Scale="11" Size="0" SourceColumn="DCR" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="QuoteType" DataSetColumn="QuoteType" />
<Mapping SourceColumn="CodQuote" DataSetColumn="CodQuote" />
<Mapping SourceColumn="QuoteRev" DataSetColumn="QuoteRev" />
<Mapping SourceColumn="NumWI" DataSetColumn="NumWI" />
<Mapping SourceColumn="ProcessNum" DataSetColumn="ProcessNum" />
<Mapping SourceColumn="CodPlant" DataSetColumn="CodPlant" />
<Mapping SourceColumn="Class01" DataSetColumn="Class01" />
<Mapping SourceColumn="Class02" DataSetColumn="Class02" />
<Mapping SourceColumn="Class03" DataSetColumn="Class03" />
<Mapping SourceColumn="Class04" DataSetColumn="Class04" />
<Mapping SourceColumn="Class05" DataSetColumn="Class05" />
<Mapping SourceColumn="NetProd" DataSetColumn="NetProd" />
<Mapping SourceColumn="WSR" DataSetColumn="WSR" />
<Mapping SourceColumn="MSR" DataSetColumn="MSR" />
<Mapping SourceColumn="DSR" DataSetColumn="DSR" />
<Mapping SourceColumn="FC4UG" DataSetColumn="FC4UG" />
<Mapping SourceColumn="VC4UG" DataSetColumn="VC4UG" />
<Mapping SourceColumn="OH4UG" DataSetColumn="OH4UG" />
<Mapping SourceColumn="SC4UG" DataSetColumn="SC4UG" />
<Mapping SourceColumn="WYR" DataSetColumn="WYR" />
<Mapping SourceColumn="MYR" DataSetColumn="MYR" />
<Mapping SourceColumn="DYR" DataSetColumn="DYR" />
<Mapping SourceColumn="WCR" DataSetColumn="WCR" />
<Mapping SourceColumn="MCR" DataSetColumn="MCR" />
<Mapping SourceColumn="DCR" DataSetColumn="DCR" />
<Mapping SourceColumn="valid" DataSetColumn="valid" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="QuoteParamTableAdapter" GeneratorDataComponentClassName="QuoteParamTableAdapter" Name="QuoteParam" UserDataComponentName="QuoteParamTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.QuoteParam" 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].[QuoteParam] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumP] = @Original_NumP) AND ([ProcessNum] = @Original_ProcessNum) AND ([Descr] = @Original_Descr) AND ([Parameter] = @Original_Parameter))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumP" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descr" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Parameter" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Parameter" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[QuoteParam] ([QuoteType], [CodQuote], [QuoteRev], [NumP], [ProcessNum], [Descr], [Parameter]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumP, @ProcessNum, @Descr, @Parameter);
SELECT QuoteType, CodQuote, QuoteRev, NumP, ProcessNum, Descr, Parameter FROM QuoteParam WHERE (CodQuote = @CodQuote) AND (NumP = @NumP) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumP" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descr" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Parameter" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Parameter" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT QuoteType, CodQuote, QuoteRev, NumP, ProcessNum, Descr, Parameter FROM dbo.QuoteParam</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[QuoteParam] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumP] = @NumP, [ProcessNum] = @ProcessNum, [Descr] = @Descr, [Parameter] = @Parameter WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumP] = @Original_NumP) AND ([ProcessNum] = @Original_ProcessNum) AND ([Descr] = @Original_Descr) AND ([Parameter] = @Original_Parameter));
SELECT QuoteType, CodQuote, QuoteRev, NumP, ProcessNum, Descr, Parameter FROM QuoteParam WHERE (CodQuote = @CodQuote) AND (NumP = @NumP) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumP" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descr" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Parameter" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Parameter" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumP" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descr" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Parameter" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Parameter" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="QuoteType" DataSetColumn="QuoteType" />
<Mapping SourceColumn="CodQuote" DataSetColumn="CodQuote" />
<Mapping SourceColumn="QuoteRev" DataSetColumn="QuoteRev" />
<Mapping SourceColumn="NumP" DataSetColumn="NumP" />
<Mapping SourceColumn="ProcessNum" DataSetColumn="ProcessNum" />
<Mapping SourceColumn="Descr" DataSetColumn="Descr" />
<Mapping SourceColumn="Parameter" DataSetColumn="Parameter" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="QuoteOCTableAdapter" GeneratorDataComponentClassName="QuoteOCTableAdapter" Name="QuoteOC" UserDataComponentName="QuoteOCTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.QuoteOC" 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].[QuoteOC] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumEx] = @Original_NumEx) AND ([ProcessNum] = @Original_ProcessNum) AND ([CodPlant] = @Original_CodPlant) AND ([Class01] = @Original_Class01) AND ([Class02] = @Original_Class02) AND ([Class03] = @Original_Class03) AND ([Class04] = @Original_Class04) AND ([Class05] = @Original_Class05) AND ([TotQty] = @Original_TotQty) AND ([TotCost] = @Original_TotCost) AND ([Quota] = @Original_Quota) AND ((@IsNull_C4UG = 1 AND [C4UG] IS NULL) OR ([C4UG] = @Original_C4UG)) AND ([valid] = @Original_valid))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumEx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumEx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class01" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class01" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class02" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class02" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class03" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class03" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class04" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class04" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class05" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class05" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotQty" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="TotQty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotCost" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="TotCost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Quota" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="Quota" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_C4UG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="C4UG" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_C4UG" Precision="38" ProviderType="Decimal" Scale="7" Size="0" SourceColumn="C4UG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[QuoteOC] ([QuoteType], [CodQuote], [QuoteRev], [NumEx], [ProcessNum], [CodPlant], [Class01], [Class02], [Class03], [Class04], [Class05], [TotQty], [TotCost], [Quota], [valid]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumEx, @ProcessNum, @CodPlant, @Class01, @Class02, @Class03, @Class04, @Class05, @TotQty, @TotCost, @Quota, @valid);
SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, TotQty, TotCost, Quota, C4UG, valid FROM QuoteOC WHERE (CodQuote = @CodQuote) AND (NumEx = @NumEx) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumEx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumEx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class01" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class01" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class02" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class02" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class03" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class03" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class04" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class04" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class05" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class05" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotQty" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="TotQty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotCost" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="TotCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Quota" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="Quota" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, TotQty, TotCost, Quota, C4UG, valid FROM dbo.QuoteOC</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[QuoteOC] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumEx] = @NumEx, [ProcessNum] = @ProcessNum, [CodPlant] = @CodPlant, [Class01] = @Class01, [Class02] = @Class02, [Class03] = @Class03, [Class04] = @Class04, [Class05] = @Class05, [TotQty] = @TotQty, [TotCost] = @TotCost, [Quota] = @Quota, [valid] = @valid WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumEx] = @Original_NumEx) AND ([ProcessNum] = @Original_ProcessNum) AND ([CodPlant] = @Original_CodPlant) AND ([Class01] = @Original_Class01) AND ([Class02] = @Original_Class02) AND ([Class03] = @Original_Class03) AND ([Class04] = @Original_Class04) AND ([Class05] = @Original_Class05) AND ([TotQty] = @Original_TotQty) AND ([TotCost] = @Original_TotCost) AND ([Quota] = @Original_Quota) AND ((@IsNull_C4UG = 1 AND [C4UG] IS NULL) OR ([C4UG] = @Original_C4UG)) AND ([valid] = @Original_valid));
SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, TotQty, TotCost, Quota, C4UG, valid FROM QuoteOC WHERE (CodQuote = @CodQuote) AND (NumEx = @NumEx) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumEx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumEx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class01" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class01" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class02" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class02" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class03" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class03" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class04" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class04" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Class05" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class05" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotQty" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="TotQty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TotCost" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="TotCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Quota" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="Quota" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="QuoteType" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CodQuote" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QuoteRev" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumEx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumEx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class01" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class01" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class02" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class02" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class03" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class03" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class04" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class04" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Class05" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Class05" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotQty" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="TotQty" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TotCost" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="TotCost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Quota" Precision="18" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="Quota" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_C4UG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="C4UG" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_C4UG" Precision="38" ProviderType="Decimal" Scale="7" Size="0" SourceColumn="C4UG" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_valid" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="valid" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="QuoteType" DataSetColumn="QuoteType" />
<Mapping SourceColumn="CodQuote" DataSetColumn="CodQuote" />
<Mapping SourceColumn="QuoteRev" DataSetColumn="QuoteRev" />
<Mapping SourceColumn="NumEx" DataSetColumn="NumEx" />
<Mapping SourceColumn="ProcessNum" DataSetColumn="ProcessNum" />
<Mapping SourceColumn="CodPlant" DataSetColumn="CodPlant" />
<Mapping SourceColumn="Class01" DataSetColumn="Class01" />
<Mapping SourceColumn="Class02" DataSetColumn="Class02" />
<Mapping SourceColumn="Class03" DataSetColumn="Class03" />
<Mapping SourceColumn="Class04" DataSetColumn="Class04" />
<Mapping SourceColumn="Class05" DataSetColumn="Class05" />
<Mapping SourceColumn="TotQty" DataSetColumn="TotQty" />
<Mapping SourceColumn="TotCost" DataSetColumn="TotCost" />
<Mapping SourceColumn="Quota" DataSetColumn="Quota" />
<Mapping SourceColumn="C4UG" DataSetColumn="C4UG" />
<Mapping SourceColumn="valid" DataSetColumn="valid" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="QuoteFull_QTableAdapter" GeneratorDataComponentClassName="QuoteFull_QTableAdapter" Name="QuoteFull_Q" UserDataComponentName="QuoteFull_QTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QL_fullDataAll" 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_QL_fullDataAll</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="Vers" DataSetColumn="Vers" />
<Mapping SourceColumn="QuoteType" DataSetColumn="QuoteType" />
<Mapping SourceColumn="CodQuote" DataSetColumn="CodQuote" />
<Mapping SourceColumn="QuoteRev" DataSetColumn="QuoteRev" />
<Mapping SourceColumn="OfferResult" DataSetColumn="OfferResult" />
<Mapping SourceColumn="KoReason" DataSetColumn="KoReason" />
<Mapping SourceColumn="Agente" DataSetColumn="Agente" />
<Mapping SourceColumn="ProdType" DataSetColumn="ProdType" />
<Mapping SourceColumn="IdxQState" DataSetColumn="IdxQState" />
<Mapping SourceColumn="CodClient" DataSetColumn="CodClient" />
<Mapping SourceColumn="ClientName" DataSetColumn="ClientName" />
<Mapping SourceColumn="CodItem" DataSetColumn="CodItem" />
<Mapping SourceColumn="CodItemGroup" DataSetColumn="CodItemGroup" />
<Mapping SourceColumn="RawMat" DataSetColumn="RawMat" />
<Mapping SourceColumn="UnitWeight" DataSetColumn="UnitWeight" />
<Mapping SourceColumn="BatchQty" DataSetColumn="BatchQty" />
<Mapping SourceColumn="CodInco" DataSetColumn="CodInco" />
<Mapping SourceColumn="TranspZone" DataSetColumn="TranspZone" />
<Mapping SourceColumn="KeyAM" DataSetColumn="KeyAM" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
<Mapping SourceColumn="PriceOff" DataSetColumn="PriceOff" />
<Mapping SourceColumn="CodClientAssoc" DataSetColumn="CodClientAssoc" />
<Mapping SourceColumn="ClientNameAssoc" DataSetColumn="ClientNameAssoc" />
<Mapping SourceColumn="ItemDescr" DataSetColumn="ItemDescr" />
<Mapping SourceColumn="CodifProfilo" DataSetColumn="CodifProfilo" />
<Mapping SourceColumn="ClasseMerc" DataSetColumn="ClasseMerc" />
<Mapping SourceColumn="TipoDies" DataSetColumn="TipoDies" />
<Mapping SourceColumn="CodDiesGroup" DataSetColumn="CodDiesGroup" />
<Mapping SourceColumn="DiamDies" DataSetColumn="DiamDies" />
<Mapping SourceColumn="HoleNumDies" DataSetColumn="HoleNumDies" />
<Mapping SourceColumn="DiesPrice" DataSetColumn="DiesPrice" />
<Mapping SourceColumn="DiesExpLife" DataSetColumn="DiesExpLife" />
<Mapping SourceColumn="DiesEOLife" DataSetColumn="DiesEOLife" />
<Mapping SourceColumn="DiesByClass" DataSetColumn="DiesByClass" />
<Mapping SourceColumn="NumDiesInList" DataSetColumn="NumDiesInList" />
<Mapping SourceColumn="NumDiesExaust" DataSetColumn="NumDiesExaust" />
<Mapping SourceColumn="CodPlant" DataSetColumn="CodPlant" />
<Mapping SourceColumn="KeyAMIL" DataSetColumn="KeyAMIL" />
<Mapping SourceColumn="KgTeo" DataSetColumn="KgTeo" />
<Mapping SourceColumn="NumSMED" DataSetColumn="NumSMED" />
<Mapping SourceColumn="QuotaMan" DataSetColumn="QuotaMan" />
<Mapping SourceColumn="PRMWeight" DataSetColumn="PRMWeight" />
<Mapping SourceColumn="PWeight" DataSetColumn="PWeight" />
<Mapping SourceColumn="PTare" DataSetColumn="PTare" />
<Mapping SourceColumn="LivPackage" DataSetColumn="LivPackage" />
<Mapping SourceColumn="LivPackageDett" DataSetColumn="LivPackageDett" />
<Mapping SourceColumn="RawMatCost" DataSetColumn="RawMatCost" />
<Mapping SourceColumn="RawMatExtraCost" DataSetColumn="RawMatExtraCost" />
<Mapping SourceColumn="RawMatFullCost" DataSetColumn="RawMatFullCost" />
<Mapping SourceColumn="CodPackag" DataSetColumn="CodPackag" />
<Mapping SourceColumn="PkgDesc" DataSetColumn="PkgDesc" />
<Mapping SourceColumn="FSR" DataSetColumn="FSR" />
<Mapping SourceColumn="ProvvCost" DataSetColumn="ProvvCost" />
<Mapping SourceColumn="EECost" DataSetColumn="EECost" />
<Mapping SourceColumn="GasCost" DataSetColumn="GasCost" />
<Mapping SourceColumn="DiesCost" DataSetColumn="DiesCost" />
<Mapping SourceColumn="PackCost" DataSetColumn="PackCost" />
<Mapping SourceColumn="TranspCost" DataSetColumn="TranspCost" />
<Mapping SourceColumn="SellCost01" DataSetColumn="SellCost01" />
<Mapping SourceColumn="RefCost01" DataSetColumn="RefCost01" />
<Mapping SourceColumn="SellCost04" DataSetColumn="SellCost04" />
<Mapping SourceColumn="RefCost04" DataSetColumn="RefCost04" />
<Mapping SourceColumn="WSR01" DataSetColumn="WSR01" />
<Mapping SourceColumn="MSR01" DataSetColumn="MSR01" />
<Mapping SourceColumn="NetProd01" DataSetColumn="NetProd01" />
<Mapping SourceColumn="FC4UG01" DataSetColumn="FC4UG01" />
<Mapping SourceColumn="VC4UG01" DataSetColumn="VC4UG01" />
<Mapping SourceColumn="OH4UG01" DataSetColumn="OH4UG01" />
<Mapping SourceColumn="SC4UG01" DataSetColumn="SC4UG01" />
<Mapping SourceColumn="DSR" DataSetColumn="DSR" />
<Mapping SourceColumn="NetProd04" DataSetColumn="NetProd04" />
<Mapping SourceColumn="FC4UG04" DataSetColumn="FC4UG04" />
<Mapping SourceColumn="VC4UG04" DataSetColumn="VC4UG04" />
<Mapping SourceColumn="FVC" DataSetColumn="FVC" />
<Mapping SourceColumn="Charge" DataSetColumn="Charge" />
<Mapping SourceColumn="P_FVC" DataSetColumn="P_FVC" />
<Mapping SourceColumn="CPS" DataSetColumn="CPS" />
<Mapping SourceColumn="P_CPS" DataSetColumn="P_CPS" />
<Mapping SourceColumn="P_FC4UG04" DataSetColumn="P_FC4UG04" />
<Mapping SourceColumn="FullCost" DataSetColumn="FullCost" />
<Mapping SourceColumn="P_FullCost" DataSetColumn="P_FullCost" />
<Mapping SourceColumn="MinPrice" DataSetColumn="MinPrice" />
<Mapping SourceColumn="P_MinPrice" DataSetColumn="P_MinPrice" />
<Mapping SourceColumn="P_PriceOff" DataSetColumn="P_PriceOff" />
<Mapping SourceColumn="NetMar" DataSetColumn="NetMar" />
<Mapping SourceColumn="FCShield" DataSetColumn="FCShield" />
<Mapping SourceColumn="PckSur" DataSetColumn="PckSur" />
<Mapping SourceColumn="valid" DataSetColumn="valid" />
<Mapping SourceColumn="errorScore" DataSetColumn="errorScore" />
<Mapping SourceColumn="DiesPrice_sim" DataSetColumn="DiesPrice_sim" />
<Mapping SourceColumn="SamplePrice" DataSetColumn="SamplePrice" />
<Mapping SourceColumn="DiesFullCost" DataSetColumn="DiesFullCost" />
<Mapping SourceColumn="DiesPriceClientQuote" DataSetColumn="DiesPriceClientQuote" />
<Mapping SourceColumn="DiesTecLife" DataSetColumn="DiesTecLife" />
<Mapping SourceColumn="DiesCommLife" DataSetColumn="DiesCommLife" />
<Mapping SourceColumn="MonthSalesPrev" DataSetColumn="MonthSalesPrev" />
<Mapping SourceColumn="SalesPrevCost" DataSetColumn="SalesPrevCost" />
<Mapping SourceColumn="DiesFinCost" DataSetColumn="DiesFinCost" />
<Mapping SourceColumn="ClientQuoteReven" DataSetColumn="ClientQuoteReven" />
<Mapping SourceColumn="ExtraDiscountDies" DataSetColumn="ExtraDiscountDies" />
<Mapping SourceColumn="WSR01_sim" DataSetColumn="WSR01_sim" />
<Mapping SourceColumn="MSR01_sim" DataSetColumn="MSR01_sim" />
<Mapping SourceColumn="NetProd01_sim" DataSetColumn="NetProd01_sim" />
<Mapping SourceColumn="NetProd04_sim" DataSetColumn="NetProd04_sim" />
<Mapping SourceColumn="DSR_sim" DataSetColumn="DSR_sim" />
<Mapping SourceColumn="NetMar_sim" DataSetColumn="NetMar_sim" />
<Mapping SourceColumn="FCShield_sim" DataSetColumn="FCShield_sim" />
<Mapping SourceColumn="MinPrice_sim" DataSetColumn="MinPrice_sim" />
<Mapping SourceColumn="P_MinPrice_sim" DataSetColumn="P_MinPrice_sim" />
</Mappings>
<Sources>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLF_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_QLF_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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QL_fullDataCount" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="fullDataCount" Modifier="Public" Name="fullDataCount" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="fullDataCount">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QL_fullDataCount</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="@CodClient" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodItem" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataMin" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataMax" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtaMin" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtaMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxQState" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@search" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QL_fullData" 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_QL_fullData</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@DoUpdate" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QL_fullDataSearch" 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_QL_fullDataSearch</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="@CodClient" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodItem" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataMin" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataMax" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtaMin" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@qtaMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxQState" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@search" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLF_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_QLF_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" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLF_getMinMax" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getMinMax" GetMethodModifier="Public" GetMethodName="getMinMax" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getMinMax" UserSourceName="getMinMax">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLF_getMinMax</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="@DateMin" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@DateMax" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLF_revHist" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getRevHist" GetMethodModifier="Public" GetMethodName="getRevHist" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getRevHist" UserSourceName="getRevHist">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLF_revHist</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLF_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_QLF_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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodClient" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodItem" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodItemGroup" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@RawMatCost" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@RawMatExtraCost" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchQty" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodInco" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="2500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QuoteFull_Q_update" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="QuoteFull_Q_update" Modifier="Public" Name="QuoteFull_Q_update" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="QuoteFull_Q_update">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QuoteFull_Q_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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@PriceOff" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLF_UpdCosts" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateCosts" GetMethodModifier="Public" GetMethodName="updateCosts" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateCosts" UserSourceName="updateCosts">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLF_UpdCosts</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@PriceOff" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLS_UpdDiesPar" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateDiesPar" GetMethodModifier="Public" GetMethodName="updateDiesPar" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateDiesPar" UserSourceName="updateDiesPar">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLS_UpdDiesPar</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@SamplePrice" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@DiesPriceClientQuote" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@DiesCommLife" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@MonthSalesPrev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLS_UpdExtrPar" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateExtrParSim" GetMethodModifier="Public" GetMethodName="updateExtrParSim" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateExtrParSim" UserSourceName="updateExtrParSim">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLS_UpdExtrPar</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@TipoDies" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@DiamDies" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@HoleNumDies" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@DiesPrice_sim" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@DiesTecLife" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@WSR01_sim" Precision="9" ProviderType="Decimal" Scale="8" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@MSR01_sim" Precision="9" ProviderType="Decimal" Scale="8" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@NetProd01_sim" Precision="9" ProviderType="Decimal" Scale="3" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLF_UpdHead" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateHeaders" GetMethodModifier="Public" GetMethodName="updateHeaders" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateHeaders" UserSourceName="updateHeaders">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLF_UpdHead</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodClient" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodItem" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@RawMatCost" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@RawMatExtraCost" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchQty" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodInco" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="2500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@OfferResult" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@KoReason" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Agente" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLS_UpdHead" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateHeadSim" GetMethodModifier="Public" GetMethodName="updateHeadSim" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateHeadSim" UserSourceName="updateHeadSim">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLS_UpdHead</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodClient" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodItem" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@UnitWeight" Precision="9" ProviderType="Decimal" Scale="3" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodItemGroup" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@RawMatCost" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@RawMatExtraCost" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BatchQty" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodInco" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@ProvvCost" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="NVarChar" Scale="0" Size="2500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@OfferResult" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@KoReason" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Agente" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLS_UpdPackPar" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updatePackPar" GetMethodModifier="Public" GetMethodName="updatePackPar" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updatePackPar" UserSourceName="updatePackPar">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLS_UpdPackPar</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@DSR_sim" Precision="9" ProviderType="Decimal" Scale="8" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@NetProd04_sim" Precision="9" ProviderType="Decimal" Scale="3" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLF_UpdQState" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="updateQState" GetMethodModifier="Public" GetMethodName="updateQState" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="updateQState" UserSourceName="updateQState">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLF_UpdQState</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@Original_CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxQState" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UserMod" 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="QuoteFull_STableAdapter" GeneratorDataComponentClassName="QuoteFull_STableAdapter" Name="QuoteFull_S" UserDataComponentName="QuoteFull_STableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P_Data.dbo.QuoteFull_S" 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">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM QuoteFull_S</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Vers" DataSetColumn="Vers" />
<Mapping SourceColumn="QuoteType" DataSetColumn="QuoteType" />
<Mapping SourceColumn="CodQuote" DataSetColumn="CodQuote" />
<Mapping SourceColumn="QuoteRev" DataSetColumn="QuoteRev" />
<Mapping SourceColumn="OfferResult" DataSetColumn="OfferResult" />
<Mapping SourceColumn="KoReason" DataSetColumn="KoReason" />
<Mapping SourceColumn="Agente" DataSetColumn="Agente" />
<Mapping SourceColumn="ProdType" DataSetColumn="ProdType" />
<Mapping SourceColumn="IdxQState" DataSetColumn="IdxQState" />
<Mapping SourceColumn="CodClient" DataSetColumn="CodClient" />
<Mapping SourceColumn="ClientName" DataSetColumn="ClientName" />
<Mapping SourceColumn="CodItem" DataSetColumn="CodItem" />
<Mapping SourceColumn="CodItemGroup" DataSetColumn="CodItemGroup" />
<Mapping SourceColumn="RawMat" DataSetColumn="RawMat" />
<Mapping SourceColumn="UnitWeight" DataSetColumn="UnitWeight" />
<Mapping SourceColumn="BatchQty" DataSetColumn="BatchQty" />
<Mapping SourceColumn="CodInco" DataSetColumn="CodInco" />
<Mapping SourceColumn="TranspZone" DataSetColumn="TranspZone" />
<Mapping SourceColumn="KeyAM" DataSetColumn="KeyAM" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
<Mapping SourceColumn="PriceOff" DataSetColumn="PriceOff" />
<Mapping SourceColumn="CodClientAssoc" DataSetColumn="CodClientAssoc" />
<Mapping SourceColumn="ClientNameAssoc" DataSetColumn="ClientNameAssoc" />
<Mapping SourceColumn="ItemDescr" DataSetColumn="ItemDescr" />
<Mapping SourceColumn="CodifProfilo" DataSetColumn="CodifProfilo" />
<Mapping SourceColumn="ClasseMerc" DataSetColumn="ClasseMerc" />
<Mapping SourceColumn="TipoDies" DataSetColumn="TipoDies" />
<Mapping SourceColumn="CodDiesGroup" DataSetColumn="CodDiesGroup" />
<Mapping SourceColumn="DiamDies" DataSetColumn="DiamDies" />
<Mapping SourceColumn="HoleNumDies" DataSetColumn="HoleNumDies" />
<Mapping SourceColumn="DiesPrice_sim" DataSetColumn="DiesPrice_sim" />
<Mapping SourceColumn="DiesPrice" DataSetColumn="DiesPrice" />
<Mapping SourceColumn="SamplePrice" DataSetColumn="SamplePrice" />
<Mapping SourceColumn="DiesFullCost" DataSetColumn="DiesFullCost" />
<Mapping SourceColumn="DiesPriceClientQuote" DataSetColumn="DiesPriceClientQuote" />
<Mapping SourceColumn="DiesExpLife" DataSetColumn="DiesExpLife" />
<Mapping SourceColumn="DiesEOLife" DataSetColumn="DiesEOLife" />
<Mapping SourceColumn="DiesTecLife" DataSetColumn="DiesTecLife" />
<Mapping SourceColumn="DiesCommLife" DataSetColumn="DiesCommLife" />
<Mapping SourceColumn="MonthSalesPrev" DataSetColumn="MonthSalesPrev" />
<Mapping SourceColumn="SalesPrevCost" DataSetColumn="SalesPrevCost" />
<Mapping SourceColumn="DiesFinCost" DataSetColumn="DiesFinCost" />
<Mapping SourceColumn="ClientQuoteReven" DataSetColumn="ClientQuoteReven" />
<Mapping SourceColumn="ExtraDiscountDies" DataSetColumn="ExtraDiscountDies" />
<Mapping SourceColumn="DiesByClass" DataSetColumn="DiesByClass" />
<Mapping SourceColumn="NumDiesInList" DataSetColumn="NumDiesInList" />
<Mapping SourceColumn="NumDiesExaust" DataSetColumn="NumDiesExaust" />
<Mapping SourceColumn="CodPlant" DataSetColumn="CodPlant" />
<Mapping SourceColumn="KeyAMIL" DataSetColumn="KeyAMIL" />
<Mapping SourceColumn="KgTeo" DataSetColumn="KgTeo" />
<Mapping SourceColumn="NumSMED" DataSetColumn="NumSMED" />
<Mapping SourceColumn="QuotaMan" DataSetColumn="QuotaMan" />
<Mapping SourceColumn="PRMWeight" DataSetColumn="PRMWeight" />
<Mapping SourceColumn="PWeight" DataSetColumn="PWeight" />
<Mapping SourceColumn="PTare" DataSetColumn="PTare" />
<Mapping SourceColumn="LivPackage" DataSetColumn="LivPackage" />
<Mapping SourceColumn="LivPackageDett" DataSetColumn="LivPackageDett" />
<Mapping SourceColumn="RawMatCost" DataSetColumn="RawMatCost" />
<Mapping SourceColumn="RawMatExtraCost" DataSetColumn="RawMatExtraCost" />
<Mapping SourceColumn="RawMatFullCost" DataSetColumn="RawMatFullCost" />
<Mapping SourceColumn="CodPackag" DataSetColumn="CodPackag" />
<Mapping SourceColumn="PkgDesc" DataSetColumn="PkgDesc" />
<Mapping SourceColumn="FSR" DataSetColumn="FSR" />
<Mapping SourceColumn="ProvvCost" DataSetColumn="ProvvCost" />
<Mapping SourceColumn="EECost" DataSetColumn="EECost" />
<Mapping SourceColumn="GasCost" DataSetColumn="GasCost" />
<Mapping SourceColumn="DiesCost" DataSetColumn="DiesCost" />
<Mapping SourceColumn="PackCost" DataSetColumn="PackCost" />
<Mapping SourceColumn="TranspCost" DataSetColumn="TranspCost" />
<Mapping SourceColumn="SellCost01" DataSetColumn="SellCost01" />
<Mapping SourceColumn="RefCost01" DataSetColumn="RefCost01" />
<Mapping SourceColumn="SellCost04" DataSetColumn="SellCost04" />
<Mapping SourceColumn="RefCost04" DataSetColumn="RefCost04" />
<Mapping SourceColumn="WSR01_sim" DataSetColumn="WSR01_sim" />
<Mapping SourceColumn="WSR01" DataSetColumn="WSR01" />
<Mapping SourceColumn="MSR01_sim" DataSetColumn="MSR01_sim" />
<Mapping SourceColumn="MSR01" DataSetColumn="MSR01" />
<Mapping SourceColumn="NetProd01_sim" DataSetColumn="NetProd01_sim" />
<Mapping SourceColumn="NetProd04_sim" DataSetColumn="NetProd04_sim" />
<Mapping SourceColumn="NetProd01" DataSetColumn="NetProd01" />
<Mapping SourceColumn="FC4UG01" DataSetColumn="FC4UG01" />
<Mapping SourceColumn="VC4UG01" DataSetColumn="VC4UG01" />
<Mapping SourceColumn="OH4UG01" DataSetColumn="OH4UG01" />
<Mapping SourceColumn="SC4UG01" DataSetColumn="SC4UG01" />
<Mapping SourceColumn="DSR_sim" DataSetColumn="DSR_sim" />
<Mapping SourceColumn="DSR" DataSetColumn="DSR" />
<Mapping SourceColumn="NetProd04" DataSetColumn="NetProd04" />
<Mapping SourceColumn="FC4UG04" DataSetColumn="FC4UG04" />
<Mapping SourceColumn="VC4UG04" DataSetColumn="VC4UG04" />
<Mapping SourceColumn="FVC" DataSetColumn="FVC" />
<Mapping SourceColumn="Charge" DataSetColumn="Charge" />
<Mapping SourceColumn="valid" DataSetColumn="valid" />
<Mapping SourceColumn="errorScore" DataSetColumn="errorScore" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RawMatDetTableAdapter" GeneratorDataComponentClassName="RawMatDetTableAdapter" Name="RawMatDet" UserDataComponentName="RawMatDetTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P_Data.dbo.RawMatDet" 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">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraServCost
FROM RawMatDet</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="RawMat" DataSetColumn="RawMat" />
<Mapping SourceColumn="ProcCost" DataSetColumn="ProcCost" />
<Mapping SourceColumn="ProcYield" DataSetColumn="ProcYield" />
<Mapping SourceColumn="CSR" DataSetColumn="CSR" />
<Mapping SourceColumn="SSR" DataSetColumn="SSR" />
<Mapping SourceColumn="SSVA" DataSetColumn="SSVA" />
<Mapping SourceColumn="SSVR" DataSetColumn="SSVR" />
<Mapping SourceColumn="ExtraMatCost" DataSetColumn="ExtraMatCost" />
<Mapping SourceColumn="ExtraServCost" DataSetColumn="ExtraServCost" />
</Mappings>
<Sources>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_RMD_deleteQuery" 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_RMD_deleteQuery</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_RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_RMD_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_RMD_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="nvarchar" DbType="String" Direction="Input" ParameterName="@RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_RMD_insertQuery" 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_RMD_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="@RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_RMD_updateQuery" 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_RMD_updateQuery</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_RawMat" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@ProcCost" Precision="18" ProviderType="Decimal" Scale="6" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@ProcYield" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@CSR" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@SSR" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@SSVA" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@SSVR" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@ExtraMatCost" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@ExtraServCost" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StdCostListTableAdapter" GeneratorDataComponentClassName="StdCostListTableAdapter" Name="StdCostList" UserDataComponentName="StdCostListTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.v_StdCostList" 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="false">
<CommandText>SELECT DataRif, Class01, Class02, CodItem, RawMat, CodPlant, CodDiesGroup, CodPackag, batchQty, CodInco, RawMatFullCost, FVC, FullCost FROM dbo.v_StdCostList</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="DataRif" DataSetColumn="DataRif" />
<Mapping SourceColumn="Class01" DataSetColumn="Class01" />
<Mapping SourceColumn="Class02" DataSetColumn="Class02" />
<Mapping SourceColumn="CodItem" DataSetColumn="CodItem" />
<Mapping SourceColumn="RawMat" DataSetColumn="RawMat" />
<Mapping SourceColumn="CodPlant" DataSetColumn="CodPlant" />
<Mapping SourceColumn="CodDiesGroup" DataSetColumn="CodDiesGroup" />
<Mapping SourceColumn="CodPackag" DataSetColumn="CodPackag" />
<Mapping SourceColumn="batchQty" DataSetColumn="batchQty" />
<Mapping SourceColumn="CodInco" DataSetColumn="CodInco" />
<Mapping SourceColumn="RawMatFullCost" DataSetColumn="RawMatFullCost" />
<Mapping SourceColumn="FVC" DataSetColumn="FVC" />
<Mapping SourceColumn="FullCost" DataSetColumn="FullCost" />
</Mappings>
<Sources>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_SC2C_deleteForDate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteByDate" Modifier="Public" Name="deleteByDate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteByDate">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_SC2C_deleteForDate</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="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_QLR_getByDate" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByDate" GetMethodModifier="Public" GetMethodName="getByDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByDate" UserSourceName="getByDate">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_QLR_getByDate</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="@DataRif" 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="stp_checkValidQuoteTableAdapter" GeneratorDataComponentClassName="stp_checkValidQuoteTableAdapter" Name="stp_checkValidQuote" UserDataComponentName="stp_checkValidQuoteTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_checkValidQuote" DbObjectType="StoredProcedure" 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">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_checkValidQuote</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QuoteRev" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="checkOk" DataSetColumn="checkOk" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="prtQuoteTableAdapter" GeneratorDataComponentClassName="prtQuoteTableAdapter" Name="prtQuote" UserDataComponentName="prtQuoteTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_prt_dsQuoteFull_Q_Data" 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_prt_dsQuoteFull_Q_Data</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="@Ticket" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Chiave" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Vers" DataSetColumn="Vers" />
<Mapping SourceColumn="QuoteType" DataSetColumn="QuoteType" />
<Mapping SourceColumn="CodQuote" DataSetColumn="CodQuote" />
<Mapping SourceColumn="QuoteRev" DataSetColumn="QuoteRev" />
<Mapping SourceColumn="OfferResult" DataSetColumn="OfferResult" />
<Mapping SourceColumn="KoReason" DataSetColumn="KoReason" />
<Mapping SourceColumn="Agente" DataSetColumn="Agente" />
<Mapping SourceColumn="ProdType" DataSetColumn="ProdType" />
<Mapping SourceColumn="IdxQState" DataSetColumn="IdxQState" />
<Mapping SourceColumn="CodClient" DataSetColumn="CodClient" />
<Mapping SourceColumn="ClientName" DataSetColumn="ClientName" />
<Mapping SourceColumn="CodItem" DataSetColumn="CodItem" />
<Mapping SourceColumn="CodItemGroup" DataSetColumn="CodItemGroup" />
<Mapping SourceColumn="RawMat" DataSetColumn="RawMat" />
<Mapping SourceColumn="UnitWeight" DataSetColumn="UnitWeight" />
<Mapping SourceColumn="BatchQty" DataSetColumn="BatchQty" />
<Mapping SourceColumn="CodInco" DataSetColumn="CodInco" />
<Mapping SourceColumn="TranspZone" DataSetColumn="TranspZone" />
<Mapping SourceColumn="KeyAM" DataSetColumn="KeyAM" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
<Mapping SourceColumn="PriceOff" DataSetColumn="PriceOff" />
<Mapping SourceColumn="CodClientAssoc" DataSetColumn="CodClientAssoc" />
<Mapping SourceColumn="ClientNameAssoc" DataSetColumn="ClientNameAssoc" />
<Mapping SourceColumn="ItemDescr" DataSetColumn="ItemDescr" />
<Mapping SourceColumn="CodifProfilo" DataSetColumn="CodifProfilo" />
<Mapping SourceColumn="ClasseMerc" DataSetColumn="ClasseMerc" />
<Mapping SourceColumn="TipoDies" DataSetColumn="TipoDies" />
<Mapping SourceColumn="CodDiesGroup" DataSetColumn="CodDiesGroup" />
<Mapping SourceColumn="DiamDies" DataSetColumn="DiamDies" />
<Mapping SourceColumn="HoleNumDies" DataSetColumn="HoleNumDies" />
<Mapping SourceColumn="DiesPrice" DataSetColumn="DiesPrice" />
<Mapping SourceColumn="DiesExpLife" DataSetColumn="DiesExpLife" />
<Mapping SourceColumn="DiesEOLife" DataSetColumn="DiesEOLife" />
<Mapping SourceColumn="DiesByClass" DataSetColumn="DiesByClass" />
<Mapping SourceColumn="NumDiesInList" DataSetColumn="NumDiesInList" />
<Mapping SourceColumn="NumDiesExaust" DataSetColumn="NumDiesExaust" />
<Mapping SourceColumn="CodPlant" DataSetColumn="CodPlant" />
<Mapping SourceColumn="KeyAMIL" DataSetColumn="KeyAMIL" />
<Mapping SourceColumn="KgTeo" DataSetColumn="KgTeo" />
<Mapping SourceColumn="NumSMED" DataSetColumn="NumSMED" />
<Mapping SourceColumn="QuotaMan" DataSetColumn="QuotaMan" />
<Mapping SourceColumn="PRMWeight" DataSetColumn="PRMWeight" />
<Mapping SourceColumn="PWeight" DataSetColumn="PWeight" />
<Mapping SourceColumn="PTare" DataSetColumn="PTare" />
<Mapping SourceColumn="LivPackage" DataSetColumn="LivPackage" />
<Mapping SourceColumn="LivPackageDett" DataSetColumn="LivPackageDett" />
<Mapping SourceColumn="RawMatCost" DataSetColumn="RawMatCost" />
<Mapping SourceColumn="RawMatExtraCost" DataSetColumn="RawMatExtraCost" />
<Mapping SourceColumn="RawMatFullCost" DataSetColumn="RawMatFullCost" />
<Mapping SourceColumn="CodPackag" DataSetColumn="CodPackag" />
<Mapping SourceColumn="PkgDesc" DataSetColumn="PkgDesc" />
<Mapping SourceColumn="FSR" DataSetColumn="FSR" />
<Mapping SourceColumn="ProvvCost" DataSetColumn="ProvvCost" />
<Mapping SourceColumn="EECost" DataSetColumn="EECost" />
<Mapping SourceColumn="GasCost" DataSetColumn="GasCost" />
<Mapping SourceColumn="DiesCost" DataSetColumn="DiesCost" />
<Mapping SourceColumn="PackCost" DataSetColumn="PackCost" />
<Mapping SourceColumn="TranspCost" DataSetColumn="TranspCost" />
<Mapping SourceColumn="SellCost01" DataSetColumn="SellCost01" />
<Mapping SourceColumn="RefCost01" DataSetColumn="RefCost01" />
<Mapping SourceColumn="SellCost04" DataSetColumn="SellCost04" />
<Mapping SourceColumn="RefCost04" DataSetColumn="RefCost04" />
<Mapping SourceColumn="WSR01" DataSetColumn="WSR01" />
<Mapping SourceColumn="MSR01" DataSetColumn="MSR01" />
<Mapping SourceColumn="NetProd01" DataSetColumn="NetProd01" />
<Mapping SourceColumn="FC4UG01" DataSetColumn="FC4UG01" />
<Mapping SourceColumn="VC4UG01" DataSetColumn="VC4UG01" />
<Mapping SourceColumn="OH4UG01" DataSetColumn="OH4UG01" />
<Mapping SourceColumn="SC4UG01" DataSetColumn="SC4UG01" />
<Mapping SourceColumn="DSR" DataSetColumn="DSR" />
<Mapping SourceColumn="NetProd04" DataSetColumn="NetProd04" />
<Mapping SourceColumn="FC4UG04" DataSetColumn="FC4UG04" />
<Mapping SourceColumn="VC4UG04" DataSetColumn="VC4UG04" />
<Mapping SourceColumn="FVC" DataSetColumn="FVC" />
<Mapping SourceColumn="Charge" DataSetColumn="Charge" />
<Mapping SourceColumn="P_FVC" DataSetColumn="P_FVC" />
<Mapping SourceColumn="CPS" DataSetColumn="CPS" />
<Mapping SourceColumn="P_CPS" DataSetColumn="P_CPS" />
<Mapping SourceColumn="P_FC4UG04" DataSetColumn="P_FC4UG04" />
<Mapping SourceColumn="FullCost" DataSetColumn="FullCost" />
<Mapping SourceColumn="P_FullCost" DataSetColumn="P_FullCost" />
<Mapping SourceColumn="MinPrice" DataSetColumn="MinPrice" />
<Mapping SourceColumn="P_MinPrice" DataSetColumn="P_MinPrice" />
<Mapping SourceColumn="P_PriceOff" DataSetColumn="P_PriceOff" />
<Mapping SourceColumn="NetMar" DataSetColumn="NetMar" />
<Mapping SourceColumn="FCShield" DataSetColumn="FCShield" />
<Mapping SourceColumn="PckSur" DataSetColumn="PckSur" />
<Mapping SourceColumn="valid" DataSetColumn="valid" />
<Mapping SourceColumn="errorScore" DataSetColumn="errorScore" />
<Mapping SourceColumn="DiesPrice_sim" DataSetColumn="DiesPrice_sim" />
<Mapping SourceColumn="SamplePrice" DataSetColumn="SamplePrice" />
<Mapping SourceColumn="DiesFullCost" DataSetColumn="DiesFullCost" />
<Mapping SourceColumn="DiesPriceClientQuote" DataSetColumn="DiesPriceClientQuote" />
<Mapping SourceColumn="DiesTecLife" DataSetColumn="DiesTecLife" />
<Mapping SourceColumn="DiesCommLife" DataSetColumn="DiesCommLife" />
<Mapping SourceColumn="MonthSalesPrev" DataSetColumn="MonthSalesPrev" />
<Mapping SourceColumn="SalesPrevCost" DataSetColumn="SalesPrevCost" />
<Mapping SourceColumn="DiesFinCost" DataSetColumn="DiesFinCost" />
<Mapping SourceColumn="ClientQuoteReven" DataSetColumn="ClientQuoteReven" />
<Mapping SourceColumn="ExtraDiscountDies" DataSetColumn="ExtraDiscountDies" />
<Mapping SourceColumn="WSR01_sim" DataSetColumn="WSR01_sim" />
<Mapping SourceColumn="MSR01_sim" DataSetColumn="MSR01_sim" />
<Mapping SourceColumn="NetProd01_sim" DataSetColumn="NetProd01_sim" />
<Mapping SourceColumn="NetProd04_sim" DataSetColumn="NetProd04_sim" />
<Mapping SourceColumn="DSR_sim" DataSetColumn="DSR_sim" />
<Mapping SourceColumn="NetMar_sim" DataSetColumn="NetMar_sim" />
<Mapping SourceColumn="FCShield_sim" DataSetColumn="FCShield_sim" />
<Mapping SourceColumn="MinPrice_sim" DataSetColumn="MinPrice_sim" />
<Mapping SourceColumn="P_MinPrice_sim" DataSetColumn="P_MinPrice_sim" />
<Mapping SourceColumn="Cli_ZipCode" DataSetColumn="Cli_ZipCode" />
<Mapping SourceColumn="Cli_City" DataSetColumn="Cli_City" />
<Mapping SourceColumn="Cli_State" DataSetColumn="Cli_State" />
<Mapping SourceColumn="Cli_Nation" DataSetColumn="Cli_Nation" />
<Mapping SourceColumn="DescInco" DataSetColumn="DescInco" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="stp_chekLastRevQuoteTableAdapter" GeneratorDataComponentClassName="stp_chekLastRevQuoteTableAdapter" Name="stp_chekLastRevQuote" UserDataComponentName="stp_chekLastRevQuoteTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_chekLastRevQuote" DbObjectType="StoredProcedure" 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">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_chekLastRevQuote</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="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@QuoteType" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CodQuote" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="lastRev" DataSetColumn="lastRev" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PackagDetTableAdapter" GeneratorDataComponentClassName="PackagDetTableAdapter" Name="PackagDet" UserDataComponentName="PackagDetTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P_Data.dbo.PackagDet" 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].[PackagDet] WHERE (([CodPackag] = @Original_CodPackag) AND ([PackagDesc] = @Original_PackagDesc) AND ([RMCost] = @Original_RMCost) AND ([RMWeight] = @Original_RMWeight))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPackag" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PackagDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PackagDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RMCost" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="RMCost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RMWeight" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="RMWeight" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[PackagDet] ([CodPackag], [PackagDesc], [RMCost], [RMWeight]) VALUES (@CodPackag, @PackagDesc, @RMCost, @RMWeight);
SELECT CodPackag, PackagDesc, RMCost, RMWeight FROM PackagDet WHERE (CodPackag = @CodPackag)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPackag" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PackagDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PackagDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RMCost" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="RMCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RMWeight" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="RMWeight" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CodPackag, PackagDesc, RMCost, RMWeight FROM dbo.PackagDet</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[PackagDet] SET [CodPackag] = @CodPackag, [PackagDesc] = @PackagDesc, [RMCost] = @RMCost, [RMWeight] = @RMWeight WHERE (([CodPackag] = @Original_CodPackag) AND ([PackagDesc] = @Original_PackagDesc) AND ([RMCost] = @Original_RMCost) AND ([RMWeight] = @Original_RMWeight));
SELECT CodPackag, PackagDesc, RMCost, RMWeight FROM PackagDet WHERE (CodPackag = @CodPackag)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPackag" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PackagDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PackagDesc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RMCost" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="RMCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RMWeight" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="RMWeight" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPackag" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PackagDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PackagDesc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RMCost" Precision="9" ProviderType="Decimal" Scale="3" Size="0" SourceColumn="RMCost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RMWeight" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="RMWeight" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodPackag" DataSetColumn="CodPackag" />
<Mapping SourceColumn="PackagDesc" DataSetColumn="PackagDesc" />
<Mapping SourceColumn="RMCost" DataSetColumn="RMCost" />
<Mapping SourceColumn="RMWeight" DataSetColumn="RMWeight" />
</Mappings>
<Sources>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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">
<DeleteCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PD_deleteQuery</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_CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</DeleteCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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">
<InsertCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PD_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="@CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PackagDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@RMCost" Precision="9" ProviderType="Decimal" Scale="3" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@RMWeight" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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">
<UpdateCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PD_updateQuery</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="@CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@PackagDesc" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@RMCost" Precision="9" ProviderType="Decimal" Scale="3" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@RMWeight" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodPackag" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AgentsDetTableAdapter" GeneratorDataComponentClassName="AgentsDetTableAdapter" Name="AgentsDet" UserDataComponentName="AgentsDetTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P_Data.dbo.AgentsDet" 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].[AgentsDet] WHERE (([CodAg] = @Original_CodAg) AND ([Lastname] = @Original_Lastname) AND ([Firstname] = @Original_Firstname) AND ([QuotaProvvAg] = @Original_QuotaProvvAg))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodAg" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAg" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Lastname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Lastname" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Firstname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Firstname" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_QuotaProvvAg" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="QuotaProvvAg" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[AgentsDet] ([CodAg], [Lastname], [Firstname], [QuotaProvvAg]) VALUES (@CodAg, @Lastname, @Firstname, @QuotaProvvAg);
SELECT CodAg, Lastname, Firstname, QuotaProvvAg FROM AgentsDet WHERE (CodAg = @CodAg)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodAg" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAg" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Lastname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Lastname" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Firstname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Firstname" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@QuotaProvvAg" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="QuotaProvvAg" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CodAg, Lastname, Firstname, QuotaProvvAg FROM dbo.AgentsDet</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[AgentsDet] SET [CodAg] = @CodAg, [Lastname] = @Lastname, [Firstname] = @Firstname, [QuotaProvvAg] = @QuotaProvvAg WHERE (([CodAg] = @Original_CodAg) AND ([Lastname] = @Original_Lastname) AND ([Firstname] = @Original_Firstname) AND ([QuotaProvvAg] = @Original_QuotaProvvAg));
SELECT CodAg, Lastname, Firstname, QuotaProvvAg FROM AgentsDet WHERE (CodAg = @CodAg)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodAg" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAg" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Lastname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Lastname" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Firstname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Firstname" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@QuotaProvvAg" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="QuotaProvvAg" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodAg" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodAg" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Lastname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Lastname" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Firstname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Firstname" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_QuotaProvvAg" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="QuotaProvvAg" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodAg" DataSetColumn="CodAg" />
<Mapping SourceColumn="Lastname" DataSetColumn="Lastname" />
<Mapping SourceColumn="Firstname" DataSetColumn="Firstname" />
<Mapping SourceColumn="QuotaProvvAg" DataSetColumn="QuotaProvvAg" />
</Mappings>
<Sources>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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">
<DeleteCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Agent_deleteQuery</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_CodAg" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</DeleteCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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">
<InsertCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Agent_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="@CodAg" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Lastname" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Firstname" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@QuotaProvvAg" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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">
<UpdateCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Agent_updateQuery</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="@CodAg" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Lastname" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Firstname" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@QuotaProvvAg" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodAg" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PlantsDetTableAdapter" GeneratorDataComponentClassName="PlantsDetTableAdapter" Name="PlantsDet" UserDataComponentName="PlantsDetTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P_Data.dbo.PlantsDet" 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].[PlantsDet] WHERE (([CodPlant] = @Original_CodPlant) AND ([Descript] = @Original_Descript) AND ([Charge] = @Original_Charge))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descript" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descript" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Charge" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="Charge" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[PlantsDet] ([CodPlant], [Descript], [Charge]) VALUES (@CodPlant, @Descript, @Charge);
SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" 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="Decimal" Direction="Input" ParameterName="@Charge" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="Charge" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CodPlant, Descript, Charge FROM dbo.PlantsDet</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[PlantsDet] SET [CodPlant] = @CodPlant, [Descript] = @Descript, [Charge] = @Charge WHERE (([CodPlant] = @Original_CodPlant) AND ([Descript] = @Original_Descript) AND ([Charge] = @Original_Charge));
SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" 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="Decimal" Direction="Input" ParameterName="@Charge" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="Charge" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descript" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descript" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Charge" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="Charge" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodPlant" DataSetColumn="CodPlant" />
<Mapping SourceColumn="Descript" DataSetColumn="Descript" />
<Mapping SourceColumn="Charge" DataSetColumn="Charge" />
</Mappings>
<Sources>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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">
<DeleteCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Plants_deleteQuery</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_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</DeleteCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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">
<InsertCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Plants_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="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Descript" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@Charge" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" 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">
<UpdateCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Plants_updateQuery</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="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Descript" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@Charge" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UtilitiesTableAdapter" GeneratorDataComponentClassName="UtilitiesTableAdapter" Name="Utilities" UserDataComponentName="UtilitiesTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectType="Unknown" 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].[Utilities] WHERE (([CodUtil] = @Original_CodUtil) AND ([CodPlant] = @Original_CodPlant) AND ([UnitCost] = @Original_UnitCost))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodUtil" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodUtil" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_UnitCost" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="UnitCost" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Utilities] ([CodUtil], [CodPlant], [UnitCost]) VALUES (@CodUtil, @CodPlant, @UnitCost);
SELECT CodUtil, CodPlant, UnitCost FROM Utilities WHERE (CodPlant = @CodPlant) AND (CodUtil = @CodUtil)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodUtil" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodUtil" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@UnitCost" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="UnitCost" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CodUtil, CodPlant, UnitCost FROM dbo.Utilities</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Utilities] SET [CodUtil] = @CodUtil, [CodPlant] = @CodPlant, [UnitCost] = @UnitCost WHERE (([CodUtil] = @Original_CodUtil) AND ([CodPlant] = @Original_CodPlant) AND ([UnitCost] = @Original_UnitCost));
SELECT CodUtil, CodPlant, UnitCost FROM Utilities WHERE (CodPlant = @CodPlant) AND (CodUtil = @CodUtil)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodUtil" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodUtil" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@UnitCost" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="UnitCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodUtil" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodUtil" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_UnitCost" Precision="9" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="UnitCost" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodUtil" DataSetColumn="CodUtil" />
<Mapping SourceColumn="CodPlant" DataSetColumn="CodPlant" />
<Mapping SourceColumn="UnitCost" DataSetColumn="UnitCost" />
</Mappings>
<Sources>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_Utilities_deleteQuery" 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_Utilities_deleteQuery</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_CodUtil" 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_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_Utilities_insertQuery" 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_Utilities_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="@CodUtil" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@UnitCost" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_Utilities_insMissing" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insMissing" Modifier="Public" Name="insMissing" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="insMissing">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Utilities_insMissing</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="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_Utilities_updateQuery" 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_Utilities_updateQuery</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="@CodUtil" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@UnitCost" Precision="9" ProviderType="Decimal" Scale="6" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodUtil" 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_CodPlant" 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="Cost2PlantTableAdapter" GeneratorDataComponentClassName="Cost2PlantTableAdapter" Name="Cost2Plant" UserDataComponentName="Cost2PlantTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectType="Unknown" 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].[Cost2Plant] WHERE (([CodPlant] = @Original_CodPlant) AND ([ProcessNum] = @Original_ProcessNum) AND ([FC] = @Original_FC) AND ([VC] = @Original_VC) AND ([OH] = @Original_OH) AND ([SC] = @Original_SC) AND ([QuotaPlantStd] = @Original_QuotaPlantStd) AND ([QuotaManStd] = @Original_QuotaManStd))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_FC" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="FC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VC" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="VC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_OH" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="OH" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SC" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="SC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_QuotaPlantStd" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="QuotaPlantStd" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_QuotaManStd" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="QuotaManStd" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Cost2Plant] ([CodPlant], [ProcessNum], [FC], [VC], [OH], [SC], [QuotaPlantStd], [QuotaManStd]) VALUES (@CodPlant, @ProcessNum, @FC, @VC, @OH, @SC, @QuotaPlantStd, @QuotaManStd);
SELECT CodPlant, ProcessNum, FC, VC, OH, SC, QuotaPlantStd, QuotaManStd FROM Cost2Plant WHERE (CodPlant = @CodPlant) AND (ProcessNum = @ProcessNum)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@FC" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="FC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VC" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="VC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@OH" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="OH" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SC" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="SC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@QuotaPlantStd" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="QuotaPlantStd" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@QuotaManStd" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="QuotaManStd" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT CodPlant, ProcessNum, FC, VC, OH, SC, QuotaPlantStd, QuotaManStd FROM dbo.Cost2Plant</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Cost2Plant] SET [CodPlant] = @CodPlant, [ProcessNum] = @ProcessNum, [FC] = @FC, [VC] = @VC, [OH] = @OH, [SC] = @SC, [QuotaPlantStd] = @QuotaPlantStd, [QuotaManStd] = @QuotaManStd WHERE (([CodPlant] = @Original_CodPlant) AND ([ProcessNum] = @Original_ProcessNum) AND ([FC] = @Original_FC) AND ([VC] = @Original_VC) AND ([OH] = @Original_OH) AND ([SC] = @Original_SC) AND ([QuotaPlantStd] = @Original_QuotaPlantStd) AND ([QuotaManStd] = @Original_QuotaManStd));
SELECT CodPlant, ProcessNum, FC, VC, OH, SC, QuotaPlantStd, QuotaManStd FROM Cost2Plant WHERE (CodPlant = @CodPlant) AND (ProcessNum = @ProcessNum)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@FC" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="FC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VC" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="VC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@OH" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="OH" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SC" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="SC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@QuotaPlantStd" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="QuotaPlantStd" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@QuotaManStd" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="QuotaManStd" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodPlant" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProcessNum" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_FC" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="FC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VC" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="VC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_OH" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="OH" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SC" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="SC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_QuotaPlantStd" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="QuotaPlantStd" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_QuotaManStd" Precision="9" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="QuotaManStd" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CodPlant" DataSetColumn="CodPlant" />
<Mapping SourceColumn="ProcessNum" DataSetColumn="ProcessNum" />
<Mapping SourceColumn="FC" DataSetColumn="FC" />
<Mapping SourceColumn="VC" DataSetColumn="VC" />
<Mapping SourceColumn="OH" DataSetColumn="OH" />
<Mapping SourceColumn="SC" DataSetColumn="SC" />
<Mapping SourceColumn="QuotaPlantStd" DataSetColumn="QuotaPlantStd" />
<Mapping SourceColumn="QuotaManStd" DataSetColumn="QuotaManStd" />
</Mappings>
<Sources>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_Cost2Plant_deleteQuery" 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_Cost2Plant_deleteQuery</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_CodPlant" 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_ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_Cost2Plant_insertQuery" 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_Cost2Plant_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="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@FC" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@VC" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@OH" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@SC" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@QuotaPlantStd" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@QuotaManStd" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_Cost2Plant_insMissing" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insMissing" Modifier="Public" Name="insMissing" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="insMissing">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Cost2Plant_insMissing</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="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_Cost2Plant_updateQuery" 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_Cost2Plant_updateQuery</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="@CodPlant" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@FC" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@VC" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@OH" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@SC" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@QuotaPlantStd" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@QuotaManStd" Precision="9" ProviderType="Decimal" Scale="4" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_CodPlant" 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_ProcessNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DS_Quotes" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Quotes" msprop:Generator_UserDSName="DS_Quotes">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="QuoteList" msprop:Generator_TableClassName="QuoteListDataTable" msprop:Generator_TableVarName="tableQuoteList" msprop:Generator_TablePropName="QuoteList" msprop:Generator_RowDeletingName="QuoteListRowDeleting" msprop:Generator_RowChangingName="QuoteListRowChanging" msprop:Generator_RowEvHandlerName="QuoteListRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteListRowDeleted" msprop:Generator_UserTableName="QuoteList" msprop:Generator_RowChangedName="QuoteListRowChanged" msprop:Generator_RowEvArgName="QuoteListRowChangeEvent" msprop:Generator_RowClassName="QuoteListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodQuote" msprop:Generator_ColumnVarNameInTable="columnCodQuote" msprop:Generator_ColumnPropNameInRow="CodQuote" msprop:Generator_ColumnPropNameInTable="CodQuoteColumn" msprop:Generator_UserColumnName="CodQuote" type="xs:long" />
<xs:element name="QuoteRev" msprop:Generator_ColumnVarNameInTable="columnQuoteRev" msprop:Generator_ColumnPropNameInRow="QuoteRev" msprop:Generator_ColumnPropNameInTable="QuoteRevColumn" msprop:Generator_UserColumnName="QuoteRev" type="xs:int" />
<xs:element name="OfferResult" msprop:Generator_ColumnVarNameInTable="columnOfferResult" msprop:Generator_ColumnPropNameInRow="OfferResult" msprop:Generator_ColumnPropNameInTable="OfferResultColumn" msprop:Generator_UserColumnName="OfferResult">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KoReason" msprop:Generator_ColumnVarNameInTable="columnKoReason" msprop:Generator_ColumnPropNameInRow="KoReason" msprop:Generator_ColumnPropNameInTable="KoReasonColumn" msprop:Generator_UserColumnName="KoReason">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Agente" msprop:Generator_ColumnVarNameInTable="columnAgente" msprop:Generator_ColumnPropNameInRow="Agente" msprop:Generator_ColumnPropNameInTable="AgenteColumn" msprop:Generator_UserColumnName="Agente">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProdType" msprop:Generator_ColumnVarNameInTable="columnProdType" msprop:Generator_ColumnPropNameInRow="ProdType" msprop:Generator_ColumnPropNameInTable="ProdTypeColumn" msprop:Generator_UserColumnName="ProdType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxQState" msprop:Generator_ColumnVarNameInTable="columnIdxQState" msprop:Generator_ColumnPropNameInRow="IdxQState" msprop:Generator_ColumnPropNameInTable="IdxQStateColumn" msprop:Generator_UserColumnName="IdxQState" type="xs:int" />
<xs:element name="CodClient" msprop:Generator_ColumnVarNameInTable="columnCodClient" msprop:Generator_ColumnPropNameInRow="CodClient" msprop:Generator_ColumnPropNameInTable="CodClientColumn" msprop:Generator_UserColumnName="CodClient">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodItem" msprop:Generator_ColumnVarNameInTable="columnCodItem" msprop:Generator_ColumnPropNameInRow="CodItem" msprop:Generator_ColumnPropNameInTable="CodItemColumn" msprop:Generator_UserColumnName="CodItem">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodItemGroup" msprop:Generator_ColumnVarNameInTable="columnCodItemGroup" msprop:Generator_ColumnPropNameInRow="CodItemGroup" msprop:Generator_ColumnPropNameInTable="CodItemGroupColumn" msprop:Generator_UserColumnName="CodItemGroup">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RawMat" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UnitWeight" msprop:Generator_ColumnVarNameInTable="columnUnitWeight" msprop:Generator_ColumnPropNameInRow="UnitWeight" msprop:Generator_ColumnPropNameInTable="UnitWeightColumn" msprop:Generator_UserColumnName="UnitWeight" type="xs:decimal" />
<xs:element name="BatchQty" msprop:Generator_ColumnVarNameInTable="columnBatchQty" msprop:Generator_ColumnPropNameInRow="BatchQty" msprop:Generator_ColumnPropNameInTable="BatchQtyColumn" msprop:Generator_UserColumnName="BatchQty" type="xs:int" />
<xs:element name="CodInco" msprop:Generator_ColumnVarNameInTable="columnCodInco" msprop:Generator_ColumnPropNameInRow="CodInco" msprop:Generator_ColumnPropNameInTable="CodIncoColumn" msprop:Generator_UserColumnName="CodInco">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KeyAM" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnKeyAM" msprop:Generator_ColumnPropNameInRow="KeyAM" msprop:Generator_ColumnPropNameInTable="KeyAMColumn" msprop:Generator_UserColumnName="KeyAM" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="101" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PriceOff" msprop:Generator_ColumnVarNameInTable="columnPriceOff" msprop:Generator_ColumnPropNameInRow="PriceOff" msprop:Generator_ColumnPropNameInTable="PriceOffColumn" msprop:Generator_UserColumnName="PriceOff" type="xs:decimal" />
<xs:element name="OrdDate" msprop:Generator_ColumnVarNameInTable="columnOrdDate" msprop:Generator_ColumnPropNameInRow="OrdDate" msprop:Generator_ColumnPropNameInTable="OrdDateColumn" msprop:Generator_UserColumnName="OrdDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="OrdNum" msprop:Generator_ColumnVarNameInTable="columnOrdNum" msprop:Generator_ColumnPropNameInRow="OrdNum" msprop:Generator_ColumnPropNameInTable="OrdNumColumn" msprop:Generator_UserColumnName="OrdNum">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrdRow" msprop:Generator_ColumnVarNameInTable="columnOrdRow" msprop:Generator_ColumnPropNameInRow="OrdRow" msprop:Generator_ColumnPropNameInTable="OrdRowColumn" msprop:Generator_UserColumnName="OrdRow">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrdPrice" msprop:Generator_ColumnVarNameInTable="columnOrdPrice" msprop:Generator_ColumnPropNameInRow="OrdPrice" msprop:Generator_ColumnPropNameInTable="OrdPriceColumn" msprop:Generator_UserColumnName="OrdPrice" type="xs:decimal" />
<xs:element name="OrdQty" msprop:Generator_ColumnVarNameInTable="columnOrdQty" msprop:Generator_ColumnPropNameInRow="OrdQty" msprop:Generator_ColumnPropNameInTable="OrdQtyColumn" msprop:Generator_UserColumnName="OrdQty" type="xs:int" />
<xs:element name="valid" msprop:Generator_ColumnVarNameInTable="columnvalid" msprop:Generator_ColumnPropNameInRow="valid" msprop:Generator_ColumnPropNameInTable="validColumn" msprop:Generator_UserColumnName="valid" type="xs:boolean" />
<xs:element name="errorScore" msprop:Generator_ColumnVarNameInTable="columnerrorScore" msprop:Generator_ColumnPropNameInRow="errorScore" msprop:Generator_ColumnPropNameInTable="errorScoreColumn" msprop:Generator_UserColumnName="errorScore" type="xs:int" />
<xs:element name="UserCreaz" msprop:Generator_ColumnVarNameInTable="columnUserCreaz" msprop:Generator_ColumnPropNameInRow="UserCreaz" msprop:Generator_ColumnPropNameInTable="UserCreazColumn" msprop:Generator_UserColumnName="UserCreaz">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataCreaz" msprop:Generator_ColumnVarNameInTable="columnDataCreaz" msprop:Generator_ColumnPropNameInRow="DataCreaz" msprop:Generator_ColumnPropNameInTable="DataCreazColumn" msprop:Generator_UserColumnName="DataCreaz" type="xs:dateTime" />
<xs:element name="UserMod" msprop:Generator_ColumnVarNameInTable="columnUserMod" msprop:Generator_ColumnPropNameInRow="UserMod" msprop:Generator_ColumnPropNameInTable="UserModColumn" msprop:Generator_UserColumnName="UserMod">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataMod" msprop:Generator_ColumnVarNameInTable="columnDataMod" msprop:Generator_ColumnPropNameInRow="DataMod" msprop:Generator_ColumnPropNameInTable="DataModColumn" msprop:Generator_UserColumnName="DataMod" type="xs:dateTime" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteRM" msprop:Generator_TableClassName="QuoteRMDataTable" msprop:Generator_TableVarName="tableQuoteRM" msprop:Generator_TablePropName="QuoteRM" msprop:Generator_RowDeletingName="QuoteRMRowDeleting" msprop:Generator_RowChangingName="QuoteRMRowChanging" msprop:Generator_RowEvHandlerName="QuoteRMRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteRMRowDeleted" msprop:Generator_UserTableName="QuoteRM" msprop:Generator_RowChangedName="QuoteRMRowChanged" msprop:Generator_RowEvArgName="QuoteRMRowChangeEvent" msprop:Generator_RowClassName="QuoteRMRow">
<xs:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodQuote" msprop:Generator_ColumnVarNameInTable="columnCodQuote" msprop:Generator_ColumnPropNameInRow="CodQuote" msprop:Generator_ColumnPropNameInTable="CodQuoteColumn" msprop:Generator_UserColumnName="CodQuote" type="xs:long" />
<xs:element name="QuoteRev" msprop:Generator_ColumnVarNameInTable="columnQuoteRev" msprop:Generator_ColumnPropNameInRow="QuoteRev" msprop:Generator_ColumnPropNameInTable="QuoteRevColumn" msprop:Generator_UserColumnName="QuoteRev" type="xs:int" />
<xs:element name="NumRM" msprop:Generator_ColumnVarNameInTable="columnNumRM" msprop:Generator_ColumnPropNameInRow="NumRM" msprop:Generator_ColumnPropNameInTable="NumRMColumn" msprop:Generator_UserColumnName="NumRM" type="xs:int" />
<xs:element name="RawMat" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RawMatCost" msprop:Generator_ColumnVarNameInTable="columnRawMatCost" msprop:Generator_ColumnPropNameInRow="RawMatCost" msprop:Generator_ColumnPropNameInTable="RawMatCostColumn" msprop:Generator_UserColumnName="RawMatCost" type="xs:decimal" />
<xs:element name="RawMatExtraCost" msprop:Generator_ColumnVarNameInTable="columnRawMatExtraCost" msprop:Generator_ColumnPropNameInRow="RawMatExtraCost" msprop:Generator_ColumnPropNameInTable="RawMatExtraCostColumn" msprop:Generator_UserColumnName="RawMatExtraCost" type="xs:decimal" />
<xs:element name="CodPackag" msprop:Generator_ColumnVarNameInTable="columnCodPackag" msprop:Generator_ColumnPropNameInRow="CodPackag" msprop:Generator_ColumnPropNameInTable="CodPackagColumn" msprop:Generator_UserColumnName="CodPackag">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FCR" msprop:Generator_ColumnVarNameInTable="columnFCR" msprop:Generator_ColumnPropNameInRow="FCR" msprop:Generator_ColumnPropNameInTable="FCRColumn" msprop:Generator_UserColumnName="FCR" type="xs:decimal" />
<xs:element name="FYR" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnFYR" msprop:Generator_ColumnPropNameInRow="FYR" msprop:Generator_ColumnPropNameInTable="FYRColumn" msprop:Generator_UserColumnName="FYR" type="xs:decimal" minOccurs="0" />
<xs:element name="FSR" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnFSR" msprop:Generator_ColumnPropNameInRow="FSR" msprop:Generator_ColumnPropNameInTable="FSRColumn" msprop:Generator_UserColumnName="FSR" type="xs:decimal" minOccurs="0" />
<xs:element name="valid" msprop:Generator_ColumnVarNameInTable="columnvalid" msprop:Generator_ColumnPropNameInRow="valid" msprop:Generator_ColumnPropNameInTable="validColumn" msprop:Generator_UserColumnName="valid" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteWorkExt" msprop:Generator_TableClassName="QuoteWorkExtDataTable" msprop:Generator_TableVarName="tableQuoteWorkExt" msprop:Generator_TablePropName="QuoteWorkExt" msprop:Generator_RowDeletingName="QuoteWorkExtRowDeleting" msprop:Generator_RowChangingName="QuoteWorkExtRowChanging" msprop:Generator_RowEvHandlerName="QuoteWorkExtRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteWorkExtRowDeleted" msprop:Generator_UserTableName="QuoteWorkExt" msprop:Generator_RowChangedName="QuoteWorkExtRowChanged" msprop:Generator_RowEvArgName="QuoteWorkExtRowChangeEvent" msprop:Generator_RowClassName="QuoteWorkExtRow">
<xs:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodQuote" msprop:Generator_ColumnVarNameInTable="columnCodQuote" msprop:Generator_ColumnPropNameInRow="CodQuote" msprop:Generator_ColumnPropNameInTable="CodQuoteColumn" msprop:Generator_UserColumnName="CodQuote" type="xs:long" />
<xs:element name="QuoteRev" msprop:Generator_ColumnVarNameInTable="columnQuoteRev" msprop:Generator_ColumnPropNameInRow="QuoteRev" msprop:Generator_ColumnPropNameInTable="QuoteRevColumn" msprop:Generator_UserColumnName="QuoteRev" type="xs:int" />
<xs:element name="NumWE" msprop:Generator_ColumnVarNameInTable="columnNumWE" msprop:Generator_ColumnPropNameInRow="NumWE" msprop:Generator_ColumnPropNameInTable="NumWEColumn" msprop:Generator_UserColumnName="NumWE" type="xs:int" />
<xs:element name="EWC4UG" msprop:Generator_ColumnVarNameInTable="columnEWC4UG" msprop:Generator_ColumnPropNameInRow="EWC4UG" msprop:Generator_ColumnPropNameInTable="EWC4UGColumn" msprop:Generator_UserColumnName="EWC4UG" type="xs:decimal" />
<xs:element name="UM" msprop:Generator_ColumnVarNameInTable="columnUM" msprop:Generator_ColumnPropNameInRow="UM" msprop:Generator_ColumnPropNameInTable="UMColumn" msprop:Generator_UserColumnName="UM">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="valid" msprop:Generator_ColumnVarNameInTable="columnvalid" msprop:Generator_ColumnPropNameInRow="valid" msprop:Generator_ColumnPropNameInTable="validColumn" msprop:Generator_UserColumnName="valid" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteWorkInt" msprop:Generator_TableClassName="QuoteWorkIntDataTable" msprop:Generator_TableVarName="tableQuoteWorkInt" msprop:Generator_TablePropName="QuoteWorkInt" msprop:Generator_RowDeletingName="QuoteWorkIntRowDeleting" msprop:Generator_RowChangingName="QuoteWorkIntRowChanging" msprop:Generator_RowEvHandlerName="QuoteWorkIntRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteWorkIntRowDeleted" msprop:Generator_UserTableName="QuoteWorkInt" msprop:Generator_RowChangedName="QuoteWorkIntRowChanged" msprop:Generator_RowEvArgName="QuoteWorkIntRowChangeEvent" msprop:Generator_RowClassName="QuoteWorkIntRow">
<xs:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodQuote" msprop:Generator_ColumnVarNameInTable="columnCodQuote" msprop:Generator_ColumnPropNameInRow="CodQuote" msprop:Generator_ColumnPropNameInTable="CodQuoteColumn" msprop:Generator_UserColumnName="CodQuote" type="xs:long" />
<xs:element name="QuoteRev" msprop:Generator_ColumnVarNameInTable="columnQuoteRev" msprop:Generator_ColumnPropNameInRow="QuoteRev" msprop:Generator_ColumnPropNameInTable="QuoteRevColumn" msprop:Generator_UserColumnName="QuoteRev" type="xs:int" />
<xs:element name="NumWI" msprop:Generator_ColumnVarNameInTable="columnNumWI" msprop:Generator_ColumnPropNameInRow="NumWI" msprop:Generator_ColumnPropNameInTable="NumWIColumn" msprop:Generator_UserColumnName="NumWI" type="xs:int" />
<xs:element name="ProcessNum" msprop:Generator_ColumnVarNameInTable="columnProcessNum" msprop:Generator_ColumnPropNameInRow="ProcessNum" msprop:Generator_ColumnPropNameInTable="ProcessNumColumn" msprop:Generator_UserColumnName="ProcessNum">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodPlant" msprop:Generator_ColumnVarNameInTable="columnCodPlant" msprop:Generator_ColumnPropNameInRow="CodPlant" msprop:Generator_ColumnPropNameInTable="CodPlantColumn" msprop:Generator_UserColumnName="CodPlant">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Class01" msprop:Generator_ColumnVarNameInTable="columnClass01" msprop:Generator_ColumnPropNameInRow="Class01" msprop:Generator_ColumnPropNameInTable="Class01Column" msprop:Generator_UserColumnName="Class01">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Class02" msprop:Generator_ColumnVarNameInTable="columnClass02" msprop:Generator_ColumnPropNameInRow="Class02" msprop:Generator_ColumnPropNameInTable="Class02Column" msprop:Generator_UserColumnName="Class02">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Class03" msprop:Generator_ColumnVarNameInTable="columnClass03" msprop:Generator_ColumnPropNameInRow="Class03" msprop:Generator_ColumnPropNameInTable="Class03Column" msprop:Generator_UserColumnName="Class03">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Class04" msprop:Generator_ColumnVarNameInTable="columnClass04" msprop:Generator_ColumnPropNameInRow="Class04" msprop:Generator_ColumnPropNameInTable="Class04Column" msprop:Generator_UserColumnName="Class04">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Class05" msprop:Generator_ColumnVarNameInTable="columnClass05" msprop:Generator_ColumnPropNameInRow="Class05" msprop:Generator_ColumnPropNameInTable="Class05Column" msprop:Generator_UserColumnName="Class05">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NetProd" msprop:Generator_ColumnVarNameInTable="columnNetProd" msprop:Generator_ColumnPropNameInRow="NetProd" msprop:Generator_ColumnPropNameInTable="NetProdColumn" msprop:Generator_UserColumnName="NetProd" type="xs:decimal" />
<xs:element name="WSR" msprop:Generator_ColumnVarNameInTable="columnWSR" msprop:Generator_ColumnPropNameInRow="WSR" msprop:Generator_ColumnPropNameInTable="WSRColumn" msprop:Generator_UserColumnName="WSR" type="xs:decimal" />
<xs:element name="MSR" msprop:Generator_ColumnVarNameInTable="columnMSR" msprop:Generator_ColumnPropNameInRow="MSR" msprop:Generator_ColumnPropNameInTable="MSRColumn" msprop:Generator_UserColumnName="MSR" type="xs:decimal" />
<xs:element name="DSR" msprop:Generator_ColumnVarNameInTable="columnDSR" msprop:Generator_ColumnPropNameInRow="DSR" msprop:Generator_ColumnPropNameInTable="DSRColumn" msprop:Generator_UserColumnName="DSR" type="xs:decimal" />
<xs:element name="FC4UG" msprop:Generator_ColumnVarNameInTable="columnFC4UG" msprop:Generator_ColumnPropNameInRow="FC4UG" msprop:Generator_ColumnPropNameInTable="FC4UGColumn" msprop:Generator_UserColumnName="FC4UG" type="xs:decimal" />
<xs:element name="VC4UG" msprop:Generator_ColumnVarNameInTable="columnVC4UG" msprop:Generator_ColumnPropNameInRow="VC4UG" msprop:Generator_ColumnPropNameInTable="VC4UGColumn" msprop:Generator_UserColumnName="VC4UG" type="xs:decimal" />
<xs:element name="OH4UG" msprop:Generator_ColumnVarNameInTable="columnOH4UG" msprop:Generator_ColumnPropNameInRow="OH4UG" msprop:Generator_ColumnPropNameInTable="OH4UGColumn" msprop:Generator_UserColumnName="OH4UG" type="xs:decimal" />
<xs:element name="SC4UG" msprop:Generator_ColumnVarNameInTable="columnSC4UG" msprop:Generator_ColumnPropNameInRow="SC4UG" msprop:Generator_ColumnPropNameInTable="SC4UGColumn" msprop:Generator_UserColumnName="SC4UG" type="xs:decimal" />
<xs:element name="WYR" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnWYR" msprop:Generator_ColumnPropNameInRow="WYR" msprop:Generator_ColumnPropNameInTable="WYRColumn" msprop:Generator_UserColumnName="WYR" type="xs:decimal" minOccurs="0" />
<xs:element name="MYR" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnMYR" msprop:Generator_ColumnPropNameInRow="MYR" msprop:Generator_ColumnPropNameInTable="MYRColumn" msprop:Generator_UserColumnName="MYR" type="xs:decimal" minOccurs="0" />
<xs:element name="DYR" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDYR" msprop:Generator_ColumnPropNameInRow="DYR" msprop:Generator_ColumnPropNameInTable="DYRColumn" msprop:Generator_UserColumnName="DYR" type="xs:decimal" minOccurs="0" />
<xs:element name="WCR" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnWCR" msprop:Generator_ColumnPropNameInRow="WCR" msprop:Generator_ColumnPropNameInTable="WCRColumn" msprop:Generator_UserColumnName="WCR" type="xs:decimal" minOccurs="0" />
<xs:element name="MCR" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnMCR" msprop:Generator_ColumnPropNameInRow="MCR" msprop:Generator_ColumnPropNameInTable="MCRColumn" msprop:Generator_UserColumnName="MCR" type="xs:decimal" minOccurs="0" />
<xs:element name="DCR" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDCR" msprop:Generator_ColumnPropNameInRow="DCR" msprop:Generator_ColumnPropNameInTable="DCRColumn" msprop:Generator_UserColumnName="DCR" type="xs:decimal" minOccurs="0" />
<xs:element name="valid" msprop:Generator_ColumnVarNameInTable="columnvalid" msprop:Generator_ColumnPropNameInRow="valid" msprop:Generator_ColumnPropNameInTable="validColumn" msprop:Generator_UserColumnName="valid" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteParam" msprop:Generator_TableClassName="QuoteParamDataTable" msprop:Generator_TableVarName="tableQuoteParam" msprop:Generator_TablePropName="QuoteParam" msprop:Generator_RowDeletingName="QuoteParamRowDeleting" msprop:Generator_RowChangingName="QuoteParamRowChanging" msprop:Generator_RowEvHandlerName="QuoteParamRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteParamRowDeleted" msprop:Generator_UserTableName="QuoteParam" msprop:Generator_RowChangedName="QuoteParamRowChanged" msprop:Generator_RowEvArgName="QuoteParamRowChangeEvent" msprop:Generator_RowClassName="QuoteParamRow">
<xs:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodQuote" msprop:Generator_ColumnVarNameInTable="columnCodQuote" msprop:Generator_ColumnPropNameInRow="CodQuote" msprop:Generator_ColumnPropNameInTable="CodQuoteColumn" msprop:Generator_UserColumnName="CodQuote" type="xs:long" />
<xs:element name="QuoteRev" msprop:Generator_ColumnVarNameInTable="columnQuoteRev" msprop:Generator_ColumnPropNameInRow="QuoteRev" msprop:Generator_ColumnPropNameInTable="QuoteRevColumn" msprop:Generator_UserColumnName="QuoteRev" type="xs:int" />
<xs:element name="NumP" msprop:Generator_ColumnVarNameInTable="columnNumP" msprop:Generator_ColumnPropNameInRow="NumP" msprop:Generator_ColumnPropNameInTable="NumPColumn" msprop:Generator_UserColumnName="NumP" type="xs:int" />
<xs:element name="ProcessNum" msprop:Generator_ColumnVarNameInTable="columnProcessNum" msprop:Generator_ColumnPropNameInRow="ProcessNum" msprop:Generator_ColumnPropNameInTable="ProcessNumColumn" msprop:Generator_UserColumnName="ProcessNum">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Descr" msprop:Generator_ColumnVarNameInTable="columnDescr" msprop:Generator_ColumnPropNameInRow="Descr" msprop:Generator_ColumnPropNameInTable="DescrColumn" msprop:Generator_UserColumnName="Descr">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Parameter" msprop:Generator_ColumnVarNameInTable="columnParameter" msprop:Generator_ColumnPropNameInRow="Parameter" msprop:Generator_ColumnPropNameInTable="ParameterColumn" msprop:Generator_UserColumnName="Parameter">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteOC" msprop:Generator_TableClassName="QuoteOCDataTable" msprop:Generator_TableVarName="tableQuoteOC" msprop:Generator_TablePropName="QuoteOC" msprop:Generator_RowDeletingName="QuoteOCRowDeleting" msprop:Generator_RowChangingName="QuoteOCRowChanging" msprop:Generator_RowEvHandlerName="QuoteOCRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteOCRowDeleted" msprop:Generator_UserTableName="QuoteOC" msprop:Generator_RowChangedName="QuoteOCRowChanged" msprop:Generator_RowEvArgName="QuoteOCRowChangeEvent" msprop:Generator_RowClassName="QuoteOCRow">
<xs:complexType>
<xs:sequence>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodQuote" msprop:Generator_ColumnVarNameInTable="columnCodQuote" msprop:Generator_ColumnPropNameInRow="CodQuote" msprop:Generator_ColumnPropNameInTable="CodQuoteColumn" msprop:Generator_UserColumnName="CodQuote" type="xs:long" />
<xs:element name="QuoteRev" msprop:Generator_ColumnVarNameInTable="columnQuoteRev" msprop:Generator_ColumnPropNameInRow="QuoteRev" msprop:Generator_ColumnPropNameInTable="QuoteRevColumn" msprop:Generator_UserColumnName="QuoteRev" type="xs:int" />
<xs:element name="NumEx" msprop:Generator_ColumnVarNameInTable="columnNumEx" msprop:Generator_ColumnPropNameInRow="NumEx" msprop:Generator_ColumnPropNameInTable="NumExColumn" msprop:Generator_UserColumnName="NumEx" type="xs:int" />
<xs:element name="ProcessNum" msprop:Generator_ColumnVarNameInTable="columnProcessNum" msprop:Generator_ColumnPropNameInRow="ProcessNum" msprop:Generator_ColumnPropNameInTable="ProcessNumColumn" msprop:Generator_UserColumnName="ProcessNum">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodPlant" msprop:Generator_ColumnVarNameInTable="columnCodPlant" msprop:Generator_ColumnPropNameInRow="CodPlant" msprop:Generator_ColumnPropNameInTable="CodPlantColumn" msprop:Generator_UserColumnName="CodPlant">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Class01" msprop:Generator_ColumnVarNameInTable="columnClass01" msprop:Generator_ColumnPropNameInRow="Class01" msprop:Generator_ColumnPropNameInTable="Class01Column" msprop:Generator_UserColumnName="Class01">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Class02" msprop:Generator_ColumnVarNameInTable="columnClass02" msprop:Generator_ColumnPropNameInRow="Class02" msprop:Generator_ColumnPropNameInTable="Class02Column" msprop:Generator_UserColumnName="Class02">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Class03" msprop:Generator_ColumnVarNameInTable="columnClass03" msprop:Generator_ColumnPropNameInRow="Class03" msprop:Generator_ColumnPropNameInTable="Class03Column" msprop:Generator_UserColumnName="Class03">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Class04" msprop:Generator_ColumnVarNameInTable="columnClass04" msprop:Generator_ColumnPropNameInRow="Class04" msprop:Generator_ColumnPropNameInTable="Class04Column" msprop:Generator_UserColumnName="Class04">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Class05" msprop:Generator_ColumnVarNameInTable="columnClass05" msprop:Generator_ColumnPropNameInRow="Class05" msprop:Generator_ColumnPropNameInTable="Class05Column" msprop:Generator_UserColumnName="Class05">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TotQty" msprop:Generator_ColumnVarNameInTable="columnTotQty" msprop:Generator_ColumnPropNameInRow="TotQty" msprop:Generator_ColumnPropNameInTable="TotQtyColumn" msprop:Generator_UserColumnName="TotQty" type="xs:decimal" />
<xs:element name="TotCost" msprop:Generator_ColumnVarNameInTable="columnTotCost" msprop:Generator_ColumnPropNameInRow="TotCost" msprop:Generator_ColumnPropNameInTable="TotCostColumn" msprop:Generator_UserColumnName="TotCost" type="xs:decimal" />
<xs:element name="Quota" msprop:Generator_ColumnVarNameInTable="columnQuota" msprop:Generator_ColumnPropNameInRow="Quota" msprop:Generator_ColumnPropNameInTable="QuotaColumn" msprop:Generator_UserColumnName="Quota" type="xs:decimal" />
<xs:element name="C4UG" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnC4UG" msprop:Generator_ColumnPropNameInRow="C4UG" msprop:Generator_ColumnPropNameInTable="C4UGColumn" msprop:Generator_UserColumnName="C4UG" type="xs:decimal" minOccurs="0" />
<xs:element name="valid" msprop:Generator_ColumnVarNameInTable="columnvalid" msprop:Generator_ColumnPropNameInRow="valid" msprop:Generator_ColumnPropNameInTable="validColumn" msprop:Generator_UserColumnName="valid" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteFull_Q" msprop:Generator_TableClassName="QuoteFull_QDataTable" msprop:Generator_TableVarName="tableQuoteFull_Q" msprop:Generator_RowChangedName="QuoteFull_QRowChanged" msprop:Generator_TablePropName="QuoteFull_Q" msprop:Generator_RowDeletingName="QuoteFull_QRowDeleting" msprop:Generator_RowChangingName="QuoteFull_QRowChanging" msprop:Generator_RowEvHandlerName="QuoteFull_QRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteFull_QRowDeleted" msprop:Generator_RowClassName="QuoteFull_QRow" msprop:Generator_UserTableName="QuoteFull_Q" msprop:Generator_RowEvArgName="QuoteFull_QRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Vers" msprop:Generator_ColumnVarNameInTable="columnVers" msprop:Generator_ColumnPropNameInRow="Vers" msprop:Generator_ColumnPropNameInTable="VersColumn" msprop:Generator_UserColumnName="Vers">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodQuote" msprop:Generator_ColumnVarNameInTable="columnCodQuote" msprop:Generator_ColumnPropNameInRow="CodQuote" msprop:Generator_ColumnPropNameInTable="CodQuoteColumn" msprop:Generator_UserColumnName="CodQuote" type="xs:long" />
<xs:element name="QuoteRev" msprop:Generator_ColumnVarNameInTable="columnQuoteRev" msprop:Generator_ColumnPropNameInRow="QuoteRev" msprop:Generator_ColumnPropNameInTable="QuoteRevColumn" msprop:Generator_UserColumnName="QuoteRev" type="xs:int" />
<xs:element name="OfferResult" msprop:Generator_ColumnVarNameInTable="columnOfferResult" msprop:Generator_ColumnPropNameInRow="OfferResult" msprop:Generator_ColumnPropNameInTable="OfferResultColumn" msprop:Generator_UserColumnName="OfferResult">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KoReason" msprop:Generator_ColumnVarNameInTable="columnKoReason" msprop:Generator_ColumnPropNameInRow="KoReason" msprop:Generator_ColumnPropNameInTable="KoReasonColumn" msprop:Generator_UserColumnName="KoReason">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Agente" msprop:Generator_ColumnVarNameInTable="columnAgente" msprop:Generator_ColumnPropNameInRow="Agente" msprop:Generator_ColumnPropNameInTable="AgenteColumn" msprop:Generator_UserColumnName="Agente">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProdType" msprop:Generator_ColumnVarNameInTable="columnProdType" msprop:Generator_ColumnPropNameInRow="ProdType" msprop:Generator_ColumnPropNameInTable="ProdTypeColumn" msprop:Generator_UserColumnName="ProdType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxQState" msprop:Generator_ColumnVarNameInTable="columnIdxQState" msprop:Generator_ColumnPropNameInRow="IdxQState" msprop:Generator_ColumnPropNameInTable="IdxQStateColumn" msprop:Generator_UserColumnName="IdxQState" type="xs:int" />
<xs:element name="CodClient" msprop:Generator_ColumnVarNameInTable="columnCodClient" msprop:Generator_ColumnPropNameInRow="CodClient" msprop:Generator_ColumnPropNameInTable="CodClientColumn" msprop:Generator_UserColumnName="CodClient">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ClientName" msprop:Generator_ColumnVarNameInTable="columnClientName" msprop:Generator_ColumnPropNameInRow="ClientName" msprop:Generator_ColumnPropNameInTable="ClientNameColumn" msprop:Generator_UserColumnName="ClientName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodItem" msprop:Generator_ColumnVarNameInTable="columnCodItem" msprop:Generator_ColumnPropNameInRow="CodItem" msprop:Generator_ColumnPropNameInTable="CodItemColumn" msprop:Generator_UserColumnName="CodItem">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodItemGroup" msprop:Generator_ColumnVarNameInTable="columnCodItemGroup" msprop:Generator_ColumnPropNameInRow="CodItemGroup" msprop:Generator_ColumnPropNameInTable="CodItemGroupColumn" msprop:Generator_UserColumnName="CodItemGroup">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RawMat" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UnitWeight" msprop:Generator_ColumnVarNameInTable="columnUnitWeight" msprop:Generator_ColumnPropNameInRow="UnitWeight" msprop:Generator_ColumnPropNameInTable="UnitWeightColumn" msprop:Generator_UserColumnName="UnitWeight" type="xs:decimal" />
<xs:element name="BatchQty" msprop:Generator_ColumnVarNameInTable="columnBatchQty" msprop:Generator_ColumnPropNameInRow="BatchQty" msprop:Generator_ColumnPropNameInTable="BatchQtyColumn" msprop:Generator_UserColumnName="BatchQty" type="xs:int" />
<xs:element name="CodInco" msprop:Generator_ColumnVarNameInTable="columnCodInco" msprop:Generator_ColumnPropNameInRow="CodInco" msprop:Generator_ColumnPropNameInTable="CodIncoColumn" msprop:Generator_UserColumnName="CodInco">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TranspZone" msprop:Generator_ColumnVarNameInTable="columnTranspZone" msprop:Generator_ColumnPropNameInRow="TranspZone" msprop:Generator_ColumnPropNameInTable="TranspZoneColumn" msprop:Generator_UserColumnName="TranspZone">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KeyAM" msprop:Generator_ColumnVarNameInTable="columnKeyAM" msprop:Generator_ColumnPropNameInRow="KeyAM" msprop:Generator_ColumnPropNameInTable="KeyAMColumn" msprop:Generator_UserColumnName="KeyAM">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="101" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PriceOff" msprop:Generator_ColumnVarNameInTable="columnPriceOff" msprop:Generator_ColumnPropNameInRow="PriceOff" msprop:Generator_ColumnPropNameInTable="PriceOffColumn" msprop:Generator_UserColumnName="PriceOff" type="xs:decimal" />
<xs:element name="CodClientAssoc" msprop:Generator_ColumnVarNameInTable="columnCodClientAssoc" msprop:Generator_ColumnPropNameInRow="CodClientAssoc" msprop:Generator_ColumnPropNameInTable="CodClientAssocColumn" msprop:Generator_UserColumnName="CodClientAssoc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ClientNameAssoc" msprop:Generator_ColumnVarNameInTable="columnClientNameAssoc" msprop:Generator_ColumnPropNameInRow="ClientNameAssoc" msprop:Generator_ColumnPropNameInTable="ClientNameAssocColumn" msprop:Generator_UserColumnName="ClientNameAssoc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemDescr" msprop:Generator_ColumnVarNameInTable="columnItemDescr" msprop:Generator_ColumnPropNameInRow="ItemDescr" msprop:Generator_ColumnPropNameInTable="ItemDescrColumn" msprop:Generator_UserColumnName="ItemDescr" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodifProfilo" msprop:Generator_ColumnVarNameInTable="columnCodifProfilo" msprop:Generator_ColumnPropNameInRow="CodifProfilo" msprop:Generator_ColumnPropNameInTable="CodifProfiloColumn" msprop:Generator_UserColumnName="CodifProfilo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ClasseMerc" msprop:Generator_ColumnVarNameInTable="columnClasseMerc" msprop:Generator_ColumnPropNameInRow="ClasseMerc" msprop:Generator_ColumnPropNameInTable="ClasseMercColumn" msprop:Generator_UserColumnName="ClasseMerc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TipoDies" msprop:Generator_ColumnVarNameInTable="columnTipoDies" msprop:Generator_ColumnPropNameInRow="TipoDies" msprop:Generator_ColumnPropNameInTable="TipoDiesColumn" msprop:Generator_UserColumnName="TipoDies" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodDiesGroup" msprop:Generator_ColumnVarNameInTable="columnCodDiesGroup" msprop:Generator_ColumnPropNameInRow="CodDiesGroup" msprop:Generator_ColumnPropNameInTable="CodDiesGroupColumn" msprop:Generator_UserColumnName="CodDiesGroup" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DiamDies" msprop:Generator_ColumnVarNameInTable="columnDiamDies" msprop:Generator_ColumnPropNameInRow="DiamDies" msprop:Generator_ColumnPropNameInTable="DiamDiesColumn" msprop:Generator_UserColumnName="DiamDies" type="xs:decimal" />
<xs:element name="HoleNumDies" msprop:Generator_ColumnVarNameInTable="columnHoleNumDies" msprop:Generator_ColumnPropNameInRow="HoleNumDies" msprop:Generator_ColumnPropNameInTable="HoleNumDiesColumn" msprop:Generator_UserColumnName="HoleNumDies" type="xs:int" minOccurs="0" />
<xs:element name="DiesPrice" msprop:Generator_ColumnVarNameInTable="columnDiesPrice" msprop:Generator_ColumnPropNameInRow="DiesPrice" msprop:Generator_ColumnPropNameInTable="DiesPriceColumn" msprop:Generator_UserColumnName="DiesPrice" type="xs:decimal" />
<xs:element name="DiesExpLife" msprop:Generator_ColumnVarNameInTable="columnDiesExpLife" msprop:Generator_ColumnPropNameInRow="DiesExpLife" msprop:Generator_ColumnPropNameInTable="DiesExpLifeColumn" msprop:Generator_UserColumnName="DiesExpLife" type="xs:decimal" />
<xs:element name="DiesEOLife" msprop:Generator_ColumnVarNameInTable="columnDiesEOLife" msprop:Generator_ColumnPropNameInRow="DiesEOLife" msprop:Generator_ColumnPropNameInTable="DiesEOLifeColumn" msprop:Generator_UserColumnName="DiesEOLife" type="xs:decimal" />
<xs:element name="DiesByClass" msprop:Generator_ColumnVarNameInTable="columnDiesByClass" msprop:Generator_ColumnPropNameInRow="DiesByClass" msprop:Generator_ColumnPropNameInTable="DiesByClassColumn" msprop:Generator_UserColumnName="DiesByClass" type="xs:boolean" />
<xs:element name="NumDiesInList" msprop:Generator_ColumnVarNameInTable="columnNumDiesInList" msprop:Generator_ColumnPropNameInRow="NumDiesInList" msprop:Generator_ColumnPropNameInTable="NumDiesInListColumn" msprop:Generator_UserColumnName="NumDiesInList" type="xs:decimal" minOccurs="0" />
<xs:element name="NumDiesExaust" msprop:Generator_ColumnVarNameInTable="columnNumDiesExaust" msprop:Generator_ColumnPropNameInRow="NumDiesExaust" msprop:Generator_ColumnPropNameInTable="NumDiesExaustColumn" msprop:Generator_UserColumnName="NumDiesExaust" type="xs:decimal" minOccurs="0" />
<xs:element name="CodPlant" msprop:Generator_ColumnVarNameInTable="columnCodPlant" msprop:Generator_ColumnPropNameInRow="CodPlant" msprop:Generator_ColumnPropNameInTable="CodPlantColumn" msprop:Generator_UserColumnName="CodPlant" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KeyAMIL" msprop:Generator_ColumnVarNameInTable="columnKeyAMIL" msprop:Generator_ColumnPropNameInRow="KeyAMIL" msprop:Generator_ColumnPropNameInTable="KeyAMILColumn" msprop:Generator_UserColumnName="KeyAMIL" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KgTeo" msprop:Generator_ColumnVarNameInTable="columnKgTeo" msprop:Generator_ColumnPropNameInRow="KgTeo" msprop:Generator_ColumnPropNameInTable="KgTeoColumn" msprop:Generator_UserColumnName="KgTeo" type="xs:decimal" minOccurs="0" />
<xs:element name="NumSMED" msprop:Generator_ColumnVarNameInTable="columnNumSMED" msprop:Generator_ColumnPropNameInRow="NumSMED" msprop:Generator_ColumnPropNameInTable="NumSMEDColumn" msprop:Generator_UserColumnName="NumSMED" type="xs:decimal" minOccurs="0" />
<xs:element name="QuotaMan" msprop:Generator_ColumnVarNameInTable="columnQuotaMan" msprop:Generator_ColumnPropNameInRow="QuotaMan" msprop:Generator_ColumnPropNameInTable="QuotaManColumn" msprop:Generator_UserColumnName="QuotaMan" type="xs:decimal" minOccurs="0" />
<xs:element name="PRMWeight" msprop:Generator_ColumnVarNameInTable="columnPRMWeight" msprop:Generator_ColumnPropNameInRow="PRMWeight" msprop:Generator_ColumnPropNameInTable="PRMWeightColumn" msprop:Generator_UserColumnName="PRMWeight" type="xs:decimal" minOccurs="0" />
<xs:element name="PWeight" msprop:Generator_ColumnVarNameInTable="columnPWeight" msprop:Generator_ColumnPropNameInRow="PWeight" msprop:Generator_ColumnPropNameInTable="PWeightColumn" msprop:Generator_UserColumnName="PWeight" type="xs:decimal" minOccurs="0" />
<xs:element name="PTare" msprop:Generator_ColumnVarNameInTable="columnPTare" msprop:Generator_ColumnPropNameInRow="PTare" msprop:Generator_ColumnPropNameInTable="PTareColumn" msprop:Generator_UserColumnName="PTare" type="xs:decimal" minOccurs="0" />
<xs:element name="LivPackage" msprop:Generator_ColumnVarNameInTable="columnLivPackage" msprop:Generator_ColumnPropNameInRow="LivPackage" msprop:Generator_ColumnPropNameInTable="LivPackageColumn" msprop:Generator_UserColumnName="LivPackage" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LivPackageDett" msprop:Generator_ColumnVarNameInTable="columnLivPackageDett" msprop:Generator_ColumnPropNameInRow="LivPackageDett" msprop:Generator_ColumnPropNameInTable="LivPackageDettColumn" msprop:Generator_UserColumnName="LivPackageDett" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RawMatCost" msprop:Generator_ColumnVarNameInTable="columnRawMatCost" msprop:Generator_ColumnPropNameInRow="RawMatCost" msprop:Generator_ColumnPropNameInTable="RawMatCostColumn" msprop:Generator_UserColumnName="RawMatCost" type="xs:decimal" />
<xs:element name="RawMatExtraCost" msprop:Generator_ColumnVarNameInTable="columnRawMatExtraCost" msprop:Generator_ColumnPropNameInRow="RawMatExtraCost" msprop:Generator_ColumnPropNameInTable="RawMatExtraCostColumn" msprop:Generator_UserColumnName="RawMatExtraCost" type="xs:decimal" />
<xs:element name="RawMatFullCost" msprop:Generator_ColumnVarNameInTable="columnRawMatFullCost" msprop:Generator_ColumnPropNameInRow="RawMatFullCost" msprop:Generator_ColumnPropNameInTable="RawMatFullCostColumn" msprop:Generator_UserColumnName="RawMatFullCost" type="xs:decimal" minOccurs="0" />
<xs:element name="CodPackag" msprop:Generator_ColumnVarNameInTable="columnCodPackag" msprop:Generator_ColumnPropNameInRow="CodPackag" msprop:Generator_ColumnPropNameInTable="CodPackagColumn" msprop:Generator_UserColumnName="CodPackag">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PkgDesc" msprop:Generator_ColumnVarNameInTable="columnPkgDesc" msprop:Generator_ColumnPropNameInRow="PkgDesc" msprop:Generator_ColumnPropNameInTable="PkgDescColumn" msprop:Generator_UserColumnName="PkgDesc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FSR" msprop:Generator_ColumnVarNameInTable="columnFSR" msprop:Generator_ColumnPropNameInRow="FSR" msprop:Generator_ColumnPropNameInTable="FSRColumn" msprop:Generator_UserColumnName="FSR" type="xs:decimal" minOccurs="0" />
<xs:element name="ProvvCost" msprop:Generator_ColumnVarNameInTable="columnProvvCost" msprop:Generator_ColumnPropNameInRow="ProvvCost" msprop:Generator_ColumnPropNameInTable="ProvvCostColumn" msprop:Generator_UserColumnName="ProvvCost" type="xs:decimal" />
<xs:element name="EECost" msprop:Generator_ColumnVarNameInTable="columnEECost" msprop:Generator_ColumnPropNameInRow="EECost" msprop:Generator_ColumnPropNameInTable="EECostColumn" msprop:Generator_UserColumnName="EECost" type="xs:decimal" />
<xs:element name="GasCost" msprop:Generator_ColumnVarNameInTable="columnGasCost" msprop:Generator_ColumnPropNameInRow="GasCost" msprop:Generator_ColumnPropNameInTable="GasCostColumn" msprop:Generator_UserColumnName="GasCost" type="xs:decimal" />
<xs:element name="DiesCost" msprop:Generator_ColumnVarNameInTable="columnDiesCost" msprop:Generator_ColumnPropNameInRow="DiesCost" msprop:Generator_ColumnPropNameInTable="DiesCostColumn" msprop:Generator_UserColumnName="DiesCost" type="xs:decimal" />
<xs:element name="PackCost" msprop:Generator_ColumnVarNameInTable="columnPackCost" msprop:Generator_ColumnPropNameInRow="PackCost" msprop:Generator_ColumnPropNameInTable="PackCostColumn" msprop:Generator_UserColumnName="PackCost" type="xs:decimal" />
<xs:element name="TranspCost" msprop:Generator_ColumnVarNameInTable="columnTranspCost" msprop:Generator_ColumnPropNameInRow="TranspCost" msprop:Generator_ColumnPropNameInTable="TranspCostColumn" msprop:Generator_UserColumnName="TranspCost" type="xs:decimal" />
<xs:element name="SellCost01" msprop:Generator_ColumnVarNameInTable="columnSellCost01" msprop:Generator_ColumnPropNameInRow="SellCost01" msprop:Generator_ColumnPropNameInTable="SellCost01Column" msprop:Generator_UserColumnName="SellCost01" type="xs:decimal" />
<xs:element name="RefCost01" msprop:Generator_ColumnVarNameInTable="columnRefCost01" msprop:Generator_ColumnPropNameInRow="RefCost01" msprop:Generator_ColumnPropNameInTable="RefCost01Column" msprop:Generator_UserColumnName="RefCost01" type="xs:decimal" />
<xs:element name="SellCost04" msprop:Generator_ColumnVarNameInTable="columnSellCost04" msprop:Generator_ColumnPropNameInRow="SellCost04" msprop:Generator_ColumnPropNameInTable="SellCost04Column" msprop:Generator_UserColumnName="SellCost04" type="xs:decimal" />
<xs:element name="RefCost04" msprop:Generator_ColumnVarNameInTable="columnRefCost04" msprop:Generator_ColumnPropNameInRow="RefCost04" msprop:Generator_ColumnPropNameInTable="RefCost04Column" msprop:Generator_UserColumnName="RefCost04" type="xs:decimal" />
<xs:element name="WSR01" msprop:Generator_ColumnVarNameInTable="columnWSR01" msprop:Generator_ColumnPropNameInRow="WSR01" msprop:Generator_ColumnPropNameInTable="WSR01Column" msprop:Generator_UserColumnName="WSR01" type="xs:decimal" />
<xs:element name="MSR01" msprop:Generator_ColumnVarNameInTable="columnMSR01" msprop:Generator_ColumnPropNameInRow="MSR01" msprop:Generator_ColumnPropNameInTable="MSR01Column" msprop:Generator_UserColumnName="MSR01" type="xs:decimal" />
<xs:element name="NetProd01" msprop:Generator_ColumnVarNameInTable="columnNetProd01" msprop:Generator_ColumnPropNameInRow="NetProd01" msprop:Generator_ColumnPropNameInTable="NetProd01Column" msprop:Generator_UserColumnName="NetProd01" type="xs:decimal" />
<xs:element name="FC4UG01" msprop:Generator_ColumnVarNameInTable="columnFC4UG01" msprop:Generator_ColumnPropNameInRow="FC4UG01" msprop:Generator_ColumnPropNameInTable="FC4UG01Column" msprop:Generator_UserColumnName="FC4UG01" type="xs:decimal" />
<xs:element name="VC4UG01" msprop:Generator_ColumnVarNameInTable="columnVC4UG01" msprop:Generator_ColumnPropNameInRow="VC4UG01" msprop:Generator_ColumnPropNameInTable="VC4UG01Column" msprop:Generator_UserColumnName="VC4UG01" type="xs:decimal" />
<xs:element name="OH4UG01" msprop:Generator_ColumnVarNameInTable="columnOH4UG01" msprop:Generator_ColumnPropNameInRow="OH4UG01" msprop:Generator_ColumnPropNameInTable="OH4UG01Column" msprop:Generator_UserColumnName="OH4UG01" type="xs:decimal" />
<xs:element name="SC4UG01" msprop:Generator_ColumnVarNameInTable="columnSC4UG01" msprop:Generator_ColumnPropNameInRow="SC4UG01" msprop:Generator_ColumnPropNameInTable="SC4UG01Column" msprop:Generator_UserColumnName="SC4UG01" type="xs:decimal" />
<xs:element name="DSR" msprop:Generator_ColumnVarNameInTable="columnDSR" msprop:Generator_ColumnPropNameInRow="DSR" msprop:Generator_ColumnPropNameInTable="DSRColumn" msprop:Generator_UserColumnName="DSR" type="xs:decimal" minOccurs="0" />
<xs:element name="NetProd04" msprop:Generator_ColumnVarNameInTable="columnNetProd04" msprop:Generator_ColumnPropNameInRow="NetProd04" msprop:Generator_ColumnPropNameInTable="NetProd04Column" msprop:Generator_UserColumnName="NetProd04" type="xs:decimal" />
<xs:element name="FC4UG04" msprop:Generator_ColumnVarNameInTable="columnFC4UG04" msprop:Generator_ColumnPropNameInRow="FC4UG04" msprop:Generator_ColumnPropNameInTable="FC4UG04Column" msprop:Generator_UserColumnName="FC4UG04" type="xs:decimal" />
<xs:element name="VC4UG04" msprop:Generator_ColumnVarNameInTable="columnVC4UG04" msprop:Generator_ColumnPropNameInRow="VC4UG04" msprop:Generator_ColumnPropNameInTable="VC4UG04Column" msprop:Generator_UserColumnName="VC4UG04" type="xs:decimal" />
<xs:element name="FVC" msprop:Generator_ColumnVarNameInTable="columnFVC" msprop:Generator_ColumnPropNameInRow="FVC" msprop:Generator_ColumnPropNameInTable="FVCColumn" msprop:Generator_UserColumnName="FVC" type="xs:decimal" minOccurs="0" />
<xs:element name="Charge" msprop:Generator_ColumnVarNameInTable="columnCharge" msprop:Generator_ColumnPropNameInRow="Charge" msprop:Generator_ColumnPropNameInTable="ChargeColumn" msprop:Generator_UserColumnName="Charge" type="xs:decimal" />
<xs:element name="P_FVC" msprop:Generator_ColumnVarNameInTable="columnP_FVC" msprop:Generator_ColumnPropNameInRow="P_FVC" msprop:Generator_ColumnPropNameInTable="P_FVCColumn" msprop:Generator_UserColumnName="P_FVC" type="xs:decimal" minOccurs="0" />
<xs:element name="CPS" msprop:Generator_ColumnVarNameInTable="columnCPS" msprop:Generator_ColumnPropNameInRow="CPS" msprop:Generator_ColumnPropNameInTable="CPSColumn" msprop:Generator_UserColumnName="CPS" type="xs:decimal" minOccurs="0" />
<xs:element name="P_CPS" msprop:Generator_ColumnVarNameInTable="columnP_CPS" msprop:Generator_ColumnPropNameInRow="P_CPS" msprop:Generator_ColumnPropNameInTable="P_CPSColumn" msprop:Generator_UserColumnName="P_CPS" type="xs:decimal" minOccurs="0" />
<xs:element name="P_FC4UG04" msprop:Generator_ColumnVarNameInTable="columnP_FC4UG04" msprop:Generator_ColumnPropNameInRow="P_FC4UG04" msprop:Generator_ColumnPropNameInTable="P_FC4UG04Column" msprop:Generator_UserColumnName="P_FC4UG04" type="xs:decimal" minOccurs="0" />
<xs:element name="FullCost" msprop:Generator_ColumnVarNameInTable="columnFullCost" msprop:Generator_ColumnPropNameInRow="FullCost" msprop:Generator_ColumnPropNameInTable="FullCostColumn" msprop:Generator_UserColumnName="FullCost" type="xs:decimal" minOccurs="0" />
<xs:element name="P_FullCost" msprop:Generator_ColumnVarNameInTable="columnP_FullCost" msprop:Generator_ColumnPropNameInRow="P_FullCost" msprop:Generator_ColumnPropNameInTable="P_FullCostColumn" msprop:Generator_UserColumnName="P_FullCost" type="xs:decimal" minOccurs="0" />
<xs:element name="MinPrice" msprop:Generator_ColumnVarNameInTable="columnMinPrice" msprop:Generator_ColumnPropNameInRow="MinPrice" msprop:Generator_ColumnPropNameInTable="MinPriceColumn" msprop:Generator_UserColumnName="MinPrice" type="xs:decimal" minOccurs="0" />
<xs:element name="P_MinPrice" msprop:Generator_ColumnVarNameInTable="columnP_MinPrice" msprop:Generator_ColumnPropNameInRow="P_MinPrice" msprop:Generator_ColumnPropNameInTable="P_MinPriceColumn" msprop:Generator_UserColumnName="P_MinPrice" type="xs:decimal" minOccurs="0" />
<xs:element name="P_PriceOff" msprop:Generator_ColumnVarNameInTable="columnP_PriceOff" msprop:Generator_ColumnPropNameInRow="P_PriceOff" msprop:Generator_ColumnPropNameInTable="P_PriceOffColumn" msprop:Generator_UserColumnName="P_PriceOff" type="xs:decimal" minOccurs="0" />
<xs:element name="NetMar" msprop:Generator_ColumnVarNameInTable="columnNetMar" msprop:Generator_ColumnPropNameInRow="NetMar" msprop:Generator_ColumnPropNameInTable="NetMarColumn" msprop:Generator_UserColumnName="NetMar" type="xs:decimal" minOccurs="0" />
<xs:element name="FCShield" msprop:Generator_ColumnVarNameInTable="columnFCShield" msprop:Generator_ColumnPropNameInRow="FCShield" msprop:Generator_ColumnPropNameInTable="FCShieldColumn" msprop:Generator_UserColumnName="FCShield" type="xs:decimal" minOccurs="0" />
<xs:element name="PckSur" msprop:Generator_ColumnVarNameInTable="columnPckSur" msprop:Generator_ColumnPropNameInRow="PckSur" msprop:Generator_ColumnPropNameInTable="PckSurColumn" msprop:Generator_UserColumnName="PckSur" type="xs:decimal" minOccurs="0" />
<xs:element name="valid" msprop:Generator_ColumnVarNameInTable="columnvalid" msprop:Generator_ColumnPropNameInRow="valid" msprop:Generator_ColumnPropNameInTable="validColumn" msprop:Generator_UserColumnName="valid" type="xs:boolean" />
<xs:element name="errorScore" msprop:Generator_ColumnVarNameInTable="columnerrorScore" msprop:Generator_ColumnPropNameInRow="errorScore" msprop:Generator_ColumnPropNameInTable="errorScoreColumn" msprop:Generator_UserColumnName="errorScore" type="xs:int" />
<xs:element name="DiesPrice_sim" msprop:Generator_ColumnVarNameInTable="columnDiesPrice_sim" msprop:Generator_ColumnPropNameInRow="DiesPrice_sim" msprop:Generator_ColumnPropNameInTable="DiesPrice_simColumn" msprop:Generator_UserColumnName="DiesPrice_sim" type="xs:decimal" />
<xs:element name="SamplePrice" msprop:Generator_ColumnVarNameInTable="columnSamplePrice" msprop:Generator_ColumnPropNameInRow="SamplePrice" msprop:Generator_ColumnPropNameInTable="SamplePriceColumn" msprop:Generator_UserColumnName="SamplePrice" type="xs:decimal" />
<xs:element name="DiesFullCost" msprop:Generator_ColumnVarNameInTable="columnDiesFullCost" msprop:Generator_ColumnPropNameInRow="DiesFullCost" msprop:Generator_ColumnPropNameInTable="DiesFullCostColumn" msprop:Generator_UserColumnName="DiesFullCost" type="xs:decimal" />
<xs:element name="DiesPriceClientQuote" msprop:Generator_ColumnVarNameInTable="columnDiesPriceClientQuote" msprop:Generator_ColumnPropNameInRow="DiesPriceClientQuote" msprop:Generator_ColumnPropNameInTable="DiesPriceClientQuoteColumn" msprop:Generator_UserColumnName="DiesPriceClientQuote" type="xs:decimal" />
<xs:element name="DiesTecLife" msprop:Generator_ColumnVarNameInTable="columnDiesTecLife" msprop:Generator_ColumnPropNameInRow="DiesTecLife" msprop:Generator_ColumnPropNameInTable="DiesTecLifeColumn" msprop:Generator_UserColumnName="DiesTecLife" type="xs:decimal" />
<xs:element name="DiesCommLife" msprop:Generator_ColumnVarNameInTable="columnDiesCommLife" msprop:Generator_ColumnPropNameInRow="DiesCommLife" msprop:Generator_ColumnPropNameInTable="DiesCommLifeColumn" msprop:Generator_UserColumnName="DiesCommLife" type="xs:decimal" />
<xs:element name="MonthSalesPrev" msprop:Generator_ColumnVarNameInTable="columnMonthSalesPrev" msprop:Generator_ColumnPropNameInRow="MonthSalesPrev" msprop:Generator_ColumnPropNameInTable="MonthSalesPrevColumn" msprop:Generator_UserColumnName="MonthSalesPrev" type="xs:decimal" />
<xs:element name="SalesPrevCost" msprop:Generator_ColumnVarNameInTable="columnSalesPrevCost" msprop:Generator_ColumnPropNameInRow="SalesPrevCost" msprop:Generator_ColumnPropNameInTable="SalesPrevCostColumn" msprop:Generator_UserColumnName="SalesPrevCost" type="xs:decimal" />
<xs:element name="DiesFinCost" msprop:Generator_ColumnVarNameInTable="columnDiesFinCost" msprop:Generator_ColumnPropNameInRow="DiesFinCost" msprop:Generator_ColumnPropNameInTable="DiesFinCostColumn" msprop:Generator_UserColumnName="DiesFinCost" type="xs:decimal" />
<xs:element name="ClientQuoteReven" msprop:Generator_ColumnVarNameInTable="columnClientQuoteReven" msprop:Generator_ColumnPropNameInRow="ClientQuoteReven" msprop:Generator_ColumnPropNameInTable="ClientQuoteRevenColumn" msprop:Generator_UserColumnName="ClientQuoteReven" type="xs:decimal" />
<xs:element name="ExtraDiscountDies" msprop:Generator_ColumnVarNameInTable="columnExtraDiscountDies" msprop:Generator_ColumnPropNameInRow="ExtraDiscountDies" msprop:Generator_ColumnPropNameInTable="ExtraDiscountDiesColumn" msprop:Generator_UserColumnName="ExtraDiscountDies" type="xs:decimal" />
<xs:element name="WSR01_sim" msprop:Generator_ColumnVarNameInTable="columnWSR01_sim" msprop:Generator_ColumnPropNameInRow="WSR01_sim" msprop:Generator_ColumnPropNameInTable="WSR01_simColumn" msprop:Generator_UserColumnName="WSR01_sim" type="xs:decimal" />
<xs:element name="MSR01_sim" msprop:Generator_ColumnVarNameInTable="columnMSR01_sim" msprop:Generator_ColumnPropNameInRow="MSR01_sim" msprop:Generator_ColumnPropNameInTable="MSR01_simColumn" msprop:Generator_UserColumnName="MSR01_sim" type="xs:decimal" />
<xs:element name="NetProd01_sim" msprop:Generator_ColumnVarNameInTable="columnNetProd01_sim" msprop:Generator_ColumnPropNameInRow="NetProd01_sim" msprop:Generator_ColumnPropNameInTable="NetProd01_simColumn" msprop:Generator_UserColumnName="NetProd01_sim" type="xs:decimal" />
<xs:element name="NetProd04_sim" msprop:Generator_ColumnVarNameInTable="columnNetProd04_sim" msprop:Generator_ColumnPropNameInRow="NetProd04_sim" msprop:Generator_ColumnPropNameInTable="NetProd04_simColumn" msprop:Generator_UserColumnName="NetProd04_sim" type="xs:decimal" />
<xs:element name="DSR_sim" msprop:Generator_ColumnVarNameInTable="columnDSR_sim" msprop:Generator_ColumnPropNameInRow="DSR_sim" msprop:Generator_ColumnPropNameInTable="DSR_simColumn" msprop:Generator_UserColumnName="DSR_sim" type="xs:decimal" />
<xs:element name="NetMar_sim" msprop:Generator_ColumnVarNameInTable="columnNetMar_sim" msprop:Generator_ColumnPropNameInRow="NetMar_sim" msprop:Generator_ColumnPropNameInTable="NetMar_simColumn" msprop:Generator_UserColumnName="NetMar_sim" type="xs:decimal" minOccurs="0" />
<xs:element name="FCShield_sim" msprop:Generator_ColumnVarNameInTable="columnFCShield_sim" msprop:Generator_ColumnPropNameInRow="FCShield_sim" msprop:Generator_ColumnPropNameInTable="FCShield_simColumn" msprop:Generator_UserColumnName="FCShield_sim" type="xs:decimal" minOccurs="0" />
<xs:element name="MinPrice_sim" msprop:Generator_ColumnVarNameInTable="columnMinPrice_sim" msprop:Generator_ColumnPropNameInRow="MinPrice_sim" msprop:Generator_ColumnPropNameInTable="MinPrice_simColumn" msprop:Generator_UserColumnName="MinPrice_sim" type="xs:decimal" minOccurs="0" />
<xs:element name="P_MinPrice_sim" msprop:Generator_ColumnVarNameInTable="columnP_MinPrice_sim" msprop:Generator_ColumnPropNameInRow="P_MinPrice_sim" msprop:Generator_ColumnPropNameInTable="P_MinPrice_simColumn" msprop:Generator_UserColumnName="P_MinPrice_sim" type="xs:decimal" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteFull_S" msprop:Generator_TableClassName="QuoteFull_SDataTable" msprop:Generator_TableVarName="tableQuoteFull_S" msprop:Generator_TablePropName="QuoteFull_S" msprop:Generator_RowDeletingName="QuoteFull_SRowDeleting" msprop:Generator_RowChangingName="QuoteFull_SRowChanging" msprop:Generator_RowEvHandlerName="QuoteFull_SRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteFull_SRowDeleted" msprop:Generator_UserTableName="QuoteFull_S" msprop:Generator_RowChangedName="QuoteFull_SRowChanged" msprop:Generator_RowEvArgName="QuoteFull_SRowChangeEvent" msprop:Generator_RowClassName="QuoteFull_SRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Vers" msprop:Generator_ColumnVarNameInTable="columnVers" msprop:Generator_ColumnPropNameInRow="Vers" msprop:Generator_ColumnPropNameInTable="VersColumn" msprop:Generator_UserColumnName="Vers">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodQuote" msprop:Generator_ColumnVarNameInTable="columnCodQuote" msprop:Generator_ColumnPropNameInRow="CodQuote" msprop:Generator_ColumnPropNameInTable="CodQuoteColumn" msprop:Generator_UserColumnName="CodQuote" type="xs:long" />
<xs:element name="QuoteRev" msprop:Generator_ColumnVarNameInTable="columnQuoteRev" msprop:Generator_ColumnPropNameInRow="QuoteRev" msprop:Generator_ColumnPropNameInTable="QuoteRevColumn" msprop:Generator_UserColumnName="QuoteRev" type="xs:int" />
<xs:element name="OfferResult" msprop:Generator_ColumnVarNameInTable="columnOfferResult" msprop:Generator_ColumnPropNameInRow="OfferResult" msprop:Generator_ColumnPropNameInTable="OfferResultColumn" msprop:Generator_UserColumnName="OfferResult">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KoReason" msprop:Generator_ColumnVarNameInTable="columnKoReason" msprop:Generator_ColumnPropNameInRow="KoReason" msprop:Generator_ColumnPropNameInTable="KoReasonColumn" msprop:Generator_UserColumnName="KoReason">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Agente" msprop:Generator_ColumnVarNameInTable="columnAgente" msprop:Generator_ColumnPropNameInRow="Agente" msprop:Generator_ColumnPropNameInTable="AgenteColumn" msprop:Generator_UserColumnName="Agente">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProdType" msprop:Generator_ColumnVarNameInTable="columnProdType" msprop:Generator_ColumnPropNameInRow="ProdType" msprop:Generator_ColumnPropNameInTable="ProdTypeColumn" msprop:Generator_UserColumnName="ProdType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxQState" msprop:Generator_ColumnVarNameInTable="columnIdxQState" msprop:Generator_ColumnPropNameInRow="IdxQState" msprop:Generator_ColumnPropNameInTable="IdxQStateColumn" msprop:Generator_UserColumnName="IdxQState" type="xs:int" />
<xs:element name="CodClient" msprop:Generator_ColumnVarNameInTable="columnCodClient" msprop:Generator_ColumnPropNameInRow="CodClient" msprop:Generator_ColumnPropNameInTable="CodClientColumn" msprop:Generator_UserColumnName="CodClient">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ClientName" msprop:Generator_ColumnVarNameInTable="columnClientName" msprop:Generator_ColumnPropNameInRow="ClientName" msprop:Generator_ColumnPropNameInTable="ClientNameColumn" msprop:Generator_UserColumnName="ClientName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodItem" msprop:Generator_ColumnVarNameInTable="columnCodItem" msprop:Generator_ColumnPropNameInRow="CodItem" msprop:Generator_ColumnPropNameInTable="CodItemColumn" msprop:Generator_UserColumnName="CodItem">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodItemGroup" msprop:Generator_ColumnVarNameInTable="columnCodItemGroup" msprop:Generator_ColumnPropNameInRow="CodItemGroup" msprop:Generator_ColumnPropNameInTable="CodItemGroupColumn" msprop:Generator_UserColumnName="CodItemGroup">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RawMat" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UnitWeight" msprop:Generator_ColumnVarNameInTable="columnUnitWeight" msprop:Generator_ColumnPropNameInRow="UnitWeight" msprop:Generator_ColumnPropNameInTable="UnitWeightColumn" msprop:Generator_UserColumnName="UnitWeight" type="xs:decimal" />
<xs:element name="BatchQty" msprop:Generator_ColumnVarNameInTable="columnBatchQty" msprop:Generator_ColumnPropNameInRow="BatchQty" msprop:Generator_ColumnPropNameInTable="BatchQtyColumn" msprop:Generator_UserColumnName="BatchQty" type="xs:int" />
<xs:element name="CodInco" msprop:Generator_ColumnVarNameInTable="columnCodInco" msprop:Generator_ColumnPropNameInRow="CodInco" msprop:Generator_ColumnPropNameInTable="CodIncoColumn" msprop:Generator_UserColumnName="CodInco">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TranspZone" msprop:Generator_ColumnVarNameInTable="columnTranspZone" msprop:Generator_ColumnPropNameInRow="TranspZone" msprop:Generator_ColumnPropNameInTable="TranspZoneColumn" msprop:Generator_UserColumnName="TranspZone">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KeyAM" msprop:Generator_ColumnVarNameInTable="columnKeyAM" msprop:Generator_ColumnPropNameInRow="KeyAM" msprop:Generator_ColumnPropNameInTable="KeyAMColumn" msprop:Generator_UserColumnName="KeyAM">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="101" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PriceOff" msprop:Generator_ColumnVarNameInTable="columnPriceOff" msprop:Generator_ColumnPropNameInRow="PriceOff" msprop:Generator_ColumnPropNameInTable="PriceOffColumn" msprop:Generator_UserColumnName="PriceOff" type="xs:decimal" />
<xs:element name="CodClientAssoc" msprop:Generator_ColumnVarNameInTable="columnCodClientAssoc" msprop:Generator_ColumnPropNameInRow="CodClientAssoc" msprop:Generator_ColumnPropNameInTable="CodClientAssocColumn" msprop:Generator_UserColumnName="CodClientAssoc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ClientNameAssoc" msprop:Generator_ColumnVarNameInTable="columnClientNameAssoc" msprop:Generator_ColumnPropNameInRow="ClientNameAssoc" msprop:Generator_ColumnPropNameInTable="ClientNameAssocColumn" msprop:Generator_UserColumnName="ClientNameAssoc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemDescr" msprop:Generator_ColumnVarNameInTable="columnItemDescr" msprop:Generator_ColumnPropNameInRow="ItemDescr" msprop:Generator_ColumnPropNameInTable="ItemDescrColumn" msprop:Generator_UserColumnName="ItemDescr" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodifProfilo" msprop:Generator_ColumnVarNameInTable="columnCodifProfilo" msprop:Generator_ColumnPropNameInRow="CodifProfilo" msprop:Generator_ColumnPropNameInTable="CodifProfiloColumn" msprop:Generator_UserColumnName="CodifProfilo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ClasseMerc" msprop:Generator_ColumnVarNameInTable="columnClasseMerc" msprop:Generator_ColumnPropNameInRow="ClasseMerc" msprop:Generator_ColumnPropNameInTable="ClasseMercColumn" msprop:Generator_UserColumnName="ClasseMerc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TipoDies" msprop:Generator_ColumnVarNameInTable="columnTipoDies" msprop:Generator_ColumnPropNameInRow="TipoDies" msprop:Generator_ColumnPropNameInTable="TipoDiesColumn" msprop:Generator_UserColumnName="TipoDies" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodDiesGroup" msprop:Generator_ColumnVarNameInTable="columnCodDiesGroup" msprop:Generator_ColumnPropNameInRow="CodDiesGroup" msprop:Generator_ColumnPropNameInTable="CodDiesGroupColumn" msprop:Generator_UserColumnName="CodDiesGroup" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DiamDies" msprop:Generator_ColumnVarNameInTable="columnDiamDies" msprop:Generator_ColumnPropNameInRow="DiamDies" msprop:Generator_ColumnPropNameInTable="DiamDiesColumn" msprop:Generator_UserColumnName="DiamDies" type="xs:decimal" />
<xs:element name="HoleNumDies" msprop:Generator_ColumnVarNameInTable="columnHoleNumDies" msprop:Generator_ColumnPropNameInRow="HoleNumDies" msprop:Generator_ColumnPropNameInTable="HoleNumDiesColumn" msprop:Generator_UserColumnName="HoleNumDies" type="xs:int" />
<xs:element name="DiesPrice_sim" msprop:Generator_ColumnVarNameInTable="columnDiesPrice_sim" msprop:Generator_ColumnPropNameInRow="DiesPrice_sim" msprop:Generator_ColumnPropNameInTable="DiesPrice_simColumn" msprop:Generator_UserColumnName="DiesPrice_sim" type="xs:decimal" />
<xs:element name="DiesPrice" msprop:Generator_ColumnVarNameInTable="columnDiesPrice" msprop:Generator_ColumnPropNameInRow="DiesPrice" msprop:Generator_ColumnPropNameInTable="DiesPriceColumn" msprop:Generator_UserColumnName="DiesPrice" type="xs:decimal" />
<xs:element name="SamplePrice" msprop:Generator_ColumnVarNameInTable="columnSamplePrice" msprop:Generator_ColumnPropNameInRow="SamplePrice" msprop:Generator_ColumnPropNameInTable="SamplePriceColumn" msprop:Generator_UserColumnName="SamplePrice" type="xs:decimal" />
<xs:element name="DiesFullCost" msprop:Generator_ColumnVarNameInTable="columnDiesFullCost" msprop:Generator_ColumnPropNameInRow="DiesFullCost" msprop:Generator_ColumnPropNameInTable="DiesFullCostColumn" msprop:Generator_UserColumnName="DiesFullCost" type="xs:decimal" />
<xs:element name="DiesPriceClientQuote" msprop:Generator_ColumnVarNameInTable="columnDiesPriceClientQuote" msprop:Generator_ColumnPropNameInRow="DiesPriceClientQuote" msprop:Generator_ColumnPropNameInTable="DiesPriceClientQuoteColumn" msprop:Generator_UserColumnName="DiesPriceClientQuote" type="xs:decimal" />
<xs:element name="DiesExpLife" msprop:Generator_ColumnVarNameInTable="columnDiesExpLife" msprop:Generator_ColumnPropNameInRow="DiesExpLife" msprop:Generator_ColumnPropNameInTable="DiesExpLifeColumn" msprop:Generator_UserColumnName="DiesExpLife" type="xs:decimal" />
<xs:element name="DiesEOLife" msprop:Generator_ColumnVarNameInTable="columnDiesEOLife" msprop:Generator_ColumnPropNameInRow="DiesEOLife" msprop:Generator_ColumnPropNameInTable="DiesEOLifeColumn" msprop:Generator_UserColumnName="DiesEOLife" type="xs:decimal" />
<xs:element name="DiesTecLife" msprop:Generator_ColumnVarNameInTable="columnDiesTecLife" msprop:Generator_ColumnPropNameInRow="DiesTecLife" msprop:Generator_ColumnPropNameInTable="DiesTecLifeColumn" msprop:Generator_UserColumnName="DiesTecLife" type="xs:decimal" />
<xs:element name="DiesCommLife" msprop:Generator_ColumnVarNameInTable="columnDiesCommLife" msprop:Generator_ColumnPropNameInRow="DiesCommLife" msprop:Generator_ColumnPropNameInTable="DiesCommLifeColumn" msprop:Generator_UserColumnName="DiesCommLife" type="xs:decimal" />
<xs:element name="MonthSalesPrev" msprop:Generator_ColumnVarNameInTable="columnMonthSalesPrev" msprop:Generator_ColumnPropNameInRow="MonthSalesPrev" msprop:Generator_ColumnPropNameInTable="MonthSalesPrevColumn" msprop:Generator_UserColumnName="MonthSalesPrev" type="xs:int" />
<xs:element name="SalesPrevCost" msprop:Generator_ColumnVarNameInTable="columnSalesPrevCost" msprop:Generator_ColumnPropNameInRow="SalesPrevCost" msprop:Generator_ColumnPropNameInTable="SalesPrevCostColumn" msprop:Generator_UserColumnName="SalesPrevCost" type="xs:decimal" />
<xs:element name="DiesFinCost" msprop:Generator_ColumnVarNameInTable="columnDiesFinCost" msprop:Generator_ColumnPropNameInRow="DiesFinCost" msprop:Generator_ColumnPropNameInTable="DiesFinCostColumn" msprop:Generator_UserColumnName="DiesFinCost" type="xs:decimal" />
<xs:element name="ClientQuoteReven" msprop:Generator_ColumnVarNameInTable="columnClientQuoteReven" msprop:Generator_ColumnPropNameInRow="ClientQuoteReven" msprop:Generator_ColumnPropNameInTable="ClientQuoteRevenColumn" msprop:Generator_UserColumnName="ClientQuoteReven" type="xs:decimal" />
<xs:element name="ExtraDiscountDies" msprop:Generator_ColumnVarNameInTable="columnExtraDiscountDies" msprop:Generator_ColumnPropNameInRow="ExtraDiscountDies" msprop:Generator_ColumnPropNameInTable="ExtraDiscountDiesColumn" msprop:Generator_UserColumnName="ExtraDiscountDies" type="xs:decimal" />
<xs:element name="DiesByClass" msprop:Generator_ColumnVarNameInTable="columnDiesByClass" msprop:Generator_ColumnPropNameInRow="DiesByClass" msprop:Generator_ColumnPropNameInTable="DiesByClassColumn" msprop:Generator_UserColumnName="DiesByClass" type="xs:boolean" />
<xs:element name="NumDiesInList" msprop:Generator_ColumnVarNameInTable="columnNumDiesInList" msprop:Generator_ColumnPropNameInRow="NumDiesInList" msprop:Generator_ColumnPropNameInTable="NumDiesInListColumn" msprop:Generator_UserColumnName="NumDiesInList" type="xs:decimal" />
<xs:element name="NumDiesExaust" msprop:Generator_ColumnVarNameInTable="columnNumDiesExaust" msprop:Generator_ColumnPropNameInRow="NumDiesExaust" msprop:Generator_ColumnPropNameInTable="NumDiesExaustColumn" msprop:Generator_UserColumnName="NumDiesExaust" type="xs:decimal" />
<xs:element name="CodPlant" msprop:Generator_ColumnVarNameInTable="columnCodPlant" msprop:Generator_ColumnPropNameInRow="CodPlant" msprop:Generator_ColumnPropNameInTable="CodPlantColumn" msprop:Generator_UserColumnName="CodPlant" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KeyAMIL" msprop:Generator_ColumnVarNameInTable="columnKeyAMIL" msprop:Generator_ColumnPropNameInRow="KeyAMIL" msprop:Generator_ColumnPropNameInTable="KeyAMILColumn" msprop:Generator_UserColumnName="KeyAMIL" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KgTeo" msprop:Generator_ColumnVarNameInTable="columnKgTeo" msprop:Generator_ColumnPropNameInRow="KgTeo" msprop:Generator_ColumnPropNameInTable="KgTeoColumn" msprop:Generator_UserColumnName="KgTeo" type="xs:decimal" />
<xs:element name="NumSMED" msprop:Generator_ColumnVarNameInTable="columnNumSMED" msprop:Generator_ColumnPropNameInRow="NumSMED" msprop:Generator_ColumnPropNameInTable="NumSMEDColumn" msprop:Generator_UserColumnName="NumSMED" type="xs:int" />
<xs:element name="QuotaMan" msprop:Generator_ColumnVarNameInTable="columnQuotaMan" msprop:Generator_ColumnPropNameInRow="QuotaMan" msprop:Generator_ColumnPropNameInTable="QuotaManColumn" msprop:Generator_UserColumnName="QuotaMan" type="xs:decimal" />
<xs:element name="PRMWeight" msprop:Generator_ColumnVarNameInTable="columnPRMWeight" msprop:Generator_ColumnPropNameInRow="PRMWeight" msprop:Generator_ColumnPropNameInTable="PRMWeightColumn" msprop:Generator_UserColumnName="PRMWeight" type="xs:decimal" />
<xs:element name="PWeight" msprop:Generator_ColumnVarNameInTable="columnPWeight" msprop:Generator_ColumnPropNameInRow="PWeight" msprop:Generator_ColumnPropNameInTable="PWeightColumn" msprop:Generator_UserColumnName="PWeight" type="xs:decimal" />
<xs:element name="PTare" msprop:Generator_ColumnVarNameInTable="columnPTare" msprop:Generator_ColumnPropNameInRow="PTare" msprop:Generator_ColumnPropNameInTable="PTareColumn" msprop:Generator_UserColumnName="PTare" type="xs:decimal" />
<xs:element name="LivPackage" msprop:Generator_ColumnVarNameInTable="columnLivPackage" msprop:Generator_ColumnPropNameInRow="LivPackage" msprop:Generator_ColumnPropNameInTable="LivPackageColumn" msprop:Generator_UserColumnName="LivPackage" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LivPackageDett" msprop:Generator_ColumnVarNameInTable="columnLivPackageDett" msprop:Generator_ColumnPropNameInRow="LivPackageDett" msprop:Generator_ColumnPropNameInTable="LivPackageDettColumn" msprop:Generator_UserColumnName="LivPackageDett" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RawMatCost" msprop:Generator_ColumnVarNameInTable="columnRawMatCost" msprop:Generator_ColumnPropNameInRow="RawMatCost" msprop:Generator_ColumnPropNameInTable="RawMatCostColumn" msprop:Generator_UserColumnName="RawMatCost" type="xs:decimal" />
<xs:element name="RawMatExtraCost" msprop:Generator_ColumnVarNameInTable="columnRawMatExtraCost" msprop:Generator_ColumnPropNameInRow="RawMatExtraCost" msprop:Generator_ColumnPropNameInTable="RawMatExtraCostColumn" msprop:Generator_UserColumnName="RawMatExtraCost" type="xs:decimal" />
<xs:element name="RawMatFullCost" msprop:Generator_ColumnVarNameInTable="columnRawMatFullCost" msprop:Generator_ColumnPropNameInRow="RawMatFullCost" msprop:Generator_ColumnPropNameInTable="RawMatFullCostColumn" msprop:Generator_UserColumnName="RawMatFullCost" type="xs:decimal" />
<xs:element name="CodPackag" msprop:Generator_ColumnVarNameInTable="columnCodPackag" msprop:Generator_ColumnPropNameInRow="CodPackag" msprop:Generator_ColumnPropNameInTable="CodPackagColumn" msprop:Generator_UserColumnName="CodPackag">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PkgDesc" msprop:Generator_ColumnVarNameInTable="columnPkgDesc" msprop:Generator_ColumnPropNameInRow="PkgDesc" msprop:Generator_ColumnPropNameInTable="PkgDescColumn" msprop:Generator_UserColumnName="PkgDesc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FSR" msprop:Generator_ColumnVarNameInTable="columnFSR" msprop:Generator_ColumnPropNameInRow="FSR" msprop:Generator_ColumnPropNameInTable="FSRColumn" msprop:Generator_UserColumnName="FSR" type="xs:decimal" />
<xs:element name="ProvvCost" msprop:Generator_ColumnVarNameInTable="columnProvvCost" msprop:Generator_ColumnPropNameInRow="ProvvCost" msprop:Generator_ColumnPropNameInTable="ProvvCostColumn" msprop:Generator_UserColumnName="ProvvCost" type="xs:decimal" />
<xs:element name="EECost" msprop:Generator_ColumnVarNameInTable="columnEECost" msprop:Generator_ColumnPropNameInRow="EECost" msprop:Generator_ColumnPropNameInTable="EECostColumn" msprop:Generator_UserColumnName="EECost" type="xs:decimal" />
<xs:element name="GasCost" msprop:Generator_ColumnVarNameInTable="columnGasCost" msprop:Generator_ColumnPropNameInRow="GasCost" msprop:Generator_ColumnPropNameInTable="GasCostColumn" msprop:Generator_UserColumnName="GasCost" type="xs:decimal" />
<xs:element name="DiesCost" msprop:Generator_ColumnVarNameInTable="columnDiesCost" msprop:Generator_ColumnPropNameInRow="DiesCost" msprop:Generator_ColumnPropNameInTable="DiesCostColumn" msprop:Generator_UserColumnName="DiesCost" type="xs:decimal" />
<xs:element name="PackCost" msprop:Generator_ColumnVarNameInTable="columnPackCost" msprop:Generator_ColumnPropNameInRow="PackCost" msprop:Generator_ColumnPropNameInTable="PackCostColumn" msprop:Generator_UserColumnName="PackCost" type="xs:decimal" />
<xs:element name="TranspCost" msprop:Generator_ColumnVarNameInTable="columnTranspCost" msprop:Generator_ColumnPropNameInRow="TranspCost" msprop:Generator_ColumnPropNameInTable="TranspCostColumn" msprop:Generator_UserColumnName="TranspCost" type="xs:decimal" />
<xs:element name="SellCost01" msprop:Generator_ColumnVarNameInTable="columnSellCost01" msprop:Generator_ColumnPropNameInRow="SellCost01" msprop:Generator_ColumnPropNameInTable="SellCost01Column" msprop:Generator_UserColumnName="SellCost01" type="xs:decimal" />
<xs:element name="RefCost01" msprop:Generator_ColumnVarNameInTable="columnRefCost01" msprop:Generator_ColumnPropNameInRow="RefCost01" msprop:Generator_ColumnPropNameInTable="RefCost01Column" msprop:Generator_UserColumnName="RefCost01" type="xs:decimal" />
<xs:element name="SellCost04" msprop:Generator_ColumnVarNameInTable="columnSellCost04" msprop:Generator_ColumnPropNameInRow="SellCost04" msprop:Generator_ColumnPropNameInTable="SellCost04Column" msprop:Generator_UserColumnName="SellCost04" type="xs:decimal" />
<xs:element name="RefCost04" msprop:Generator_ColumnVarNameInTable="columnRefCost04" msprop:Generator_ColumnPropNameInRow="RefCost04" msprop:Generator_ColumnPropNameInTable="RefCost04Column" msprop:Generator_UserColumnName="RefCost04" type="xs:decimal" />
<xs:element name="WSR01_sim" msprop:Generator_ColumnVarNameInTable="columnWSR01_sim" msprop:Generator_ColumnPropNameInRow="WSR01_sim" msprop:Generator_ColumnPropNameInTable="WSR01_simColumn" msprop:Generator_UserColumnName="WSR01_sim" type="xs:decimal" />
<xs:element name="WSR01" msprop:Generator_ColumnVarNameInTable="columnWSR01" msprop:Generator_ColumnPropNameInRow="WSR01" msprop:Generator_ColumnPropNameInTable="WSR01Column" msprop:Generator_UserColumnName="WSR01" type="xs:decimal" />
<xs:element name="MSR01_sim" msprop:Generator_ColumnVarNameInTable="columnMSR01_sim" msprop:Generator_ColumnPropNameInRow="MSR01_sim" msprop:Generator_ColumnPropNameInTable="MSR01_simColumn" msprop:Generator_UserColumnName="MSR01_sim" type="xs:decimal" />
<xs:element name="MSR01" msprop:Generator_ColumnVarNameInTable="columnMSR01" msprop:Generator_ColumnPropNameInRow="MSR01" msprop:Generator_ColumnPropNameInTable="MSR01Column" msprop:Generator_UserColumnName="MSR01" type="xs:decimal" />
<xs:element name="NetProd01_sim" msprop:Generator_ColumnVarNameInTable="columnNetProd01_sim" msprop:Generator_ColumnPropNameInRow="NetProd01_sim" msprop:Generator_ColumnPropNameInTable="NetProd01_simColumn" msprop:Generator_UserColumnName="NetProd01_sim" type="xs:decimal" />
<xs:element name="NetProd04_sim" msprop:Generator_ColumnVarNameInTable="columnNetProd04_sim" msprop:Generator_ColumnPropNameInRow="NetProd04_sim" msprop:Generator_ColumnPropNameInTable="NetProd04_simColumn" msprop:Generator_UserColumnName="NetProd04_sim" type="xs:decimal" />
<xs:element name="NetProd01" msprop:Generator_ColumnVarNameInTable="columnNetProd01" msprop:Generator_ColumnPropNameInRow="NetProd01" msprop:Generator_ColumnPropNameInTable="NetProd01Column" msprop:Generator_UserColumnName="NetProd01" type="xs:decimal" />
<xs:element name="FC4UG01" msprop:Generator_ColumnVarNameInTable="columnFC4UG01" msprop:Generator_ColumnPropNameInRow="FC4UG01" msprop:Generator_ColumnPropNameInTable="FC4UG01Column" msprop:Generator_UserColumnName="FC4UG01" type="xs:decimal" />
<xs:element name="VC4UG01" msprop:Generator_ColumnVarNameInTable="columnVC4UG01" msprop:Generator_ColumnPropNameInRow="VC4UG01" msprop:Generator_ColumnPropNameInTable="VC4UG01Column" msprop:Generator_UserColumnName="VC4UG01" type="xs:decimal" />
<xs:element name="OH4UG01" msprop:Generator_ColumnVarNameInTable="columnOH4UG01" msprop:Generator_ColumnPropNameInRow="OH4UG01" msprop:Generator_ColumnPropNameInTable="OH4UG01Column" msprop:Generator_UserColumnName="OH4UG01" type="xs:decimal" />
<xs:element name="SC4UG01" msprop:Generator_ColumnVarNameInTable="columnSC4UG01" msprop:Generator_ColumnPropNameInRow="SC4UG01" msprop:Generator_ColumnPropNameInTable="SC4UG01Column" msprop:Generator_UserColumnName="SC4UG01" type="xs:decimal" />
<xs:element name="DSR_sim" msprop:Generator_ColumnVarNameInTable="columnDSR_sim" msprop:Generator_ColumnPropNameInRow="DSR_sim" msprop:Generator_ColumnPropNameInTable="DSR_simColumn" msprop:Generator_UserColumnName="DSR_sim" type="xs:decimal" />
<xs:element name="DSR" msprop:Generator_ColumnVarNameInTable="columnDSR" msprop:Generator_ColumnPropNameInRow="DSR" msprop:Generator_ColumnPropNameInTable="DSRColumn" msprop:Generator_UserColumnName="DSR" type="xs:decimal" />
<xs:element name="NetProd04" msprop:Generator_ColumnVarNameInTable="columnNetProd04" msprop:Generator_ColumnPropNameInRow="NetProd04" msprop:Generator_ColumnPropNameInTable="NetProd04Column" msprop:Generator_UserColumnName="NetProd04" type="xs:decimal" />
<xs:element name="FC4UG04" msprop:Generator_ColumnVarNameInTable="columnFC4UG04" msprop:Generator_ColumnPropNameInRow="FC4UG04" msprop:Generator_ColumnPropNameInTable="FC4UG04Column" msprop:Generator_UserColumnName="FC4UG04" type="xs:decimal" />
<xs:element name="VC4UG04" msprop:Generator_ColumnVarNameInTable="columnVC4UG04" msprop:Generator_ColumnPropNameInRow="VC4UG04" msprop:Generator_ColumnPropNameInTable="VC4UG04Column" msprop:Generator_UserColumnName="VC4UG04" type="xs:decimal" />
<xs:element name="FVC" msprop:Generator_ColumnVarNameInTable="columnFVC" msprop:Generator_ColumnPropNameInRow="FVC" msprop:Generator_ColumnPropNameInTable="FVCColumn" msprop:Generator_UserColumnName="FVC" type="xs:decimal" />
<xs:element name="Charge" msprop:Generator_ColumnVarNameInTable="columnCharge" msprop:Generator_ColumnPropNameInRow="Charge" msprop:Generator_ColumnPropNameInTable="ChargeColumn" msprop:Generator_UserColumnName="Charge" type="xs:decimal" />
<xs:element name="valid" msprop:Generator_ColumnVarNameInTable="columnvalid" msprop:Generator_ColumnPropNameInRow="valid" msprop:Generator_ColumnPropNameInTable="validColumn" msprop:Generator_UserColumnName="valid" type="xs:boolean" />
<xs:element name="errorScore" msprop:Generator_ColumnVarNameInTable="columnerrorScore" msprop:Generator_ColumnPropNameInRow="errorScore" msprop:Generator_ColumnPropNameInTable="errorScoreColumn" msprop:Generator_UserColumnName="errorScore" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RawMatDet" msprop:Generator_TableClassName="RawMatDetDataTable" msprop:Generator_TableVarName="tableRawMatDet" msprop:Generator_RowChangedName="RawMatDetRowChanged" msprop:Generator_TablePropName="RawMatDet" msprop:Generator_RowDeletingName="RawMatDetRowDeleting" msprop:Generator_RowChangingName="RawMatDetRowChanging" msprop:Generator_RowEvHandlerName="RawMatDetRowChangeEventHandler" msprop:Generator_RowDeletedName="RawMatDetRowDeleted" msprop:Generator_RowClassName="RawMatDetRow" msprop:Generator_UserTableName="RawMatDet" msprop:Generator_RowEvArgName="RawMatDetRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="RawMat" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProcCost" msprop:Generator_ColumnVarNameInTable="columnProcCost" msprop:Generator_ColumnPropNameInRow="ProcCost" msprop:Generator_ColumnPropNameInTable="ProcCostColumn" msprop:Generator_UserColumnName="ProcCost" type="xs:decimal" />
<xs:element name="ProcYield" msprop:Generator_ColumnVarNameInTable="columnProcYield" msprop:Generator_ColumnPropNameInRow="ProcYield" msprop:Generator_ColumnPropNameInTable="ProcYieldColumn" msprop:Generator_UserColumnName="ProcYield" type="xs:decimal" />
<xs:element name="CSR" msprop:Generator_ColumnVarNameInTable="columnCSR" msprop:Generator_ColumnPropNameInRow="CSR" msprop:Generator_ColumnPropNameInTable="CSRColumn" msprop:Generator_UserColumnName="CSR" type="xs:decimal" />
<xs:element name="SSR" msprop:Generator_ColumnVarNameInTable="columnSSR" msprop:Generator_ColumnPropNameInRow="SSR" msprop:Generator_ColumnPropNameInTable="SSRColumn" msprop:Generator_UserColumnName="SSR" type="xs:decimal" minOccurs="0" />
<xs:element name="SSVA" msprop:Generator_ColumnVarNameInTable="columnSSVA" msprop:Generator_ColumnPropNameInRow="SSVA" msprop:Generator_ColumnPropNameInTable="SSVAColumn" msprop:Generator_UserColumnName="SSVA" type="xs:decimal" minOccurs="0" />
<xs:element name="SSVR" msprop:Generator_ColumnVarNameInTable="columnSSVR" msprop:Generator_ColumnPropNameInRow="SSVR" msprop:Generator_ColumnPropNameInTable="SSVRColumn" msprop:Generator_UserColumnName="SSVR" type="xs:decimal" minOccurs="0" />
<xs:element name="ExtraMatCost" msprop:Generator_ColumnVarNameInTable="columnExtraMatCost" msprop:Generator_ColumnPropNameInRow="ExtraMatCost" msprop:Generator_ColumnPropNameInTable="ExtraMatCostColumn" msprop:Generator_UserColumnName="ExtraMatCost" type="xs:decimal" minOccurs="0" />
<xs:element name="ExtraServCost" msprop:Generator_ColumnVarNameInTable="columnExtraServCost" msprop:Generator_ColumnPropNameInRow="ExtraServCost" msprop:Generator_ColumnPropNameInTable="ExtraServCostColumn" msprop:Generator_UserColumnName="ExtraServCost" type="xs:decimal" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StdCostList" msprop:Generator_TableClassName="StdCostListDataTable" msprop:Generator_TableVarName="tableStdCostList" msprop:Generator_TablePropName="StdCostList" msprop:Generator_RowDeletingName="StdCostListRowDeleting" msprop:Generator_RowChangingName="StdCostListRowChanging" msprop:Generator_RowEvHandlerName="StdCostListRowChangeEventHandler" msprop:Generator_RowDeletedName="StdCostListRowDeleted" msprop:Generator_UserTableName="StdCostList" msprop:Generator_RowChangedName="StdCostListRowChanged" msprop:Generator_RowEvArgName="StdCostListRowChangeEvent" msprop:Generator_RowClassName="StdCostListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DataRif" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDataRif" msprop:Generator_ColumnPropNameInRow="DataRif" msprop:Generator_ColumnPropNameInTable="DataRifColumn" msprop:Generator_UserColumnName="DataRif" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Class01" msprop:Generator_ColumnVarNameInTable="columnClass01" msprop:Generator_ColumnPropNameInRow="Class01" msprop:Generator_ColumnPropNameInTable="Class01Column" msprop:Generator_UserColumnName="Class01">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Class02" msprop:Generator_ColumnVarNameInTable="columnClass02" msprop:Generator_ColumnPropNameInRow="Class02" msprop:Generator_ColumnPropNameInTable="Class02Column" msprop:Generator_UserColumnName="Class02">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodItem" msprop:Generator_ColumnVarNameInTable="columnCodItem" msprop:Generator_ColumnPropNameInRow="CodItem" msprop:Generator_ColumnPropNameInTable="CodItemColumn" msprop:Generator_UserColumnName="CodItem">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RawMat" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodPlant" msprop:Generator_ColumnVarNameInTable="columnCodPlant" msprop:Generator_ColumnPropNameInRow="CodPlant" msprop:Generator_ColumnPropNameInTable="CodPlantColumn" msprop:Generator_UserColumnName="CodPlant">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodDiesGroup" msprop:Generator_ColumnVarNameInTable="columnCodDiesGroup" msprop:Generator_ColumnPropNameInRow="CodDiesGroup" msprop:Generator_ColumnPropNameInTable="CodDiesGroupColumn" msprop:Generator_UserColumnName="CodDiesGroup">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodPackag" msprop:Generator_ColumnVarNameInTable="columnCodPackag" msprop:Generator_ColumnPropNameInRow="CodPackag" msprop:Generator_ColumnPropNameInTable="CodPackagColumn" msprop:Generator_UserColumnName="CodPackag">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="batchQty" msprop:Generator_ColumnVarNameInTable="columnbatchQty" msprop:Generator_ColumnPropNameInRow="batchQty" msprop:Generator_ColumnPropNameInTable="batchQtyColumn" msprop:Generator_UserColumnName="batchQty" type="xs:int" />
<xs:element name="CodInco" msprop:Generator_ColumnVarNameInTable="columnCodInco" msprop:Generator_ColumnPropNameInRow="CodInco" msprop:Generator_ColumnPropNameInTable="CodIncoColumn" msprop:Generator_UserColumnName="CodInco">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RawMatFullCost" msprop:Generator_ColumnVarNameInTable="columnRawMatFullCost" msprop:Generator_ColumnPropNameInRow="RawMatFullCost" msprop:Generator_ColumnPropNameInTable="RawMatFullCostColumn" msprop:Generator_UserColumnName="RawMatFullCost" type="xs:decimal" />
<xs:element name="FVC" msprop:Generator_ColumnVarNameInTable="columnFVC" msprop:Generator_ColumnPropNameInRow="FVC" msprop:Generator_ColumnPropNameInTable="FVCColumn" msprop:Generator_UserColumnName="FVC" type="xs:decimal" />
<xs:element name="FullCost" msprop:Generator_ColumnVarNameInTable="columnFullCost" msprop:Generator_ColumnPropNameInRow="FullCost" msprop:Generator_ColumnPropNameInTable="FullCostColumn" msprop:Generator_UserColumnName="FullCost" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_checkValidQuote" msprop:Generator_TableClassName="stp_checkValidQuoteDataTable" msprop:Generator_TableVarName="tablestp_checkValidQuote" msprop:Generator_TablePropName="stp_checkValidQuote" msprop:Generator_RowDeletingName="stp_checkValidQuoteRowDeleting" msprop:Generator_RowChangingName="stp_checkValidQuoteRowChanging" msprop:Generator_RowEvHandlerName="stp_checkValidQuoteRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_checkValidQuoteRowDeleted" msprop:Generator_UserTableName="stp_checkValidQuote" msprop:Generator_RowChangedName="stp_checkValidQuoteRowChanged" msprop:Generator_RowEvArgName="stp_checkValidQuoteRowChangeEvent" msprop:Generator_RowClassName="stp_checkValidQuoteRow">
<xs:complexType>
<xs:sequence>
<xs:element name="checkOk" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columncheckOk" msprop:Generator_ColumnPropNameInRow="checkOk" msprop:Generator_ColumnPropNameInTable="checkOkColumn" msprop:Generator_UserColumnName="checkOk" type="xs:boolean" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="prtQuote" msprop:Generator_TableClassName="prtQuoteDataTable" msprop:Generator_TableVarName="tableprtQuote" msprop:Generator_TablePropName="prtQuote" msprop:Generator_RowDeletingName="prtQuoteRowDeleting" msprop:Generator_RowChangingName="prtQuoteRowChanging" msprop:Generator_RowEvHandlerName="prtQuoteRowChangeEventHandler" msprop:Generator_RowDeletedName="prtQuoteRowDeleted" msprop:Generator_UserTableName="prtQuote" msprop:Generator_RowChangedName="prtQuoteRowChanged" msprop:Generator_RowEvArgName="prtQuoteRowChangeEvent" msprop:Generator_RowClassName="prtQuoteRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Vers" msprop:Generator_ColumnVarNameInTable="columnVers" msprop:Generator_ColumnPropNameInRow="Vers" msprop:Generator_ColumnPropNameInTable="VersColumn" msprop:Generator_UserColumnName="Vers">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="QuoteType" msprop:Generator_ColumnVarNameInTable="columnQuoteType" msprop:Generator_ColumnPropNameInRow="QuoteType" msprop:Generator_ColumnPropNameInTable="QuoteTypeColumn" msprop:Generator_UserColumnName="QuoteType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodQuote" msprop:Generator_ColumnVarNameInTable="columnCodQuote" msprop:Generator_ColumnPropNameInRow="CodQuote" msprop:Generator_ColumnPropNameInTable="CodQuoteColumn" msprop:Generator_UserColumnName="CodQuote" type="xs:long" />
<xs:element name="QuoteRev" msprop:Generator_ColumnVarNameInTable="columnQuoteRev" msprop:Generator_ColumnPropNameInRow="QuoteRev" msprop:Generator_ColumnPropNameInTable="QuoteRevColumn" msprop:Generator_UserColumnName="QuoteRev" type="xs:int" />
<xs:element name="OfferResult" msprop:Generator_ColumnVarNameInTable="columnOfferResult" msprop:Generator_ColumnPropNameInRow="OfferResult" msprop:Generator_ColumnPropNameInTable="OfferResultColumn" msprop:Generator_UserColumnName="OfferResult">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KoReason" msprop:Generator_ColumnVarNameInTable="columnKoReason" msprop:Generator_ColumnPropNameInRow="KoReason" msprop:Generator_ColumnPropNameInTable="KoReasonColumn" msprop:Generator_UserColumnName="KoReason">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Agente" msprop:Generator_ColumnVarNameInTable="columnAgente" msprop:Generator_ColumnPropNameInRow="Agente" msprop:Generator_ColumnPropNameInTable="AgenteColumn" msprop:Generator_UserColumnName="Agente">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProdType" msprop:Generator_ColumnVarNameInTable="columnProdType" msprop:Generator_ColumnPropNameInRow="ProdType" msprop:Generator_ColumnPropNameInTable="ProdTypeColumn" msprop:Generator_UserColumnName="ProdType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxQState" msprop:Generator_ColumnVarNameInTable="columnIdxQState" msprop:Generator_ColumnPropNameInRow="IdxQState" msprop:Generator_ColumnPropNameInTable="IdxQStateColumn" msprop:Generator_UserColumnName="IdxQState" type="xs:int" />
<xs:element name="CodClient" msprop:Generator_ColumnVarNameInTable="columnCodClient" msprop:Generator_ColumnPropNameInRow="CodClient" msprop:Generator_ColumnPropNameInTable="CodClientColumn" msprop:Generator_UserColumnName="CodClient">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ClientName" msprop:Generator_ColumnVarNameInTable="columnClientName" msprop:Generator_ColumnPropNameInRow="ClientName" msprop:Generator_ColumnPropNameInTable="ClientNameColumn" msprop:Generator_UserColumnName="ClientName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodItem" msprop:Generator_ColumnVarNameInTable="columnCodItem" msprop:Generator_ColumnPropNameInRow="CodItem" msprop:Generator_ColumnPropNameInTable="CodItemColumn" msprop:Generator_UserColumnName="CodItem">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodItemGroup" msprop:Generator_ColumnVarNameInTable="columnCodItemGroup" msprop:Generator_ColumnPropNameInRow="CodItemGroup" msprop:Generator_ColumnPropNameInTable="CodItemGroupColumn" msprop:Generator_UserColumnName="CodItemGroup">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RawMat" msprop:Generator_ColumnVarNameInTable="columnRawMat" msprop:Generator_ColumnPropNameInRow="RawMat" msprop:Generator_ColumnPropNameInTable="RawMatColumn" msprop:Generator_UserColumnName="RawMat">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UnitWeight" msprop:Generator_ColumnVarNameInTable="columnUnitWeight" msprop:Generator_ColumnPropNameInRow="UnitWeight" msprop:Generator_ColumnPropNameInTable="UnitWeightColumn" msprop:Generator_UserColumnName="UnitWeight" type="xs:decimal" />
<xs:element name="BatchQty" msprop:Generator_ColumnVarNameInTable="columnBatchQty" msprop:Generator_ColumnPropNameInRow="BatchQty" msprop:Generator_ColumnPropNameInTable="BatchQtyColumn" msprop:Generator_UserColumnName="BatchQty" type="xs:int" />
<xs:element name="CodInco" msprop:Generator_ColumnVarNameInTable="columnCodInco" msprop:Generator_ColumnPropNameInRow="CodInco" msprop:Generator_ColumnPropNameInTable="CodIncoColumn" msprop:Generator_UserColumnName="CodInco">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TranspZone" msprop:Generator_ColumnVarNameInTable="columnTranspZone" msprop:Generator_ColumnPropNameInRow="TranspZone" msprop:Generator_ColumnPropNameInTable="TranspZoneColumn" msprop:Generator_UserColumnName="TranspZone">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KeyAM" msprop:Generator_ColumnVarNameInTable="columnKeyAM" msprop:Generator_ColumnPropNameInRow="KeyAM" msprop:Generator_ColumnPropNameInTable="KeyAMColumn" msprop:Generator_UserColumnName="KeyAM">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="101" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Note" msprop:Generator_ColumnVarNameInTable="columnNote" msprop:Generator_ColumnPropNameInRow="Note" msprop:Generator_ColumnPropNameInTable="NoteColumn" msprop:Generator_UserColumnName="Note">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PriceOff" msprop:Generator_ColumnVarNameInTable="columnPriceOff" msprop:Generator_ColumnPropNameInRow="PriceOff" msprop:Generator_ColumnPropNameInTable="PriceOffColumn" msprop:Generator_UserColumnName="PriceOff" type="xs:decimal" />
<xs:element name="CodClientAssoc" msprop:Generator_ColumnVarNameInTable="columnCodClientAssoc" msprop:Generator_ColumnPropNameInRow="CodClientAssoc" msprop:Generator_ColumnPropNameInTable="CodClientAssocColumn" msprop:Generator_UserColumnName="CodClientAssoc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ClientNameAssoc" msprop:Generator_ColumnVarNameInTable="columnClientNameAssoc" msprop:Generator_ColumnPropNameInRow="ClientNameAssoc" msprop:Generator_ColumnPropNameInTable="ClientNameAssocColumn" msprop:Generator_UserColumnName="ClientNameAssoc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItemDescr" msprop:Generator_ColumnVarNameInTable="columnItemDescr" msprop:Generator_ColumnPropNameInRow="ItemDescr" msprop:Generator_ColumnPropNameInTable="ItemDescrColumn" msprop:Generator_UserColumnName="ItemDescr" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodifProfilo" msprop:Generator_ColumnVarNameInTable="columnCodifProfilo" msprop:Generator_ColumnPropNameInRow="CodifProfilo" msprop:Generator_ColumnPropNameInTable="CodifProfiloColumn" msprop:Generator_UserColumnName="CodifProfilo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ClasseMerc" msprop:Generator_ColumnVarNameInTable="columnClasseMerc" msprop:Generator_ColumnPropNameInRow="ClasseMerc" msprop:Generator_ColumnPropNameInTable="ClasseMercColumn" msprop:Generator_UserColumnName="ClasseMerc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TipoDies" msprop:Generator_ColumnVarNameInTable="columnTipoDies" msprop:Generator_ColumnPropNameInRow="TipoDies" msprop:Generator_ColumnPropNameInTable="TipoDiesColumn" msprop:Generator_UserColumnName="TipoDies" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodDiesGroup" msprop:Generator_ColumnVarNameInTable="columnCodDiesGroup" msprop:Generator_ColumnPropNameInRow="CodDiesGroup" msprop:Generator_ColumnPropNameInTable="CodDiesGroupColumn" msprop:Generator_UserColumnName="CodDiesGroup" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DiamDies" msprop:Generator_ColumnVarNameInTable="columnDiamDies" msprop:Generator_ColumnPropNameInRow="DiamDies" msprop:Generator_ColumnPropNameInTable="DiamDiesColumn" msprop:Generator_UserColumnName="DiamDies" type="xs:decimal" />
<xs:element name="HoleNumDies" msprop:Generator_ColumnVarNameInTable="columnHoleNumDies" msprop:Generator_ColumnPropNameInRow="HoleNumDies" msprop:Generator_ColumnPropNameInTable="HoleNumDiesColumn" msprop:Generator_UserColumnName="HoleNumDies" type="xs:int" minOccurs="0" />
<xs:element name="DiesPrice" msprop:Generator_ColumnVarNameInTable="columnDiesPrice" msprop:Generator_ColumnPropNameInRow="DiesPrice" msprop:Generator_ColumnPropNameInTable="DiesPriceColumn" msprop:Generator_UserColumnName="DiesPrice" type="xs:decimal" />
<xs:element name="DiesExpLife" msprop:Generator_ColumnVarNameInTable="columnDiesExpLife" msprop:Generator_ColumnPropNameInRow="DiesExpLife" msprop:Generator_ColumnPropNameInTable="DiesExpLifeColumn" msprop:Generator_UserColumnName="DiesExpLife" type="xs:decimal" />
<xs:element name="DiesEOLife" msprop:Generator_ColumnVarNameInTable="columnDiesEOLife" msprop:Generator_ColumnPropNameInRow="DiesEOLife" msprop:Generator_ColumnPropNameInTable="DiesEOLifeColumn" msprop:Generator_UserColumnName="DiesEOLife" type="xs:decimal" />
<xs:element name="DiesByClass" msprop:Generator_ColumnVarNameInTable="columnDiesByClass" msprop:Generator_ColumnPropNameInRow="DiesByClass" msprop:Generator_ColumnPropNameInTable="DiesByClassColumn" msprop:Generator_UserColumnName="DiesByClass" type="xs:boolean" />
<xs:element name="NumDiesInList" msprop:Generator_ColumnVarNameInTable="columnNumDiesInList" msprop:Generator_ColumnPropNameInRow="NumDiesInList" msprop:Generator_ColumnPropNameInTable="NumDiesInListColumn" msprop:Generator_UserColumnName="NumDiesInList" type="xs:decimal" minOccurs="0" />
<xs:element name="NumDiesExaust" msprop:Generator_ColumnVarNameInTable="columnNumDiesExaust" msprop:Generator_ColumnPropNameInRow="NumDiesExaust" msprop:Generator_ColumnPropNameInTable="NumDiesExaustColumn" msprop:Generator_UserColumnName="NumDiesExaust" type="xs:decimal" minOccurs="0" />
<xs:element name="CodPlant" msprop:Generator_ColumnVarNameInTable="columnCodPlant" msprop:Generator_ColumnPropNameInRow="CodPlant" msprop:Generator_ColumnPropNameInTable="CodPlantColumn" msprop:Generator_UserColumnName="CodPlant" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KeyAMIL" msprop:Generator_ColumnVarNameInTable="columnKeyAMIL" msprop:Generator_ColumnPropNameInRow="KeyAMIL" msprop:Generator_ColumnPropNameInTable="KeyAMILColumn" msprop:Generator_UserColumnName="KeyAMIL" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KgTeo" msprop:Generator_ColumnVarNameInTable="columnKgTeo" msprop:Generator_ColumnPropNameInRow="KgTeo" msprop:Generator_ColumnPropNameInTable="KgTeoColumn" msprop:Generator_UserColumnName="KgTeo" type="xs:decimal" minOccurs="0" />
<xs:element name="NumSMED" msprop:Generator_ColumnVarNameInTable="columnNumSMED" msprop:Generator_ColumnPropNameInRow="NumSMED" msprop:Generator_ColumnPropNameInTable="NumSMEDColumn" msprop:Generator_UserColumnName="NumSMED" type="xs:decimal" minOccurs="0" />
<xs:element name="QuotaMan" msprop:Generator_ColumnVarNameInTable="columnQuotaMan" msprop:Generator_ColumnPropNameInRow="QuotaMan" msprop:Generator_ColumnPropNameInTable="QuotaManColumn" msprop:Generator_UserColumnName="QuotaMan" type="xs:decimal" minOccurs="0" />
<xs:element name="PRMWeight" msprop:Generator_ColumnVarNameInTable="columnPRMWeight" msprop:Generator_ColumnPropNameInRow="PRMWeight" msprop:Generator_ColumnPropNameInTable="PRMWeightColumn" msprop:Generator_UserColumnName="PRMWeight" type="xs:decimal" minOccurs="0" />
<xs:element name="PWeight" msprop:Generator_ColumnVarNameInTable="columnPWeight" msprop:Generator_ColumnPropNameInRow="PWeight" msprop:Generator_ColumnPropNameInTable="PWeightColumn" msprop:Generator_UserColumnName="PWeight" type="xs:decimal" minOccurs="0" />
<xs:element name="PTare" msprop:Generator_ColumnVarNameInTable="columnPTare" msprop:Generator_ColumnPropNameInRow="PTare" msprop:Generator_ColumnPropNameInTable="PTareColumn" msprop:Generator_UserColumnName="PTare" type="xs:decimal" minOccurs="0" />
<xs:element name="LivPackage" msprop:Generator_ColumnVarNameInTable="columnLivPackage" msprop:Generator_ColumnPropNameInRow="LivPackage" msprop:Generator_ColumnPropNameInTable="LivPackageColumn" msprop:Generator_UserColumnName="LivPackage" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LivPackageDett" msprop:Generator_ColumnVarNameInTable="columnLivPackageDett" msprop:Generator_ColumnPropNameInRow="LivPackageDett" msprop:Generator_ColumnPropNameInTable="LivPackageDettColumn" msprop:Generator_UserColumnName="LivPackageDett" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RawMatCost" msprop:Generator_ColumnVarNameInTable="columnRawMatCost" msprop:Generator_ColumnPropNameInRow="RawMatCost" msprop:Generator_ColumnPropNameInTable="RawMatCostColumn" msprop:Generator_UserColumnName="RawMatCost" type="xs:decimal" />
<xs:element name="RawMatExtraCost" msprop:Generator_ColumnVarNameInTable="columnRawMatExtraCost" msprop:Generator_ColumnPropNameInRow="RawMatExtraCost" msprop:Generator_ColumnPropNameInTable="RawMatExtraCostColumn" msprop:Generator_UserColumnName="RawMatExtraCost" type="xs:decimal" />
<xs:element name="RawMatFullCost" msprop:Generator_ColumnVarNameInTable="columnRawMatFullCost" msprop:Generator_ColumnPropNameInRow="RawMatFullCost" msprop:Generator_ColumnPropNameInTable="RawMatFullCostColumn" msprop:Generator_UserColumnName="RawMatFullCost" type="xs:decimal" minOccurs="0" />
<xs:element name="CodPackag" msprop:Generator_ColumnVarNameInTable="columnCodPackag" msprop:Generator_ColumnPropNameInRow="CodPackag" msprop:Generator_ColumnPropNameInTable="CodPackagColumn" msprop:Generator_UserColumnName="CodPackag">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PkgDesc" msprop:Generator_ColumnVarNameInTable="columnPkgDesc" msprop:Generator_ColumnPropNameInRow="PkgDesc" msprop:Generator_ColumnPropNameInTable="PkgDescColumn" msprop:Generator_UserColumnName="PkgDesc" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FSR" msprop:Generator_ColumnVarNameInTable="columnFSR" msprop:Generator_ColumnPropNameInRow="FSR" msprop:Generator_ColumnPropNameInTable="FSRColumn" msprop:Generator_UserColumnName="FSR" type="xs:decimal" minOccurs="0" />
<xs:element name="ProvvCost" msprop:Generator_ColumnVarNameInTable="columnProvvCost" msprop:Generator_ColumnPropNameInRow="ProvvCost" msprop:Generator_ColumnPropNameInTable="ProvvCostColumn" msprop:Generator_UserColumnName="ProvvCost" type="xs:decimal" />
<xs:element name="EECost" msprop:Generator_ColumnVarNameInTable="columnEECost" msprop:Generator_ColumnPropNameInRow="EECost" msprop:Generator_ColumnPropNameInTable="EECostColumn" msprop:Generator_UserColumnName="EECost" type="xs:decimal" />
<xs:element name="GasCost" msprop:Generator_ColumnVarNameInTable="columnGasCost" msprop:Generator_ColumnPropNameInRow="GasCost" msprop:Generator_ColumnPropNameInTable="GasCostColumn" msprop:Generator_UserColumnName="GasCost" type="xs:decimal" />
<xs:element name="DiesCost" msprop:Generator_ColumnVarNameInTable="columnDiesCost" msprop:Generator_ColumnPropNameInRow="DiesCost" msprop:Generator_ColumnPropNameInTable="DiesCostColumn" msprop:Generator_UserColumnName="DiesCost" type="xs:decimal" />
<xs:element name="PackCost" msprop:Generator_ColumnVarNameInTable="columnPackCost" msprop:Generator_ColumnPropNameInRow="PackCost" msprop:Generator_ColumnPropNameInTable="PackCostColumn" msprop:Generator_UserColumnName="PackCost" type="xs:decimal" />
<xs:element name="TranspCost" msprop:Generator_ColumnVarNameInTable="columnTranspCost" msprop:Generator_ColumnPropNameInRow="TranspCost" msprop:Generator_ColumnPropNameInTable="TranspCostColumn" msprop:Generator_UserColumnName="TranspCost" type="xs:decimal" />
<xs:element name="SellCost01" msprop:Generator_ColumnVarNameInTable="columnSellCost01" msprop:Generator_ColumnPropNameInRow="SellCost01" msprop:Generator_ColumnPropNameInTable="SellCost01Column" msprop:Generator_UserColumnName="SellCost01" type="xs:decimal" />
<xs:element name="RefCost01" msprop:Generator_ColumnVarNameInTable="columnRefCost01" msprop:Generator_ColumnPropNameInRow="RefCost01" msprop:Generator_ColumnPropNameInTable="RefCost01Column" msprop:Generator_UserColumnName="RefCost01" type="xs:decimal" />
<xs:element name="SellCost04" msprop:Generator_ColumnVarNameInTable="columnSellCost04" msprop:Generator_ColumnPropNameInRow="SellCost04" msprop:Generator_ColumnPropNameInTable="SellCost04Column" msprop:Generator_UserColumnName="SellCost04" type="xs:decimal" />
<xs:element name="RefCost04" msprop:Generator_ColumnVarNameInTable="columnRefCost04" msprop:Generator_ColumnPropNameInRow="RefCost04" msprop:Generator_ColumnPropNameInTable="RefCost04Column" msprop:Generator_UserColumnName="RefCost04" type="xs:decimal" />
<xs:element name="WSR01" msprop:Generator_ColumnVarNameInTable="columnWSR01" msprop:Generator_ColumnPropNameInRow="WSR01" msprop:Generator_ColumnPropNameInTable="WSR01Column" msprop:Generator_UserColumnName="WSR01" type="xs:decimal" />
<xs:element name="MSR01" msprop:Generator_ColumnVarNameInTable="columnMSR01" msprop:Generator_ColumnPropNameInRow="MSR01" msprop:Generator_ColumnPropNameInTable="MSR01Column" msprop:Generator_UserColumnName="MSR01" type="xs:decimal" />
<xs:element name="NetProd01" msprop:Generator_ColumnVarNameInTable="columnNetProd01" msprop:Generator_ColumnPropNameInRow="NetProd01" msprop:Generator_ColumnPropNameInTable="NetProd01Column" msprop:Generator_UserColumnName="NetProd01" type="xs:decimal" />
<xs:element name="FC4UG01" msprop:Generator_ColumnVarNameInTable="columnFC4UG01" msprop:Generator_ColumnPropNameInRow="FC4UG01" msprop:Generator_ColumnPropNameInTable="FC4UG01Column" msprop:Generator_UserColumnName="FC4UG01" type="xs:decimal" />
<xs:element name="VC4UG01" msprop:Generator_ColumnVarNameInTable="columnVC4UG01" msprop:Generator_ColumnPropNameInRow="VC4UG01" msprop:Generator_ColumnPropNameInTable="VC4UG01Column" msprop:Generator_UserColumnName="VC4UG01" type="xs:decimal" />
<xs:element name="OH4UG01" msprop:Generator_ColumnVarNameInTable="columnOH4UG01" msprop:Generator_ColumnPropNameInRow="OH4UG01" msprop:Generator_ColumnPropNameInTable="OH4UG01Column" msprop:Generator_UserColumnName="OH4UG01" type="xs:decimal" />
<xs:element name="SC4UG01" msprop:Generator_ColumnVarNameInTable="columnSC4UG01" msprop:Generator_ColumnPropNameInRow="SC4UG01" msprop:Generator_ColumnPropNameInTable="SC4UG01Column" msprop:Generator_UserColumnName="SC4UG01" type="xs:decimal" />
<xs:element name="DSR" msprop:Generator_ColumnVarNameInTable="columnDSR" msprop:Generator_ColumnPropNameInRow="DSR" msprop:Generator_ColumnPropNameInTable="DSRColumn" msprop:Generator_UserColumnName="DSR" type="xs:decimal" minOccurs="0" />
<xs:element name="NetProd04" msprop:Generator_ColumnVarNameInTable="columnNetProd04" msprop:Generator_ColumnPropNameInRow="NetProd04" msprop:Generator_ColumnPropNameInTable="NetProd04Column" msprop:Generator_UserColumnName="NetProd04" type="xs:decimal" />
<xs:element name="FC4UG04" msprop:Generator_ColumnVarNameInTable="columnFC4UG04" msprop:Generator_ColumnPropNameInRow="FC4UG04" msprop:Generator_ColumnPropNameInTable="FC4UG04Column" msprop:Generator_UserColumnName="FC4UG04" type="xs:decimal" />
<xs:element name="VC4UG04" msprop:Generator_ColumnVarNameInTable="columnVC4UG04" msprop:Generator_ColumnPropNameInRow="VC4UG04" msprop:Generator_ColumnPropNameInTable="VC4UG04Column" msprop:Generator_UserColumnName="VC4UG04" type="xs:decimal" />
<xs:element name="FVC" msprop:Generator_ColumnVarNameInTable="columnFVC" msprop:Generator_ColumnPropNameInRow="FVC" msprop:Generator_ColumnPropNameInTable="FVCColumn" msprop:Generator_UserColumnName="FVC" type="xs:decimal" minOccurs="0" />
<xs:element name="Charge" msprop:Generator_ColumnVarNameInTable="columnCharge" msprop:Generator_ColumnPropNameInRow="Charge" msprop:Generator_ColumnPropNameInTable="ChargeColumn" msprop:Generator_UserColumnName="Charge" type="xs:decimal" />
<xs:element name="P_FVC" msprop:Generator_ColumnVarNameInTable="columnP_FVC" msprop:Generator_ColumnPropNameInRow="P_FVC" msprop:Generator_ColumnPropNameInTable="P_FVCColumn" msprop:Generator_UserColumnName="P_FVC" type="xs:decimal" minOccurs="0" />
<xs:element name="CPS" msprop:Generator_ColumnVarNameInTable="columnCPS" msprop:Generator_ColumnPropNameInRow="CPS" msprop:Generator_ColumnPropNameInTable="CPSColumn" msprop:Generator_UserColumnName="CPS" type="xs:decimal" minOccurs="0" />
<xs:element name="P_CPS" msprop:Generator_ColumnVarNameInTable="columnP_CPS" msprop:Generator_ColumnPropNameInRow="P_CPS" msprop:Generator_ColumnPropNameInTable="P_CPSColumn" msprop:Generator_UserColumnName="P_CPS" type="xs:decimal" minOccurs="0" />
<xs:element name="P_FC4UG04" msprop:Generator_ColumnVarNameInTable="columnP_FC4UG04" msprop:Generator_ColumnPropNameInRow="P_FC4UG04" msprop:Generator_ColumnPropNameInTable="P_FC4UG04Column" msprop:Generator_UserColumnName="P_FC4UG04" type="xs:decimal" minOccurs="0" />
<xs:element name="FullCost" msprop:Generator_ColumnVarNameInTable="columnFullCost" msprop:Generator_ColumnPropNameInRow="FullCost" msprop:Generator_ColumnPropNameInTable="FullCostColumn" msprop:Generator_UserColumnName="FullCost" type="xs:decimal" minOccurs="0" />
<xs:element name="P_FullCost" msprop:Generator_ColumnVarNameInTable="columnP_FullCost" msprop:Generator_ColumnPropNameInRow="P_FullCost" msprop:Generator_ColumnPropNameInTable="P_FullCostColumn" msprop:Generator_UserColumnName="P_FullCost" type="xs:decimal" minOccurs="0" />
<xs:element name="MinPrice" msprop:Generator_ColumnVarNameInTable="columnMinPrice" msprop:Generator_ColumnPropNameInRow="MinPrice" msprop:Generator_ColumnPropNameInTable="MinPriceColumn" msprop:Generator_UserColumnName="MinPrice" type="xs:decimal" minOccurs="0" />
<xs:element name="P_MinPrice" msprop:Generator_ColumnVarNameInTable="columnP_MinPrice" msprop:Generator_ColumnPropNameInRow="P_MinPrice" msprop:Generator_ColumnPropNameInTable="P_MinPriceColumn" msprop:Generator_UserColumnName="P_MinPrice" type="xs:decimal" minOccurs="0" />
<xs:element name="P_PriceOff" msprop:Generator_ColumnVarNameInTable="columnP_PriceOff" msprop:Generator_ColumnPropNameInRow="P_PriceOff" msprop:Generator_ColumnPropNameInTable="P_PriceOffColumn" msprop:Generator_UserColumnName="P_PriceOff" type="xs:decimal" minOccurs="0" />
<xs:element name="NetMar" msprop:Generator_ColumnVarNameInTable="columnNetMar" msprop:Generator_ColumnPropNameInRow="NetMar" msprop:Generator_ColumnPropNameInTable="NetMarColumn" msprop:Generator_UserColumnName="NetMar" type="xs:decimal" minOccurs="0" />
<xs:element name="FCShield" msprop:Generator_ColumnVarNameInTable="columnFCShield" msprop:Generator_ColumnPropNameInRow="FCShield" msprop:Generator_ColumnPropNameInTable="FCShieldColumn" msprop:Generator_UserColumnName="FCShield" type="xs:decimal" minOccurs="0" />
<xs:element name="PckSur" msprop:Generator_ColumnVarNameInTable="columnPckSur" msprop:Generator_ColumnPropNameInRow="PckSur" msprop:Generator_ColumnPropNameInTable="PckSurColumn" msprop:Generator_UserColumnName="PckSur" type="xs:decimal" minOccurs="0" />
<xs:element name="valid" msprop:Generator_ColumnVarNameInTable="columnvalid" msprop:Generator_ColumnPropNameInRow="valid" msprop:Generator_ColumnPropNameInTable="validColumn" msprop:Generator_UserColumnName="valid" type="xs:boolean" />
<xs:element name="errorScore" msprop:Generator_ColumnVarNameInTable="columnerrorScore" msprop:Generator_ColumnPropNameInRow="errorScore" msprop:Generator_ColumnPropNameInTable="errorScoreColumn" msprop:Generator_UserColumnName="errorScore" type="xs:int" />
<xs:element name="DiesPrice_sim" msprop:Generator_ColumnVarNameInTable="columnDiesPrice_sim" msprop:Generator_ColumnPropNameInRow="DiesPrice_sim" msprop:Generator_ColumnPropNameInTable="DiesPrice_simColumn" msprop:Generator_UserColumnName="DiesPrice_sim" type="xs:decimal" />
<xs:element name="SamplePrice" msprop:Generator_ColumnVarNameInTable="columnSamplePrice" msprop:Generator_ColumnPropNameInRow="SamplePrice" msprop:Generator_ColumnPropNameInTable="SamplePriceColumn" msprop:Generator_UserColumnName="SamplePrice" type="xs:decimal" />
<xs:element name="DiesFullCost" msprop:Generator_ColumnVarNameInTable="columnDiesFullCost" msprop:Generator_ColumnPropNameInRow="DiesFullCost" msprop:Generator_ColumnPropNameInTable="DiesFullCostColumn" msprop:Generator_UserColumnName="DiesFullCost" type="xs:decimal" />
<xs:element name="DiesPriceClientQuote" msprop:Generator_ColumnVarNameInTable="columnDiesPriceClientQuote" msprop:Generator_ColumnPropNameInRow="DiesPriceClientQuote" msprop:Generator_ColumnPropNameInTable="DiesPriceClientQuoteColumn" msprop:Generator_UserColumnName="DiesPriceClientQuote" type="xs:decimal" />
<xs:element name="DiesTecLife" msprop:Generator_ColumnVarNameInTable="columnDiesTecLife" msprop:Generator_ColumnPropNameInRow="DiesTecLife" msprop:Generator_ColumnPropNameInTable="DiesTecLifeColumn" msprop:Generator_UserColumnName="DiesTecLife" type="xs:decimal" />
<xs:element name="DiesCommLife" msprop:Generator_ColumnVarNameInTable="columnDiesCommLife" msprop:Generator_ColumnPropNameInRow="DiesCommLife" msprop:Generator_ColumnPropNameInTable="DiesCommLifeColumn" msprop:Generator_UserColumnName="DiesCommLife" type="xs:decimal" />
<xs:element name="MonthSalesPrev" msprop:Generator_ColumnVarNameInTable="columnMonthSalesPrev" msprop:Generator_ColumnPropNameInRow="MonthSalesPrev" msprop:Generator_ColumnPropNameInTable="MonthSalesPrevColumn" msprop:Generator_UserColumnName="MonthSalesPrev" type="xs:decimal" />
<xs:element name="SalesPrevCost" msprop:Generator_ColumnVarNameInTable="columnSalesPrevCost" msprop:Generator_ColumnPropNameInRow="SalesPrevCost" msprop:Generator_ColumnPropNameInTable="SalesPrevCostColumn" msprop:Generator_UserColumnName="SalesPrevCost" type="xs:decimal" />
<xs:element name="DiesFinCost" msprop:Generator_ColumnVarNameInTable="columnDiesFinCost" msprop:Generator_ColumnPropNameInRow="DiesFinCost" msprop:Generator_ColumnPropNameInTable="DiesFinCostColumn" msprop:Generator_UserColumnName="DiesFinCost" type="xs:decimal" />
<xs:element name="ClientQuoteReven" msprop:Generator_ColumnVarNameInTable="columnClientQuoteReven" msprop:Generator_ColumnPropNameInRow="ClientQuoteReven" msprop:Generator_ColumnPropNameInTable="ClientQuoteRevenColumn" msprop:Generator_UserColumnName="ClientQuoteReven" type="xs:decimal" />
<xs:element name="ExtraDiscountDies" msprop:Generator_ColumnVarNameInTable="columnExtraDiscountDies" msprop:Generator_ColumnPropNameInRow="ExtraDiscountDies" msprop:Generator_ColumnPropNameInTable="ExtraDiscountDiesColumn" msprop:Generator_UserColumnName="ExtraDiscountDies" type="xs:decimal" />
<xs:element name="WSR01_sim" msprop:Generator_ColumnVarNameInTable="columnWSR01_sim" msprop:Generator_ColumnPropNameInRow="WSR01_sim" msprop:Generator_ColumnPropNameInTable="WSR01_simColumn" msprop:Generator_UserColumnName="WSR01_sim" type="xs:decimal" />
<xs:element name="MSR01_sim" msprop:Generator_ColumnVarNameInTable="columnMSR01_sim" msprop:Generator_ColumnPropNameInRow="MSR01_sim" msprop:Generator_ColumnPropNameInTable="MSR01_simColumn" msprop:Generator_UserColumnName="MSR01_sim" type="xs:decimal" />
<xs:element name="NetProd01_sim" msprop:Generator_ColumnVarNameInTable="columnNetProd01_sim" msprop:Generator_ColumnPropNameInRow="NetProd01_sim" msprop:Generator_ColumnPropNameInTable="NetProd01_simColumn" msprop:Generator_UserColumnName="NetProd01_sim" type="xs:decimal" />
<xs:element name="NetProd04_sim" msprop:Generator_ColumnVarNameInTable="columnNetProd04_sim" msprop:Generator_ColumnPropNameInRow="NetProd04_sim" msprop:Generator_ColumnPropNameInTable="NetProd04_simColumn" msprop:Generator_UserColumnName="NetProd04_sim" type="xs:decimal" />
<xs:element name="DSR_sim" msprop:Generator_ColumnVarNameInTable="columnDSR_sim" msprop:Generator_ColumnPropNameInRow="DSR_sim" msprop:Generator_ColumnPropNameInTable="DSR_simColumn" msprop:Generator_UserColumnName="DSR_sim" type="xs:decimal" />
<xs:element name="NetMar_sim" msprop:Generator_ColumnVarNameInTable="columnNetMar_sim" msprop:Generator_ColumnPropNameInRow="NetMar_sim" msprop:Generator_ColumnPropNameInTable="NetMar_simColumn" msprop:Generator_UserColumnName="NetMar_sim" type="xs:decimal" minOccurs="0" />
<xs:element name="FCShield_sim" msprop:Generator_ColumnVarNameInTable="columnFCShield_sim" msprop:Generator_ColumnPropNameInRow="FCShield_sim" msprop:Generator_ColumnPropNameInTable="FCShield_simColumn" msprop:Generator_UserColumnName="FCShield_sim" type="xs:decimal" minOccurs="0" />
<xs:element name="MinPrice_sim" msprop:Generator_ColumnVarNameInTable="columnMinPrice_sim" msprop:Generator_ColumnPropNameInRow="MinPrice_sim" msprop:Generator_ColumnPropNameInTable="MinPrice_simColumn" msprop:Generator_UserColumnName="MinPrice_sim" type="xs:decimal" minOccurs="0" />
<xs:element name="P_MinPrice_sim" msprop:Generator_ColumnVarNameInTable="columnP_MinPrice_sim" msprop:Generator_ColumnPropNameInRow="P_MinPrice_sim" msprop:Generator_ColumnPropNameInTable="P_MinPrice_simColumn" msprop:Generator_UserColumnName="P_MinPrice_sim" type="xs:decimal" minOccurs="0" />
<xs:element name="Cli_ZipCode" msprop:Generator_ColumnVarNameInTable="columnCli_ZipCode" msprop:Generator_ColumnPropNameInRow="Cli_ZipCode" msprop:Generator_ColumnPropNameInTable="Cli_ZipCodeColumn" msprop:Generator_UserColumnName="Cli_ZipCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Cli_City" msprop:Generator_ColumnVarNameInTable="columnCli_City" msprop:Generator_ColumnPropNameInRow="Cli_City" msprop:Generator_ColumnPropNameInTable="Cli_CityColumn" msprop:Generator_UserColumnName="Cli_City">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Cli_State" msprop:Generator_ColumnVarNameInTable="columnCli_State" msprop:Generator_ColumnPropNameInRow="Cli_State" msprop:Generator_ColumnPropNameInTable="Cli_StateColumn" msprop:Generator_UserColumnName="Cli_State">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Cli_Nation" msprop:Generator_ColumnVarNameInTable="columnCli_Nation" msprop:Generator_ColumnPropNameInRow="Cli_Nation" msprop:Generator_ColumnPropNameInTable="Cli_NationColumn" msprop:Generator_UserColumnName="Cli_Nation">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescInco" msprop:Generator_ColumnVarNameInTable="columnDescInco" msprop:Generator_ColumnPropNameInRow="DescInco" msprop:Generator_ColumnPropNameInTable="DescIncoColumn" msprop:Generator_UserColumnName="DescInco" minOccurs="0">
<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="stp_chekLastRevQuote" msprop:Generator_TableClassName="stp_chekLastRevQuoteDataTable" msprop:Generator_TableVarName="tablestp_chekLastRevQuote" msprop:Generator_TablePropName="stp_chekLastRevQuote" msprop:Generator_RowDeletingName="stp_chekLastRevQuoteRowDeleting" msprop:Generator_RowChangingName="stp_chekLastRevQuoteRowChanging" msprop:Generator_RowEvHandlerName="stp_chekLastRevQuoteRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_chekLastRevQuoteRowDeleted" msprop:Generator_UserTableName="stp_chekLastRevQuote" msprop:Generator_RowChangedName="stp_chekLastRevQuoteRowChanged" msprop:Generator_RowEvArgName="stp_chekLastRevQuoteRowChangeEvent" msprop:Generator_RowClassName="stp_chekLastRevQuoteRow">
<xs:complexType>
<xs:sequence>
<xs:element name="lastRev" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlastRev" msprop:Generator_ColumnPropNameInRow="lastRev" msprop:Generator_ColumnPropNameInTable="lastRevColumn" msprop:Generator_UserColumnName="lastRev" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PackagDet" msprop:Generator_TableClassName="PackagDetDataTable" msprop:Generator_TableVarName="tablePackagDet" msprop:Generator_RowChangedName="PackagDetRowChanged" msprop:Generator_TablePropName="PackagDet" msprop:Generator_RowDeletingName="PackagDetRowDeleting" msprop:Generator_RowChangingName="PackagDetRowChanging" msprop:Generator_RowEvHandlerName="PackagDetRowChangeEventHandler" msprop:Generator_RowDeletedName="PackagDetRowDeleted" msprop:Generator_RowClassName="PackagDetRow" msprop:Generator_UserTableName="PackagDet" msprop:Generator_RowEvArgName="PackagDetRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodPackag" msprop:Generator_ColumnVarNameInTable="columnCodPackag" msprop:Generator_ColumnPropNameInRow="CodPackag" msprop:Generator_ColumnPropNameInTable="CodPackagColumn" msprop:Generator_UserColumnName="CodPackag">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PackagDesc" msprop:Generator_ColumnVarNameInTable="columnPackagDesc" msprop:Generator_ColumnPropNameInRow="PackagDesc" msprop:Generator_ColumnPropNameInTable="PackagDescColumn" msprop:Generator_UserColumnName="PackagDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RMCost" msprop:Generator_ColumnVarNameInTable="columnRMCost" msprop:Generator_ColumnPropNameInRow="RMCost" msprop:Generator_ColumnPropNameInTable="RMCostColumn" msprop:Generator_UserColumnName="RMCost" type="xs:decimal" />
<xs:element name="RMWeight" msprop:Generator_ColumnVarNameInTable="columnRMWeight" msprop:Generator_ColumnPropNameInRow="RMWeight" msprop:Generator_ColumnPropNameInTable="RMWeightColumn" msprop:Generator_UserColumnName="RMWeight" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AgentsDet" msprop:Generator_TableClassName="AgentsDetDataTable" msprop:Generator_TableVarName="tableAgentsDet" msprop:Generator_RowChangedName="AgentsDetRowChanged" msprop:Generator_TablePropName="AgentsDet" msprop:Generator_RowDeletingName="AgentsDetRowDeleting" msprop:Generator_RowChangingName="AgentsDetRowChanging" msprop:Generator_RowEvHandlerName="AgentsDetRowChangeEventHandler" msprop:Generator_RowDeletedName="AgentsDetRowDeleted" msprop:Generator_RowClassName="AgentsDetRow" msprop:Generator_UserTableName="AgentsDet" msprop:Generator_RowEvArgName="AgentsDetRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodAg" msprop:Generator_ColumnVarNameInTable="columnCodAg" msprop:Generator_ColumnPropNameInRow="CodAg" msprop:Generator_ColumnPropNameInTable="CodAgColumn" msprop:Generator_UserColumnName="CodAg">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Lastname" msprop:Generator_ColumnVarNameInTable="columnLastname" msprop:Generator_ColumnPropNameInRow="Lastname" msprop:Generator_ColumnPropNameInTable="LastnameColumn" msprop:Generator_UserColumnName="Lastname">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Firstname" msprop:Generator_ColumnVarNameInTable="columnFirstname" msprop:Generator_ColumnPropNameInRow="Firstname" msprop:Generator_ColumnPropNameInTable="FirstnameColumn" msprop:Generator_UserColumnName="Firstname">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="QuotaProvvAg" msprop:Generator_ColumnVarNameInTable="columnQuotaProvvAg" msprop:Generator_ColumnPropNameInRow="QuotaProvvAg" msprop:Generator_ColumnPropNameInTable="QuotaProvvAgColumn" msprop:Generator_UserColumnName="QuotaProvvAg" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PlantsDet" msprop:Generator_TableClassName="PlantsDetDataTable" msprop:Generator_TableVarName="tablePlantsDet" msprop:Generator_RowChangedName="PlantsDetRowChanged" msprop:Generator_TablePropName="PlantsDet" msprop:Generator_RowDeletingName="PlantsDetRowDeleting" msprop:Generator_RowChangingName="PlantsDetRowChanging" msprop:Generator_RowEvHandlerName="PlantsDetRowChangeEventHandler" msprop:Generator_RowDeletedName="PlantsDetRowDeleted" msprop:Generator_RowClassName="PlantsDetRow" msprop:Generator_UserTableName="PlantsDet" msprop:Generator_RowEvArgName="PlantsDetRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodPlant" msprop:Generator_ColumnVarNameInTable="columnCodPlant" msprop:Generator_ColumnPropNameInRow="CodPlant" msprop:Generator_ColumnPropNameInTable="CodPlantColumn" msprop:Generator_UserColumnName="CodPlant">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Descript" msprop:Generator_ColumnVarNameInTable="columnDescript" msprop:Generator_ColumnPropNameInRow="Descript" msprop:Generator_ColumnPropNameInTable="DescriptColumn" msprop:Generator_UserColumnName="Descript">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Charge" msprop:Generator_ColumnVarNameInTable="columnCharge" msprop:Generator_ColumnPropNameInRow="Charge" msprop:Generator_ColumnPropNameInTable="ChargeColumn" msprop:Generator_UserColumnName="Charge" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Utilities" msprop:Generator_TableClassName="UtilitiesDataTable" msprop:Generator_TableVarName="tableUtilities" msprop:Generator_TablePropName="Utilities" msprop:Generator_RowDeletingName="UtilitiesRowDeleting" msprop:Generator_RowChangingName="UtilitiesRowChanging" msprop:Generator_RowEvHandlerName="UtilitiesRowChangeEventHandler" msprop:Generator_RowDeletedName="UtilitiesRowDeleted" msprop:Generator_UserTableName="Utilities" msprop:Generator_RowChangedName="UtilitiesRowChanged" msprop:Generator_RowEvArgName="UtilitiesRowChangeEvent" msprop:Generator_RowClassName="UtilitiesRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodUtil" msprop:Generator_ColumnVarNameInTable="columnCodUtil" msprop:Generator_ColumnPropNameInRow="CodUtil" msprop:Generator_ColumnPropNameInTable="CodUtilColumn" msprop:Generator_UserColumnName="CodUtil">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodPlant" msprop:Generator_ColumnVarNameInTable="columnCodPlant" msprop:Generator_ColumnPropNameInRow="CodPlant" msprop:Generator_ColumnPropNameInTable="CodPlantColumn" msprop:Generator_UserColumnName="CodPlant">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UnitCost" msprop:Generator_ColumnVarNameInTable="columnUnitCost" msprop:Generator_ColumnPropNameInRow="UnitCost" msprop:Generator_ColumnPropNameInTable="UnitCostColumn" msprop:Generator_UserColumnName="UnitCost" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Cost2Plant" msprop:Generator_TableClassName="Cost2PlantDataTable" msprop:Generator_TableVarName="tableCost2Plant" msprop:Generator_TablePropName="Cost2Plant" msprop:Generator_RowDeletingName="Cost2PlantRowDeleting" msprop:Generator_RowChangingName="Cost2PlantRowChanging" msprop:Generator_RowEvHandlerName="Cost2PlantRowChangeEventHandler" msprop:Generator_RowDeletedName="Cost2PlantRowDeleted" msprop:Generator_UserTableName="Cost2Plant" msprop:Generator_RowChangedName="Cost2PlantRowChanged" msprop:Generator_RowEvArgName="Cost2PlantRowChangeEvent" msprop:Generator_RowClassName="Cost2PlantRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodPlant" msprop:Generator_ColumnVarNameInTable="columnCodPlant" msprop:Generator_ColumnPropNameInRow="CodPlant" msprop:Generator_ColumnPropNameInTable="CodPlantColumn" msprop:Generator_UserColumnName="CodPlant">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProcessNum" msprop:Generator_ColumnVarNameInTable="columnProcessNum" msprop:Generator_ColumnPropNameInRow="ProcessNum" msprop:Generator_ColumnPropNameInTable="ProcessNumColumn" msprop:Generator_UserColumnName="ProcessNum">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FC" msprop:Generator_ColumnVarNameInTable="columnFC" msprop:Generator_ColumnPropNameInRow="FC" msprop:Generator_ColumnPropNameInTable="FCColumn" msprop:Generator_UserColumnName="FC" type="xs:decimal" />
<xs:element name="VC" msprop:Generator_ColumnVarNameInTable="columnVC" msprop:Generator_ColumnPropNameInRow="VC" msprop:Generator_ColumnPropNameInTable="VCColumn" msprop:Generator_UserColumnName="VC" type="xs:decimal" />
<xs:element name="OH" msprop:Generator_ColumnVarNameInTable="columnOH" msprop:Generator_ColumnPropNameInRow="OH" msprop:Generator_ColumnPropNameInTable="OHColumn" msprop:Generator_UserColumnName="OH" type="xs:decimal" />
<xs:element name="SC" msprop:Generator_ColumnVarNameInTable="columnSC" msprop:Generator_ColumnPropNameInRow="SC" msprop:Generator_ColumnPropNameInTable="SCColumn" msprop:Generator_UserColumnName="SC" type="xs:decimal" />
<xs:element name="QuotaPlantStd" msprop:Generator_ColumnVarNameInTable="columnQuotaPlantStd" msprop:Generator_ColumnPropNameInRow="QuotaPlantStd" msprop:Generator_ColumnPropNameInTable="QuotaPlantStdColumn" msprop:Generator_UserColumnName="QuotaPlantStd" type="xs:decimal" />
<xs:element name="QuotaManStd" msprop:Generator_ColumnVarNameInTable="columnQuotaManStd" msprop:Generator_ColumnPropNameInRow="QuotaManStd" msprop:Generator_ColumnPropNameInTable="QuotaManStdColumn" msprop:Generator_UserColumnName="QuotaManStd" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:QuoteList" />
<xs:field xpath="mstns:QuoteType" />
<xs:field xpath="mstns:CodQuote" />
<xs:field xpath="mstns:QuoteRev" />
</xs:unique>
<xs:unique name="QuoteRM_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:QuoteRM" />
<xs:field xpath="mstns:QuoteType" />
<xs:field xpath="mstns:CodQuote" />
<xs:field xpath="mstns:QuoteRev" />
<xs:field xpath="mstns:NumRM" />
</xs:unique>
<xs:unique name="QuoteWorkExt_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:QuoteWorkExt" />
<xs:field xpath="mstns:QuoteType" />
<xs:field xpath="mstns:CodQuote" />
<xs:field xpath="mstns:QuoteRev" />
<xs:field xpath="mstns:NumWE" />
</xs:unique>
<xs:unique name="QuoteWorkInt_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:QuoteWorkInt" />
<xs:field xpath="mstns:QuoteType" />
<xs:field xpath="mstns:CodQuote" />
<xs:field xpath="mstns:QuoteRev" />
<xs:field xpath="mstns:NumWI" />
</xs:unique>
<xs:unique name="QuoteParam_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:QuoteParam" />
<xs:field xpath="mstns:QuoteType" />
<xs:field xpath="mstns:CodQuote" />
<xs:field xpath="mstns:QuoteRev" />
<xs:field xpath="mstns:NumP" />
</xs:unique>
<xs:unique name="QuoteOC_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:QuoteOC" />
<xs:field xpath="mstns:QuoteType" />
<xs:field xpath="mstns:CodQuote" />
<xs:field xpath="mstns:QuoteRev" />
<xs:field xpath="mstns:NumEx" />
</xs:unique>
<xs:unique name="QuoteFull_Q_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:QuoteFull_Q" />
<xs:field xpath="mstns:QuoteType" />
<xs:field xpath="mstns:CodQuote" />
<xs:field xpath="mstns:QuoteRev" />
</xs:unique>
<xs:unique name="QuoteFull_S_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:QuoteFull_S" />
<xs:field xpath="mstns:QuoteType" />
<xs:field xpath="mstns:CodQuote" />
<xs:field xpath="mstns:QuoteRev" />
</xs:unique>
<xs:unique name="RawMatDet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:RawMatDet" />
<xs:field xpath="mstns:RawMat" />
</xs:unique>
<xs:unique name="PackagDet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:PackagDet" />
<xs:field xpath="mstns:CodPackag" />
</xs:unique>
<xs:unique name="AgentsDet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:AgentsDet" />
<xs:field xpath="mstns:CodAg" />
</xs:unique>
<xs:unique name="PlantsDet_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:PlantsDet" />
<xs:field xpath="mstns:CodPlant" />
</xs:unique>
<xs:unique name="Utilities_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Utilities" />
<xs:field xpath="mstns:CodUtil" />
<xs:field xpath="mstns:CodPlant" />
</xs:unique>
<xs:unique name="Cost2Plant_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Cost2Plant" />
<xs:field xpath="mstns:CodPlant" />
<xs:field xpath="mstns:ProcessNum" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_QuoteRM_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteRM" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteRM" msprop:Generator_ChildPropName="GetQuoteRMRows" msprop:Generator_UserRelationName="FK_QuoteRM_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteRM_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
<msdata:Relationship name="FK_QuoteWorkExt_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteWorkExt" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteWorkExt" msprop:Generator_ChildPropName="GetQuoteWorkExtRows" msprop:Generator_UserRelationName="FK_QuoteWorkExt_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteWorkExt_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
<msdata:Relationship name="FK_QuoteWorkInt_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteWorkInt" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteWorkInt" msprop:Generator_ChildPropName="GetQuoteWorkIntRows" msprop:Generator_UserRelationName="FK_QuoteWorkInt_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteWorkInt_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
<msdata:Relationship name="FK_QuoteParam_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteParam" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteParam" msprop:Generator_ChildPropName="GetQuoteParamRows" msprop:Generator_UserRelationName="FK_QuoteParam_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteParam_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
<msdata:Relationship name="FK_QuoteExtra_QuoteList" msdata:parent="QuoteList" msdata:child="QuoteOC" msdata:parentkey="QuoteType CodQuote QuoteRev" msdata:childkey="QuoteType CodQuote QuoteRev" msprop:Generator_UserChildTable="QuoteOC" msprop:Generator_ChildPropName="GetQuoteOCRows" msprop:Generator_UserRelationName="FK_QuoteExtra_QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" msprop:Generator_RelationVarName="relationFK_QuoteExtra_QuoteList" msprop:Generator_UserParentTable="QuoteList" />
<msdata:Relationship name="FK_Cost2Plant_PlantsDet" msdata:parent="PlantsDet" msdata:child="Cost2Plant" msdata:parentkey="CodPlant" msdata:childkey="CodPlant" msprop:Generator_UserChildTable="Cost2Plant" msprop:Generator_ChildPropName="GetCost2PlantRows" msprop:Generator_UserRelationName="FK_Cost2Plant_PlantsDet" msprop:Generator_ParentPropName="PlantsDetRow" msprop:Generator_RelationVarName="relationFK_Cost2Plant_PlantsDet" msprop:Generator_UserParentTable="PlantsDet" />
</xs:appinfo>
</xs:annotation>
</xs:schema>