inseriti metodi gestione 2 tabelle Utilities e Cost2Plant

This commit is contained in:
Samuele E. Locatelli
2015-10-06 16:34:08 +02:00
parent b496ad15b6
commit 5d3e237e32
14 changed files with 2734 additions and 220 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
@@ -11,7 +11,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>/Uu0ivAZbYLmopl8rzrA1M56UWc=</dsig:DigestValue>
<dsig:DigestValue>b2uHaXW1irG4pVJgcRl50IIPoog=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
@@ -74,19 +74,19 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>xIm3PLCj4c+eqJeAN9K98w4KANc=</dsig:DigestValue>
<dsig:DigestValue>3F0k09XENGVr8CZufWCIRxiboRM=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="C2P_Data.dll" size="632320">
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="C2P_Data.dll" size="666112">
<assemblyIdentity name="C2P_Data" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>bktr3kCr6XPZ9eJCIz6m0XzSpEg=</dsig:DigestValue>
<dsig:DigestValue>smqvRWWgn6zvqU5ixorWo0nMW+c=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Binary file not shown.
+2374 -134
View File
File diff suppressed because it is too large Load Diff
+6 -4
View File
@@ -1,7 +1,9 @@
namespace C2P_Data {
public partial class DS_Quotes {
namespace C2P_Data
{
public partial class DS_Quotes
{
}
}
+309 -28
View File
@@ -5,12 +5,12 @@
<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" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="C2P_DataConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.C2P_Data.Properties.Settings.GlobalReference.Default.C2P_DataConnectionString" 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)" DbObjectType="Unknown" 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">
<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 *
@@ -1087,7 +1087,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
</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)" DbObjectType="Unknown" 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">
<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>
@@ -1195,7 +1195,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RawMatDetTableAdapter" GeneratorDataComponentClassName="RawMatDetTableAdapter" Name="RawMatDet" UserDataComponentName="RawMatDetTableAdapter">
<MainSource>
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectType="Unknown" 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">
<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
@@ -1498,7 +1498,7 @@ FROM RawMatDet</CommandText>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PackagDetTableAdapter" GeneratorDataComponentClassName="PackagDetTableAdapter" Name="PackagDet" UserDataComponentName="PackagDetTableAdapter">
<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">
<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>
@@ -1597,7 +1597,7 @@ SELECT CodPackag, PackagDesc, RMCost, RMWeight FROM PackagDet WHERE (CodPackag =
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AgentsDetTableAdapter" GeneratorDataComponentClassName="AgentsDetTableAdapter" Name="AgentsDet" UserDataComponentName="AgentsDetTableAdapter">
<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">
<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>
@@ -1696,7 +1696,7 @@ SELECT CodAg, Lastname, Firstname, QuotaProvvAg FROM AgentsDet WHERE (CodAg = @C
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PlantsDetTableAdapter" GeneratorDataComponentClassName="PlantsDetTableAdapter" Name="PlantsDet" UserDataComponentName="PlantsDetTableAdapter">
<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">
<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>
@@ -1786,6 +1786,229 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</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_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_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>
@@ -1794,7 +2017,7 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
<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_RowChangedName="QuoteListRowChanged" msprop:Generator_TablePropName="QuoteList" msprop:Generator_RowDeletingName="QuoteListRowDeleting" msprop:Generator_RowChangingName="QuoteListRowChanging" msprop:Generator_RowEvHandlerName="QuoteListRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteListRowDeleted" msprop:Generator_RowClassName="QuoteListRow" msprop:Generator_UserTableName="QuoteList" msprop:Generator_RowEvArgName="QuoteListRowChangeEvent">
<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">
@@ -1925,7 +2148,7 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteRM" msprop:Generator_TableClassName="QuoteRMDataTable" msprop:Generator_TableVarName="tableQuoteRM" msprop:Generator_RowChangedName="QuoteRMRowChanged" msprop:Generator_TablePropName="QuoteRM" msprop:Generator_RowDeletingName="QuoteRMRowDeleting" msprop:Generator_RowChangingName="QuoteRMRowChanging" msprop:Generator_RowEvHandlerName="QuoteRMRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteRMRowDeleted" msprop:Generator_RowClassName="QuoteRMRow" msprop:Generator_UserTableName="QuoteRM" msprop:Generator_RowEvArgName="QuoteRMRowChangeEvent">
<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">
@@ -1961,7 +2184,7 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteWorkExt" msprop:Generator_TableClassName="QuoteWorkExtDataTable" msprop:Generator_TableVarName="tableQuoteWorkExt" msprop:Generator_RowChangedName="QuoteWorkExtRowChanged" msprop:Generator_TablePropName="QuoteWorkExt" msprop:Generator_RowDeletingName="QuoteWorkExtRowDeleting" msprop:Generator_RowChangingName="QuoteWorkExtRowChanging" msprop:Generator_RowEvHandlerName="QuoteWorkExtRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteWorkExtRowDeleted" msprop:Generator_RowClassName="QuoteWorkExtRow" msprop:Generator_UserTableName="QuoteWorkExt" msprop:Generator_RowEvArgName="QuoteWorkExtRowChangeEvent">
<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">
@@ -1986,7 +2209,7 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteWorkInt" msprop:Generator_TableClassName="QuoteWorkIntDataTable" msprop:Generator_TableVarName="tableQuoteWorkInt" msprop:Generator_RowChangedName="QuoteWorkIntRowChanged" msprop:Generator_TablePropName="QuoteWorkInt" msprop:Generator_RowDeletingName="QuoteWorkIntRowDeleting" msprop:Generator_RowChangingName="QuoteWorkIntRowChanging" msprop:Generator_RowEvHandlerName="QuoteWorkIntRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteWorkIntRowDeleted" msprop:Generator_RowClassName="QuoteWorkIntRow" msprop:Generator_UserTableName="QuoteWorkInt" msprop:Generator_RowEvArgName="QuoteWorkIntRowChangeEvent">
<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">
@@ -2066,7 +2289,7 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteParam" msprop:Generator_TableClassName="QuoteParamDataTable" msprop:Generator_TableVarName="tableQuoteParam" msprop:Generator_RowChangedName="QuoteParamRowChanged" msprop:Generator_TablePropName="QuoteParam" msprop:Generator_RowDeletingName="QuoteParamRowDeleting" msprop:Generator_RowChangingName="QuoteParamRowChanging" msprop:Generator_RowEvHandlerName="QuoteParamRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteParamRowDeleted" msprop:Generator_RowClassName="QuoteParamRow" msprop:Generator_UserTableName="QuoteParam" msprop:Generator_RowEvArgName="QuoteParamRowChangeEvent">
<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">
@@ -2103,7 +2326,7 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteOC" msprop:Generator_TableClassName="QuoteOCDataTable" msprop:Generator_TableVarName="tableQuoteOC" msprop:Generator_RowChangedName="QuoteOCRowChanged" msprop:Generator_TablePropName="QuoteOC" msprop:Generator_RowDeletingName="QuoteOCRowDeleting" msprop:Generator_RowChangingName="QuoteOCRowChanging" msprop:Generator_RowEvHandlerName="QuoteOCRowChangeEventHandler" msprop:Generator_RowDeletedName="QuoteOCRowDeleted" msprop:Generator_RowClassName="QuoteOCRow" msprop:Generator_UserTableName="QuoteOC" msprop:Generator_RowEvArgName="QuoteOCRowChangeEvent">
<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">
@@ -2173,7 +2396,7 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteFull_Q" msprop:Generator_TableClassName="QuoteFull_QDataTable" msprop:Generator_TableVarName="tableQuoteFull_Q" 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_UserTableName="QuoteFull_Q" msprop:Generator_RowChangedName="QuoteFull_QRowChanged" msprop:Generator_RowEvArgName="QuoteFull_QRowChangeEvent" msprop:Generator_RowClassName="QuoteFull_QRow">
<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">
@@ -2456,7 +2679,7 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="QuoteFull_S" msprop:Generator_TableClassName="QuoteFull_SDataTable" msprop:Generator_TableVarName="tableQuoteFull_S" msprop:Generator_RowChangedName="QuoteFull_SRowChanged" 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_RowClassName="QuoteFull_SRow" msprop:Generator_UserTableName="QuoteFull_S" msprop:Generator_RowEvArgName="QuoteFull_SRowChangeEvent">
<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">
@@ -2723,7 +2946,7 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RawMatDet" msprop:Generator_TableClassName="RawMatDetDataTable" msprop:Generator_TableVarName="tableRawMatDet" msprop:Generator_TablePropName="RawMatDet" msprop:Generator_RowDeletingName="RawMatDetRowDeleting" msprop:Generator_RowChangingName="RawMatDetRowChanging" msprop:Generator_RowEvHandlerName="RawMatDetRowChangeEventHandler" msprop:Generator_RowDeletedName="RawMatDetRowDeleted" msprop:Generator_UserTableName="RawMatDet" msprop:Generator_RowChangedName="RawMatDetRowChanged" msprop:Generator_RowEvArgName="RawMatDetRowChangeEvent" msprop:Generator_RowClassName="RawMatDetRow">
<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">
@@ -2744,7 +2967,7 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StdCostList" msprop:Generator_TableClassName="StdCostListDataTable" msprop:Generator_TableVarName="tableStdCostList" msprop:Generator_RowChangedName="StdCostListRowChanged" msprop:Generator_TablePropName="StdCostList" msprop:Generator_RowDeletingName="StdCostListRowDeleting" msprop:Generator_RowChangingName="StdCostListRowChanging" msprop:Generator_RowEvHandlerName="StdCostListRowChangeEventHandler" msprop:Generator_RowDeletedName="StdCostListRowDeleted" msprop:Generator_RowClassName="StdCostListRow" msprop:Generator_UserTableName="StdCostList" msprop:Generator_RowEvArgName="StdCostListRowChangeEvent">
<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">
@@ -2817,14 +3040,14 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_checkValidQuote" msprop:Generator_TableClassName="stp_checkValidQuoteDataTable" msprop:Generator_TableVarName="tablestp_checkValidQuote" msprop:Generator_RowChangedName="stp_checkValidQuoteRowChanged" 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_RowClassName="stp_checkValidQuoteRow" msprop:Generator_UserTableName="stp_checkValidQuote" msprop:Generator_RowEvArgName="stp_checkValidQuoteRowChangeEvent">
<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_RowChangedName="prtQuoteRowChanged" msprop:Generator_TablePropName="prtQuote" msprop:Generator_RowDeletingName="prtQuoteRowDeleting" msprop:Generator_RowChangingName="prtQuoteRowChanging" msprop:Generator_RowEvHandlerName="prtQuoteRowChangeEventHandler" msprop:Generator_RowDeletedName="prtQuoteRowDeleted" msprop:Generator_RowClassName="prtQuoteRow" msprop:Generator_UserTableName="prtQuote" msprop:Generator_RowEvArgName="prtQuoteRowChangeEvent">
<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">
@@ -3142,14 +3365,14 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_chekLastRevQuote" msprop:Generator_TableClassName="stp_chekLastRevQuoteDataTable" msprop:Generator_TableVarName="tablestp_chekLastRevQuote" msprop:Generator_RowChangedName="stp_chekLastRevQuoteRowChanged" 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_RowClassName="stp_chekLastRevQuoteRow" msprop:Generator_UserTableName="stp_chekLastRevQuote" msprop:Generator_RowEvArgName="stp_chekLastRevQuoteRowChangeEvent">
<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_TablePropName="PackagDet" msprop:Generator_RowDeletingName="PackagDetRowDeleting" msprop:Generator_RowChangingName="PackagDetRowChanging" msprop:Generator_RowEvHandlerName="PackagDetRowChangeEventHandler" msprop:Generator_RowDeletedName="PackagDetRowDeleted" msprop:Generator_UserTableName="PackagDet" msprop:Generator_RowChangedName="PackagDetRowChanged" msprop:Generator_RowEvArgName="PackagDetRowChangeEvent" msprop:Generator_RowClassName="PackagDetRow">
<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">
@@ -3171,7 +3394,7 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AgentsDet" msprop:Generator_TableClassName="AgentsDetDataTable" msprop:Generator_TableVarName="tableAgentsDet" msprop:Generator_TablePropName="AgentsDet" msprop:Generator_RowDeletingName="AgentsDetRowDeleting" msprop:Generator_RowChangingName="AgentsDetRowChanging" msprop:Generator_RowEvHandlerName="AgentsDetRowChangeEventHandler" msprop:Generator_RowDeletedName="AgentsDetRowDeleted" msprop:Generator_UserTableName="AgentsDet" msprop:Generator_RowChangedName="AgentsDetRowChanged" msprop:Generator_RowEvArgName="AgentsDetRowChangeEvent" msprop:Generator_RowClassName="AgentsDetRow">
<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">
@@ -3199,7 +3422,7 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PlantsDet" msprop:Generator_TableClassName="PlantsDetDataTable" msprop:Generator_TableVarName="tablePlantsDet" msprop:Generator_TablePropName="PlantsDet" msprop:Generator_RowDeletingName="PlantsDetRowDeleting" msprop:Generator_RowChangingName="PlantsDetRowChanging" msprop:Generator_RowEvHandlerName="PlantsDetRowChangeEventHandler" msprop:Generator_RowDeletedName="PlantsDetRowDeleted" msprop:Generator_UserTableName="PlantsDet" msprop:Generator_RowChangedName="PlantsDetRowChanged" msprop:Generator_RowEvArgName="PlantsDetRowChangeEvent" msprop:Generator_RowClassName="PlantsDetRow">
<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">
@@ -3220,6 +3443,53 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
</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">
@@ -3291,14 +3561,25 @@ SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)</C
<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_RelationVarName="relationFK_QuoteRM_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
<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_RelationVarName="relationFK_QuoteWorkExt_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
<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_RelationVarName="relationFK_QuoteWorkInt_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
<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_RelationVarName="relationFK_QuoteParam_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
<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_RelationVarName="relationFK_QuoteExtra_QuoteList" msprop:Generator_UserParentTable="QuoteList" msprop:Generator_ParentPropName="QuoteListRowParent" />
<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>
+39 -29
View File
@@ -4,27 +4,29 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="21" ViewPortY="399" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="132" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:QuoteList" ZOrder="9" X="462" Y="129" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="275" />
<Shape ID="DesignTable:QuoteRM" ZOrder="19" X="122" Y="271" Height="324" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteWorkExt" ZOrder="20" X="102" Y="35" Height="210" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:QuoteWorkInt" ZOrder="18" X="858" Y="10" Height="305" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteParam" ZOrder="16" X="486" Y="720" Height="210" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:QuoteOC" ZOrder="14" X="889" Y="418" Height="305" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteFull_Q" ZOrder="1" X="40" Y="606" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteFull_S" ZOrder="11" X="854" Y="760" Height="305" Width="213" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:RawMatDet" ZOrder="6" X="375" Y="1008" Height="324" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:StdCostList" ZOrder="10" X="981" Y="1087" Height="343" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:stp_checkValidQuote" ZOrder="8" X="49" Y="1096" Height="96" Width="223" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:prtQuote" ZOrder="5" X="685" Y="1103" Height="305" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:stp_chekLastRevQuote" ZOrder="7" X="68" Y="1321" Height="96" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:PackagDet" ZOrder="4" X="1120" Y="752" Height="210" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:AgentsDet" ZOrder="3" X="1146" Y="477" Height="210" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PlantsDet" ZOrder="2" X="1111" Y="248" Height="191" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:QuoteList" ZOrder="13" X="462" Y="129" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="275" />
<Shape ID="DesignTable:QuoteRM" ZOrder="22" X="122" Y="271" Height="324" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteWorkExt" ZOrder="23" X="102" Y="35" Height="210" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:QuoteWorkInt" ZOrder="21" X="858" Y="10" Height="305" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteParam" ZOrder="19" X="486" Y="720" Height="210" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:QuoteOC" ZOrder="17" X="889" Y="418" Height="305" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteFull_Q" ZOrder="6" X="40" Y="606" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:QuoteFull_S" ZOrder="14" X="854" Y="760" Height="305" Width="213" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:RawMatDet" ZOrder="10" X="375" Y="1008" Height="324" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:StdCostList" ZOrder="2" X="898" Y="1081" Height="343" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:stp_checkValidQuote" ZOrder="12" X="71" Y="1093" Height="96" Width="223" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:prtQuote" ZOrder="9" X="685" Y="1103" Height="305" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:stp_chekLastRevQuote" ZOrder="11" X="56" Y="1217" Height="96" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:PackagDet" ZOrder="1" X="1126" Y="785" Height="210" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:AgentsDet" ZOrder="8" X="1161" Y="547" Height="210" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PlantsDet" ZOrder="7" X="1127" Y="346" Height="191" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:Utilities" ZOrder="5" X="1136" Y="984" Height="191" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:Cost2Plant" ZOrder="4" X="1124" Y="16" Height="286" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_QuoteRM_QuoteList" ZOrder="21" LineWidth="11">
<Connector ID="DesignRelation:FK_QuoteRM_QuoteList" ZOrder="24" LineWidth="11">
<RoutePoints>
<Point>
<X>462</X>
@@ -36,7 +38,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_QuoteWorkExt_QuoteList" ZOrder="12" LineWidth="11">
<Connector ID="DesignRelation:FK_QuoteWorkExt_QuoteList" ZOrder="15" LineWidth="11">
<RoutePoints>
<Point>
<X>462</X>
@@ -48,7 +50,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_QuoteWorkInt_QuoteList" ZOrder="17" LineWidth="11">
<Connector ID="DesignRelation:FK_QuoteWorkInt_QuoteList" ZOrder="20" LineWidth="11">
<RoutePoints>
<Point>
<X>645</X>
@@ -64,7 +66,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_QuoteParam_QuoteList" ZOrder="15" LineWidth="11">
<Connector ID="DesignRelation:FK_QuoteParam_QuoteList" ZOrder="18" LineWidth="11">
<RoutePoints>
<Point>
<X>559</X>
@@ -76,19 +78,27 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_QuoteExtra_QuoteList" ZOrder="13" LineWidth="11">
<Connector ID="DesignRelation:FK_QuoteExtra_QuoteList" ZOrder="16" LineWidth="11">
<RoutePoints>
<Point>
<X>745</X>
<Y>586</Y>
</Point>
<Point>
<X>745</X>
<Y>594</Y>
<X>762</X>
<Y>525</Y>
</Point>
<Point>
<X>889</X>
<Y>594</Y>
<Y>525</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Cost2Plant_PlantsDet" ZOrder="3" LineWidth="11">
<RoutePoints>
<Point>
<X>1250</X>
<Y>346</Y>
</Point>
<Point>
<X>1250</X>
<Y>302</Y>
</Point>
</RoutePoints>
</Connector>
+2 -13
View File
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -12,7 +12,7 @@ namespace C2P_Data.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -34,16 +34,5 @@ namespace C2P_Data.Properties {
return ((string)(this["C2PConnectionString"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.74.82.217\\SQL2008R2;Initial Catalog=C2P_Data;Persist Security Info" +
"=True;User ID=sa;Password=keyhammer")]
public string C2P_DataConnectionString {
get {
return ((string)(this["C2P_DataConnectionString"]));
}
}
}
}
-8
View File
@@ -10,13 +10,5 @@
&lt;/SerializableConnectionString&gt;</DesignTimeValue>
<Value Profile="(Default)">Data Source=10.74.82.217\SQL2008R2;Initial Catalog=C2P;Persist Security Info=True;User ID=sa;Password=keyhammer;MultipleActiveResultSets=True;Application Name=EntityFramework</Value>
</Setting>
<Setting Name="C2P_DataConnectionString" Type="(Connection string)" Scope="Application">
<DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;ConnectionString&gt;Data Source=10.74.82.217\SQL2008R2;Initial Catalog=C2P_Data;Persist Security Info=True;User ID=sa;Password=keyhammer&lt;/ConnectionString&gt;
&lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
&lt;/SerializableConnectionString&gt;</DesignTimeValue>
<Value Profile="(Default)">Data Source=10.74.82.217\SQL2008R2;Initial Catalog=C2P_Data;Persist Security Info=True;User ID=sa;Password=keyhammer</Value>
</Setting>
</Settings>
</SettingsFile>
Binary file not shown.
Binary file not shown.
Binary file not shown.