diff --git a/C2P/WebUserControls/mod_S_Header.ascx.cs b/C2P/WebUserControls/mod_S_Header.ascx.cs index 12ac68b..0d503aa 100644 --- a/C2P/WebUserControls/mod_S_Header.ascx.cs +++ b/C2P/WebUserControls/mod_S_Header.ascx.cs @@ -88,19 +88,19 @@ namespace C2P.WebUserControls else { // mostro errore - lblError.Text = traduci("[ERR-QUO-003]"); + lblError.Text = traduci("[ERR-SIM-003]"); } } else { // mostro errore... - lblError.Text = traduci("[ERR-QUO-002]"); + lblError.Text = traduci("[ERR-SIM-002]"); } } catch { // mostro errore - lblError.Text = traduci("[ERR-QUO-001]"); + lblError.Text = traduci("[ERR-SIM-001]"); } lblError.Visible = true; setInsertMode(); diff --git a/C2P/bin/C2P.dll b/C2P/bin/C2P.dll index d437e83..58810b7 100644 Binary files a/C2P/bin/C2P.dll and b/C2P/bin/C2P.dll differ diff --git a/C2P/bin/C2P_Data.dll b/C2P/bin/C2P_Data.dll index 5c0b35a..db36d58 100644 Binary files a/C2P/bin/C2P_Data.dll and b/C2P/bin/C2P_Data.dll differ diff --git a/C2P/bin/SteamWare.dll b/C2P/bin/SteamWare.dll index fbc9e49..5f91a2c 100644 Binary files a/C2P/bin/SteamWare.dll and b/C2P/bin/SteamWare.dll differ diff --git a/C2P_Data/DS_Quotes.Designer.cs b/C2P_Data/DS_Quotes.Designer.cs index 0bf18c2..7c5aecf 100644 --- a/C2P_Data/DS_Quotes.Designer.cs +++ b/C2P_Data/DS_Quotes.Designer.cs @@ -38,6 +38,8 @@ namespace C2P_Data { private QuoteFull_QDataTable tableQuoteFull_Q; + private QuoteFull_SDataTable tableQuoteFull_S; + private global::System.Data.DataRelation relationFK_QuoteRM_QuoteList; private global::System.Data.DataRelation relationFK_QuoteWorkExt_QuoteList; @@ -97,6 +99,9 @@ namespace C2P_Data { if ((ds.Tables["QuoteFull_Q"] != null)) { base.Tables.Add(new QuoteFull_QDataTable(ds.Tables["QuoteFull_Q"])); } + if ((ds.Tables["QuoteFull_S"] != null)) { + base.Tables.Add(new QuoteFull_SDataTable(ds.Tables["QuoteFull_S"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -185,6 +190,16 @@ namespace C2P_Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public QuoteFull_SDataTable QuoteFull_S { + get { + return this.tableQuoteFull_S; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -273,6 +288,9 @@ namespace C2P_Data { if ((ds.Tables["QuoteFull_Q"] != null)) { base.Tables.Add(new QuoteFull_QDataTable(ds.Tables["QuoteFull_Q"])); } + if ((ds.Tables["QuoteFull_S"] != null)) { + base.Tables.Add(new QuoteFull_SDataTable(ds.Tables["QuoteFull_S"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -348,6 +366,12 @@ namespace C2P_Data { this.tableQuoteFull_Q.InitVars(); } } + this.tableQuoteFull_S = ((QuoteFull_SDataTable)(base.Tables["QuoteFull_S"])); + if ((initTable == true)) { + if ((this.tableQuoteFull_S != null)) { + this.tableQuoteFull_S.InitVars(); + } + } this.relationFK_QuoteRM_QuoteList = this.Relations["FK_QuoteRM_QuoteList"]; this.relationFK_QuoteWorkExt_QuoteList = this.Relations["FK_QuoteWorkExt_QuoteList"]; this.relationFK_QuoteWorkInt_QuoteList = this.Relations["FK_QuoteWorkInt_QuoteList"]; @@ -377,6 +401,8 @@ namespace C2P_Data { base.Tables.Add(this.tableQuoteOC); this.tableQuoteFull_Q = new QuoteFull_QDataTable(); base.Tables.Add(this.tableQuoteFull_Q); + this.tableQuoteFull_S = new QuoteFull_SDataTable(); + base.Tables.Add(this.tableQuoteFull_S); this.relationFK_QuoteRM_QuoteList = new global::System.Data.DataRelation("FK_QuoteRM_QuoteList", new global::System.Data.DataColumn[] { this.tableQuoteList.QuoteTypeColumn, this.tableQuoteList.CodQuoteColumn, @@ -461,6 +487,12 @@ namespace C2P_Data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeQuoteFull_S() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -537,6 +569,9 @@ namespace C2P_Data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void QuoteFull_QRowChangeEventHandler(object sender, QuoteFull_QRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void QuoteFull_SRowChangeEventHandler(object sender, QuoteFull_SRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -5007,6 +5042,1654 @@ namespace C2P_Data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class QuoteFull_SDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnVers; + + private global::System.Data.DataColumn columnQuoteType; + + private global::System.Data.DataColumn columnCodQuote; + + private global::System.Data.DataColumn columnQuoteRev; + + private global::System.Data.DataColumn columnIdxQState; + + private global::System.Data.DataColumn columnCodClient; + + private global::System.Data.DataColumn columnClientName; + + private global::System.Data.DataColumn columnCodItem; + + private global::System.Data.DataColumn columnCodItemGroup; + + private global::System.Data.DataColumn columnRawMat; + + private global::System.Data.DataColumn columnUnitWeight; + + private global::System.Data.DataColumn columnBatchQty; + + private global::System.Data.DataColumn columnCodInco; + + private global::System.Data.DataColumn columnTranspZone; + + private global::System.Data.DataColumn columnKeyAM; + + private global::System.Data.DataColumn columnNote; + + private global::System.Data.DataColumn columnPriceOff; + + private global::System.Data.DataColumn columnCodClientAssoc; + + private global::System.Data.DataColumn columnClientNameAssoc; + + private global::System.Data.DataColumn columnItemDescr; + + private global::System.Data.DataColumn columnCodifProfilo; + + private global::System.Data.DataColumn columnClasseMerc; + + private global::System.Data.DataColumn columnTipoDies; + + private global::System.Data.DataColumn columnCodDiesGroup; + + private global::System.Data.DataColumn columnDiamDies; + + private global::System.Data.DataColumn columnHoleNumDies; + + private global::System.Data.DataColumn columnDiesPrice_avg; + + private global::System.Data.DataColumn columnDiesPrice; + + private global::System.Data.DataColumn columnSamplePrice; + + private global::System.Data.DataColumn columnDiesFullCost; + + private global::System.Data.DataColumn columnDiesPriceClientQuote; + + private global::System.Data.DataColumn columnDiesExpLife; + + private global::System.Data.DataColumn columnDiesEOLife; + + private global::System.Data.DataColumn columnDiesTecLife; + + private global::System.Data.DataColumn columnDiesCommLife; + + private global::System.Data.DataColumn columnMonthSalesPrev; + + private global::System.Data.DataColumn columnSalesPrevCost; + + private global::System.Data.DataColumn columnDiesFinCost; + + private global::System.Data.DataColumn columnClientQuoteReven; + + private global::System.Data.DataColumn columnExtraDiscountDies; + + private global::System.Data.DataColumn columnDiesByClass; + + private global::System.Data.DataColumn columnNumDiesInList; + + private global::System.Data.DataColumn columnNumDiesExaust; + + private global::System.Data.DataColumn columnCodPlant; + + private global::System.Data.DataColumn columnKeyAMIL; + + private global::System.Data.DataColumn columnKgTeo; + + private global::System.Data.DataColumn columnNumSMED; + + private global::System.Data.DataColumn columnQuotaMan; + + private global::System.Data.DataColumn columnPRMWeight; + + private global::System.Data.DataColumn columnPWeight; + + private global::System.Data.DataColumn columnPTare; + + private global::System.Data.DataColumn columnLivPackage; + + private global::System.Data.DataColumn columnLivPackageDett; + + private global::System.Data.DataColumn columnRawMatCost; + + private global::System.Data.DataColumn columnRawMatExtraCost; + + private global::System.Data.DataColumn columnRawMatFullCost; + + private global::System.Data.DataColumn columnCodPackag; + + private global::System.Data.DataColumn columnPkgDesc; + + private global::System.Data.DataColumn columnFSR; + + private global::System.Data.DataColumn columnProvvCost; + + private global::System.Data.DataColumn columnEECost; + + private global::System.Data.DataColumn columnGasCost; + + private global::System.Data.DataColumn columnDiesCost; + + private global::System.Data.DataColumn columnPackCost; + + private global::System.Data.DataColumn columnTranspCost; + + private global::System.Data.DataColumn columnSellCost01; + + private global::System.Data.DataColumn columnRefCost01; + + private global::System.Data.DataColumn columnSellCost04; + + private global::System.Data.DataColumn columnRefCost04; + + private global::System.Data.DataColumn columnWSR01_avg; + + private global::System.Data.DataColumn columnWSR01; + + private global::System.Data.DataColumn columnMSR01_avg; + + private global::System.Data.DataColumn columnMSR01; + + private global::System.Data.DataColumn columnNetProd01_avg; + + private global::System.Data.DataColumn columnNetProd01; + + private global::System.Data.DataColumn columnFC4UG01; + + private global::System.Data.DataColumn columnVC4UG01; + + private global::System.Data.DataColumn columnOH4UG01; + + private global::System.Data.DataColumn columnSC4UG01; + + private global::System.Data.DataColumn columnDSR_avg; + + private global::System.Data.DataColumn columnDSR; + + private global::System.Data.DataColumn columnNetProd04; + + private global::System.Data.DataColumn columnFC4UG04; + + private global::System.Data.DataColumn columnVC4UG04; + + private global::System.Data.DataColumn columnFVC; + + private global::System.Data.DataColumn columnCharge; + + private global::System.Data.DataColumn columnvalid; + + private global::System.Data.DataColumn columnerrorScore; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public QuoteFull_SDataTable() { + this.TableName = "QuoteFull_S"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal QuoteFull_SDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected QuoteFull_SDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn VersColumn { + get { + return this.columnVers; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QuoteTypeColumn { + get { + return this.columnQuoteType; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodQuoteColumn { + get { + return this.columnCodQuote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QuoteRevColumn { + get { + return this.columnQuoteRev; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IdxQStateColumn { + get { + return this.columnIdxQState; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClientColumn { + get { + return this.columnCodClient; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ClientNameColumn { + get { + return this.columnClientName; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodItemColumn { + get { + return this.columnCodItem; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodItemGroupColumn { + get { + return this.columnCodItemGroup; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RawMatColumn { + get { + return this.columnRawMat; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn UnitWeightColumn { + get { + return this.columnUnitWeight; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn BatchQtyColumn { + get { + return this.columnBatchQty; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodIncoColumn { + get { + return this.columnCodInco; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TranspZoneColumn { + get { + return this.columnTranspZone; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn KeyAMColumn { + get { + return this.columnKeyAM; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PriceOffColumn { + get { + return this.columnPriceOff; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodClientAssocColumn { + get { + return this.columnCodClientAssoc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ClientNameAssocColumn { + get { + return this.columnClientNameAssoc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ItemDescrColumn { + get { + return this.columnItemDescr; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodifProfiloColumn { + get { + return this.columnCodifProfilo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ClasseMercColumn { + get { + return this.columnClasseMerc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TipoDiesColumn { + get { + return this.columnTipoDies; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodDiesGroupColumn { + get { + return this.columnCodDiesGroup; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DiamDiesColumn { + get { + return this.columnDiamDies; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn HoleNumDiesColumn { + get { + return this.columnHoleNumDies; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DiesPrice_avgColumn { + get { + return this.columnDiesPrice_avg; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DiesPriceColumn { + get { + return this.columnDiesPrice; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn SamplePriceColumn { + get { + return this.columnSamplePrice; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DiesFullCostColumn { + get { + return this.columnDiesFullCost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DiesPriceClientQuoteColumn { + get { + return this.columnDiesPriceClientQuote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DiesExpLifeColumn { + get { + return this.columnDiesExpLife; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DiesEOLifeColumn { + get { + return this.columnDiesEOLife; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DiesTecLifeColumn { + get { + return this.columnDiesTecLife; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DiesCommLifeColumn { + get { + return this.columnDiesCommLife; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn MonthSalesPrevColumn { + get { + return this.columnMonthSalesPrev; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn SalesPrevCostColumn { + get { + return this.columnSalesPrevCost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DiesFinCostColumn { + get { + return this.columnDiesFinCost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ClientQuoteRevenColumn { + get { + return this.columnClientQuoteReven; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ExtraDiscountDiesColumn { + get { + return this.columnExtraDiscountDies; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DiesByClassColumn { + get { + return this.columnDiesByClass; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumDiesInListColumn { + get { + return this.columnNumDiesInList; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumDiesExaustColumn { + get { + return this.columnNumDiesExaust; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodPlantColumn { + get { + return this.columnCodPlant; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn KeyAMILColumn { + get { + return this.columnKeyAMIL; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn KgTeoColumn { + get { + return this.columnKgTeo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumSMEDColumn { + get { + return this.columnNumSMED; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn QuotaManColumn { + get { + return this.columnQuotaMan; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PRMWeightColumn { + get { + return this.columnPRMWeight; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PWeightColumn { + get { + return this.columnPWeight; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PTareColumn { + get { + return this.columnPTare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LivPackageColumn { + get { + return this.columnLivPackage; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn LivPackageDettColumn { + get { + return this.columnLivPackageDett; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RawMatCostColumn { + get { + return this.columnRawMatCost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RawMatExtraCostColumn { + get { + return this.columnRawMatExtraCost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RawMatFullCostColumn { + get { + return this.columnRawMatFullCost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CodPackagColumn { + get { + return this.columnCodPackag; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PkgDescColumn { + get { + return this.columnPkgDesc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FSRColumn { + get { + return this.columnFSR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ProvvCostColumn { + get { + return this.columnProvvCost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EECostColumn { + get { + return this.columnEECost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn GasCostColumn { + get { + return this.columnGasCost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DiesCostColumn { + get { + return this.columnDiesCost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PackCostColumn { + get { + return this.columnPackCost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn TranspCostColumn { + get { + return this.columnTranspCost; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn SellCost01Column { + get { + return this.columnSellCost01; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RefCost01Column { + get { + return this.columnRefCost01; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn SellCost04Column { + get { + return this.columnSellCost04; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn RefCost04Column { + get { + return this.columnRefCost04; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn WSR01_avgColumn { + get { + return this.columnWSR01_avg; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn WSR01Column { + get { + return this.columnWSR01; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn MSR01_avgColumn { + get { + return this.columnMSR01_avg; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn MSR01Column { + get { + return this.columnMSR01; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NetProd01_avgColumn { + get { + return this.columnNetProd01_avg; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NetProd01Column { + get { + return this.columnNetProd01; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FC4UG01Column { + get { + return this.columnFC4UG01; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn VC4UG01Column { + get { + return this.columnVC4UG01; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn OH4UG01Column { + get { + return this.columnOH4UG01; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn SC4UG01Column { + get { + return this.columnSC4UG01; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DSR_avgColumn { + get { + return this.columnDSR_avg; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DSRColumn { + get { + return this.columnDSR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NetProd04Column { + get { + return this.columnNetProd04; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FC4UG04Column { + get { + return this.columnFC4UG04; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn VC4UG04Column { + get { + return this.columnVC4UG04; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn FVCColumn { + get { + return this.columnFVC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ChargeColumn { + get { + return this.columnCharge; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn validColumn { + get { + return this.columnvalid; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn errorScoreColumn { + get { + return this.columnerrorScore; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public QuoteFull_SRow this[int index] { + get { + return ((QuoteFull_SRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event QuoteFull_SRowChangeEventHandler QuoteFull_SRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event QuoteFull_SRowChangeEventHandler QuoteFull_SRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event QuoteFull_SRowChangeEventHandler QuoteFull_SRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event QuoteFull_SRowChangeEventHandler QuoteFull_SRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddQuoteFull_SRow(QuoteFull_SRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public QuoteFull_SRow AddQuoteFull_SRow( + string Vers, + string QuoteType, + long CodQuote, + int QuoteRev, + int IdxQState, + string CodClient, + string ClientName, + string CodItem, + string CodItemGroup, + string RawMat, + decimal UnitWeight, + int BatchQty, + string CodInco, + string TranspZone, + string KeyAM, + string Note, + decimal PriceOff, + string CodClientAssoc, + string ClientNameAssoc, + string ItemDescr, + string CodifProfilo, + string ClasseMerc, + string TipoDies, + string CodDiesGroup, + decimal DiamDies, + int HoleNumDies, + decimal DiesPrice_avg, + decimal DiesPrice, + decimal SamplePrice, + decimal DiesFullCost, + decimal DiesPriceClientQuote, + decimal DiesExpLife, + decimal DiesEOLife, + decimal DiesTecLife, + decimal DiesCommLife, + int MonthSalesPrev, + decimal SalesPrevCost, + decimal DiesFinCost, + decimal ClientQuoteReven, + decimal ExtraDiscountDies, + bool DiesByClass, + decimal NumDiesInList, + decimal NumDiesExaust, + string CodPlant, + string KeyAMIL, + decimal KgTeo, + decimal NumSMED, + decimal QuotaMan, + decimal PRMWeight, + decimal PWeight, + decimal PTare, + string LivPackage, + string LivPackageDett, + decimal RawMatCost, + decimal RawMatExtraCost, + decimal RawMatFullCost, + string CodPackag, + string PkgDesc, + decimal FSR, + decimal ProvvCost, + decimal EECost, + decimal GasCost, + decimal DiesCost, + decimal PackCost, + decimal TranspCost, + decimal SellCost01, + decimal RefCost01, + decimal SellCost04, + decimal RefCost04, + decimal WSR01_avg, + decimal WSR01, + decimal MSR01_avg, + decimal MSR01, + decimal NetProd01_avg, + decimal NetProd01, + decimal FC4UG01, + decimal VC4UG01, + decimal OH4UG01, + decimal SC4UG01, + decimal DSR_avg, + decimal DSR, + decimal NetProd04, + decimal FC4UG04, + decimal VC4UG04, + decimal FVC, + decimal Charge, + bool valid, + int errorScore) { + QuoteFull_SRow rowQuoteFull_SRow = ((QuoteFull_SRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + Vers, + QuoteType, + CodQuote, + QuoteRev, + IdxQState, + CodClient, + ClientName, + CodItem, + CodItemGroup, + RawMat, + UnitWeight, + BatchQty, + CodInco, + TranspZone, + KeyAM, + Note, + PriceOff, + CodClientAssoc, + ClientNameAssoc, + ItemDescr, + CodifProfilo, + ClasseMerc, + TipoDies, + CodDiesGroup, + DiamDies, + HoleNumDies, + DiesPrice_avg, + DiesPrice, + SamplePrice, + DiesFullCost, + DiesPriceClientQuote, + DiesExpLife, + DiesEOLife, + DiesTecLife, + DiesCommLife, + MonthSalesPrev, + SalesPrevCost, + DiesFinCost, + ClientQuoteReven, + ExtraDiscountDies, + DiesByClass, + NumDiesInList, + NumDiesExaust, + CodPlant, + KeyAMIL, + KgTeo, + NumSMED, + QuotaMan, + PRMWeight, + PWeight, + PTare, + LivPackage, + LivPackageDett, + RawMatCost, + RawMatExtraCost, + RawMatFullCost, + CodPackag, + PkgDesc, + FSR, + ProvvCost, + EECost, + GasCost, + DiesCost, + PackCost, + TranspCost, + SellCost01, + RefCost01, + SellCost04, + RefCost04, + WSR01_avg, + WSR01, + MSR01_avg, + MSR01, + NetProd01_avg, + NetProd01, + FC4UG01, + VC4UG01, + OH4UG01, + SC4UG01, + DSR_avg, + DSR, + NetProd04, + FC4UG04, + VC4UG04, + FVC, + Charge, + valid, + errorScore}; + rowQuoteFull_SRow.ItemArray = columnValuesArray; + this.Rows.Add(rowQuoteFull_SRow); + return rowQuoteFull_SRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public QuoteFull_SRow FindByQuoteTypeCodQuoteQuoteRev(string QuoteType, long CodQuote, int QuoteRev) { + return ((QuoteFull_SRow)(this.Rows.Find(new object[] { + QuoteType, + CodQuote, + QuoteRev}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + QuoteFull_SDataTable cln = ((QuoteFull_SDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new QuoteFull_SDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnVers = base.Columns["Vers"]; + this.columnQuoteType = base.Columns["QuoteType"]; + this.columnCodQuote = base.Columns["CodQuote"]; + this.columnQuoteRev = base.Columns["QuoteRev"]; + this.columnIdxQState = base.Columns["IdxQState"]; + this.columnCodClient = base.Columns["CodClient"]; + this.columnClientName = base.Columns["ClientName"]; + this.columnCodItem = base.Columns["CodItem"]; + this.columnCodItemGroup = base.Columns["CodItemGroup"]; + this.columnRawMat = base.Columns["RawMat"]; + this.columnUnitWeight = base.Columns["UnitWeight"]; + this.columnBatchQty = base.Columns["BatchQty"]; + this.columnCodInco = base.Columns["CodInco"]; + this.columnTranspZone = base.Columns["TranspZone"]; + this.columnKeyAM = base.Columns["KeyAM"]; + this.columnNote = base.Columns["Note"]; + this.columnPriceOff = base.Columns["PriceOff"]; + this.columnCodClientAssoc = base.Columns["CodClientAssoc"]; + this.columnClientNameAssoc = base.Columns["ClientNameAssoc"]; + this.columnItemDescr = base.Columns["ItemDescr"]; + this.columnCodifProfilo = base.Columns["CodifProfilo"]; + this.columnClasseMerc = base.Columns["ClasseMerc"]; + this.columnTipoDies = base.Columns["TipoDies"]; + this.columnCodDiesGroup = base.Columns["CodDiesGroup"]; + this.columnDiamDies = base.Columns["DiamDies"]; + this.columnHoleNumDies = base.Columns["HoleNumDies"]; + this.columnDiesPrice_avg = base.Columns["DiesPrice_avg"]; + this.columnDiesPrice = base.Columns["DiesPrice"]; + this.columnSamplePrice = base.Columns["SamplePrice"]; + this.columnDiesFullCost = base.Columns["DiesFullCost"]; + this.columnDiesPriceClientQuote = base.Columns["DiesPriceClientQuote"]; + this.columnDiesExpLife = base.Columns["DiesExpLife"]; + this.columnDiesEOLife = base.Columns["DiesEOLife"]; + this.columnDiesTecLife = base.Columns["DiesTecLife"]; + this.columnDiesCommLife = base.Columns["DiesCommLife"]; + this.columnMonthSalesPrev = base.Columns["MonthSalesPrev"]; + this.columnSalesPrevCost = base.Columns["SalesPrevCost"]; + this.columnDiesFinCost = base.Columns["DiesFinCost"]; + this.columnClientQuoteReven = base.Columns["ClientQuoteReven"]; + this.columnExtraDiscountDies = base.Columns["ExtraDiscountDies"]; + this.columnDiesByClass = base.Columns["DiesByClass"]; + this.columnNumDiesInList = base.Columns["NumDiesInList"]; + this.columnNumDiesExaust = base.Columns["NumDiesExaust"]; + this.columnCodPlant = base.Columns["CodPlant"]; + this.columnKeyAMIL = base.Columns["KeyAMIL"]; + this.columnKgTeo = base.Columns["KgTeo"]; + this.columnNumSMED = base.Columns["NumSMED"]; + this.columnQuotaMan = base.Columns["QuotaMan"]; + this.columnPRMWeight = base.Columns["PRMWeight"]; + this.columnPWeight = base.Columns["PWeight"]; + this.columnPTare = base.Columns["PTare"]; + this.columnLivPackage = base.Columns["LivPackage"]; + this.columnLivPackageDett = base.Columns["LivPackageDett"]; + this.columnRawMatCost = base.Columns["RawMatCost"]; + this.columnRawMatExtraCost = base.Columns["RawMatExtraCost"]; + this.columnRawMatFullCost = base.Columns["RawMatFullCost"]; + this.columnCodPackag = base.Columns["CodPackag"]; + this.columnPkgDesc = base.Columns["PkgDesc"]; + this.columnFSR = base.Columns["FSR"]; + this.columnProvvCost = base.Columns["ProvvCost"]; + this.columnEECost = base.Columns["EECost"]; + this.columnGasCost = base.Columns["GasCost"]; + this.columnDiesCost = base.Columns["DiesCost"]; + this.columnPackCost = base.Columns["PackCost"]; + this.columnTranspCost = base.Columns["TranspCost"]; + this.columnSellCost01 = base.Columns["SellCost01"]; + this.columnRefCost01 = base.Columns["RefCost01"]; + this.columnSellCost04 = base.Columns["SellCost04"]; + this.columnRefCost04 = base.Columns["RefCost04"]; + this.columnWSR01_avg = base.Columns["WSR01_avg"]; + this.columnWSR01 = base.Columns["WSR01"]; + this.columnMSR01_avg = base.Columns["MSR01_avg"]; + this.columnMSR01 = base.Columns["MSR01"]; + this.columnNetProd01_avg = base.Columns["NetProd01_avg"]; + this.columnNetProd01 = base.Columns["NetProd01"]; + this.columnFC4UG01 = base.Columns["FC4UG01"]; + this.columnVC4UG01 = base.Columns["VC4UG01"]; + this.columnOH4UG01 = base.Columns["OH4UG01"]; + this.columnSC4UG01 = base.Columns["SC4UG01"]; + this.columnDSR_avg = base.Columns["DSR_avg"]; + this.columnDSR = base.Columns["DSR"]; + this.columnNetProd04 = base.Columns["NetProd04"]; + this.columnFC4UG04 = base.Columns["FC4UG04"]; + this.columnVC4UG04 = base.Columns["VC4UG04"]; + this.columnFVC = base.Columns["FVC"]; + this.columnCharge = base.Columns["Charge"]; + this.columnvalid = base.Columns["valid"]; + this.columnerrorScore = base.Columns["errorScore"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnVers = new global::System.Data.DataColumn("Vers", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnVers); + this.columnQuoteType = new global::System.Data.DataColumn("QuoteType", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQuoteType); + this.columnCodQuote = new global::System.Data.DataColumn("CodQuote", typeof(long), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodQuote); + this.columnQuoteRev = new global::System.Data.DataColumn("QuoteRev", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQuoteRev); + this.columnIdxQState = new global::System.Data.DataColumn("IdxQState", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIdxQState); + this.columnCodClient = new global::System.Data.DataColumn("CodClient", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodClient); + this.columnClientName = new global::System.Data.DataColumn("ClientName", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnClientName); + this.columnCodItem = new global::System.Data.DataColumn("CodItem", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodItem); + this.columnCodItemGroup = new global::System.Data.DataColumn("CodItemGroup", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodItemGroup); + this.columnRawMat = new global::System.Data.DataColumn("RawMat", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRawMat); + this.columnUnitWeight = new global::System.Data.DataColumn("UnitWeight", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUnitWeight); + this.columnBatchQty = new global::System.Data.DataColumn("BatchQty", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBatchQty); + this.columnCodInco = new global::System.Data.DataColumn("CodInco", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodInco); + this.columnTranspZone = new global::System.Data.DataColumn("TranspZone", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTranspZone); + this.columnKeyAM = new global::System.Data.DataColumn("KeyAM", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnKeyAM); + this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + this.columnPriceOff = new global::System.Data.DataColumn("PriceOff", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPriceOff); + this.columnCodClientAssoc = new global::System.Data.DataColumn("CodClientAssoc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodClientAssoc); + this.columnClientNameAssoc = new global::System.Data.DataColumn("ClientNameAssoc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnClientNameAssoc); + this.columnItemDescr = new global::System.Data.DataColumn("ItemDescr", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemDescr); + this.columnCodifProfilo = new global::System.Data.DataColumn("CodifProfilo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodifProfilo); + this.columnClasseMerc = new global::System.Data.DataColumn("ClasseMerc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnClasseMerc); + this.columnTipoDies = new global::System.Data.DataColumn("TipoDies", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTipoDies); + this.columnCodDiesGroup = new global::System.Data.DataColumn("CodDiesGroup", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodDiesGroup); + this.columnDiamDies = new global::System.Data.DataColumn("DiamDies", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDiamDies); + this.columnHoleNumDies = new global::System.Data.DataColumn("HoleNumDies", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnHoleNumDies); + this.columnDiesPrice_avg = new global::System.Data.DataColumn("DiesPrice_avg", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDiesPrice_avg); + this.columnDiesPrice = new global::System.Data.DataColumn("DiesPrice", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDiesPrice); + this.columnSamplePrice = new global::System.Data.DataColumn("SamplePrice", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSamplePrice); + this.columnDiesFullCost = new global::System.Data.DataColumn("DiesFullCost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDiesFullCost); + this.columnDiesPriceClientQuote = new global::System.Data.DataColumn("DiesPriceClientQuote", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDiesPriceClientQuote); + this.columnDiesExpLife = new global::System.Data.DataColumn("DiesExpLife", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDiesExpLife); + this.columnDiesEOLife = new global::System.Data.DataColumn("DiesEOLife", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDiesEOLife); + this.columnDiesTecLife = new global::System.Data.DataColumn("DiesTecLife", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDiesTecLife); + this.columnDiesCommLife = new global::System.Data.DataColumn("DiesCommLife", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDiesCommLife); + this.columnMonthSalesPrev = new global::System.Data.DataColumn("MonthSalesPrev", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMonthSalesPrev); + this.columnSalesPrevCost = new global::System.Data.DataColumn("SalesPrevCost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSalesPrevCost); + this.columnDiesFinCost = new global::System.Data.DataColumn("DiesFinCost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDiesFinCost); + this.columnClientQuoteReven = new global::System.Data.DataColumn("ClientQuoteReven", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnClientQuoteReven); + this.columnExtraDiscountDies = new global::System.Data.DataColumn("ExtraDiscountDies", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnExtraDiscountDies); + this.columnDiesByClass = new global::System.Data.DataColumn("DiesByClass", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDiesByClass); + this.columnNumDiesInList = new global::System.Data.DataColumn("NumDiesInList", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumDiesInList); + this.columnNumDiesExaust = new global::System.Data.DataColumn("NumDiesExaust", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumDiesExaust); + this.columnCodPlant = new global::System.Data.DataColumn("CodPlant", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodPlant); + this.columnKeyAMIL = new global::System.Data.DataColumn("KeyAMIL", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnKeyAMIL); + this.columnKgTeo = new global::System.Data.DataColumn("KgTeo", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnKgTeo); + this.columnNumSMED = new global::System.Data.DataColumn("NumSMED", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumSMED); + this.columnQuotaMan = new global::System.Data.DataColumn("QuotaMan", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQuotaMan); + this.columnPRMWeight = new global::System.Data.DataColumn("PRMWeight", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPRMWeight); + this.columnPWeight = new global::System.Data.DataColumn("PWeight", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPWeight); + this.columnPTare = new global::System.Data.DataColumn("PTare", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPTare); + this.columnLivPackage = new global::System.Data.DataColumn("LivPackage", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLivPackage); + this.columnLivPackageDett = new global::System.Data.DataColumn("LivPackageDett", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLivPackageDett); + this.columnRawMatCost = new global::System.Data.DataColumn("RawMatCost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRawMatCost); + this.columnRawMatExtraCost = new global::System.Data.DataColumn("RawMatExtraCost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRawMatExtraCost); + this.columnRawMatFullCost = new global::System.Data.DataColumn("RawMatFullCost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRawMatFullCost); + this.columnCodPackag = new global::System.Data.DataColumn("CodPackag", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodPackag); + this.columnPkgDesc = new global::System.Data.DataColumn("PkgDesc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPkgDesc); + this.columnFSR = new global::System.Data.DataColumn("FSR", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFSR); + this.columnProvvCost = new global::System.Data.DataColumn("ProvvCost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnProvvCost); + this.columnEECost = new global::System.Data.DataColumn("EECost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEECost); + this.columnGasCost = new global::System.Data.DataColumn("GasCost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnGasCost); + this.columnDiesCost = new global::System.Data.DataColumn("DiesCost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDiesCost); + this.columnPackCost = new global::System.Data.DataColumn("PackCost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPackCost); + this.columnTranspCost = new global::System.Data.DataColumn("TranspCost", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTranspCost); + this.columnSellCost01 = new global::System.Data.DataColumn("SellCost01", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSellCost01); + this.columnRefCost01 = new global::System.Data.DataColumn("RefCost01", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRefCost01); + this.columnSellCost04 = new global::System.Data.DataColumn("SellCost04", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSellCost04); + this.columnRefCost04 = new global::System.Data.DataColumn("RefCost04", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRefCost04); + this.columnWSR01_avg = new global::System.Data.DataColumn("WSR01_avg", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnWSR01_avg); + this.columnWSR01 = new global::System.Data.DataColumn("WSR01", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnWSR01); + this.columnMSR01_avg = new global::System.Data.DataColumn("MSR01_avg", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMSR01_avg); + this.columnMSR01 = new global::System.Data.DataColumn("MSR01", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMSR01); + this.columnNetProd01_avg = new global::System.Data.DataColumn("NetProd01_avg", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNetProd01_avg); + this.columnNetProd01 = new global::System.Data.DataColumn("NetProd01", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNetProd01); + this.columnFC4UG01 = new global::System.Data.DataColumn("FC4UG01", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFC4UG01); + this.columnVC4UG01 = new global::System.Data.DataColumn("VC4UG01", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnVC4UG01); + this.columnOH4UG01 = new global::System.Data.DataColumn("OH4UG01", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOH4UG01); + this.columnSC4UG01 = new global::System.Data.DataColumn("SC4UG01", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSC4UG01); + this.columnDSR_avg = new global::System.Data.DataColumn("DSR_avg", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDSR_avg); + this.columnDSR = new global::System.Data.DataColumn("DSR", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDSR); + this.columnNetProd04 = new global::System.Data.DataColumn("NetProd04", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNetProd04); + this.columnFC4UG04 = new global::System.Data.DataColumn("FC4UG04", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFC4UG04); + this.columnVC4UG04 = new global::System.Data.DataColumn("VC4UG04", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnVC4UG04); + this.columnFVC = new global::System.Data.DataColumn("FVC", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnFVC); + this.columnCharge = new global::System.Data.DataColumn("Charge", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCharge); + this.columnvalid = new global::System.Data.DataColumn("valid", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnvalid); + this.columnerrorScore = new global::System.Data.DataColumn("errorScore", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnerrorScore); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnQuoteType, + this.columnCodQuote, + this.columnQuoteRev}, true)); + this.columnVers.AllowDBNull = false; + this.columnVers.MaxLength = 5; + this.columnQuoteType.AllowDBNull = false; + this.columnQuoteType.MaxLength = 1; + this.columnCodQuote.AllowDBNull = false; + this.columnQuoteRev.AllowDBNull = false; + this.columnIdxQState.AllowDBNull = false; + this.columnCodClient.AllowDBNull = false; + this.columnCodClient.MaxLength = 50; + this.columnClientName.AllowDBNull = false; + this.columnClientName.MaxLength = 250; + this.columnCodItem.AllowDBNull = false; + this.columnCodItem.MaxLength = 50; + this.columnCodItemGroup.AllowDBNull = false; + this.columnCodItemGroup.MaxLength = 50; + this.columnRawMat.AllowDBNull = false; + this.columnRawMat.MaxLength = 50; + this.columnUnitWeight.AllowDBNull = false; + this.columnBatchQty.AllowDBNull = false; + this.columnCodInco.AllowDBNull = false; + this.columnCodInco.MaxLength = 5; + this.columnTranspZone.AllowDBNull = false; + this.columnTranspZone.MaxLength = 50; + this.columnKeyAM.AllowDBNull = false; + this.columnKeyAM.MaxLength = 101; + this.columnNote.AllowDBNull = false; + this.columnNote.MaxLength = 2500; + this.columnPriceOff.AllowDBNull = false; + this.columnCodClientAssoc.MaxLength = 100; + this.columnClientNameAssoc.MaxLength = 100; + this.columnItemDescr.MaxLength = 100; + this.columnCodifProfilo.MaxLength = 100; + this.columnClasseMerc.MaxLength = 100; + this.columnTipoDies.MaxLength = 100; + this.columnCodDiesGroup.MaxLength = 100; + this.columnDiesPrice.AllowDBNull = false; + this.columnSamplePrice.AllowDBNull = false; + this.columnDiesFullCost.ReadOnly = true; + this.columnDiesPriceClientQuote.AllowDBNull = false; + this.columnDiesTecLife.AllowDBNull = false; + this.columnDiesCommLife.AllowDBNull = false; + this.columnMonthSalesPrev.AllowDBNull = false; + this.columnSalesPrevCost.ReadOnly = true; + this.columnDiesFinCost.ReadOnly = true; + this.columnClientQuoteReven.ReadOnly = true; + this.columnExtraDiscountDies.ReadOnly = true; + this.columnCodPlant.MaxLength = 100; + this.columnKeyAMIL.MaxLength = 100; + this.columnLivPackage.MaxLength = 100; + this.columnLivPackageDett.MaxLength = 100; + this.columnRawMatCost.AllowDBNull = false; + this.columnRawMatExtraCost.AllowDBNull = false; + this.columnCodPackag.AllowDBNull = false; + this.columnCodPackag.MaxLength = 50; + this.columnPkgDesc.MaxLength = 100; + this.columnProvvCost.AllowDBNull = false; + this.columnEECost.AllowDBNull = false; + this.columnGasCost.AllowDBNull = false; + this.columnDiesCost.AllowDBNull = false; + this.columnPackCost.AllowDBNull = false; + this.columnTranspCost.AllowDBNull = false; + this.columnSellCost01.AllowDBNull = false; + this.columnRefCost01.AllowDBNull = false; + this.columnSellCost04.AllowDBNull = false; + this.columnRefCost04.AllowDBNull = false; + this.columnWSR01_avg.AllowDBNull = false; + this.columnWSR01.AllowDBNull = false; + this.columnMSR01_avg.AllowDBNull = false; + this.columnMSR01.AllowDBNull = false; + this.columnNetProd01_avg.AllowDBNull = false; + this.columnNetProd01.AllowDBNull = false; + this.columnFC4UG01.AllowDBNull = false; + this.columnVC4UG01.AllowDBNull = false; + this.columnOH4UG01.AllowDBNull = false; + this.columnSC4UG01.AllowDBNull = false; + this.columnDSR_avg.AllowDBNull = false; + this.columnNetProd04.AllowDBNull = false; + this.columnFC4UG04.AllowDBNull = false; + this.columnVC4UG04.AllowDBNull = false; + this.columnCharge.AllowDBNull = false; + this.columnvalid.AllowDBNull = false; + this.columnerrorScore.AllowDBNull = false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public QuoteFull_SRow NewQuoteFull_SRow() { + return ((QuoteFull_SRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new QuoteFull_SRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(QuoteFull_SRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.QuoteFull_SRowChanged != null)) { + this.QuoteFull_SRowChanged(this, new QuoteFull_SRowChangeEvent(((QuoteFull_SRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.QuoteFull_SRowChanging != null)) { + this.QuoteFull_SRowChanging(this, new QuoteFull_SRowChangeEvent(((QuoteFull_SRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.QuoteFull_SRowDeleted != null)) { + this.QuoteFull_SRowDeleted(this, new QuoteFull_SRowChangeEvent(((QuoteFull_SRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.QuoteFull_SRowDeleting != null)) { + this.QuoteFull_SRowDeleting(this, new QuoteFull_SRowChangeEvent(((QuoteFull_SRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveQuoteFull_SRow(QuoteFull_SRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Quotes ds = new DS_Quotes(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "QuoteFull_SDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents strongly named DataRow class. /// @@ -8004,6 +9687,1584 @@ namespace C2P_Data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class QuoteFull_SRow : global::System.Data.DataRow { + + private QuoteFull_SDataTable tableQuoteFull_S; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal QuoteFull_SRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableQuoteFull_S = ((QuoteFull_SDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Vers { + get { + return ((string)(this[this.tableQuoteFull_S.VersColumn])); + } + set { + this[this.tableQuoteFull_S.VersColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string QuoteType { + get { + return ((string)(this[this.tableQuoteFull_S.QuoteTypeColumn])); + } + set { + this[this.tableQuoteFull_S.QuoteTypeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public long CodQuote { + get { + return ((long)(this[this.tableQuoteFull_S.CodQuoteColumn])); + } + set { + this[this.tableQuoteFull_S.CodQuoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int QuoteRev { + get { + return ((int)(this[this.tableQuoteFull_S.QuoteRevColumn])); + } + set { + this[this.tableQuoteFull_S.QuoteRevColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int IdxQState { + get { + return ((int)(this[this.tableQuoteFull_S.IdxQStateColumn])); + } + set { + this[this.tableQuoteFull_S.IdxQStateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodClient { + get { + return ((string)(this[this.tableQuoteFull_S.CodClientColumn])); + } + set { + this[this.tableQuoteFull_S.CodClientColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ClientName { + get { + return ((string)(this[this.tableQuoteFull_S.ClientNameColumn])); + } + set { + this[this.tableQuoteFull_S.ClientNameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodItem { + get { + return ((string)(this[this.tableQuoteFull_S.CodItemColumn])); + } + set { + this[this.tableQuoteFull_S.CodItemColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodItemGroup { + get { + return ((string)(this[this.tableQuoteFull_S.CodItemGroupColumn])); + } + set { + this[this.tableQuoteFull_S.CodItemGroupColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string RawMat { + get { + return ((string)(this[this.tableQuoteFull_S.RawMatColumn])); + } + set { + this[this.tableQuoteFull_S.RawMatColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal UnitWeight { + get { + return ((decimal)(this[this.tableQuoteFull_S.UnitWeightColumn])); + } + set { + this[this.tableQuoteFull_S.UnitWeightColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int BatchQty { + get { + return ((int)(this[this.tableQuoteFull_S.BatchQtyColumn])); + } + set { + this[this.tableQuoteFull_S.BatchQtyColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodInco { + get { + return ((string)(this[this.tableQuoteFull_S.CodIncoColumn])); + } + set { + this[this.tableQuoteFull_S.CodIncoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string TranspZone { + get { + return ((string)(this[this.tableQuoteFull_S.TranspZoneColumn])); + } + set { + this[this.tableQuoteFull_S.TranspZoneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string KeyAM { + get { + return ((string)(this[this.tableQuoteFull_S.KeyAMColumn])); + } + set { + this[this.tableQuoteFull_S.KeyAMColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + return ((string)(this[this.tableQuoteFull_S.NoteColumn])); + } + set { + this[this.tableQuoteFull_S.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal PriceOff { + get { + return ((decimal)(this[this.tableQuoteFull_S.PriceOffColumn])); + } + set { + this[this.tableQuoteFull_S.PriceOffColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodClientAssoc { + get { + try { + return ((string)(this[this.tableQuoteFull_S.CodClientAssocColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodClientAssoc\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.CodClientAssocColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ClientNameAssoc { + get { + try { + return ((string)(this[this.tableQuoteFull_S.ClientNameAssocColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ClientNameAssoc\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.ClientNameAssocColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ItemDescr { + get { + try { + return ((string)(this[this.tableQuoteFull_S.ItemDescrColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ItemDescr\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.ItemDescrColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodifProfilo { + get { + try { + return ((string)(this[this.tableQuoteFull_S.CodifProfiloColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodifProfilo\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.CodifProfiloColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string ClasseMerc { + get { + try { + return ((string)(this[this.tableQuoteFull_S.ClasseMercColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ClasseMerc\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.ClasseMercColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string TipoDies { + get { + try { + return ((string)(this[this.tableQuoteFull_S.TipoDiesColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'TipoDies\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.TipoDiesColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodDiesGroup { + get { + try { + return ((string)(this[this.tableQuoteFull_S.CodDiesGroupColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodDiesGroup\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.CodDiesGroupColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DiamDies { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.DiamDiesColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DiamDies\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.DiamDiesColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int HoleNumDies { + get { + try { + return ((int)(this[this.tableQuoteFull_S.HoleNumDiesColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'HoleNumDies\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.HoleNumDiesColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DiesPrice_avg { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.DiesPrice_avgColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DiesPrice_avg\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.DiesPrice_avgColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DiesPrice { + get { + return ((decimal)(this[this.tableQuoteFull_S.DiesPriceColumn])); + } + set { + this[this.tableQuoteFull_S.DiesPriceColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal SamplePrice { + get { + return ((decimal)(this[this.tableQuoteFull_S.SamplePriceColumn])); + } + set { + this[this.tableQuoteFull_S.SamplePriceColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DiesFullCost { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.DiesFullCostColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DiesFullCost\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.DiesFullCostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DiesPriceClientQuote { + get { + return ((decimal)(this[this.tableQuoteFull_S.DiesPriceClientQuoteColumn])); + } + set { + this[this.tableQuoteFull_S.DiesPriceClientQuoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DiesExpLife { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.DiesExpLifeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DiesExpLife\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.DiesExpLifeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DiesEOLife { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.DiesEOLifeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DiesEOLife\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.DiesEOLifeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DiesTecLife { + get { + return ((decimal)(this[this.tableQuoteFull_S.DiesTecLifeColumn])); + } + set { + this[this.tableQuoteFull_S.DiesTecLifeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DiesCommLife { + get { + return ((decimal)(this[this.tableQuoteFull_S.DiesCommLifeColumn])); + } + set { + this[this.tableQuoteFull_S.DiesCommLifeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int MonthSalesPrev { + get { + return ((int)(this[this.tableQuoteFull_S.MonthSalesPrevColumn])); + } + set { + this[this.tableQuoteFull_S.MonthSalesPrevColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal SalesPrevCost { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.SalesPrevCostColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'SalesPrevCost\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.SalesPrevCostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DiesFinCost { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.DiesFinCostColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DiesFinCost\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.DiesFinCostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal ClientQuoteReven { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.ClientQuoteRevenColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ClientQuoteReven\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.ClientQuoteRevenColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal ExtraDiscountDies { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.ExtraDiscountDiesColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ExtraDiscountDies\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.ExtraDiscountDiesColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool DiesByClass { + get { + try { + return ((bool)(this[this.tableQuoteFull_S.DiesByClassColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DiesByClass\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.DiesByClassColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NumDiesInList { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.NumDiesInListColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumDiesInList\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.NumDiesInListColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NumDiesExaust { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.NumDiesExaustColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumDiesExaust\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.NumDiesExaustColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodPlant { + get { + try { + return ((string)(this[this.tableQuoteFull_S.CodPlantColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodPlant\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.CodPlantColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string KeyAMIL { + get { + try { + return ((string)(this[this.tableQuoteFull_S.KeyAMILColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'KeyAMIL\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.KeyAMILColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal KgTeo { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.KgTeoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'KgTeo\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.KgTeoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NumSMED { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.NumSMEDColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumSMED\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.NumSMEDColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal QuotaMan { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.QuotaManColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'QuotaMan\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.QuotaManColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal PRMWeight { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.PRMWeightColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PRMWeight\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.PRMWeightColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal PWeight { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.PWeightColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PWeight\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.PWeightColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal PTare { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.PTareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PTare\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.PTareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string LivPackage { + get { + try { + return ((string)(this[this.tableQuoteFull_S.LivPackageColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'LivPackage\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.LivPackageColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string LivPackageDett { + get { + try { + return ((string)(this[this.tableQuoteFull_S.LivPackageDettColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'LivPackageDett\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.LivPackageDettColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal RawMatCost { + get { + return ((decimal)(this[this.tableQuoteFull_S.RawMatCostColumn])); + } + set { + this[this.tableQuoteFull_S.RawMatCostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal RawMatExtraCost { + get { + return ((decimal)(this[this.tableQuoteFull_S.RawMatExtraCostColumn])); + } + set { + this[this.tableQuoteFull_S.RawMatExtraCostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal RawMatFullCost { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.RawMatFullCostColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'RawMatFullCost\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.RawMatFullCostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CodPackag { + get { + return ((string)(this[this.tableQuoteFull_S.CodPackagColumn])); + } + set { + this[this.tableQuoteFull_S.CodPackagColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string PkgDesc { + get { + try { + return ((string)(this[this.tableQuoteFull_S.PkgDescColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PkgDesc\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.PkgDescColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal FSR { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.FSRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'FSR\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.FSRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal ProvvCost { + get { + return ((decimal)(this[this.tableQuoteFull_S.ProvvCostColumn])); + } + set { + this[this.tableQuoteFull_S.ProvvCostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal EECost { + get { + return ((decimal)(this[this.tableQuoteFull_S.EECostColumn])); + } + set { + this[this.tableQuoteFull_S.EECostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal GasCost { + get { + return ((decimal)(this[this.tableQuoteFull_S.GasCostColumn])); + } + set { + this[this.tableQuoteFull_S.GasCostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DiesCost { + get { + return ((decimal)(this[this.tableQuoteFull_S.DiesCostColumn])); + } + set { + this[this.tableQuoteFull_S.DiesCostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal PackCost { + get { + return ((decimal)(this[this.tableQuoteFull_S.PackCostColumn])); + } + set { + this[this.tableQuoteFull_S.PackCostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal TranspCost { + get { + return ((decimal)(this[this.tableQuoteFull_S.TranspCostColumn])); + } + set { + this[this.tableQuoteFull_S.TranspCostColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal SellCost01 { + get { + return ((decimal)(this[this.tableQuoteFull_S.SellCost01Column])); + } + set { + this[this.tableQuoteFull_S.SellCost01Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal RefCost01 { + get { + return ((decimal)(this[this.tableQuoteFull_S.RefCost01Column])); + } + set { + this[this.tableQuoteFull_S.RefCost01Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal SellCost04 { + get { + return ((decimal)(this[this.tableQuoteFull_S.SellCost04Column])); + } + set { + this[this.tableQuoteFull_S.SellCost04Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal RefCost04 { + get { + return ((decimal)(this[this.tableQuoteFull_S.RefCost04Column])); + } + set { + this[this.tableQuoteFull_S.RefCost04Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal WSR01_avg { + get { + return ((decimal)(this[this.tableQuoteFull_S.WSR01_avgColumn])); + } + set { + this[this.tableQuoteFull_S.WSR01_avgColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal WSR01 { + get { + return ((decimal)(this[this.tableQuoteFull_S.WSR01Column])); + } + set { + this[this.tableQuoteFull_S.WSR01Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal MSR01_avg { + get { + return ((decimal)(this[this.tableQuoteFull_S.MSR01_avgColumn])); + } + set { + this[this.tableQuoteFull_S.MSR01_avgColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal MSR01 { + get { + return ((decimal)(this[this.tableQuoteFull_S.MSR01Column])); + } + set { + this[this.tableQuoteFull_S.MSR01Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NetProd01_avg { + get { + return ((decimal)(this[this.tableQuoteFull_S.NetProd01_avgColumn])); + } + set { + this[this.tableQuoteFull_S.NetProd01_avgColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NetProd01 { + get { + return ((decimal)(this[this.tableQuoteFull_S.NetProd01Column])); + } + set { + this[this.tableQuoteFull_S.NetProd01Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal FC4UG01 { + get { + return ((decimal)(this[this.tableQuoteFull_S.FC4UG01Column])); + } + set { + this[this.tableQuoteFull_S.FC4UG01Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal VC4UG01 { + get { + return ((decimal)(this[this.tableQuoteFull_S.VC4UG01Column])); + } + set { + this[this.tableQuoteFull_S.VC4UG01Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal OH4UG01 { + get { + return ((decimal)(this[this.tableQuoteFull_S.OH4UG01Column])); + } + set { + this[this.tableQuoteFull_S.OH4UG01Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal SC4UG01 { + get { + return ((decimal)(this[this.tableQuoteFull_S.SC4UG01Column])); + } + set { + this[this.tableQuoteFull_S.SC4UG01Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DSR_avg { + get { + return ((decimal)(this[this.tableQuoteFull_S.DSR_avgColumn])); + } + set { + this[this.tableQuoteFull_S.DSR_avgColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal DSR { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.DSRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DSR\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.DSRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal NetProd04 { + get { + return ((decimal)(this[this.tableQuoteFull_S.NetProd04Column])); + } + set { + this[this.tableQuoteFull_S.NetProd04Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal FC4UG04 { + get { + return ((decimal)(this[this.tableQuoteFull_S.FC4UG04Column])); + } + set { + this[this.tableQuoteFull_S.FC4UG04Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal VC4UG04 { + get { + return ((decimal)(this[this.tableQuoteFull_S.VC4UG04Column])); + } + set { + this[this.tableQuoteFull_S.VC4UG04Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal FVC { + get { + try { + return ((decimal)(this[this.tableQuoteFull_S.FVCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'FVC\' in table \'QuoteFull_S\' is DBNull.", e); + } + } + set { + this[this.tableQuoteFull_S.FVCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Charge { + get { + return ((decimal)(this[this.tableQuoteFull_S.ChargeColumn])); + } + set { + this[this.tableQuoteFull_S.ChargeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool valid { + get { + return ((bool)(this[this.tableQuoteFull_S.validColumn])); + } + set { + this[this.tableQuoteFull_S.validColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int errorScore { + get { + return ((int)(this[this.tableQuoteFull_S.errorScoreColumn])); + } + set { + this[this.tableQuoteFull_S.errorScoreColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodClientAssocNull() { + return this.IsNull(this.tableQuoteFull_S.CodClientAssocColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodClientAssocNull() { + this[this.tableQuoteFull_S.CodClientAssocColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsClientNameAssocNull() { + return this.IsNull(this.tableQuoteFull_S.ClientNameAssocColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetClientNameAssocNull() { + this[this.tableQuoteFull_S.ClientNameAssocColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsItemDescrNull() { + return this.IsNull(this.tableQuoteFull_S.ItemDescrColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetItemDescrNull() { + this[this.tableQuoteFull_S.ItemDescrColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodifProfiloNull() { + return this.IsNull(this.tableQuoteFull_S.CodifProfiloColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodifProfiloNull() { + this[this.tableQuoteFull_S.CodifProfiloColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsClasseMercNull() { + return this.IsNull(this.tableQuoteFull_S.ClasseMercColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetClasseMercNull() { + this[this.tableQuoteFull_S.ClasseMercColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsTipoDiesNull() { + return this.IsNull(this.tableQuoteFull_S.TipoDiesColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetTipoDiesNull() { + this[this.tableQuoteFull_S.TipoDiesColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodDiesGroupNull() { + return this.IsNull(this.tableQuoteFull_S.CodDiesGroupColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodDiesGroupNull() { + this[this.tableQuoteFull_S.CodDiesGroupColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDiamDiesNull() { + return this.IsNull(this.tableQuoteFull_S.DiamDiesColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDiamDiesNull() { + this[this.tableQuoteFull_S.DiamDiesColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsHoleNumDiesNull() { + return this.IsNull(this.tableQuoteFull_S.HoleNumDiesColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetHoleNumDiesNull() { + this[this.tableQuoteFull_S.HoleNumDiesColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDiesPrice_avgNull() { + return this.IsNull(this.tableQuoteFull_S.DiesPrice_avgColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDiesPrice_avgNull() { + this[this.tableQuoteFull_S.DiesPrice_avgColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDiesFullCostNull() { + return this.IsNull(this.tableQuoteFull_S.DiesFullCostColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDiesFullCostNull() { + this[this.tableQuoteFull_S.DiesFullCostColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDiesExpLifeNull() { + return this.IsNull(this.tableQuoteFull_S.DiesExpLifeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDiesExpLifeNull() { + this[this.tableQuoteFull_S.DiesExpLifeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDiesEOLifeNull() { + return this.IsNull(this.tableQuoteFull_S.DiesEOLifeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDiesEOLifeNull() { + this[this.tableQuoteFull_S.DiesEOLifeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsSalesPrevCostNull() { + return this.IsNull(this.tableQuoteFull_S.SalesPrevCostColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetSalesPrevCostNull() { + this[this.tableQuoteFull_S.SalesPrevCostColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDiesFinCostNull() { + return this.IsNull(this.tableQuoteFull_S.DiesFinCostColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDiesFinCostNull() { + this[this.tableQuoteFull_S.DiesFinCostColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsClientQuoteRevenNull() { + return this.IsNull(this.tableQuoteFull_S.ClientQuoteRevenColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetClientQuoteRevenNull() { + this[this.tableQuoteFull_S.ClientQuoteRevenColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsExtraDiscountDiesNull() { + return this.IsNull(this.tableQuoteFull_S.ExtraDiscountDiesColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetExtraDiscountDiesNull() { + this[this.tableQuoteFull_S.ExtraDiscountDiesColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDiesByClassNull() { + return this.IsNull(this.tableQuoteFull_S.DiesByClassColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDiesByClassNull() { + this[this.tableQuoteFull_S.DiesByClassColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumDiesInListNull() { + return this.IsNull(this.tableQuoteFull_S.NumDiesInListColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumDiesInListNull() { + this[this.tableQuoteFull_S.NumDiesInListColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumDiesExaustNull() { + return this.IsNull(this.tableQuoteFull_S.NumDiesExaustColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumDiesExaustNull() { + this[this.tableQuoteFull_S.NumDiesExaustColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCodPlantNull() { + return this.IsNull(this.tableQuoteFull_S.CodPlantColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCodPlantNull() { + this[this.tableQuoteFull_S.CodPlantColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsKeyAMILNull() { + return this.IsNull(this.tableQuoteFull_S.KeyAMILColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetKeyAMILNull() { + this[this.tableQuoteFull_S.KeyAMILColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsKgTeoNull() { + return this.IsNull(this.tableQuoteFull_S.KgTeoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetKgTeoNull() { + this[this.tableQuoteFull_S.KgTeoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumSMEDNull() { + return this.IsNull(this.tableQuoteFull_S.NumSMEDColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumSMEDNull() { + this[this.tableQuoteFull_S.NumSMEDColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsQuotaManNull() { + return this.IsNull(this.tableQuoteFull_S.QuotaManColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetQuotaManNull() { + this[this.tableQuoteFull_S.QuotaManColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPRMWeightNull() { + return this.IsNull(this.tableQuoteFull_S.PRMWeightColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPRMWeightNull() { + this[this.tableQuoteFull_S.PRMWeightColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPWeightNull() { + return this.IsNull(this.tableQuoteFull_S.PWeightColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPWeightNull() { + this[this.tableQuoteFull_S.PWeightColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPTareNull() { + return this.IsNull(this.tableQuoteFull_S.PTareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPTareNull() { + this[this.tableQuoteFull_S.PTareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsLivPackageNull() { + return this.IsNull(this.tableQuoteFull_S.LivPackageColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetLivPackageNull() { + this[this.tableQuoteFull_S.LivPackageColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsLivPackageDettNull() { + return this.IsNull(this.tableQuoteFull_S.LivPackageDettColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetLivPackageDettNull() { + this[this.tableQuoteFull_S.LivPackageDettColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsRawMatFullCostNull() { + return this.IsNull(this.tableQuoteFull_S.RawMatFullCostColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetRawMatFullCostNull() { + this[this.tableQuoteFull_S.RawMatFullCostColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPkgDescNull() { + return this.IsNull(this.tableQuoteFull_S.PkgDescColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPkgDescNull() { + this[this.tableQuoteFull_S.PkgDescColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFSRNull() { + return this.IsNull(this.tableQuoteFull_S.FSRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFSRNull() { + this[this.tableQuoteFull_S.FSRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDSRNull() { + return this.IsNull(this.tableQuoteFull_S.DSRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDSRNull() { + this[this.tableQuoteFull_S.DSRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsFVCNull() { + return this.IsNull(this.tableQuoteFull_S.FVCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetFVCNull() { + this[this.tableQuoteFull_S.FVCColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -8241,6 +11502,40 @@ namespace C2P_Data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class QuoteFull_SRowChangeEvent : global::System.EventArgs { + + private QuoteFull_SRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public QuoteFull_SRowChangeEvent(QuoteFull_SRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public QuoteFull_SRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace C2P_Data.DS_QuotesTableAdapters { @@ -12956,6 +16251,2882 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class QuoteFull_STableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public QuoteFull_STableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "QuoteFull_S"; + tableMapping.ColumnMappings.Add("Vers", "Vers"); + tableMapping.ColumnMappings.Add("QuoteType", "QuoteType"); + tableMapping.ColumnMappings.Add("CodQuote", "CodQuote"); + tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev"); + tableMapping.ColumnMappings.Add("IdxQState", "IdxQState"); + tableMapping.ColumnMappings.Add("CodClient", "CodClient"); + tableMapping.ColumnMappings.Add("ClientName", "ClientName"); + tableMapping.ColumnMappings.Add("CodItem", "CodItem"); + tableMapping.ColumnMappings.Add("CodItemGroup", "CodItemGroup"); + tableMapping.ColumnMappings.Add("RawMat", "RawMat"); + tableMapping.ColumnMappings.Add("UnitWeight", "UnitWeight"); + tableMapping.ColumnMappings.Add("BatchQty", "BatchQty"); + tableMapping.ColumnMappings.Add("CodInco", "CodInco"); + tableMapping.ColumnMappings.Add("TranspZone", "TranspZone"); + tableMapping.ColumnMappings.Add("KeyAM", "KeyAM"); + tableMapping.ColumnMappings.Add("Note", "Note"); + tableMapping.ColumnMappings.Add("PriceOff", "PriceOff"); + tableMapping.ColumnMappings.Add("CodClientAssoc", "CodClientAssoc"); + tableMapping.ColumnMappings.Add("ClientNameAssoc", "ClientNameAssoc"); + tableMapping.ColumnMappings.Add("ItemDescr", "ItemDescr"); + tableMapping.ColumnMappings.Add("CodifProfilo", "CodifProfilo"); + tableMapping.ColumnMappings.Add("ClasseMerc", "ClasseMerc"); + tableMapping.ColumnMappings.Add("TipoDies", "TipoDies"); + tableMapping.ColumnMappings.Add("CodDiesGroup", "CodDiesGroup"); + tableMapping.ColumnMappings.Add("DiamDies", "DiamDies"); + tableMapping.ColumnMappings.Add("HoleNumDies", "HoleNumDies"); + tableMapping.ColumnMappings.Add("DiesPrice_avg", "DiesPrice_avg"); + tableMapping.ColumnMappings.Add("DiesPrice", "DiesPrice"); + tableMapping.ColumnMappings.Add("SamplePrice", "SamplePrice"); + tableMapping.ColumnMappings.Add("DiesFullCost", "DiesFullCost"); + tableMapping.ColumnMappings.Add("DiesPriceClientQuote", "DiesPriceClientQuote"); + tableMapping.ColumnMappings.Add("DiesExpLife", "DiesExpLife"); + tableMapping.ColumnMappings.Add("DiesEOLife", "DiesEOLife"); + tableMapping.ColumnMappings.Add("DiesTecLife", "DiesTecLife"); + tableMapping.ColumnMappings.Add("DiesCommLife", "DiesCommLife"); + tableMapping.ColumnMappings.Add("MonthSalesPrev", "MonthSalesPrev"); + tableMapping.ColumnMappings.Add("SalesPrevCost", "SalesPrevCost"); + tableMapping.ColumnMappings.Add("DiesFinCost", "DiesFinCost"); + tableMapping.ColumnMappings.Add("ClientQuoteReven", "ClientQuoteReven"); + tableMapping.ColumnMappings.Add("ExtraDiscountDies", "ExtraDiscountDies"); + tableMapping.ColumnMappings.Add("DiesByClass", "DiesByClass"); + tableMapping.ColumnMappings.Add("NumDiesInList", "NumDiesInList"); + tableMapping.ColumnMappings.Add("NumDiesExaust", "NumDiesExaust"); + tableMapping.ColumnMappings.Add("CodPlant", "CodPlant"); + tableMapping.ColumnMappings.Add("KeyAMIL", "KeyAMIL"); + tableMapping.ColumnMappings.Add("KgTeo", "KgTeo"); + tableMapping.ColumnMappings.Add("NumSMED", "NumSMED"); + tableMapping.ColumnMappings.Add("QuotaMan", "QuotaMan"); + tableMapping.ColumnMappings.Add("PRMWeight", "PRMWeight"); + tableMapping.ColumnMappings.Add("PWeight", "PWeight"); + tableMapping.ColumnMappings.Add("PTare", "PTare"); + tableMapping.ColumnMappings.Add("LivPackage", "LivPackage"); + tableMapping.ColumnMappings.Add("LivPackageDett", "LivPackageDett"); + tableMapping.ColumnMappings.Add("RawMatCost", "RawMatCost"); + tableMapping.ColumnMappings.Add("RawMatExtraCost", "RawMatExtraCost"); + tableMapping.ColumnMappings.Add("RawMatFullCost", "RawMatFullCost"); + tableMapping.ColumnMappings.Add("CodPackag", "CodPackag"); + tableMapping.ColumnMappings.Add("PkgDesc", "PkgDesc"); + tableMapping.ColumnMappings.Add("FSR", "FSR"); + tableMapping.ColumnMappings.Add("ProvvCost", "ProvvCost"); + tableMapping.ColumnMappings.Add("EECost", "EECost"); + tableMapping.ColumnMappings.Add("GasCost", "GasCost"); + tableMapping.ColumnMappings.Add("DiesCost", "DiesCost"); + tableMapping.ColumnMappings.Add("PackCost", "PackCost"); + tableMapping.ColumnMappings.Add("TranspCost", "TranspCost"); + tableMapping.ColumnMappings.Add("SellCost01", "SellCost01"); + tableMapping.ColumnMappings.Add("RefCost01", "RefCost01"); + tableMapping.ColumnMappings.Add("SellCost04", "SellCost04"); + tableMapping.ColumnMappings.Add("RefCost04", "RefCost04"); + tableMapping.ColumnMappings.Add("WSR01_avg", "WSR01_avg"); + tableMapping.ColumnMappings.Add("WSR01", "WSR01"); + tableMapping.ColumnMappings.Add("MSR01_avg", "MSR01_avg"); + tableMapping.ColumnMappings.Add("MSR01", "MSR01"); + tableMapping.ColumnMappings.Add("NetProd01_avg", "NetProd01_avg"); + tableMapping.ColumnMappings.Add("NetProd01", "NetProd01"); + tableMapping.ColumnMappings.Add("FC4UG01", "FC4UG01"); + tableMapping.ColumnMappings.Add("VC4UG01", "VC4UG01"); + tableMapping.ColumnMappings.Add("OH4UG01", "OH4UG01"); + tableMapping.ColumnMappings.Add("SC4UG01", "SC4UG01"); + tableMapping.ColumnMappings.Add("DSR_avg", "DSR_avg"); + tableMapping.ColumnMappings.Add("DSR", "DSR"); + tableMapping.ColumnMappings.Add("NetProd04", "NetProd04"); + tableMapping.ColumnMappings.Add("FC4UG04", "FC4UG04"); + tableMapping.ColumnMappings.Add("VC4UG04", "VC4UG04"); + tableMapping.ColumnMappings.Add("FVC", "FVC"); + tableMapping.ColumnMappings.Add("Charge", "Charge"); + tableMapping.ColumnMappings.Add("valid", "valid"); + tableMapping.ColumnMappings.Add("errorScore", "errorScore"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[QuoteFull_S] WHERE (([Vers] = @Original_Vers) AND ([QuoteType]" + + " = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = " + + "@Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @" + + "Original_CodClient) AND ([ClientName] = @Original_ClientName) AND ([CodItem] = @" + + "Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = " + + "@Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @O" + + "riginal_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([TranspZone] = @Origi" + + "nal_TranspZone) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AN" + + "D ([PriceOff] = @Original_PriceOff) AND ((@IsNull_CodClientAssoc = 1 AND [CodCli" + + "entAssoc] IS NULL) OR ([CodClientAssoc] = @Original_CodClientAssoc)) AND ((@IsNu" + + "ll_ClientNameAssoc = 1 AND [ClientNameAssoc] IS NULL) OR ([ClientNameAssoc] = @O" + + "riginal_ClientNameAssoc)) AND ((@IsNull_ItemDescr = 1 AND [ItemDescr] IS NULL) O" + + "R ([ItemDescr] = @Original_ItemDescr)) AND ((@IsNull_CodifProfilo = 1 AND [Codif" + + "Profilo] IS NULL) OR ([CodifProfilo] = @Original_CodifProfilo)) AND ((@IsNull_Cl" + + "asseMerc = 1 AND [ClasseMerc] IS NULL) OR ([ClasseMerc] = @Original_ClasseMerc))" + + " AND ((@IsNull_TipoDies = 1 AND [TipoDies] IS NULL) OR ([TipoDies] = @Original_T" + + "ipoDies)) AND ((@IsNull_CodDiesGroup = 1 AND [CodDiesGroup] IS NULL) OR ([CodDie" + + "sGroup] = @Original_CodDiesGroup)) AND ((@IsNull_DiamDies = 1 AND [DiamDies] IS " + + "NULL) OR ([DiamDies] = @Original_DiamDies)) AND ((@IsNull_HoleNumDies = 1 AND [H" + + "oleNumDies] IS NULL) OR ([HoleNumDies] = @Original_HoleNumDies)) AND ((@IsNull_D" + + "iesPrice_avg = 1 AND [DiesPrice_avg] IS NULL) OR ([DiesPrice_avg] = @Original_Di" + + "esPrice_avg)) AND ([DiesPrice] = @Original_DiesPrice) AND ([SamplePrice] = @Orig" + + "inal_SamplePrice) AND ((@IsNull_DiesFullCost = 1 AND [DiesFullCost] IS NULL) OR " + + "([DiesFullCost] = @Original_DiesFullCost)) AND ([DiesPriceClientQuote] = @Origin" + + "al_DiesPriceClientQuote) AND ((@IsNull_DiesExpLife = 1 AND [DiesExpLife] IS NULL" + + ") OR ([DiesExpLife] = @Original_DiesExpLife)) AND ((@IsNull_DiesEOLife = 1 AND [" + + "DiesEOLife] IS NULL) OR ([DiesEOLife] = @Original_DiesEOLife)) AND ([DiesTecLife" + + "] = @Original_DiesTecLife) AND ([DiesCommLife] = @Original_DiesCommLife) AND ([M" + + "onthSalesPrev] = @Original_MonthSalesPrev) AND ((@IsNull_SalesPrevCost = 1 AND [" + + "SalesPrevCost] IS NULL) OR ([SalesPrevCost] = @Original_SalesPrevCost)) AND ((@I" + + "sNull_DiesFinCost = 1 AND [DiesFinCost] IS NULL) OR ([DiesFinCost] = @Original_D" + + "iesFinCost)) AND ((@IsNull_ClientQuoteReven = 1 AND [ClientQuoteReven] IS NULL) " + + "OR ([ClientQuoteReven] = @Original_ClientQuoteReven)) AND ((@IsNull_ExtraDiscoun" + + "tDies = 1 AND [ExtraDiscountDies] IS NULL) OR ([ExtraDiscountDies] = @Original_E" + + "xtraDiscountDies)) AND ((@IsNull_DiesByClass = 1 AND [DiesByClass] IS NULL) OR (" + + "[DiesByClass] = @Original_DiesByClass)) AND ((@IsNull_NumDiesInList = 1 AND [Num" + + "DiesInList] IS NULL) OR ([NumDiesInList] = @Original_NumDiesInList)) AND ((@IsNu" + + "ll_NumDiesExaust = 1 AND [NumDiesExaust] IS NULL) OR ([NumDiesExaust] = @Origina" + + "l_NumDiesExaust)) AND ((@IsNull_CodPlant = 1 AND [CodPlant] IS NULL) OR ([CodPla" + + "nt] = @Original_CodPlant)) AND ((@IsNull_KeyAMIL = 1 AND [KeyAMIL] IS NULL) OR (" + + "[KeyAMIL] = @Original_KeyAMIL)) AND ((@IsNull_KgTeo = 1 AND [KgTeo] IS NULL) OR " + + "([KgTeo] = @Original_KgTeo)) AND ((@IsNull_NumSMED = 1 AND [NumSMED] IS NULL) OR" + + " ([NumSMED] = @Original_NumSMED)) AND ((@IsNull_QuotaMan = 1 AND [QuotaMan] IS N" + + "ULL) OR ([QuotaMan] = @Original_QuotaMan)) AND ((@IsNull_PRMWeight = 1 AND [PRMW" + + "eight] IS NULL) OR ([PRMWeight] = @Original_PRMWeight)) AND ((@IsNull_PWeight = " + + "1 AND [PWeight] IS NULL) OR ([PWeight] = @Original_PWeight)) AND ((@IsNull_PTare" + + " = 1 AND [PTare] IS NULL) OR ([PTare] = @Original_PTare)) AND ((@IsNull_LivPacka" + + "ge = 1 AND [LivPackage] IS NULL) OR ([LivPackage] = @Original_LivPackage)) AND (" + + "(@IsNull_LivPackageDett = 1 AND [LivPackageDett] IS NULL) OR ([LivPackageDett] =" + + " @Original_LivPackageDett)) AND ([RawMatCost] = @Original_RawMatCost) AND ([RawM" + + "atExtraCost] = @Original_RawMatExtraCost) AND ((@IsNull_RawMatFullCost = 1 AND [" + + "RawMatFullCost] IS NULL) OR ([RawMatFullCost] = @Original_RawMatFullCost)) AND (" + + "[CodPackag] = @Original_CodPackag) AND ((@IsNull_PkgDesc = 1 AND [PkgDesc] IS NU" + + "LL) OR ([PkgDesc] = @Original_PkgDesc)) AND ((@IsNull_FSR = 1 AND [FSR] IS NULL)" + + " OR ([FSR] = @Original_FSR)) AND ([ProvvCost] = @Original_ProvvCost) AND ([EECos" + + "t] = @Original_EECost) AND ([GasCost] = @Original_GasCost) AND ([DiesCost] = @Or" + + "iginal_DiesCost) AND ([PackCost] = @Original_PackCost) AND ([TranspCost] = @Orig" + + "inal_TranspCost) AND ([SellCost01] = @Original_SellCost01) AND ([RefCost01] = @O" + + "riginal_RefCost01) AND ([SellCost04] = @Original_SellCost04) AND ([RefCost04] = " + + "@Original_RefCost04) AND ([WSR01_avg] = @Original_WSR01_avg) AND ([WSR01] = @Ori" + + "ginal_WSR01) AND ([MSR01_avg] = @Original_MSR01_avg) AND ([MSR01] = @Original_MS" + + "R01) AND ([NetProd01_avg] = @Original_NetProd01_avg) AND ([NetProd01] = @Origina" + + "l_NetProd01) AND ([FC4UG01] = @Original_FC4UG01) AND ([VC4UG01] = @Original_VC4U" + + "G01) AND ([OH4UG01] = @Original_OH4UG01) AND ([SC4UG01] = @Original_SC4UG01) AND" + + " ([DSR_avg] = @Original_DSR_avg) AND ((@IsNull_DSR = 1 AND [DSR] IS NULL) OR ([D" + + "SR] = @Original_DSR)) AND ([NetProd04] = @Original_NetProd04) AND ([FC4UG04] = @" + + "Original_FC4UG04) AND ([VC4UG04] = @Original_VC4UG04) AND ((@IsNull_FVC = 1 AND " + + "[FVC] IS NULL) OR ([FVC] = @Original_FVC)) AND ([Charge] = @Original_Charge) AND" + + " ([valid] = @Original_valid) AND ([errorScore] = @Original_errorScore))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxQState", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxQState", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodClient", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClient", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClientName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClientName", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodItem", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItem", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodItemGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItemGroup", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMat", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UnitWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "UnitWeight", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BatchQty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BatchQty", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodInco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodInco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TranspZone", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TranspZone", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KeyAM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyAM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PriceOff", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "PriceOff", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodClientAssoc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClientAssoc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodClientAssoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClientAssoc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClientNameAssoc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClientNameAssoc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClientNameAssoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClientNameAssoc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemDescr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemDescr", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemDescr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemDescr", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodifProfilo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodifProfilo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodifProfilo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodifProfilo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClasseMerc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseMerc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClasseMerc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseMerc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TipoDies", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoDies", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TipoDies", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoDies", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodDiesGroup", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDiesGroup", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDiesGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDiesGroup", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiamDies", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiamDies", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiamDies", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiamDies", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_HoleNumDies", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HoleNumDies", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_HoleNumDies", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HoleNumDies", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiesPrice_avg", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesPrice_avg", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesPrice_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesPrice_avg", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesPrice", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SamplePrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "SamplePrice", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiesFullCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesFullCost", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesFullCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 19, 6, "DiesFullCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesPriceClientQuote", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesPriceClientQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiesExpLife", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesExpLife", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesExpLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesExpLife", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiesEOLife", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesEOLife", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesEOLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesEOLife", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesTecLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesTecLife", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesCommLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesCommLife", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MonthSalesPrev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MonthSalesPrev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SalesPrevCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SalesPrevCost", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SalesPrevCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 38, 6, "SalesPrevCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiesFinCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesFinCost", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesFinCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 38, 6, "DiesFinCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClientQuoteReven", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClientQuoteReven", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClientQuoteReven", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 38, 20, "ClientQuoteReven", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtraDiscountDies", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtraDiscountDies", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtraDiscountDies", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 38, 6, "ExtraDiscountDies", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiesByClass", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesByClass", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesByClass", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesByClass", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumDiesInList", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumDiesInList", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumDiesInList", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "NumDiesInList", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumDiesExaust", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumDiesExaust", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumDiesExaust", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "NumDiesExaust", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodPlant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPlant", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_KeyAMIL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyAMIL", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KeyAMIL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyAMIL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_KgTeo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KgTeo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KgTeo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "KgTeo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumSMED", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumSMED", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumSMED", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "NumSMED", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_QuotaMan", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuotaMan", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuotaMan", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "QuotaMan", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PRMWeight", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PRMWeight", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PRMWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PRMWeight", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PWeight", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PWeight", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PWeight", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PTare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PTare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PTare", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PTare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LivPackage", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LivPackage", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LivPackage", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LivPackage", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LivPackageDett", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LivPackageDett", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LivPackageDett", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LivPackageDett", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMatCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatExtraCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RawMatFullCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMatFullCost", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMatFullCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatFullCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPackag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPackag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PkgDesc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PkgDesc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PkgDesc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PkgDesc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FSR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FSR", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FSR", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProvvCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "ProvvCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EECost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "EECost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GasCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "GasCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PackCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PackCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TranspCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TranspCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SellCost01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "SellCost01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RefCost01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RefCost01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SellCost04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "SellCost04", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RefCost04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RefCost04", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WSR01_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR01_avg", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WSR01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MSR01_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR01_avg", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MSR01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NetProd01_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd01_avg", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NetProd01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FC4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_VC4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OH4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OH4UG01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SC4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SC4UG01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DSR_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DSR_avg", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DSR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DSR", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DSR", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NetProd04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd04", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FC4UG04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG04", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_VC4UG04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG04", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FVC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FVC", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FVC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FVC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Charge", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "Charge", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_errorScore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "errorScore", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[QuoteFull_S] ([Vers], [QuoteType], [CodQuote], [QuoteRev], [Id" + + "xQState], [CodClient], [ClientName], [CodItem], [CodItemGroup], [RawMat], [UnitW" + + "eight], [BatchQty], [CodInco], [TranspZone], [KeyAM], [Note], [PriceOff], [CodCl" + + "ientAssoc], [ClientNameAssoc], [ItemDescr], [CodifProfilo], [ClasseMerc], [TipoD" + + "ies], [CodDiesGroup], [DiamDies], [HoleNumDies], [DiesPrice_avg], [DiesPrice], [" + + "SamplePrice], [DiesPriceClientQuote], [DiesExpLife], [DiesEOLife], [DiesTecLife]" + + ", [DiesCommLife], [MonthSalesPrev], [DiesByClass], [NumDiesInList], [NumDiesExau" + + "st], [CodPlant], [KeyAMIL], [KgTeo], [NumSMED], [QuotaMan], [PRMWeight], [PWeigh" + + "t], [PTare], [LivPackage], [LivPackageDett], [RawMatCost], [RawMatExtraCost], [R" + + "awMatFullCost], [CodPackag], [PkgDesc], [FSR], [ProvvCost], [EECost], [GasCost]," + + " [DiesCost], [PackCost], [TranspCost], [SellCost01], [RefCost01], [SellCost04], " + + "[RefCost04], [WSR01_avg], [WSR01], [MSR01_avg], [MSR01], [NetProd01_avg], [NetPr" + + "od01], [FC4UG01], [VC4UG01], [OH4UG01], [SC4UG01], [DSR_avg], [DSR], [NetProd04]" + + ", [FC4UG04], [VC4UG04], [FVC], [Charge], [valid], [errorScore]) VALUES (@Vers, @" + + "QuoteType, @CodQuote, @QuoteRev, @IdxQState, @CodClient, @ClientName, @CodItem, " + + "@CodItemGroup, @RawMat, @UnitWeight, @BatchQty, @CodInco, @TranspZone, @KeyAM, @" + + "Note, @PriceOff, @CodClientAssoc, @ClientNameAssoc, @ItemDescr, @CodifProfilo, @" + + "ClasseMerc, @TipoDies, @CodDiesGroup, @DiamDies, @HoleNumDies, @DiesPrice_avg, @" + + "DiesPrice, @SamplePrice, @DiesPriceClientQuote, @DiesExpLife, @DiesEOLife, @Dies" + + "TecLife, @DiesCommLife, @MonthSalesPrev, @DiesByClass, @NumDiesInList, @NumDiesE" + + "xaust, @CodPlant, @KeyAMIL, @KgTeo, @NumSMED, @QuotaMan, @PRMWeight, @PWeight, @" + + "PTare, @LivPackage, @LivPackageDett, @RawMatCost, @RawMatExtraCost, @RawMatFullC" + + "ost, @CodPackag, @PkgDesc, @FSR, @ProvvCost, @EECost, @GasCost, @DiesCost, @Pack" + + "Cost, @TranspCost, @SellCost01, @RefCost01, @SellCost04, @RefCost04, @WSR01_avg," + + " @WSR01, @MSR01_avg, @MSR01, @NetProd01_avg, @NetProd01, @FC4UG01, @VC4UG01, @OH" + + "4UG01, @SC4UG01, @DSR_avg, @DSR, @NetProd04, @FC4UG04, @VC4UG04, @FVC, @Charge, " + + "@valid, @errorScore);\r\nSELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, Co" + + "dClient, ClientName, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInc" + + "o, TranspZone, KeyAM, Note, PriceOff, CodClientAssoc, ClientNameAssoc, ItemDescr" + + ", CodifProfilo, ClasseMerc, TipoDies, CodDiesGroup, DiamDies, HoleNumDies, DiesP" + + "rice_avg, DiesPrice, SamplePrice, DiesFullCost, DiesPriceClientQuote, DiesExpLif" + + "e, DiesEOLife, DiesTecLife, DiesCommLife, MonthSalesPrev, SalesPrevCost, DiesFin" + + "Cost, ClientQuoteReven, ExtraDiscountDies, DiesByClass, NumDiesInList, NumDiesEx" + + "aust, CodPlant, KeyAMIL, KgTeo, NumSMED, QuotaMan, PRMWeight, PWeight, PTare, Li" + + "vPackage, LivPackageDett, RawMatCost, RawMatExtraCost, RawMatFullCost, CodPackag" + + ", PkgDesc, FSR, ProvvCost, EECost, GasCost, DiesCost, PackCost, TranspCost, Sell" + + "Cost01, RefCost01, SellCost04, RefCost04, WSR01_avg, WSR01, MSR01_avg, MSR01, Ne" + + "tProd01_avg, NetProd01, FC4UG01, VC4UG01, OH4UG01, SC4UG01, DSR_avg, DSR, NetPro" + + "d04, FC4UG04, VC4UG04, FVC, Charge, valid, errorScore FROM QuoteFull_S WHERE (Co" + + "dQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Vers", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxQState", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxQState", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClient", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClientName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClientName", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItem", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItemGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMat", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UnitWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "UnitWeight", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchQty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BatchQty", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodInco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TranspZone", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TranspZone", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KeyAM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyAM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PriceOff", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "PriceOff", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClientAssoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClientAssoc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClientNameAssoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClientNameAssoc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemDescr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemDescr", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodifProfilo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodifProfilo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseMerc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseMerc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoDies", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoDies", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDiesGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDiesGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiamDies", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiamDies", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HoleNumDies", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HoleNumDies", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesPrice_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesPrice_avg", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesPrice", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SamplePrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "SamplePrice", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesPriceClientQuote", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesPriceClientQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesExpLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesExpLife", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesEOLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesEOLife", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesTecLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesTecLife", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesCommLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesCommLife", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MonthSalesPrev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MonthSalesPrev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesByClass", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesByClass", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDiesInList", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "NumDiesInList", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDiesExaust", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "NumDiesExaust", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPlant", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KeyAMIL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyAMIL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KgTeo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "KgTeo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumSMED", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "NumSMED", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuotaMan", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "QuotaMan", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PRMWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PRMWeight", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PWeight", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PTare", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PTare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LivPackage", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LivPackage", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LivPackageDett", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LivPackageDett", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatExtraCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatFullCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatFullCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPackag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPackag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PkgDesc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PkgDesc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FSR", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProvvCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "ProvvCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EECost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "EECost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GasCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "GasCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PackCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PackCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TranspCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TranspCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SellCost01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "SellCost01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RefCost01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RefCost01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SellCost04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "SellCost04", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RefCost04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RefCost04", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WSR01_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR01_avg", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WSR01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MSR01_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR01_avg", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MSR01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetProd01_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd01_avg", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetProd01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FC4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VC4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OH4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OH4UG01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SC4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SC4UG01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DSR_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DSR_avg", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DSR", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetProd04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd04", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FC4UG04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG04", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VC4UG04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG04", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FVC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FVC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Charge", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "Charge", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@errorScore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "errorScore", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[QuoteFull_S] SET [Vers] = @Vers, [QuoteType] = @QuoteType, [CodQuot" + + "e] = @CodQuote, [QuoteRev] = @QuoteRev, [IdxQState] = @IdxQState, [CodClient] = " + + "@CodClient, [ClientName] = @ClientName, [CodItem] = @CodItem, [CodItemGroup] = @" + + "CodItemGroup, [RawMat] = @RawMat, [UnitWeight] = @UnitWeight, [BatchQty] = @Batc" + + "hQty, [CodInco] = @CodInco, [TranspZone] = @TranspZone, [KeyAM] = @KeyAM, [Note]" + + " = @Note, [PriceOff] = @PriceOff, [CodClientAssoc] = @CodClientAssoc, [ClientNam" + + "eAssoc] = @ClientNameAssoc, [ItemDescr] = @ItemDescr, [CodifProfilo] = @CodifPro" + + "filo, [ClasseMerc] = @ClasseMerc, [TipoDies] = @TipoDies, [CodDiesGroup] = @CodD" + + "iesGroup, [DiamDies] = @DiamDies, [HoleNumDies] = @HoleNumDies, [DiesPrice_avg] " + + "= @DiesPrice_avg, [DiesPrice] = @DiesPrice, [SamplePrice] = @SamplePrice, [DiesP" + + "riceClientQuote] = @DiesPriceClientQuote, [DiesExpLife] = @DiesExpLife, [DiesEOL" + + "ife] = @DiesEOLife, [DiesTecLife] = @DiesTecLife, [DiesCommLife] = @DiesCommLife" + + ", [MonthSalesPrev] = @MonthSalesPrev, [DiesByClass] = @DiesByClass, [NumDiesInLi" + + "st] = @NumDiesInList, [NumDiesExaust] = @NumDiesExaust, [CodPlant] = @CodPlant, " + + "[KeyAMIL] = @KeyAMIL, [KgTeo] = @KgTeo, [NumSMED] = @NumSMED, [QuotaMan] = @Quot" + + "aMan, [PRMWeight] = @PRMWeight, [PWeight] = @PWeight, [PTare] = @PTare, [LivPack" + + "age] = @LivPackage, [LivPackageDett] = @LivPackageDett, [RawMatCost] = @RawMatCo" + + "st, [RawMatExtraCost] = @RawMatExtraCost, [RawMatFullCost] = @RawMatFullCost, [C" + + "odPackag] = @CodPackag, [PkgDesc] = @PkgDesc, [FSR] = @FSR, [ProvvCost] = @Provv" + + "Cost, [EECost] = @EECost, [GasCost] = @GasCost, [DiesCost] = @DiesCost, [PackCos" + + "t] = @PackCost, [TranspCost] = @TranspCost, [SellCost01] = @SellCost01, [RefCost" + + "01] = @RefCost01, [SellCost04] = @SellCost04, [RefCost04] = @RefCost04, [WSR01_a" + + "vg] = @WSR01_avg, [WSR01] = @WSR01, [MSR01_avg] = @MSR01_avg, [MSR01] = @MSR01, " + + "[NetProd01_avg] = @NetProd01_avg, [NetProd01] = @NetProd01, [FC4UG01] = @FC4UG01" + + ", [VC4UG01] = @VC4UG01, [OH4UG01] = @OH4UG01, [SC4UG01] = @SC4UG01, [DSR_avg] = " + + "@DSR_avg, [DSR] = @DSR, [NetProd04] = @NetProd04, [FC4UG04] = @FC4UG04, [VC4UG04" + + "] = @VC4UG04, [FVC] = @FVC, [Charge] = @Charge, [valid] = @valid, [errorScore] =" + + " @errorScore WHERE (([Vers] = @Original_Vers) AND ([QuoteType] = @Original_Quote" + + "Type) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev" + + ") AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient" + + ") AND ([ClientName] = @Original_ClientName) AND ([CodItem] = @Original_CodItem) " + + "AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) " + + "AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) " + + "AND ([CodInco] = @Original_CodInco) AND ([TranspZone] = @Original_TranspZone) AN" + + "D ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @O" + + "riginal_PriceOff) AND ((@IsNull_CodClientAssoc = 1 AND [CodClientAssoc] IS NULL)" + + " OR ([CodClientAssoc] = @Original_CodClientAssoc)) AND ((@IsNull_ClientNameAssoc" + + " = 1 AND [ClientNameAssoc] IS NULL) OR ([ClientNameAssoc] = @Original_ClientName" + + "Assoc)) AND ((@IsNull_ItemDescr = 1 AND [ItemDescr] IS NULL) OR ([ItemDescr] = @" + + "Original_ItemDescr)) AND ((@IsNull_CodifProfilo = 1 AND [CodifProfilo] IS NULL) " + + "OR ([CodifProfilo] = @Original_CodifProfilo)) AND ((@IsNull_ClasseMerc = 1 AND [" + + "ClasseMerc] IS NULL) OR ([ClasseMerc] = @Original_ClasseMerc)) AND ((@IsNull_Tip" + + "oDies = 1 AND [TipoDies] IS NULL) OR ([TipoDies] = @Original_TipoDies)) AND ((@I" + + "sNull_CodDiesGroup = 1 AND [CodDiesGroup] IS NULL) OR ([CodDiesGroup] = @Origina" + + "l_CodDiesGroup)) AND ((@IsNull_DiamDies = 1 AND [DiamDies] IS NULL) OR ([DiamDie" + + "s] = @Original_DiamDies)) AND ((@IsNull_HoleNumDies = 1 AND [HoleNumDies] IS NUL" + + "L) OR ([HoleNumDies] = @Original_HoleNumDies)) AND ((@IsNull_DiesPrice_avg = 1 A" + + "ND [DiesPrice_avg] IS NULL) OR ([DiesPrice_avg] = @Original_DiesPrice_avg)) AND " + + "([DiesPrice] = @Original_DiesPrice) AND ([SamplePrice] = @Original_SamplePrice) " + + "AND ((@IsNull_DiesFullCost = 1 AND [DiesFullCost] IS NULL) OR ([DiesFullCost] = " + + "@Original_DiesFullCost)) AND ([DiesPriceClientQuote] = @Original_DiesPriceClient" + + "Quote) AND ((@IsNull_DiesExpLife = 1 AND [DiesExpLife] IS NULL) OR ([DiesExpLife" + + "] = @Original_DiesExpLife)) AND ((@IsNull_DiesEOLife = 1 AND [DiesEOLife] IS NUL" + + "L) OR ([DiesEOLife] = @Original_DiesEOLife)) AND ([DiesTecLife] = @Original_Dies" + + "TecLife) AND ([DiesCommLife] = @Original_DiesCommLife) AND ([MonthSalesPrev] = @" + + "Original_MonthSalesPrev) AND ((@IsNull_SalesPrevCost = 1 AND [SalesPrevCost] IS " + + "NULL) OR ([SalesPrevCost] = @Original_SalesPrevCost)) AND ((@IsNull_DiesFinCost " + + "= 1 AND [DiesFinCost] IS NULL) OR ([DiesFinCost] = @Original_DiesFinCost)) AND (" + + "(@IsNull_ClientQuoteReven = 1 AND [ClientQuoteReven] IS NULL) OR ([ClientQuoteRe" + + "ven] = @Original_ClientQuoteReven)) AND ((@IsNull_ExtraDiscountDies = 1 AND [Ext" + + "raDiscountDies] IS NULL) OR ([ExtraDiscountDies] = @Original_ExtraDiscountDies))" + + " AND ((@IsNull_DiesByClass = 1 AND [DiesByClass] IS NULL) OR ([DiesByClass] = @O" + + "riginal_DiesByClass)) AND ((@IsNull_NumDiesInList = 1 AND [NumDiesInList] IS NUL" + + "L) OR ([NumDiesInList] = @Original_NumDiesInList)) AND ((@IsNull_NumDiesExaust =" + + " 1 AND [NumDiesExaust] IS NULL) OR ([NumDiesExaust] = @Original_NumDiesExaust)) " + + "AND ((@IsNull_CodPlant = 1 AND [CodPlant] IS NULL) OR ([CodPlant] = @Original_Co" + + "dPlant)) AND ((@IsNull_KeyAMIL = 1 AND [KeyAMIL] IS NULL) OR ([KeyAMIL] = @Origi" + + "nal_KeyAMIL)) AND ((@IsNull_KgTeo = 1 AND [KgTeo] IS NULL) OR ([KgTeo] = @Origin" + + "al_KgTeo)) AND ((@IsNull_NumSMED = 1 AND [NumSMED] IS NULL) OR ([NumSMED] = @Ori" + + "ginal_NumSMED)) AND ((@IsNull_QuotaMan = 1 AND [QuotaMan] IS NULL) OR ([QuotaMan" + + "] = @Original_QuotaMan)) AND ((@IsNull_PRMWeight = 1 AND [PRMWeight] IS NULL) OR" + + " ([PRMWeight] = @Original_PRMWeight)) AND ((@IsNull_PWeight = 1 AND [PWeight] IS" + + " NULL) OR ([PWeight] = @Original_PWeight)) AND ((@IsNull_PTare = 1 AND [PTare] I" + + "S NULL) OR ([PTare] = @Original_PTare)) AND ((@IsNull_LivPackage = 1 AND [LivPac" + + "kage] IS NULL) OR ([LivPackage] = @Original_LivPackage)) AND ((@IsNull_LivPackag" + + "eDett = 1 AND [LivPackageDett] IS NULL) OR ([LivPackageDett] = @Original_LivPack" + + "ageDett)) AND ([RawMatCost] = @Original_RawMatCost) AND ([RawMatExtraCost] = @Or" + + "iginal_RawMatExtraCost) AND ((@IsNull_RawMatFullCost = 1 AND [RawMatFullCost] IS" + + " NULL) OR ([RawMatFullCost] = @Original_RawMatFullCost)) AND ([CodPackag] = @Ori" + + "ginal_CodPackag) AND ((@IsNull_PkgDesc = 1 AND [PkgDesc] IS NULL) OR ([PkgDesc] " + + "= @Original_PkgDesc)) AND ((@IsNull_FSR = 1 AND [FSR] IS NULL) OR ([FSR] = @Orig" + + "inal_FSR)) AND ([ProvvCost] = @Original_ProvvCost) AND ([EECost] = @Original_EEC" + + "ost) AND ([GasCost] = @Original_GasCost) AND ([DiesCost] = @Original_DiesCost) A" + + "ND ([PackCost] = @Original_PackCost) AND ([TranspCost] = @Original_TranspCost) A" + + "ND ([SellCost01] = @Original_SellCost01) AND ([RefCost01] = @Original_RefCost01)" + + " AND ([SellCost04] = @Original_SellCost04) AND ([RefCost04] = @Original_RefCost0" + + "4) AND ([WSR01_avg] = @Original_WSR01_avg) AND ([WSR01] = @Original_WSR01) AND (" + + "[MSR01_avg] = @Original_MSR01_avg) AND ([MSR01] = @Original_MSR01) AND ([NetProd" + + "01_avg] = @Original_NetProd01_avg) AND ([NetProd01] = @Original_NetProd01) AND (" + + "[FC4UG01] = @Original_FC4UG01) AND ([VC4UG01] = @Original_VC4UG01) AND ([OH4UG01" + + "] = @Original_OH4UG01) AND ([SC4UG01] = @Original_SC4UG01) AND ([DSR_avg] = @Ori" + + "ginal_DSR_avg) AND ((@IsNull_DSR = 1 AND [DSR] IS NULL) OR ([DSR] = @Original_DS" + + "R)) AND ([NetProd04] = @Original_NetProd04) AND ([FC4UG04] = @Original_FC4UG04) " + + "AND ([VC4UG04] = @Original_VC4UG04) AND ((@IsNull_FVC = 1 AND [FVC] IS NULL) OR " + + "([FVC] = @Original_FVC)) AND ([Charge] = @Original_Charge) AND ([valid] = @Origi" + + "nal_valid) AND ([errorScore] = @Original_errorScore));\r\nSELECT Vers, QuoteType, " + + "CodQuote, QuoteRev, IdxQState, CodClient, ClientName, CodItem, CodItemGroup, Raw" + + "Mat, UnitWeight, BatchQty, CodInco, TranspZone, KeyAM, Note, PriceOff, CodClient" + + "Assoc, ClientNameAssoc, ItemDescr, CodifProfilo, ClasseMerc, TipoDies, CodDiesGr" + + "oup, DiamDies, HoleNumDies, DiesPrice_avg, DiesPrice, SamplePrice, DiesFullCost," + + " DiesPriceClientQuote, DiesExpLife, DiesEOLife, DiesTecLife, DiesCommLife, Month" + + "SalesPrev, SalesPrevCost, DiesFinCost, ClientQuoteReven, ExtraDiscountDies, Dies" + + "ByClass, NumDiesInList, NumDiesExaust, CodPlant, KeyAMIL, KgTeo, NumSMED, QuotaM" + + "an, PRMWeight, PWeight, PTare, LivPackage, LivPackageDett, RawMatCost, RawMatExt" + + "raCost, RawMatFullCost, CodPackag, PkgDesc, FSR, ProvvCost, EECost, GasCost, Die" + + "sCost, PackCost, TranspCost, SellCost01, RefCost01, SellCost04, RefCost04, WSR01" + + "_avg, WSR01, MSR01_avg, MSR01, NetProd01_avg, NetProd01, FC4UG01, VC4UG01, OH4UG" + + "01, SC4UG01, DSR_avg, DSR, NetProd04, FC4UG04, VC4UG04, FVC, Charge, valid, erro" + + "rScore FROM QuoteFull_S WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) " + + "AND (QuoteType = @QuoteType)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Vers", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxQState", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxQState", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClient", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClientName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClientName", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItem", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItemGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItemGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMat", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UnitWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "UnitWeight", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchQty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BatchQty", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodInco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TranspZone", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TranspZone", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KeyAM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyAM", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PriceOff", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "PriceOff", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClientAssoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClientAssoc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClientNameAssoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClientNameAssoc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemDescr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemDescr", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodifProfilo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodifProfilo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ClasseMerc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseMerc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoDies", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoDies", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDiesGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDiesGroup", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiamDies", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiamDies", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HoleNumDies", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HoleNumDies", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesPrice_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesPrice_avg", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesPrice", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SamplePrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "SamplePrice", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesPriceClientQuote", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesPriceClientQuote", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesExpLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesExpLife", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesEOLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesEOLife", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesTecLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesTecLife", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesCommLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesCommLife", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MonthSalesPrev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MonthSalesPrev", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesByClass", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesByClass", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDiesInList", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "NumDiesInList", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDiesExaust", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "NumDiesExaust", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPlant", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KeyAMIL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyAMIL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KgTeo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "KgTeo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumSMED", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "NumSMED", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuotaMan", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "QuotaMan", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PRMWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PRMWeight", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PWeight", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PTare", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PTare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LivPackage", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LivPackage", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LivPackageDett", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LivPackageDett", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatExtraCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatFullCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatFullCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPackag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPackag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PkgDesc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PkgDesc", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FSR", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProvvCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "ProvvCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EECost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "EECost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GasCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "GasCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PackCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PackCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TranspCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TranspCost", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SellCost01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "SellCost01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RefCost01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RefCost01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SellCost04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "SellCost04", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RefCost04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RefCost04", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WSR01_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR01_avg", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WSR01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MSR01_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR01_avg", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MSR01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetProd01_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd01_avg", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetProd01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FC4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VC4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OH4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OH4UG01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SC4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SC4UG01", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DSR_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DSR_avg", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DSR", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetProd04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd04", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FC4UG04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG04", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VC4UG04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG04", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FVC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FVC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Charge", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "Charge", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@errorScore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "errorScore", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Vers", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Vers", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteType", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuoteRev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxQState", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxQState", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodClient", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClient", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClientName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClientName", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodItem", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItem", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodItemGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodItemGroup", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMat", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UnitWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "UnitWeight", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BatchQty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BatchQty", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodInco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodInco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TranspZone", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TranspZone", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KeyAM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyAM", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PriceOff", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "PriceOff", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodClientAssoc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClientAssoc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodClientAssoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodClientAssoc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClientNameAssoc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClientNameAssoc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClientNameAssoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClientNameAssoc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemDescr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemDescr", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemDescr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemDescr", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodifProfilo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodifProfilo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodifProfilo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodifProfilo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClasseMerc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseMerc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClasseMerc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClasseMerc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TipoDies", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoDies", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TipoDies", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoDies", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodDiesGroup", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDiesGroup", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDiesGroup", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDiesGroup", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiamDies", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiamDies", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiamDies", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiamDies", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_HoleNumDies", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HoleNumDies", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_HoleNumDies", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "HoleNumDies", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiesPrice_avg", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesPrice_avg", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesPrice_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesPrice_avg", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesPrice", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SamplePrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "SamplePrice", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiesFullCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesFullCost", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesFullCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 19, 6, "DiesFullCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesPriceClientQuote", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesPriceClientQuote", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiesExpLife", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesExpLife", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesExpLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesExpLife", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiesEOLife", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesEOLife", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesEOLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesEOLife", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesTecLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesTecLife", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesCommLife", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesCommLife", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MonthSalesPrev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MonthSalesPrev", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SalesPrevCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SalesPrevCost", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SalesPrevCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 38, 6, "SalesPrevCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiesFinCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesFinCost", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesFinCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 38, 6, "DiesFinCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ClientQuoteReven", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ClientQuoteReven", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ClientQuoteReven", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 38, 20, "ClientQuoteReven", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtraDiscountDies", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtraDiscountDies", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtraDiscountDies", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 38, 6, "ExtraDiscountDies", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DiesByClass", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesByClass", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesByClass", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiesByClass", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumDiesInList", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumDiesInList", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumDiesInList", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "NumDiesInList", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumDiesExaust", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumDiesExaust", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumDiesExaust", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "NumDiesExaust", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodPlant", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPlant", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPlant", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_KeyAMIL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyAMIL", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KeyAMIL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KeyAMIL", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_KgTeo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "KgTeo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_KgTeo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "KgTeo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumSMED", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumSMED", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumSMED", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "NumSMED", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_QuotaMan", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "QuotaMan", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuotaMan", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "QuotaMan", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PRMWeight", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PRMWeight", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PRMWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PRMWeight", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PWeight", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PWeight", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PWeight", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PTare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PTare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PTare", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PTare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LivPackage", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LivPackage", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LivPackage", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LivPackage", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_LivPackageDett", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LivPackageDett", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_LivPackageDett", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LivPackageDett", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMatCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatExtraCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_RawMatFullCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RawMatFullCost", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RawMatFullCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RawMatFullCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPackag", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodPackag", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PkgDesc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PkgDesc", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PkgDesc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PkgDesc", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FSR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FSR", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FSR", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProvvCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "ProvvCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EECost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "EECost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GasCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "GasCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiesCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DiesCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PackCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "PackCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TranspCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TranspCost", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SellCost01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "SellCost01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RefCost01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RefCost01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SellCost04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "SellCost04", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RefCost04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "RefCost04", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WSR01_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR01_avg", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WSR01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MSR01_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR01_avg", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MSR01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NetProd01_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd01_avg", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NetProd01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FC4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_VC4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OH4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OH4UG01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SC4UG01", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SC4UG01", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DSR_avg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DSR_avg", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DSR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DSR", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "DSR", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NetProd04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd04", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FC4UG04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG04", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_VC4UG04", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG04", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FVC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FVC", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FVC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FVC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Charge", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "Charge", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_valid", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "valid", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_errorScore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "errorScore", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::C2P_Data.Properties.Settings.Default.Proxima_C2PConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = @"SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, TranspZone, KeyAM, Note, PriceOff, CodClientAssoc, ClientNameAssoc, ItemDescr, CodifProfilo, ClasseMerc, TipoDies, CodDiesGroup, DiamDies, HoleNumDies, DiesPrice_avg, DiesPrice, SamplePrice, DiesFullCost, DiesPriceClientQuote, DiesExpLife, DiesEOLife, DiesTecLife, DiesCommLife, MonthSalesPrev, SalesPrevCost, DiesFinCost, ClientQuoteReven, ExtraDiscountDies, DiesByClass, NumDiesInList, NumDiesExaust, CodPlant, KeyAMIL, KgTeo, NumSMED, QuotaMan, PRMWeight, PWeight, PTare, LivPackage, LivPackageDett, RawMatCost, RawMatExtraCost, RawMatFullCost, CodPackag, PkgDesc, FSR, ProvvCost, EECost, GasCost, DiesCost, PackCost, TranspCost, SellCost01, RefCost01, SellCost04, RefCost04, WSR01_avg, WSR01, MSR01_avg, MSR01, NetProd01_avg, NetProd01, FC4UG01, VC4UG01, OH4UG01, SC4UG01, DSR_avg, DSR, NetProd04, FC4UG04, VC4UG04, FVC, Charge, valid, errorScore FROM dbo.QuoteFull_S"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Quotes.QuoteFull_SDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Quotes.QuoteFull_SDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Quotes.QuoteFull_SDataTable dataTable = new DS_Quotes.QuoteFull_SDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Quotes.QuoteFull_SDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Quotes dataSet) { + return this.Adapter.Update(dataSet, "QuoteFull_S"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete( + string Original_Vers, + string Original_QuoteType, + long Original_CodQuote, + int Original_QuoteRev, + int Original_IdxQState, + string Original_CodClient, + string Original_ClientName, + string Original_CodItem, + string Original_CodItemGroup, + string Original_RawMat, + decimal Original_UnitWeight, + int Original_BatchQty, + string Original_CodInco, + string Original_TranspZone, + string Original_KeyAM, + string Original_Note, + decimal Original_PriceOff, + string Original_CodClientAssoc, + string Original_ClientNameAssoc, + string Original_ItemDescr, + string Original_CodifProfilo, + string Original_ClasseMerc, + string Original_TipoDies, + string Original_CodDiesGroup, + global::System.Nullable Original_DiamDies, + global::System.Nullable Original_HoleNumDies, + global::System.Nullable Original_DiesPrice_avg, + decimal Original_DiesPrice, + decimal Original_SamplePrice, + global::System.Nullable Original_DiesFullCost, + decimal Original_DiesPriceClientQuote, + global::System.Nullable Original_DiesExpLife, + global::System.Nullable Original_DiesEOLife, + decimal Original_DiesTecLife, + decimal Original_DiesCommLife, + int Original_MonthSalesPrev, + global::System.Nullable Original_SalesPrevCost, + global::System.Nullable Original_DiesFinCost, + global::System.Nullable Original_ClientQuoteReven, + global::System.Nullable Original_ExtraDiscountDies, + global::System.Nullable Original_DiesByClass, + global::System.Nullable Original_NumDiesInList, + global::System.Nullable Original_NumDiesExaust, + string Original_CodPlant, + string Original_KeyAMIL, + global::System.Nullable Original_KgTeo, + global::System.Nullable Original_NumSMED, + global::System.Nullable Original_QuotaMan, + global::System.Nullable Original_PRMWeight, + global::System.Nullable Original_PWeight, + global::System.Nullable Original_PTare, + string Original_LivPackage, + string Original_LivPackageDett, + decimal Original_RawMatCost, + decimal Original_RawMatExtraCost, + global::System.Nullable Original_RawMatFullCost, + string Original_CodPackag, + string Original_PkgDesc, + global::System.Nullable Original_FSR, + decimal Original_ProvvCost, + decimal Original_EECost, + decimal Original_GasCost, + decimal Original_DiesCost, + decimal Original_PackCost, + decimal Original_TranspCost, + decimal Original_SellCost01, + decimal Original_RefCost01, + decimal Original_SellCost04, + decimal Original_RefCost04, + decimal Original_WSR01_avg, + decimal Original_WSR01, + decimal Original_MSR01_avg, + decimal Original_MSR01, + decimal Original_NetProd01_avg, + decimal Original_NetProd01, + decimal Original_FC4UG01, + decimal Original_VC4UG01, + decimal Original_OH4UG01, + decimal Original_SC4UG01, + decimal Original_DSR_avg, + global::System.Nullable Original_DSR, + decimal Original_NetProd04, + decimal Original_FC4UG04, + decimal Original_VC4UG04, + global::System.Nullable Original_FVC, + decimal Original_Charge, + bool Original_valid, + int Original_errorScore) { + if ((Original_Vers == null)) { + throw new global::System.ArgumentNullException("Original_Vers"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_Vers)); + } + if ((Original_QuoteType == null)) { + throw new global::System.ArgumentNullException("Original_QuoteType"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_QuoteType)); + } + this.Adapter.DeleteCommand.Parameters[2].Value = ((long)(Original_CodQuote)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_QuoteRev)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_IdxQState)); + if ((Original_CodClient == null)) { + throw new global::System.ArgumentNullException("Original_CodClient"); + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodClient)); + } + if ((Original_ClientName == null)) { + throw new global::System.ArgumentNullException("Original_ClientName"); + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_ClientName)); + } + if ((Original_CodItem == null)) { + throw new global::System.ArgumentNullException("Original_CodItem"); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CodItem)); + } + if ((Original_CodItemGroup == null)) { + throw new global::System.ArgumentNullException("Original_CodItemGroup"); + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_CodItemGroup)); + } + if ((Original_RawMat == null)) { + throw new global::System.ArgumentNullException("Original_RawMat"); + } + else { + this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_RawMat)); + } + this.Adapter.DeleteCommand.Parameters[10].Value = ((decimal)(Original_UnitWeight)); + this.Adapter.DeleteCommand.Parameters[11].Value = ((int)(Original_BatchQty)); + if ((Original_CodInco == null)) { + throw new global::System.ArgumentNullException("Original_CodInco"); + } + else { + this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_CodInco)); + } + if ((Original_TranspZone == null)) { + throw new global::System.ArgumentNullException("Original_TranspZone"); + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_TranspZone)); + } + if ((Original_KeyAM == null)) { + throw new global::System.ArgumentNullException("Original_KeyAM"); + } + else { + this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_KeyAM)); + } + if ((Original_Note == null)) { + throw new global::System.ArgumentNullException("Original_Note"); + } + else { + this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_Note)); + } + this.Adapter.DeleteCommand.Parameters[16].Value = ((decimal)(Original_PriceOff)); + if ((Original_CodClientAssoc == null)) { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_CodClientAssoc)); + } + if ((Original_ClientNameAssoc == null)) { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_ClientNameAssoc)); + } + if ((Original_ItemDescr == null)) { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_ItemDescr)); + } + if ((Original_CodifProfilo == null)) { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_CodifProfilo)); + } + if ((Original_ClasseMerc == null)) { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_ClasseMerc)); + } + if ((Original_TipoDies == null)) { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_TipoDies)); + } + if ((Original_CodDiesGroup == null)) { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_CodDiesGroup)); + } + if ((Original_DiamDies.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[32].Value = ((decimal)(Original_DiamDies.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; + } + if ((Original_HoleNumDies.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[34].Value = ((int)(Original_HoleNumDies.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; + } + if ((Original_DiesPrice_avg.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[36].Value = ((decimal)(Original_DiesPrice_avg.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; + } + this.Adapter.DeleteCommand.Parameters[37].Value = ((decimal)(Original_DiesPrice)); + this.Adapter.DeleteCommand.Parameters[38].Value = ((decimal)(Original_SamplePrice)); + if ((Original_DiesFullCost.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[40].Value = ((decimal)(Original_DiesFullCost.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value; + } + this.Adapter.DeleteCommand.Parameters[41].Value = ((decimal)(Original_DiesPriceClientQuote)); + if ((Original_DiesExpLife.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[43].Value = ((decimal)(Original_DiesExpLife.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[43].Value = global::System.DBNull.Value; + } + if ((Original_DiesEOLife.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[45].Value = ((decimal)(Original_DiesEOLife.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[45].Value = global::System.DBNull.Value; + } + this.Adapter.DeleteCommand.Parameters[46].Value = ((decimal)(Original_DiesTecLife)); + this.Adapter.DeleteCommand.Parameters[47].Value = ((decimal)(Original_DiesCommLife)); + this.Adapter.DeleteCommand.Parameters[48].Value = ((int)(Original_MonthSalesPrev)); + if ((Original_SalesPrevCost.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[50].Value = ((decimal)(Original_SalesPrevCost.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[49].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[50].Value = global::System.DBNull.Value; + } + if ((Original_DiesFinCost.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[52].Value = ((decimal)(Original_DiesFinCost.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[51].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[52].Value = global::System.DBNull.Value; + } + if ((Original_ClientQuoteReven.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[54].Value = ((decimal)(Original_ClientQuoteReven.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[53].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[54].Value = global::System.DBNull.Value; + } + if ((Original_ExtraDiscountDies.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[56].Value = ((decimal)(Original_ExtraDiscountDies.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[56].Value = global::System.DBNull.Value; + } + if ((Original_DiesByClass.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[57].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[58].Value = ((bool)(Original_DiesByClass.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[57].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[58].Value = global::System.DBNull.Value; + } + if ((Original_NumDiesInList.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[59].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[60].Value = ((decimal)(Original_NumDiesInList.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[59].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[60].Value = global::System.DBNull.Value; + } + if ((Original_NumDiesExaust.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[61].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[62].Value = ((decimal)(Original_NumDiesExaust.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[61].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[62].Value = global::System.DBNull.Value; + } + if ((Original_CodPlant == null)) { + this.Adapter.DeleteCommand.Parameters[63].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[64].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[63].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[64].Value = ((string)(Original_CodPlant)); + } + if ((Original_KeyAMIL == null)) { + this.Adapter.DeleteCommand.Parameters[65].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[66].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[65].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[66].Value = ((string)(Original_KeyAMIL)); + } + if ((Original_KgTeo.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[67].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[68].Value = ((decimal)(Original_KgTeo.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[67].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[68].Value = global::System.DBNull.Value; + } + if ((Original_NumSMED.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[69].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[70].Value = ((decimal)(Original_NumSMED.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[69].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[70].Value = global::System.DBNull.Value; + } + if ((Original_QuotaMan.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[71].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[72].Value = ((decimal)(Original_QuotaMan.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[71].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[72].Value = global::System.DBNull.Value; + } + if ((Original_PRMWeight.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[73].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[74].Value = ((decimal)(Original_PRMWeight.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[73].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[74].Value = global::System.DBNull.Value; + } + if ((Original_PWeight.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[75].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[76].Value = ((decimal)(Original_PWeight.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[75].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[76].Value = global::System.DBNull.Value; + } + if ((Original_PTare.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[77].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[78].Value = ((decimal)(Original_PTare.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[77].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[78].Value = global::System.DBNull.Value; + } + if ((Original_LivPackage == null)) { + this.Adapter.DeleteCommand.Parameters[79].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[80].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[79].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[80].Value = ((string)(Original_LivPackage)); + } + if ((Original_LivPackageDett == null)) { + this.Adapter.DeleteCommand.Parameters[81].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[82].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[81].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[82].Value = ((string)(Original_LivPackageDett)); + } + this.Adapter.DeleteCommand.Parameters[83].Value = ((decimal)(Original_RawMatCost)); + this.Adapter.DeleteCommand.Parameters[84].Value = ((decimal)(Original_RawMatExtraCost)); + if ((Original_RawMatFullCost.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[85].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[86].Value = ((decimal)(Original_RawMatFullCost.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[85].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[86].Value = global::System.DBNull.Value; + } + if ((Original_CodPackag == null)) { + throw new global::System.ArgumentNullException("Original_CodPackag"); + } + else { + this.Adapter.DeleteCommand.Parameters[87].Value = ((string)(Original_CodPackag)); + } + if ((Original_PkgDesc == null)) { + this.Adapter.DeleteCommand.Parameters[88].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[89].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[88].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[89].Value = ((string)(Original_PkgDesc)); + } + if ((Original_FSR.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[90].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[91].Value = ((decimal)(Original_FSR.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[90].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[91].Value = global::System.DBNull.Value; + } + this.Adapter.DeleteCommand.Parameters[92].Value = ((decimal)(Original_ProvvCost)); + this.Adapter.DeleteCommand.Parameters[93].Value = ((decimal)(Original_EECost)); + this.Adapter.DeleteCommand.Parameters[94].Value = ((decimal)(Original_GasCost)); + this.Adapter.DeleteCommand.Parameters[95].Value = ((decimal)(Original_DiesCost)); + this.Adapter.DeleteCommand.Parameters[96].Value = ((decimal)(Original_PackCost)); + this.Adapter.DeleteCommand.Parameters[97].Value = ((decimal)(Original_TranspCost)); + this.Adapter.DeleteCommand.Parameters[98].Value = ((decimal)(Original_SellCost01)); + this.Adapter.DeleteCommand.Parameters[99].Value = ((decimal)(Original_RefCost01)); + this.Adapter.DeleteCommand.Parameters[100].Value = ((decimal)(Original_SellCost04)); + this.Adapter.DeleteCommand.Parameters[101].Value = ((decimal)(Original_RefCost04)); + this.Adapter.DeleteCommand.Parameters[102].Value = ((decimal)(Original_WSR01_avg)); + this.Adapter.DeleteCommand.Parameters[103].Value = ((decimal)(Original_WSR01)); + this.Adapter.DeleteCommand.Parameters[104].Value = ((decimal)(Original_MSR01_avg)); + this.Adapter.DeleteCommand.Parameters[105].Value = ((decimal)(Original_MSR01)); + this.Adapter.DeleteCommand.Parameters[106].Value = ((decimal)(Original_NetProd01_avg)); + this.Adapter.DeleteCommand.Parameters[107].Value = ((decimal)(Original_NetProd01)); + this.Adapter.DeleteCommand.Parameters[108].Value = ((decimal)(Original_FC4UG01)); + this.Adapter.DeleteCommand.Parameters[109].Value = ((decimal)(Original_VC4UG01)); + this.Adapter.DeleteCommand.Parameters[110].Value = ((decimal)(Original_OH4UG01)); + this.Adapter.DeleteCommand.Parameters[111].Value = ((decimal)(Original_SC4UG01)); + this.Adapter.DeleteCommand.Parameters[112].Value = ((decimal)(Original_DSR_avg)); + if ((Original_DSR.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[113].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[114].Value = ((decimal)(Original_DSR.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[113].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[114].Value = global::System.DBNull.Value; + } + this.Adapter.DeleteCommand.Parameters[115].Value = ((decimal)(Original_NetProd04)); + this.Adapter.DeleteCommand.Parameters[116].Value = ((decimal)(Original_FC4UG04)); + this.Adapter.DeleteCommand.Parameters[117].Value = ((decimal)(Original_VC4UG04)); + if ((Original_FVC.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[118].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[119].Value = ((decimal)(Original_FVC.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[118].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[119].Value = global::System.DBNull.Value; + } + this.Adapter.DeleteCommand.Parameters[120].Value = ((decimal)(Original_Charge)); + this.Adapter.DeleteCommand.Parameters[121].Value = ((bool)(Original_valid)); + this.Adapter.DeleteCommand.Parameters[122].Value = ((int)(Original_errorScore)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert( + string Vers, + string QuoteType, + long CodQuote, + int QuoteRev, + int IdxQState, + string CodClient, + string ClientName, + string CodItem, + string CodItemGroup, + string RawMat, + decimal UnitWeight, + int BatchQty, + string CodInco, + string TranspZone, + string KeyAM, + string Note, + decimal PriceOff, + string CodClientAssoc, + string ClientNameAssoc, + string ItemDescr, + string CodifProfilo, + string ClasseMerc, + string TipoDies, + string CodDiesGroup, + global::System.Nullable DiamDies, + global::System.Nullable HoleNumDies, + global::System.Nullable DiesPrice_avg, + decimal DiesPrice, + decimal SamplePrice, + decimal DiesPriceClientQuote, + global::System.Nullable DiesExpLife, + global::System.Nullable DiesEOLife, + decimal DiesTecLife, + decimal DiesCommLife, + int MonthSalesPrev, + global::System.Nullable DiesByClass, + global::System.Nullable NumDiesInList, + global::System.Nullable NumDiesExaust, + string CodPlant, + string KeyAMIL, + global::System.Nullable KgTeo, + global::System.Nullable NumSMED, + global::System.Nullable QuotaMan, + global::System.Nullable PRMWeight, + global::System.Nullable PWeight, + global::System.Nullable PTare, + string LivPackage, + string LivPackageDett, + decimal RawMatCost, + decimal RawMatExtraCost, + global::System.Nullable RawMatFullCost, + string CodPackag, + string PkgDesc, + global::System.Nullable FSR, + decimal ProvvCost, + decimal EECost, + decimal GasCost, + decimal DiesCost, + decimal PackCost, + decimal TranspCost, + decimal SellCost01, + decimal RefCost01, + decimal SellCost04, + decimal RefCost04, + decimal WSR01_avg, + decimal WSR01, + decimal MSR01_avg, + decimal MSR01, + decimal NetProd01_avg, + decimal NetProd01, + decimal FC4UG01, + decimal VC4UG01, + decimal OH4UG01, + decimal SC4UG01, + decimal DSR_avg, + global::System.Nullable DSR, + decimal NetProd04, + decimal FC4UG04, + decimal VC4UG04, + global::System.Nullable FVC, + decimal Charge, + bool valid, + int errorScore) { + if ((Vers == null)) { + throw new global::System.ArgumentNullException("Vers"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Vers)); + } + if ((QuoteType == null)) { + throw new global::System.ArgumentNullException("QuoteType"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(QuoteType)); + } + this.Adapter.InsertCommand.Parameters[2].Value = ((long)(CodQuote)); + this.Adapter.InsertCommand.Parameters[3].Value = ((int)(QuoteRev)); + this.Adapter.InsertCommand.Parameters[4].Value = ((int)(IdxQState)); + if ((CodClient == null)) { + throw new global::System.ArgumentNullException("CodClient"); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodClient)); + } + if ((ClientName == null)) { + throw new global::System.ArgumentNullException("ClientName"); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(ClientName)); + } + if ((CodItem == null)) { + throw new global::System.ArgumentNullException("CodItem"); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(CodItem)); + } + if ((CodItemGroup == null)) { + throw new global::System.ArgumentNullException("CodItemGroup"); + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(CodItemGroup)); + } + if ((RawMat == null)) { + throw new global::System.ArgumentNullException("RawMat"); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = ((string)(RawMat)); + } + this.Adapter.InsertCommand.Parameters[10].Value = ((decimal)(UnitWeight)); + this.Adapter.InsertCommand.Parameters[11].Value = ((int)(BatchQty)); + if ((CodInco == null)) { + throw new global::System.ArgumentNullException("CodInco"); + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = ((string)(CodInco)); + } + if ((TranspZone == null)) { + throw new global::System.ArgumentNullException("TranspZone"); + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = ((string)(TranspZone)); + } + if ((KeyAM == null)) { + throw new global::System.ArgumentNullException("KeyAM"); + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = ((string)(KeyAM)); + } + if ((Note == null)) { + throw new global::System.ArgumentNullException("Note"); + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = ((string)(Note)); + } + this.Adapter.InsertCommand.Parameters[16].Value = ((decimal)(PriceOff)); + if ((CodClientAssoc == null)) { + this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[17].Value = ((string)(CodClientAssoc)); + } + if ((ClientNameAssoc == null)) { + this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[18].Value = ((string)(ClientNameAssoc)); + } + if ((ItemDescr == null)) { + this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = ((string)(ItemDescr)); + } + if ((CodifProfilo == null)) { + this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[20].Value = ((string)(CodifProfilo)); + } + if ((ClasseMerc == null)) { + this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[21].Value = ((string)(ClasseMerc)); + } + if ((TipoDies == null)) { + this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[22].Value = ((string)(TipoDies)); + } + if ((CodDiesGroup == null)) { + this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[23].Value = ((string)(CodDiesGroup)); + } + if ((DiamDies.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[24].Value = ((decimal)(DiamDies.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((HoleNumDies.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[25].Value = ((int)(HoleNumDies.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value; + } + if ((DiesPrice_avg.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[26].Value = ((decimal)(DiesPrice_avg.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value; + } + this.Adapter.InsertCommand.Parameters[27].Value = ((decimal)(DiesPrice)); + this.Adapter.InsertCommand.Parameters[28].Value = ((decimal)(SamplePrice)); + this.Adapter.InsertCommand.Parameters[29].Value = ((decimal)(DiesPriceClientQuote)); + if ((DiesExpLife.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[30].Value = ((decimal)(DiesExpLife.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[30].Value = global::System.DBNull.Value; + } + if ((DiesEOLife.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[31].Value = ((decimal)(DiesEOLife.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[31].Value = global::System.DBNull.Value; + } + this.Adapter.InsertCommand.Parameters[32].Value = ((decimal)(DiesTecLife)); + this.Adapter.InsertCommand.Parameters[33].Value = ((decimal)(DiesCommLife)); + this.Adapter.InsertCommand.Parameters[34].Value = ((int)(MonthSalesPrev)); + if ((DiesByClass.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[35].Value = ((bool)(DiesByClass.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[35].Value = global::System.DBNull.Value; + } + if ((NumDiesInList.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[36].Value = ((decimal)(NumDiesInList.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[36].Value = global::System.DBNull.Value; + } + if ((NumDiesExaust.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[37].Value = ((decimal)(NumDiesExaust.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[37].Value = global::System.DBNull.Value; + } + if ((CodPlant == null)) { + this.Adapter.InsertCommand.Parameters[38].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[38].Value = ((string)(CodPlant)); + } + if ((KeyAMIL == null)) { + this.Adapter.InsertCommand.Parameters[39].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[39].Value = ((string)(KeyAMIL)); + } + if ((KgTeo.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[40].Value = ((decimal)(KgTeo.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[40].Value = global::System.DBNull.Value; + } + if ((NumSMED.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[41].Value = ((decimal)(NumSMED.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[41].Value = global::System.DBNull.Value; + } + if ((QuotaMan.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[42].Value = ((decimal)(QuotaMan.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[42].Value = global::System.DBNull.Value; + } + if ((PRMWeight.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[43].Value = ((decimal)(PRMWeight.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[43].Value = global::System.DBNull.Value; + } + if ((PWeight.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[44].Value = ((decimal)(PWeight.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[44].Value = global::System.DBNull.Value; + } + if ((PTare.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[45].Value = ((decimal)(PTare.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[45].Value = global::System.DBNull.Value; + } + if ((LivPackage == null)) { + this.Adapter.InsertCommand.Parameters[46].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[46].Value = ((string)(LivPackage)); + } + if ((LivPackageDett == null)) { + this.Adapter.InsertCommand.Parameters[47].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[47].Value = ((string)(LivPackageDett)); + } + this.Adapter.InsertCommand.Parameters[48].Value = ((decimal)(RawMatCost)); + this.Adapter.InsertCommand.Parameters[49].Value = ((decimal)(RawMatExtraCost)); + if ((RawMatFullCost.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[50].Value = ((decimal)(RawMatFullCost.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[50].Value = global::System.DBNull.Value; + } + if ((CodPackag == null)) { + throw new global::System.ArgumentNullException("CodPackag"); + } + else { + this.Adapter.InsertCommand.Parameters[51].Value = ((string)(CodPackag)); + } + if ((PkgDesc == null)) { + this.Adapter.InsertCommand.Parameters[52].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[52].Value = ((string)(PkgDesc)); + } + if ((FSR.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[53].Value = ((decimal)(FSR.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[53].Value = global::System.DBNull.Value; + } + this.Adapter.InsertCommand.Parameters[54].Value = ((decimal)(ProvvCost)); + this.Adapter.InsertCommand.Parameters[55].Value = ((decimal)(EECost)); + this.Adapter.InsertCommand.Parameters[56].Value = ((decimal)(GasCost)); + this.Adapter.InsertCommand.Parameters[57].Value = ((decimal)(DiesCost)); + this.Adapter.InsertCommand.Parameters[58].Value = ((decimal)(PackCost)); + this.Adapter.InsertCommand.Parameters[59].Value = ((decimal)(TranspCost)); + this.Adapter.InsertCommand.Parameters[60].Value = ((decimal)(SellCost01)); + this.Adapter.InsertCommand.Parameters[61].Value = ((decimal)(RefCost01)); + this.Adapter.InsertCommand.Parameters[62].Value = ((decimal)(SellCost04)); + this.Adapter.InsertCommand.Parameters[63].Value = ((decimal)(RefCost04)); + this.Adapter.InsertCommand.Parameters[64].Value = ((decimal)(WSR01_avg)); + this.Adapter.InsertCommand.Parameters[65].Value = ((decimal)(WSR01)); + this.Adapter.InsertCommand.Parameters[66].Value = ((decimal)(MSR01_avg)); + this.Adapter.InsertCommand.Parameters[67].Value = ((decimal)(MSR01)); + this.Adapter.InsertCommand.Parameters[68].Value = ((decimal)(NetProd01_avg)); + this.Adapter.InsertCommand.Parameters[69].Value = ((decimal)(NetProd01)); + this.Adapter.InsertCommand.Parameters[70].Value = ((decimal)(FC4UG01)); + this.Adapter.InsertCommand.Parameters[71].Value = ((decimal)(VC4UG01)); + this.Adapter.InsertCommand.Parameters[72].Value = ((decimal)(OH4UG01)); + this.Adapter.InsertCommand.Parameters[73].Value = ((decimal)(SC4UG01)); + this.Adapter.InsertCommand.Parameters[74].Value = ((decimal)(DSR_avg)); + if ((DSR.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[75].Value = ((decimal)(DSR.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[75].Value = global::System.DBNull.Value; + } + this.Adapter.InsertCommand.Parameters[76].Value = ((decimal)(NetProd04)); + this.Adapter.InsertCommand.Parameters[77].Value = ((decimal)(FC4UG04)); + this.Adapter.InsertCommand.Parameters[78].Value = ((decimal)(VC4UG04)); + if ((FVC.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[79].Value = ((decimal)(FVC.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[79].Value = global::System.DBNull.Value; + } + this.Adapter.InsertCommand.Parameters[80].Value = ((decimal)(Charge)); + this.Adapter.InsertCommand.Parameters[81].Value = ((bool)(valid)); + this.Adapter.InsertCommand.Parameters[82].Value = ((int)(errorScore)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string Vers, + string QuoteType, + long CodQuote, + int QuoteRev, + int IdxQState, + string CodClient, + string ClientName, + string CodItem, + string CodItemGroup, + string RawMat, + decimal UnitWeight, + int BatchQty, + string CodInco, + string TranspZone, + string KeyAM, + string Note, + decimal PriceOff, + string CodClientAssoc, + string ClientNameAssoc, + string ItemDescr, + string CodifProfilo, + string ClasseMerc, + string TipoDies, + string CodDiesGroup, + global::System.Nullable DiamDies, + global::System.Nullable HoleNumDies, + global::System.Nullable DiesPrice_avg, + decimal DiesPrice, + decimal SamplePrice, + decimal DiesPriceClientQuote, + global::System.Nullable DiesExpLife, + global::System.Nullable DiesEOLife, + decimal DiesTecLife, + decimal DiesCommLife, + int MonthSalesPrev, + global::System.Nullable DiesByClass, + global::System.Nullable NumDiesInList, + global::System.Nullable NumDiesExaust, + string CodPlant, + string KeyAMIL, + global::System.Nullable KgTeo, + global::System.Nullable NumSMED, + global::System.Nullable QuotaMan, + global::System.Nullable PRMWeight, + global::System.Nullable PWeight, + global::System.Nullable PTare, + string LivPackage, + string LivPackageDett, + decimal RawMatCost, + decimal RawMatExtraCost, + global::System.Nullable RawMatFullCost, + string CodPackag, + string PkgDesc, + global::System.Nullable FSR, + decimal ProvvCost, + decimal EECost, + decimal GasCost, + decimal DiesCost, + decimal PackCost, + decimal TranspCost, + decimal SellCost01, + decimal RefCost01, + decimal SellCost04, + decimal RefCost04, + decimal WSR01_avg, + decimal WSR01, + decimal MSR01_avg, + decimal MSR01, + decimal NetProd01_avg, + decimal NetProd01, + decimal FC4UG01, + decimal VC4UG01, + decimal OH4UG01, + decimal SC4UG01, + decimal DSR_avg, + global::System.Nullable DSR, + decimal NetProd04, + decimal FC4UG04, + decimal VC4UG04, + global::System.Nullable FVC, + decimal Charge, + bool valid, + int errorScore, + string Original_Vers, + string Original_QuoteType, + long Original_CodQuote, + int Original_QuoteRev, + int Original_IdxQState, + string Original_CodClient, + string Original_ClientName, + string Original_CodItem, + string Original_CodItemGroup, + string Original_RawMat, + decimal Original_UnitWeight, + int Original_BatchQty, + string Original_CodInco, + string Original_TranspZone, + string Original_KeyAM, + string Original_Note, + decimal Original_PriceOff, + string Original_CodClientAssoc, + string Original_ClientNameAssoc, + string Original_ItemDescr, + string Original_CodifProfilo, + string Original_ClasseMerc, + string Original_TipoDies, + string Original_CodDiesGroup, + global::System.Nullable Original_DiamDies, + global::System.Nullable Original_HoleNumDies, + global::System.Nullable Original_DiesPrice_avg, + decimal Original_DiesPrice, + decimal Original_SamplePrice, + global::System.Nullable Original_DiesFullCost, + decimal Original_DiesPriceClientQuote, + global::System.Nullable Original_DiesExpLife, + global::System.Nullable Original_DiesEOLife, + decimal Original_DiesTecLife, + decimal Original_DiesCommLife, + int Original_MonthSalesPrev, + global::System.Nullable Original_SalesPrevCost, + global::System.Nullable Original_DiesFinCost, + global::System.Nullable Original_ClientQuoteReven, + global::System.Nullable Original_ExtraDiscountDies, + global::System.Nullable Original_DiesByClass, + global::System.Nullable Original_NumDiesInList, + global::System.Nullable Original_NumDiesExaust, + string Original_CodPlant, + string Original_KeyAMIL, + global::System.Nullable Original_KgTeo, + global::System.Nullable Original_NumSMED, + global::System.Nullable Original_QuotaMan, + global::System.Nullable Original_PRMWeight, + global::System.Nullable Original_PWeight, + global::System.Nullable Original_PTare, + string Original_LivPackage, + string Original_LivPackageDett, + decimal Original_RawMatCost, + decimal Original_RawMatExtraCost, + global::System.Nullable Original_RawMatFullCost, + string Original_CodPackag, + string Original_PkgDesc, + global::System.Nullable Original_FSR, + decimal Original_ProvvCost, + decimal Original_EECost, + decimal Original_GasCost, + decimal Original_DiesCost, + decimal Original_PackCost, + decimal Original_TranspCost, + decimal Original_SellCost01, + decimal Original_RefCost01, + decimal Original_SellCost04, + decimal Original_RefCost04, + decimal Original_WSR01_avg, + decimal Original_WSR01, + decimal Original_MSR01_avg, + decimal Original_MSR01, + decimal Original_NetProd01_avg, + decimal Original_NetProd01, + decimal Original_FC4UG01, + decimal Original_VC4UG01, + decimal Original_OH4UG01, + decimal Original_SC4UG01, + decimal Original_DSR_avg, + global::System.Nullable Original_DSR, + decimal Original_NetProd04, + decimal Original_FC4UG04, + decimal Original_VC4UG04, + global::System.Nullable Original_FVC, + decimal Original_Charge, + bool Original_valid, + int Original_errorScore) { + if ((Vers == null)) { + throw new global::System.ArgumentNullException("Vers"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Vers)); + } + if ((QuoteType == null)) { + throw new global::System.ArgumentNullException("QuoteType"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(QuoteType)); + } + this.Adapter.UpdateCommand.Parameters[2].Value = ((long)(CodQuote)); + this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(QuoteRev)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(IdxQState)); + if ((CodClient == null)) { + throw new global::System.ArgumentNullException("CodClient"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodClient)); + } + if ((ClientName == null)) { + throw new global::System.ArgumentNullException("ClientName"); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(ClientName)); + } + if ((CodItem == null)) { + throw new global::System.ArgumentNullException("CodItem"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(CodItem)); + } + if ((CodItemGroup == null)) { + throw new global::System.ArgumentNullException("CodItemGroup"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(CodItemGroup)); + } + if ((RawMat == null)) { + throw new global::System.ArgumentNullException("RawMat"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(RawMat)); + } + this.Adapter.UpdateCommand.Parameters[10].Value = ((decimal)(UnitWeight)); + this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(BatchQty)); + if ((CodInco == null)) { + throw new global::System.ArgumentNullException("CodInco"); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(CodInco)); + } + if ((TranspZone == null)) { + throw new global::System.ArgumentNullException("TranspZone"); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(TranspZone)); + } + if ((KeyAM == null)) { + throw new global::System.ArgumentNullException("KeyAM"); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(KeyAM)); + } + if ((Note == null)) { + throw new global::System.ArgumentNullException("Note"); + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Note)); + } + this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(PriceOff)); + if ((CodClientAssoc == null)) { + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(CodClientAssoc)); + } + if ((ClientNameAssoc == null)) { + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(ClientNameAssoc)); + } + if ((ItemDescr == null)) { + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(ItemDescr)); + } + if ((CodifProfilo == null)) { + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(CodifProfilo)); + } + if ((ClasseMerc == null)) { + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(ClasseMerc)); + } + if ((TipoDies == null)) { + this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(TipoDies)); + } + if ((CodDiesGroup == null)) { + this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(CodDiesGroup)); + } + if ((DiamDies.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[24].Value = ((decimal)(DiamDies.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; + } + if ((HoleNumDies.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(HoleNumDies.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + if ((DiesPrice_avg.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[26].Value = ((decimal)(DiesPrice_avg.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[27].Value = ((decimal)(DiesPrice)); + this.Adapter.UpdateCommand.Parameters[28].Value = ((decimal)(SamplePrice)); + this.Adapter.UpdateCommand.Parameters[29].Value = ((decimal)(DiesPriceClientQuote)); + if ((DiesExpLife.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[30].Value = ((decimal)(DiesExpLife.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; + } + if ((DiesEOLife.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[31].Value = ((decimal)(DiesEOLife.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[32].Value = ((decimal)(DiesTecLife)); + this.Adapter.UpdateCommand.Parameters[33].Value = ((decimal)(DiesCommLife)); + this.Adapter.UpdateCommand.Parameters[34].Value = ((int)(MonthSalesPrev)); + if ((DiesByClass.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[35].Value = ((bool)(DiesByClass.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value; + } + if ((NumDiesInList.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[36].Value = ((decimal)(NumDiesInList.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value; + } + if ((NumDiesExaust.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[37].Value = ((decimal)(NumDiesExaust.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; + } + if ((CodPlant == null)) { + this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(CodPlant)); + } + if ((KeyAMIL == null)) { + this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(KeyAMIL)); + } + if ((KgTeo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[40].Value = ((decimal)(KgTeo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; + } + if ((NumSMED.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[41].Value = ((decimal)(NumSMED.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; + } + if ((QuotaMan.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[42].Value = ((decimal)(QuotaMan.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; + } + if ((PRMWeight.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[43].Value = ((decimal)(PRMWeight.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value; + } + if ((PWeight.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[44].Value = ((decimal)(PWeight.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; + } + if ((PTare.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[45].Value = ((decimal)(PTare.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; + } + if ((LivPackage == null)) { + this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(LivPackage)); + } + if ((LivPackageDett == null)) { + this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(LivPackageDett)); + } + this.Adapter.UpdateCommand.Parameters[48].Value = ((decimal)(RawMatCost)); + this.Adapter.UpdateCommand.Parameters[49].Value = ((decimal)(RawMatExtraCost)); + if ((RawMatFullCost.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[50].Value = ((decimal)(RawMatFullCost.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; + } + if ((CodPackag == null)) { + throw new global::System.ArgumentNullException("CodPackag"); + } + else { + this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(CodPackag)); + } + if ((PkgDesc == null)) { + this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(PkgDesc)); + } + if ((FSR.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[53].Value = ((decimal)(FSR.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[54].Value = ((decimal)(ProvvCost)); + this.Adapter.UpdateCommand.Parameters[55].Value = ((decimal)(EECost)); + this.Adapter.UpdateCommand.Parameters[56].Value = ((decimal)(GasCost)); + this.Adapter.UpdateCommand.Parameters[57].Value = ((decimal)(DiesCost)); + this.Adapter.UpdateCommand.Parameters[58].Value = ((decimal)(PackCost)); + this.Adapter.UpdateCommand.Parameters[59].Value = ((decimal)(TranspCost)); + this.Adapter.UpdateCommand.Parameters[60].Value = ((decimal)(SellCost01)); + this.Adapter.UpdateCommand.Parameters[61].Value = ((decimal)(RefCost01)); + this.Adapter.UpdateCommand.Parameters[62].Value = ((decimal)(SellCost04)); + this.Adapter.UpdateCommand.Parameters[63].Value = ((decimal)(RefCost04)); + this.Adapter.UpdateCommand.Parameters[64].Value = ((decimal)(WSR01_avg)); + this.Adapter.UpdateCommand.Parameters[65].Value = ((decimal)(WSR01)); + this.Adapter.UpdateCommand.Parameters[66].Value = ((decimal)(MSR01_avg)); + this.Adapter.UpdateCommand.Parameters[67].Value = ((decimal)(MSR01)); + this.Adapter.UpdateCommand.Parameters[68].Value = ((decimal)(NetProd01_avg)); + this.Adapter.UpdateCommand.Parameters[69].Value = ((decimal)(NetProd01)); + this.Adapter.UpdateCommand.Parameters[70].Value = ((decimal)(FC4UG01)); + this.Adapter.UpdateCommand.Parameters[71].Value = ((decimal)(VC4UG01)); + this.Adapter.UpdateCommand.Parameters[72].Value = ((decimal)(OH4UG01)); + this.Adapter.UpdateCommand.Parameters[73].Value = ((decimal)(SC4UG01)); + this.Adapter.UpdateCommand.Parameters[74].Value = ((decimal)(DSR_avg)); + if ((DSR.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[75].Value = ((decimal)(DSR.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[76].Value = ((decimal)(NetProd04)); + this.Adapter.UpdateCommand.Parameters[77].Value = ((decimal)(FC4UG04)); + this.Adapter.UpdateCommand.Parameters[78].Value = ((decimal)(VC4UG04)); + if ((FVC.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[79].Value = ((decimal)(FVC.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[80].Value = ((decimal)(Charge)); + this.Adapter.UpdateCommand.Parameters[81].Value = ((bool)(valid)); + this.Adapter.UpdateCommand.Parameters[82].Value = ((int)(errorScore)); + if ((Original_Vers == null)) { + throw new global::System.ArgumentNullException("Original_Vers"); + } + else { + this.Adapter.UpdateCommand.Parameters[83].Value = ((string)(Original_Vers)); + } + if ((Original_QuoteType == null)) { + throw new global::System.ArgumentNullException("Original_QuoteType"); + } + else { + this.Adapter.UpdateCommand.Parameters[84].Value = ((string)(Original_QuoteType)); + } + this.Adapter.UpdateCommand.Parameters[85].Value = ((long)(Original_CodQuote)); + this.Adapter.UpdateCommand.Parameters[86].Value = ((int)(Original_QuoteRev)); + this.Adapter.UpdateCommand.Parameters[87].Value = ((int)(Original_IdxQState)); + if ((Original_CodClient == null)) { + throw new global::System.ArgumentNullException("Original_CodClient"); + } + else { + this.Adapter.UpdateCommand.Parameters[88].Value = ((string)(Original_CodClient)); + } + if ((Original_ClientName == null)) { + throw new global::System.ArgumentNullException("Original_ClientName"); + } + else { + this.Adapter.UpdateCommand.Parameters[89].Value = ((string)(Original_ClientName)); + } + if ((Original_CodItem == null)) { + throw new global::System.ArgumentNullException("Original_CodItem"); + } + else { + this.Adapter.UpdateCommand.Parameters[90].Value = ((string)(Original_CodItem)); + } + if ((Original_CodItemGroup == null)) { + throw new global::System.ArgumentNullException("Original_CodItemGroup"); + } + else { + this.Adapter.UpdateCommand.Parameters[91].Value = ((string)(Original_CodItemGroup)); + } + if ((Original_RawMat == null)) { + throw new global::System.ArgumentNullException("Original_RawMat"); + } + else { + this.Adapter.UpdateCommand.Parameters[92].Value = ((string)(Original_RawMat)); + } + this.Adapter.UpdateCommand.Parameters[93].Value = ((decimal)(Original_UnitWeight)); + this.Adapter.UpdateCommand.Parameters[94].Value = ((int)(Original_BatchQty)); + if ((Original_CodInco == null)) { + throw new global::System.ArgumentNullException("Original_CodInco"); + } + else { + this.Adapter.UpdateCommand.Parameters[95].Value = ((string)(Original_CodInco)); + } + if ((Original_TranspZone == null)) { + throw new global::System.ArgumentNullException("Original_TranspZone"); + } + else { + this.Adapter.UpdateCommand.Parameters[96].Value = ((string)(Original_TranspZone)); + } + if ((Original_KeyAM == null)) { + throw new global::System.ArgumentNullException("Original_KeyAM"); + } + else { + this.Adapter.UpdateCommand.Parameters[97].Value = ((string)(Original_KeyAM)); + } + if ((Original_Note == null)) { + throw new global::System.ArgumentNullException("Original_Note"); + } + else { + this.Adapter.UpdateCommand.Parameters[98].Value = ((string)(Original_Note)); + } + this.Adapter.UpdateCommand.Parameters[99].Value = ((decimal)(Original_PriceOff)); + if ((Original_CodClientAssoc == null)) { + this.Adapter.UpdateCommand.Parameters[100].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[101].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[100].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[101].Value = ((string)(Original_CodClientAssoc)); + } + if ((Original_ClientNameAssoc == null)) { + this.Adapter.UpdateCommand.Parameters[102].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[103].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[102].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[103].Value = ((string)(Original_ClientNameAssoc)); + } + if ((Original_ItemDescr == null)) { + this.Adapter.UpdateCommand.Parameters[104].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[105].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[104].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[105].Value = ((string)(Original_ItemDescr)); + } + if ((Original_CodifProfilo == null)) { + this.Adapter.UpdateCommand.Parameters[106].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[107].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[106].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[107].Value = ((string)(Original_CodifProfilo)); + } + if ((Original_ClasseMerc == null)) { + this.Adapter.UpdateCommand.Parameters[108].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[109].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[108].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[109].Value = ((string)(Original_ClasseMerc)); + } + if ((Original_TipoDies == null)) { + this.Adapter.UpdateCommand.Parameters[110].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[111].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[110].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[111].Value = ((string)(Original_TipoDies)); + } + if ((Original_CodDiesGroup == null)) { + this.Adapter.UpdateCommand.Parameters[112].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[113].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[112].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[113].Value = ((string)(Original_CodDiesGroup)); + } + if ((Original_DiamDies.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[114].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[115].Value = ((decimal)(Original_DiamDies.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[114].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[115].Value = global::System.DBNull.Value; + } + if ((Original_HoleNumDies.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[116].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[117].Value = ((int)(Original_HoleNumDies.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[116].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[117].Value = global::System.DBNull.Value; + } + if ((Original_DiesPrice_avg.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[118].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[119].Value = ((decimal)(Original_DiesPrice_avg.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[118].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[119].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[120].Value = ((decimal)(Original_DiesPrice)); + this.Adapter.UpdateCommand.Parameters[121].Value = ((decimal)(Original_SamplePrice)); + if ((Original_DiesFullCost.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[122].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[123].Value = ((decimal)(Original_DiesFullCost.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[122].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[123].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[124].Value = ((decimal)(Original_DiesPriceClientQuote)); + if ((Original_DiesExpLife.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[125].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[126].Value = ((decimal)(Original_DiesExpLife.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[125].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[126].Value = global::System.DBNull.Value; + } + if ((Original_DiesEOLife.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[127].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[128].Value = ((decimal)(Original_DiesEOLife.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[127].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[128].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[129].Value = ((decimal)(Original_DiesTecLife)); + this.Adapter.UpdateCommand.Parameters[130].Value = ((decimal)(Original_DiesCommLife)); + this.Adapter.UpdateCommand.Parameters[131].Value = ((int)(Original_MonthSalesPrev)); + if ((Original_SalesPrevCost.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[132].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[133].Value = ((decimal)(Original_SalesPrevCost.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[132].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[133].Value = global::System.DBNull.Value; + } + if ((Original_DiesFinCost.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[134].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[135].Value = ((decimal)(Original_DiesFinCost.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[134].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[135].Value = global::System.DBNull.Value; + } + if ((Original_ClientQuoteReven.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[136].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[137].Value = ((decimal)(Original_ClientQuoteReven.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[136].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[137].Value = global::System.DBNull.Value; + } + if ((Original_ExtraDiscountDies.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[138].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[139].Value = ((decimal)(Original_ExtraDiscountDies.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[138].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[139].Value = global::System.DBNull.Value; + } + if ((Original_DiesByClass.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[140].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[141].Value = ((bool)(Original_DiesByClass.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[140].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[141].Value = global::System.DBNull.Value; + } + if ((Original_NumDiesInList.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[142].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[143].Value = ((decimal)(Original_NumDiesInList.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[142].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[143].Value = global::System.DBNull.Value; + } + if ((Original_NumDiesExaust.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[144].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[145].Value = ((decimal)(Original_NumDiesExaust.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[144].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[145].Value = global::System.DBNull.Value; + } + if ((Original_CodPlant == null)) { + this.Adapter.UpdateCommand.Parameters[146].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[147].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[146].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[147].Value = ((string)(Original_CodPlant)); + } + if ((Original_KeyAMIL == null)) { + this.Adapter.UpdateCommand.Parameters[148].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[149].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[148].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[149].Value = ((string)(Original_KeyAMIL)); + } + if ((Original_KgTeo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[150].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[151].Value = ((decimal)(Original_KgTeo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[150].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[151].Value = global::System.DBNull.Value; + } + if ((Original_NumSMED.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[152].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[153].Value = ((decimal)(Original_NumSMED.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[152].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[153].Value = global::System.DBNull.Value; + } + if ((Original_QuotaMan.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[154].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[155].Value = ((decimal)(Original_QuotaMan.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[154].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[155].Value = global::System.DBNull.Value; + } + if ((Original_PRMWeight.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[156].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[157].Value = ((decimal)(Original_PRMWeight.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[156].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[157].Value = global::System.DBNull.Value; + } + if ((Original_PWeight.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[158].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[159].Value = ((decimal)(Original_PWeight.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[158].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[159].Value = global::System.DBNull.Value; + } + if ((Original_PTare.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[160].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[161].Value = ((decimal)(Original_PTare.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[160].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[161].Value = global::System.DBNull.Value; + } + if ((Original_LivPackage == null)) { + this.Adapter.UpdateCommand.Parameters[162].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[163].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[162].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[163].Value = ((string)(Original_LivPackage)); + } + if ((Original_LivPackageDett == null)) { + this.Adapter.UpdateCommand.Parameters[164].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[165].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[164].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[165].Value = ((string)(Original_LivPackageDett)); + } + this.Adapter.UpdateCommand.Parameters[166].Value = ((decimal)(Original_RawMatCost)); + this.Adapter.UpdateCommand.Parameters[167].Value = ((decimal)(Original_RawMatExtraCost)); + if ((Original_RawMatFullCost.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[168].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[169].Value = ((decimal)(Original_RawMatFullCost.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[168].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[169].Value = global::System.DBNull.Value; + } + if ((Original_CodPackag == null)) { + throw new global::System.ArgumentNullException("Original_CodPackag"); + } + else { + this.Adapter.UpdateCommand.Parameters[170].Value = ((string)(Original_CodPackag)); + } + if ((Original_PkgDesc == null)) { + this.Adapter.UpdateCommand.Parameters[171].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[172].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[171].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[172].Value = ((string)(Original_PkgDesc)); + } + if ((Original_FSR.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[173].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[174].Value = ((decimal)(Original_FSR.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[173].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[174].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[175].Value = ((decimal)(Original_ProvvCost)); + this.Adapter.UpdateCommand.Parameters[176].Value = ((decimal)(Original_EECost)); + this.Adapter.UpdateCommand.Parameters[177].Value = ((decimal)(Original_GasCost)); + this.Adapter.UpdateCommand.Parameters[178].Value = ((decimal)(Original_DiesCost)); + this.Adapter.UpdateCommand.Parameters[179].Value = ((decimal)(Original_PackCost)); + this.Adapter.UpdateCommand.Parameters[180].Value = ((decimal)(Original_TranspCost)); + this.Adapter.UpdateCommand.Parameters[181].Value = ((decimal)(Original_SellCost01)); + this.Adapter.UpdateCommand.Parameters[182].Value = ((decimal)(Original_RefCost01)); + this.Adapter.UpdateCommand.Parameters[183].Value = ((decimal)(Original_SellCost04)); + this.Adapter.UpdateCommand.Parameters[184].Value = ((decimal)(Original_RefCost04)); + this.Adapter.UpdateCommand.Parameters[185].Value = ((decimal)(Original_WSR01_avg)); + this.Adapter.UpdateCommand.Parameters[186].Value = ((decimal)(Original_WSR01)); + this.Adapter.UpdateCommand.Parameters[187].Value = ((decimal)(Original_MSR01_avg)); + this.Adapter.UpdateCommand.Parameters[188].Value = ((decimal)(Original_MSR01)); + this.Adapter.UpdateCommand.Parameters[189].Value = ((decimal)(Original_NetProd01_avg)); + this.Adapter.UpdateCommand.Parameters[190].Value = ((decimal)(Original_NetProd01)); + this.Adapter.UpdateCommand.Parameters[191].Value = ((decimal)(Original_FC4UG01)); + this.Adapter.UpdateCommand.Parameters[192].Value = ((decimal)(Original_VC4UG01)); + this.Adapter.UpdateCommand.Parameters[193].Value = ((decimal)(Original_OH4UG01)); + this.Adapter.UpdateCommand.Parameters[194].Value = ((decimal)(Original_SC4UG01)); + this.Adapter.UpdateCommand.Parameters[195].Value = ((decimal)(Original_DSR_avg)); + if ((Original_DSR.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[196].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[197].Value = ((decimal)(Original_DSR.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[196].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[197].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[198].Value = ((decimal)(Original_NetProd04)); + this.Adapter.UpdateCommand.Parameters[199].Value = ((decimal)(Original_FC4UG04)); + this.Adapter.UpdateCommand.Parameters[200].Value = ((decimal)(Original_VC4UG04)); + if ((Original_FVC.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[201].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[202].Value = ((decimal)(Original_FVC.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[201].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[202].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[203].Value = ((decimal)(Original_Charge)); + this.Adapter.UpdateCommand.Parameters[204].Value = ((bool)(Original_valid)); + this.Adapter.UpdateCommand.Parameters[205].Value = ((int)(Original_errorScore)); + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string Vers, + int IdxQState, + string CodClient, + string ClientName, + string CodItem, + string CodItemGroup, + string RawMat, + decimal UnitWeight, + int BatchQty, + string CodInco, + string TranspZone, + string KeyAM, + string Note, + decimal PriceOff, + string CodClientAssoc, + string ClientNameAssoc, + string ItemDescr, + string CodifProfilo, + string ClasseMerc, + string TipoDies, + string CodDiesGroup, + global::System.Nullable DiamDies, + global::System.Nullable HoleNumDies, + global::System.Nullable DiesPrice_avg, + decimal DiesPrice, + decimal SamplePrice, + decimal DiesPriceClientQuote, + global::System.Nullable DiesExpLife, + global::System.Nullable DiesEOLife, + decimal DiesTecLife, + decimal DiesCommLife, + int MonthSalesPrev, + global::System.Nullable DiesByClass, + global::System.Nullable NumDiesInList, + global::System.Nullable NumDiesExaust, + string CodPlant, + string KeyAMIL, + global::System.Nullable KgTeo, + global::System.Nullable NumSMED, + global::System.Nullable QuotaMan, + global::System.Nullable PRMWeight, + global::System.Nullable PWeight, + global::System.Nullable PTare, + string LivPackage, + string LivPackageDett, + decimal RawMatCost, + decimal RawMatExtraCost, + global::System.Nullable RawMatFullCost, + string CodPackag, + string PkgDesc, + global::System.Nullable FSR, + decimal ProvvCost, + decimal EECost, + decimal GasCost, + decimal DiesCost, + decimal PackCost, + decimal TranspCost, + decimal SellCost01, + decimal RefCost01, + decimal SellCost04, + decimal RefCost04, + decimal WSR01_avg, + decimal WSR01, + decimal MSR01_avg, + decimal MSR01, + decimal NetProd01_avg, + decimal NetProd01, + decimal FC4UG01, + decimal VC4UG01, + decimal OH4UG01, + decimal SC4UG01, + decimal DSR_avg, + global::System.Nullable DSR, + decimal NetProd04, + decimal FC4UG04, + decimal VC4UG04, + global::System.Nullable FVC, + decimal Charge, + bool valid, + int errorScore, + string Original_Vers, + string Original_QuoteType, + long Original_CodQuote, + int Original_QuoteRev, + int Original_IdxQState, + string Original_CodClient, + string Original_ClientName, + string Original_CodItem, + string Original_CodItemGroup, + string Original_RawMat, + decimal Original_UnitWeight, + int Original_BatchQty, + string Original_CodInco, + string Original_TranspZone, + string Original_KeyAM, + string Original_Note, + decimal Original_PriceOff, + string Original_CodClientAssoc, + string Original_ClientNameAssoc, + string Original_ItemDescr, + string Original_CodifProfilo, + string Original_ClasseMerc, + string Original_TipoDies, + string Original_CodDiesGroup, + global::System.Nullable Original_DiamDies, + global::System.Nullable Original_HoleNumDies, + global::System.Nullable Original_DiesPrice_avg, + decimal Original_DiesPrice, + decimal Original_SamplePrice, + global::System.Nullable Original_DiesFullCost, + decimal Original_DiesPriceClientQuote, + global::System.Nullable Original_DiesExpLife, + global::System.Nullable Original_DiesEOLife, + decimal Original_DiesTecLife, + decimal Original_DiesCommLife, + int Original_MonthSalesPrev, + global::System.Nullable Original_SalesPrevCost, + global::System.Nullable Original_DiesFinCost, + global::System.Nullable Original_ClientQuoteReven, + global::System.Nullable Original_ExtraDiscountDies, + global::System.Nullable Original_DiesByClass, + global::System.Nullable Original_NumDiesInList, + global::System.Nullable Original_NumDiesExaust, + string Original_CodPlant, + string Original_KeyAMIL, + global::System.Nullable Original_KgTeo, + global::System.Nullable Original_NumSMED, + global::System.Nullable Original_QuotaMan, + global::System.Nullable Original_PRMWeight, + global::System.Nullable Original_PWeight, + global::System.Nullable Original_PTare, + string Original_LivPackage, + string Original_LivPackageDett, + decimal Original_RawMatCost, + decimal Original_RawMatExtraCost, + global::System.Nullable Original_RawMatFullCost, + string Original_CodPackag, + string Original_PkgDesc, + global::System.Nullable Original_FSR, + decimal Original_ProvvCost, + decimal Original_EECost, + decimal Original_GasCost, + decimal Original_DiesCost, + decimal Original_PackCost, + decimal Original_TranspCost, + decimal Original_SellCost01, + decimal Original_RefCost01, + decimal Original_SellCost04, + decimal Original_RefCost04, + decimal Original_WSR01_avg, + decimal Original_WSR01, + decimal Original_MSR01_avg, + decimal Original_MSR01, + decimal Original_NetProd01_avg, + decimal Original_NetProd01, + decimal Original_FC4UG01, + decimal Original_VC4UG01, + decimal Original_OH4UG01, + decimal Original_SC4UG01, + decimal Original_DSR_avg, + global::System.Nullable Original_DSR, + decimal Original_NetProd04, + decimal Original_FC4UG04, + decimal Original_VC4UG04, + global::System.Nullable Original_FVC, + decimal Original_Charge, + bool Original_valid, + int Original_errorScore) { + return this.Update(Vers, Original_QuoteType, Original_CodQuote, Original_QuoteRev, IdxQState, CodClient, ClientName, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, TranspZone, KeyAM, Note, PriceOff, CodClientAssoc, ClientNameAssoc, ItemDescr, CodifProfilo, ClasseMerc, TipoDies, CodDiesGroup, DiamDies, HoleNumDies, DiesPrice_avg, DiesPrice, SamplePrice, DiesPriceClientQuote, DiesExpLife, DiesEOLife, DiesTecLife, DiesCommLife, MonthSalesPrev, DiesByClass, NumDiesInList, NumDiesExaust, CodPlant, KeyAMIL, KgTeo, NumSMED, QuotaMan, PRMWeight, PWeight, PTare, LivPackage, LivPackageDett, RawMatCost, RawMatExtraCost, RawMatFullCost, CodPackag, PkgDesc, FSR, ProvvCost, EECost, GasCost, DiesCost, PackCost, TranspCost, SellCost01, RefCost01, SellCost04, RefCost04, WSR01_avg, WSR01, MSR01_avg, MSR01, NetProd01_avg, NetProd01, FC4UG01, VC4UG01, OH4UG01, SC4UG01, DSR_avg, DSR, NetProd04, FC4UG04, VC4UG04, FVC, Charge, valid, errorScore, Original_Vers, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_IdxQState, Original_CodClient, Original_ClientName, Original_CodItem, Original_CodItemGroup, Original_RawMat, Original_UnitWeight, Original_BatchQty, Original_CodInco, Original_TranspZone, Original_KeyAM, Original_Note, Original_PriceOff, Original_CodClientAssoc, Original_ClientNameAssoc, Original_ItemDescr, Original_CodifProfilo, Original_ClasseMerc, Original_TipoDies, Original_CodDiesGroup, Original_DiamDies, Original_HoleNumDies, Original_DiesPrice_avg, Original_DiesPrice, Original_SamplePrice, Original_DiesFullCost, Original_DiesPriceClientQuote, Original_DiesExpLife, Original_DiesEOLife, Original_DiesTecLife, Original_DiesCommLife, Original_MonthSalesPrev, Original_SalesPrevCost, Original_DiesFinCost, Original_ClientQuoteReven, Original_ExtraDiscountDies, Original_DiesByClass, Original_NumDiesInList, Original_NumDiesExaust, Original_CodPlant, Original_KeyAMIL, Original_KgTeo, Original_NumSMED, Original_QuotaMan, Original_PRMWeight, Original_PWeight, Original_PTare, Original_LivPackage, Original_LivPackageDett, Original_RawMatCost, Original_RawMatExtraCost, Original_RawMatFullCost, Original_CodPackag, Original_PkgDesc, Original_FSR, Original_ProvvCost, Original_EECost, Original_GasCost, Original_DiesCost, Original_PackCost, Original_TranspCost, Original_SellCost01, Original_RefCost01, Original_SellCost04, Original_RefCost04, Original_WSR01_avg, Original_WSR01, Original_MSR01_avg, Original_MSR01, Original_NetProd01_avg, Original_NetProd01, Original_FC4UG01, Original_VC4UG01, Original_OH4UG01, Original_SC4UG01, Original_DSR_avg, Original_DSR, Original_NetProd04, Original_FC4UG04, Original_VC4UG04, Original_FVC, Original_Charge, Original_valid, Original_errorScore); + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -12980,6 +19151,8 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas private QuoteOCTableAdapter _quoteOCTableAdapter; + private QuoteFull_STableAdapter _quoteFull_STableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -13079,6 +19252,20 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + + "a", "System.Drawing.Design.UITypeEditor")] + public QuoteFull_STableAdapter QuoteFull_STableAdapter { + get { + return this._quoteFull_STableAdapter; + } + set { + this._quoteFull_STableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -13122,6 +19309,10 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas && (this._quoteOCTableAdapter.Connection != null))) { return this._quoteOCTableAdapter.Connection; } + if (((this._quoteFull_STableAdapter != null) + && (this._quoteFull_STableAdapter.Connection != null))) { + return this._quoteFull_STableAdapter.Connection; + } return null; } set { @@ -13153,6 +19344,9 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas if ((this._quoteOCTableAdapter != null)) { count = (count + 1); } + if ((this._quoteFull_STableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -13218,6 +19412,15 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas allChangedRows.AddRange(updatedRows); } } + if ((this._quoteFull_STableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.QuoteFull_S.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._quoteFull_STableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } return result; } @@ -13276,6 +19479,14 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas allAddedRows.AddRange(addedRows); } } + if ((this._quoteFull_STableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.QuoteFull_S.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._quoteFull_STableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } return result; } @@ -13286,6 +19497,14 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateDeletedRows(DS_Quotes dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; + if ((this._quoteFull_STableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.QuoteFull_S.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._quoteFull_STableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._quoteOCTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.QuoteOC.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -13403,6 +19622,11 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } + if (((this._quoteFull_STableAdapter != null) + && (this.MatchTableAdapterConnection(this._quoteFull_STableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + @@ -13489,6 +19713,15 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas adaptersWithAcceptChangesDuringUpdate.Add(this._quoteOCTableAdapter.Adapter); } } + if ((this._quoteFull_STableAdapter != null)) { + revertConnections.Add(this._quoteFull_STableAdapter, this._quoteFull_STableAdapter.Connection); + this._quoteFull_STableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._quoteFull_STableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._quoteFull_STableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._quoteFull_STableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._quoteFull_STableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -13571,6 +19804,10 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas this._quoteOCTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteOCTableAdapter])); this._quoteOCTableAdapter.Transaction = null; } + if ((this._quoteFull_STableAdapter != null)) { + this._quoteFull_STableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteFull_STableAdapter])); + this._quoteFull_STableAdapter.Transaction = null; + } if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); diff --git a/C2P_Data/DS_Quotes.xsd b/C2P_Data/DS_Quotes.xsd index abb4d4d..6e68b19 100644 --- a/C2P_Data/DS_Quotes.xsd +++ b/C2P_Data/DS_Quotes.xsd @@ -1013,6 +1013,544 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas + + + + + + DELETE FROM [dbo].[QuoteFull_S] WHERE (([Vers] = @Original_Vers) AND ([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([ClientName] = @Original_ClientName) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([TranspZone] = @Original_TranspZone) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_CodClientAssoc = 1 AND [CodClientAssoc] IS NULL) OR ([CodClientAssoc] = @Original_CodClientAssoc)) AND ((@IsNull_ClientNameAssoc = 1 AND [ClientNameAssoc] IS NULL) OR ([ClientNameAssoc] = @Original_ClientNameAssoc)) AND ((@IsNull_ItemDescr = 1 AND [ItemDescr] IS NULL) OR ([ItemDescr] = @Original_ItemDescr)) AND ((@IsNull_CodifProfilo = 1 AND [CodifProfilo] IS NULL) OR ([CodifProfilo] = @Original_CodifProfilo)) AND ((@IsNull_ClasseMerc = 1 AND [ClasseMerc] IS NULL) OR ([ClasseMerc] = @Original_ClasseMerc)) AND ((@IsNull_TipoDies = 1 AND [TipoDies] IS NULL) OR ([TipoDies] = @Original_TipoDies)) AND ((@IsNull_CodDiesGroup = 1 AND [CodDiesGroup] IS NULL) OR ([CodDiesGroup] = @Original_CodDiesGroup)) AND ((@IsNull_DiamDies = 1 AND [DiamDies] IS NULL) OR ([DiamDies] = @Original_DiamDies)) AND ((@IsNull_HoleNumDies = 1 AND [HoleNumDies] IS NULL) OR ([HoleNumDies] = @Original_HoleNumDies)) AND ((@IsNull_DiesPrice_avg = 1 AND [DiesPrice_avg] IS NULL) OR ([DiesPrice_avg] = @Original_DiesPrice_avg)) AND ([DiesPrice] = @Original_DiesPrice) AND ([SamplePrice] = @Original_SamplePrice) AND ((@IsNull_DiesFullCost = 1 AND [DiesFullCost] IS NULL) OR ([DiesFullCost] = @Original_DiesFullCost)) AND ([DiesPriceClientQuote] = @Original_DiesPriceClientQuote) AND ((@IsNull_DiesExpLife = 1 AND [DiesExpLife] IS NULL) OR ([DiesExpLife] = @Original_DiesExpLife)) AND ((@IsNull_DiesEOLife = 1 AND [DiesEOLife] IS NULL) OR ([DiesEOLife] = @Original_DiesEOLife)) AND ([DiesTecLife] = @Original_DiesTecLife) AND ([DiesCommLife] = @Original_DiesCommLife) AND ([MonthSalesPrev] = @Original_MonthSalesPrev) AND ((@IsNull_SalesPrevCost = 1 AND [SalesPrevCost] IS NULL) OR ([SalesPrevCost] = @Original_SalesPrevCost)) AND ((@IsNull_DiesFinCost = 1 AND [DiesFinCost] IS NULL) OR ([DiesFinCost] = @Original_DiesFinCost)) AND ((@IsNull_ClientQuoteReven = 1 AND [ClientQuoteReven] IS NULL) OR ([ClientQuoteReven] = @Original_ClientQuoteReven)) AND ((@IsNull_ExtraDiscountDies = 1 AND [ExtraDiscountDies] IS NULL) OR ([ExtraDiscountDies] = @Original_ExtraDiscountDies)) AND ((@IsNull_DiesByClass = 1 AND [DiesByClass] IS NULL) OR ([DiesByClass] = @Original_DiesByClass)) AND ((@IsNull_NumDiesInList = 1 AND [NumDiesInList] IS NULL) OR ([NumDiesInList] = @Original_NumDiesInList)) AND ((@IsNull_NumDiesExaust = 1 AND [NumDiesExaust] IS NULL) OR ([NumDiesExaust] = @Original_NumDiesExaust)) AND ((@IsNull_CodPlant = 1 AND [CodPlant] IS NULL) OR ([CodPlant] = @Original_CodPlant)) AND ((@IsNull_KeyAMIL = 1 AND [KeyAMIL] IS NULL) OR ([KeyAMIL] = @Original_KeyAMIL)) AND ((@IsNull_KgTeo = 1 AND [KgTeo] IS NULL) OR ([KgTeo] = @Original_KgTeo)) AND ((@IsNull_NumSMED = 1 AND [NumSMED] IS NULL) OR ([NumSMED] = @Original_NumSMED)) AND ((@IsNull_QuotaMan = 1 AND [QuotaMan] IS NULL) OR ([QuotaMan] = @Original_QuotaMan)) AND ((@IsNull_PRMWeight = 1 AND [PRMWeight] IS NULL) OR ([PRMWeight] = @Original_PRMWeight)) AND ((@IsNull_PWeight = 1 AND [PWeight] IS NULL) OR ([PWeight] = @Original_PWeight)) AND ((@IsNull_PTare = 1 AND [PTare] IS NULL) OR ([PTare] = @Original_PTare)) AND ((@IsNull_LivPackage = 1 AND [LivPackage] IS NULL) OR ([LivPackage] = @Original_LivPackage)) AND ((@IsNull_LivPackageDett = 1 AND [LivPackageDett] IS NULL) OR ([LivPackageDett] = @Original_LivPackageDett)) AND ([RawMatCost] = @Original_RawMatCost) AND ([RawMatExtraCost] = @Original_RawMatExtraCost) AND ((@IsNull_RawMatFullCost = 1 AND [RawMatFullCost] IS NULL) OR ([RawMatFullCost] = @Original_RawMatFullCost)) AND ([CodPackag] = @Original_CodPackag) AND ((@IsNull_PkgDesc = 1 AND [PkgDesc] IS NULL) OR ([PkgDesc] = @Original_PkgDesc)) AND ((@IsNull_FSR = 1 AND [FSR] IS NULL) OR ([FSR] = @Original_FSR)) AND ([ProvvCost] = @Original_ProvvCost) AND ([EECost] = @Original_EECost) AND ([GasCost] = @Original_GasCost) AND ([DiesCost] = @Original_DiesCost) AND ([PackCost] = @Original_PackCost) AND ([TranspCost] = @Original_TranspCost) AND ([SellCost01] = @Original_SellCost01) AND ([RefCost01] = @Original_RefCost01) AND ([SellCost04] = @Original_SellCost04) AND ([RefCost04] = @Original_RefCost04) AND ([WSR01_avg] = @Original_WSR01_avg) AND ([WSR01] = @Original_WSR01) AND ([MSR01_avg] = @Original_MSR01_avg) AND ([MSR01] = @Original_MSR01) AND ([NetProd01_avg] = @Original_NetProd01_avg) AND ([NetProd01] = @Original_NetProd01) AND ([FC4UG01] = @Original_FC4UG01) AND ([VC4UG01] = @Original_VC4UG01) AND ([OH4UG01] = @Original_OH4UG01) AND ([SC4UG01] = @Original_SC4UG01) AND ([DSR_avg] = @Original_DSR_avg) AND ((@IsNull_DSR = 1 AND [DSR] IS NULL) OR ([DSR] = @Original_DSR)) AND ([NetProd04] = @Original_NetProd04) AND ([FC4UG04] = @Original_FC4UG04) AND ([VC4UG04] = @Original_VC4UG04) AND ((@IsNull_FVC = 1 AND [FVC] IS NULL) OR ([FVC] = @Original_FVC)) AND ([Charge] = @Original_Charge) AND ([valid] = @Original_valid) AND ([errorScore] = @Original_errorScore)) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[QuoteFull_S] ([Vers], [QuoteType], [CodQuote], [QuoteRev], [IdxQState], [CodClient], [ClientName], [CodItem], [CodItemGroup], [RawMat], [UnitWeight], [BatchQty], [CodInco], [TranspZone], [KeyAM], [Note], [PriceOff], [CodClientAssoc], [ClientNameAssoc], [ItemDescr], [CodifProfilo], [ClasseMerc], [TipoDies], [CodDiesGroup], [DiamDies], [HoleNumDies], [DiesPrice_avg], [DiesPrice], [SamplePrice], [DiesPriceClientQuote], [DiesExpLife], [DiesEOLife], [DiesTecLife], [DiesCommLife], [MonthSalesPrev], [DiesByClass], [NumDiesInList], [NumDiesExaust], [CodPlant], [KeyAMIL], [KgTeo], [NumSMED], [QuotaMan], [PRMWeight], [PWeight], [PTare], [LivPackage], [LivPackageDett], [RawMatCost], [RawMatExtraCost], [RawMatFullCost], [CodPackag], [PkgDesc], [FSR], [ProvvCost], [EECost], [GasCost], [DiesCost], [PackCost], [TranspCost], [SellCost01], [RefCost01], [SellCost04], [RefCost04], [WSR01_avg], [WSR01], [MSR01_avg], [MSR01], [NetProd01_avg], [NetProd01], [FC4UG01], [VC4UG01], [OH4UG01], [SC4UG01], [DSR_avg], [DSR], [NetProd04], [FC4UG04], [VC4UG04], [FVC], [Charge], [valid], [errorScore]) VALUES (@Vers, @QuoteType, @CodQuote, @QuoteRev, @IdxQState, @CodClient, @ClientName, @CodItem, @CodItemGroup, @RawMat, @UnitWeight, @BatchQty, @CodInco, @TranspZone, @KeyAM, @Note, @PriceOff, @CodClientAssoc, @ClientNameAssoc, @ItemDescr, @CodifProfilo, @ClasseMerc, @TipoDies, @CodDiesGroup, @DiamDies, @HoleNumDies, @DiesPrice_avg, @DiesPrice, @SamplePrice, @DiesPriceClientQuote, @DiesExpLife, @DiesEOLife, @DiesTecLife, @DiesCommLife, @MonthSalesPrev, @DiesByClass, @NumDiesInList, @NumDiesExaust, @CodPlant, @KeyAMIL, @KgTeo, @NumSMED, @QuotaMan, @PRMWeight, @PWeight, @PTare, @LivPackage, @LivPackageDett, @RawMatCost, @RawMatExtraCost, @RawMatFullCost, @CodPackag, @PkgDesc, @FSR, @ProvvCost, @EECost, @GasCost, @DiesCost, @PackCost, @TranspCost, @SellCost01, @RefCost01, @SellCost04, @RefCost04, @WSR01_avg, @WSR01, @MSR01_avg, @MSR01, @NetProd01_avg, @NetProd01, @FC4UG01, @VC4UG01, @OH4UG01, @SC4UG01, @DSR_avg, @DSR, @NetProd04, @FC4UG04, @VC4UG04, @FVC, @Charge, @valid, @errorScore); +SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, TranspZone, KeyAM, Note, PriceOff, CodClientAssoc, ClientNameAssoc, ItemDescr, CodifProfilo, ClasseMerc, TipoDies, CodDiesGroup, DiamDies, HoleNumDies, DiesPrice_avg, DiesPrice, SamplePrice, DiesFullCost, DiesPriceClientQuote, DiesExpLife, DiesEOLife, DiesTecLife, DiesCommLife, MonthSalesPrev, SalesPrevCost, DiesFinCost, ClientQuoteReven, ExtraDiscountDies, DiesByClass, NumDiesInList, NumDiesExaust, CodPlant, KeyAMIL, KgTeo, NumSMED, QuotaMan, PRMWeight, PWeight, PTare, LivPackage, LivPackageDett, RawMatCost, RawMatExtraCost, RawMatFullCost, CodPackag, PkgDesc, FSR, ProvvCost, EECost, GasCost, DiesCost, PackCost, TranspCost, SellCost01, RefCost01, SellCost04, RefCost04, WSR01_avg, WSR01, MSR01_avg, MSR01, NetProd01_avg, NetProd01, FC4UG01, VC4UG01, OH4UG01, SC4UG01, DSR_avg, DSR, NetProd04, FC4UG04, VC4UG04, FVC, Charge, valid, errorScore FROM QuoteFull_S WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, TranspZone, KeyAM, Note, PriceOff, CodClientAssoc, ClientNameAssoc, ItemDescr, CodifProfilo, ClasseMerc, TipoDies, CodDiesGroup, DiamDies, HoleNumDies, DiesPrice_avg, DiesPrice, SamplePrice, DiesFullCost, DiesPriceClientQuote, DiesExpLife, DiesEOLife, DiesTecLife, DiesCommLife, MonthSalesPrev, SalesPrevCost, DiesFinCost, ClientQuoteReven, ExtraDiscountDies, DiesByClass, NumDiesInList, NumDiesExaust, CodPlant, KeyAMIL, KgTeo, NumSMED, QuotaMan, PRMWeight, PWeight, PTare, LivPackage, LivPackageDett, RawMatCost, RawMatExtraCost, RawMatFullCost, CodPackag, PkgDesc, FSR, ProvvCost, EECost, GasCost, DiesCost, PackCost, TranspCost, SellCost01, RefCost01, SellCost04, RefCost04, WSR01_avg, WSR01, MSR01_avg, MSR01, NetProd01_avg, NetProd01, FC4UG01, VC4UG01, OH4UG01, SC4UG01, DSR_avg, DSR, NetProd04, FC4UG04, VC4UG04, FVC, Charge, valid, errorScore FROM dbo.QuoteFull_S + + + + + + UPDATE [dbo].[QuoteFull_S] SET [Vers] = @Vers, [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [IdxQState] = @IdxQState, [CodClient] = @CodClient, [ClientName] = @ClientName, [CodItem] = @CodItem, [CodItemGroup] = @CodItemGroup, [RawMat] = @RawMat, [UnitWeight] = @UnitWeight, [BatchQty] = @BatchQty, [CodInco] = @CodInco, [TranspZone] = @TranspZone, [KeyAM] = @KeyAM, [Note] = @Note, [PriceOff] = @PriceOff, [CodClientAssoc] = @CodClientAssoc, [ClientNameAssoc] = @ClientNameAssoc, [ItemDescr] = @ItemDescr, [CodifProfilo] = @CodifProfilo, [ClasseMerc] = @ClasseMerc, [TipoDies] = @TipoDies, [CodDiesGroup] = @CodDiesGroup, [DiamDies] = @DiamDies, [HoleNumDies] = @HoleNumDies, [DiesPrice_avg] = @DiesPrice_avg, [DiesPrice] = @DiesPrice, [SamplePrice] = @SamplePrice, [DiesPriceClientQuote] = @DiesPriceClientQuote, [DiesExpLife] = @DiesExpLife, [DiesEOLife] = @DiesEOLife, [DiesTecLife] = @DiesTecLife, [DiesCommLife] = @DiesCommLife, [MonthSalesPrev] = @MonthSalesPrev, [DiesByClass] = @DiesByClass, [NumDiesInList] = @NumDiesInList, [NumDiesExaust] = @NumDiesExaust, [CodPlant] = @CodPlant, [KeyAMIL] = @KeyAMIL, [KgTeo] = @KgTeo, [NumSMED] = @NumSMED, [QuotaMan] = @QuotaMan, [PRMWeight] = @PRMWeight, [PWeight] = @PWeight, [PTare] = @PTare, [LivPackage] = @LivPackage, [LivPackageDett] = @LivPackageDett, [RawMatCost] = @RawMatCost, [RawMatExtraCost] = @RawMatExtraCost, [RawMatFullCost] = @RawMatFullCost, [CodPackag] = @CodPackag, [PkgDesc] = @PkgDesc, [FSR] = @FSR, [ProvvCost] = @ProvvCost, [EECost] = @EECost, [GasCost] = @GasCost, [DiesCost] = @DiesCost, [PackCost] = @PackCost, [TranspCost] = @TranspCost, [SellCost01] = @SellCost01, [RefCost01] = @RefCost01, [SellCost04] = @SellCost04, [RefCost04] = @RefCost04, [WSR01_avg] = @WSR01_avg, [WSR01] = @WSR01, [MSR01_avg] = @MSR01_avg, [MSR01] = @MSR01, [NetProd01_avg] = @NetProd01_avg, [NetProd01] = @NetProd01, [FC4UG01] = @FC4UG01, [VC4UG01] = @VC4UG01, [OH4UG01] = @OH4UG01, [SC4UG01] = @SC4UG01, [DSR_avg] = @DSR_avg, [DSR] = @DSR, [NetProd04] = @NetProd04, [FC4UG04] = @FC4UG04, [VC4UG04] = @VC4UG04, [FVC] = @FVC, [Charge] = @Charge, [valid] = @valid, [errorScore] = @errorScore WHERE (([Vers] = @Original_Vers) AND ([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) AND ([ClientName] = @Original_ClientName) AND ([CodItem] = @Original_CodItem) AND ([CodItemGroup] = @Original_CodItemGroup) AND ([RawMat] = @Original_RawMat) AND ([UnitWeight] = @Original_UnitWeight) AND ([BatchQty] = @Original_BatchQty) AND ([CodInco] = @Original_CodInco) AND ([TranspZone] = @Original_TranspZone) AND ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_CodClientAssoc = 1 AND [CodClientAssoc] IS NULL) OR ([CodClientAssoc] = @Original_CodClientAssoc)) AND ((@IsNull_ClientNameAssoc = 1 AND [ClientNameAssoc] IS NULL) OR ([ClientNameAssoc] = @Original_ClientNameAssoc)) AND ((@IsNull_ItemDescr = 1 AND [ItemDescr] IS NULL) OR ([ItemDescr] = @Original_ItemDescr)) AND ((@IsNull_CodifProfilo = 1 AND [CodifProfilo] IS NULL) OR ([CodifProfilo] = @Original_CodifProfilo)) AND ((@IsNull_ClasseMerc = 1 AND [ClasseMerc] IS NULL) OR ([ClasseMerc] = @Original_ClasseMerc)) AND ((@IsNull_TipoDies = 1 AND [TipoDies] IS NULL) OR ([TipoDies] = @Original_TipoDies)) AND ((@IsNull_CodDiesGroup = 1 AND [CodDiesGroup] IS NULL) OR ([CodDiesGroup] = @Original_CodDiesGroup)) AND ((@IsNull_DiamDies = 1 AND [DiamDies] IS NULL) OR ([DiamDies] = @Original_DiamDies)) AND ((@IsNull_HoleNumDies = 1 AND [HoleNumDies] IS NULL) OR ([HoleNumDies] = @Original_HoleNumDies)) AND ((@IsNull_DiesPrice_avg = 1 AND [DiesPrice_avg] IS NULL) OR ([DiesPrice_avg] = @Original_DiesPrice_avg)) AND ([DiesPrice] = @Original_DiesPrice) AND ([SamplePrice] = @Original_SamplePrice) AND ((@IsNull_DiesFullCost = 1 AND [DiesFullCost] IS NULL) OR ([DiesFullCost] = @Original_DiesFullCost)) AND ([DiesPriceClientQuote] = @Original_DiesPriceClientQuote) AND ((@IsNull_DiesExpLife = 1 AND [DiesExpLife] IS NULL) OR ([DiesExpLife] = @Original_DiesExpLife)) AND ((@IsNull_DiesEOLife = 1 AND [DiesEOLife] IS NULL) OR ([DiesEOLife] = @Original_DiesEOLife)) AND ([DiesTecLife] = @Original_DiesTecLife) AND ([DiesCommLife] = @Original_DiesCommLife) AND ([MonthSalesPrev] = @Original_MonthSalesPrev) AND ((@IsNull_SalesPrevCost = 1 AND [SalesPrevCost] IS NULL) OR ([SalesPrevCost] = @Original_SalesPrevCost)) AND ((@IsNull_DiesFinCost = 1 AND [DiesFinCost] IS NULL) OR ([DiesFinCost] = @Original_DiesFinCost)) AND ((@IsNull_ClientQuoteReven = 1 AND [ClientQuoteReven] IS NULL) OR ([ClientQuoteReven] = @Original_ClientQuoteReven)) AND ((@IsNull_ExtraDiscountDies = 1 AND [ExtraDiscountDies] IS NULL) OR ([ExtraDiscountDies] = @Original_ExtraDiscountDies)) AND ((@IsNull_DiesByClass = 1 AND [DiesByClass] IS NULL) OR ([DiesByClass] = @Original_DiesByClass)) AND ((@IsNull_NumDiesInList = 1 AND [NumDiesInList] IS NULL) OR ([NumDiesInList] = @Original_NumDiesInList)) AND ((@IsNull_NumDiesExaust = 1 AND [NumDiesExaust] IS NULL) OR ([NumDiesExaust] = @Original_NumDiesExaust)) AND ((@IsNull_CodPlant = 1 AND [CodPlant] IS NULL) OR ([CodPlant] = @Original_CodPlant)) AND ((@IsNull_KeyAMIL = 1 AND [KeyAMIL] IS NULL) OR ([KeyAMIL] = @Original_KeyAMIL)) AND ((@IsNull_KgTeo = 1 AND [KgTeo] IS NULL) OR ([KgTeo] = @Original_KgTeo)) AND ((@IsNull_NumSMED = 1 AND [NumSMED] IS NULL) OR ([NumSMED] = @Original_NumSMED)) AND ((@IsNull_QuotaMan = 1 AND [QuotaMan] IS NULL) OR ([QuotaMan] = @Original_QuotaMan)) AND ((@IsNull_PRMWeight = 1 AND [PRMWeight] IS NULL) OR ([PRMWeight] = @Original_PRMWeight)) AND ((@IsNull_PWeight = 1 AND [PWeight] IS NULL) OR ([PWeight] = @Original_PWeight)) AND ((@IsNull_PTare = 1 AND [PTare] IS NULL) OR ([PTare] = @Original_PTare)) AND ((@IsNull_LivPackage = 1 AND [LivPackage] IS NULL) OR ([LivPackage] = @Original_LivPackage)) AND ((@IsNull_LivPackageDett = 1 AND [LivPackageDett] IS NULL) OR ([LivPackageDett] = @Original_LivPackageDett)) AND ([RawMatCost] = @Original_RawMatCost) AND ([RawMatExtraCost] = @Original_RawMatExtraCost) AND ((@IsNull_RawMatFullCost = 1 AND [RawMatFullCost] IS NULL) OR ([RawMatFullCost] = @Original_RawMatFullCost)) AND ([CodPackag] = @Original_CodPackag) AND ((@IsNull_PkgDesc = 1 AND [PkgDesc] IS NULL) OR ([PkgDesc] = @Original_PkgDesc)) AND ((@IsNull_FSR = 1 AND [FSR] IS NULL) OR ([FSR] = @Original_FSR)) AND ([ProvvCost] = @Original_ProvvCost) AND ([EECost] = @Original_EECost) AND ([GasCost] = @Original_GasCost) AND ([DiesCost] = @Original_DiesCost) AND ([PackCost] = @Original_PackCost) AND ([TranspCost] = @Original_TranspCost) AND ([SellCost01] = @Original_SellCost01) AND ([RefCost01] = @Original_RefCost01) AND ([SellCost04] = @Original_SellCost04) AND ([RefCost04] = @Original_RefCost04) AND ([WSR01_avg] = @Original_WSR01_avg) AND ([WSR01] = @Original_WSR01) AND ([MSR01_avg] = @Original_MSR01_avg) AND ([MSR01] = @Original_MSR01) AND ([NetProd01_avg] = @Original_NetProd01_avg) AND ([NetProd01] = @Original_NetProd01) AND ([FC4UG01] = @Original_FC4UG01) AND ([VC4UG01] = @Original_VC4UG01) AND ([OH4UG01] = @Original_OH4UG01) AND ([SC4UG01] = @Original_SC4UG01) AND ([DSR_avg] = @Original_DSR_avg) AND ((@IsNull_DSR = 1 AND [DSR] IS NULL) OR ([DSR] = @Original_DSR)) AND ([NetProd04] = @Original_NetProd04) AND ([FC4UG04] = @Original_FC4UG04) AND ([VC4UG04] = @Original_VC4UG04) AND ((@IsNull_FVC = 1 AND [FVC] IS NULL) OR ([FVC] = @Original_FVC)) AND ([Charge] = @Original_Charge) AND ([valid] = @Original_valid) AND ([errorScore] = @Original_errorScore)); +SELECT Vers, QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, ClientName, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, TranspZone, KeyAM, Note, PriceOff, CodClientAssoc, ClientNameAssoc, ItemDescr, CodifProfilo, ClasseMerc, TipoDies, CodDiesGroup, DiamDies, HoleNumDies, DiesPrice_avg, DiesPrice, SamplePrice, DiesFullCost, DiesPriceClientQuote, DiesExpLife, DiesEOLife, DiesTecLife, DiesCommLife, MonthSalesPrev, SalesPrevCost, DiesFinCost, ClientQuoteReven, ExtraDiscountDies, DiesByClass, NumDiesInList, NumDiesExaust, CodPlant, KeyAMIL, KgTeo, NumSMED, QuotaMan, PRMWeight, PWeight, PTare, LivPackage, LivPackageDett, RawMatCost, RawMatExtraCost, RawMatFullCost, CodPackag, PkgDesc, FSR, ProvvCost, EECost, GasCost, DiesCost, PackCost, TranspCost, SellCost01, RefCost01, SellCost04, RefCost04, WSR01_avg, WSR01, MSR01_avg, MSR01, NetProd01_avg, NetProd01, FC4UG01, VC4UG01, OH4UG01, SC4UG01, DSR_avg, DSR, NetProd04, FC4UG04, VC4UG04, FVC, Charge, valid, errorScore FROM QuoteFull_S WHERE (CodQuote = @CodQuote) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1021,7 +1559,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas - + @@ -1105,7 +1643,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas - + @@ -1141,7 +1679,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas - + @@ -1166,7 +1704,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas - + @@ -1246,7 +1784,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas - + @@ -1283,7 +1821,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas - + @@ -1353,7 +1891,7 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas - + @@ -1588,6 +2126,244 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1637,14 +2413,20 @@ SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Clas + + + + + + - - - - - + + + + + \ No newline at end of file diff --git a/C2P_Report/bin/C2P_Data.dll b/C2P_Report/bin/C2P_Data.dll index 5c0b35a..db36d58 100644 Binary files a/C2P_Report/bin/C2P_Data.dll and b/C2P_Report/bin/C2P_Data.dll differ diff --git a/C2P_Report/bin/SteamWare.dll b/C2P_Report/bin/SteamWare.dll index fbc9e49..5f91a2c 100644 Binary files a/C2P_Report/bin/SteamWare.dll and b/C2P_Report/bin/SteamWare.dll differ