a5c07bc6f2
inizio fix punti con Asto: - ricerca tolta da header - nascosto what if - fix grafici
23263 lines
1.4 MiB
Plaintext
23263 lines
1.4 MiB
Plaintext
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.34014
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
#pragma warning disable 1591
|
|
|
|
namespace C2P_Data {
|
|
|
|
|
|
/// <summary>
|
|
///Represents a strongly typed in-memory cache of data.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
|
|
[global::System.Xml.Serialization.XmlRootAttribute("DS_Quotes")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
|
|
public partial class DS_Quotes : global::System.Data.DataSet {
|
|
|
|
private QuoteListDataTable tableQuoteList;
|
|
|
|
private QuoteRMDataTable tableQuoteRM;
|
|
|
|
private QuoteWorkExtDataTable tableQuoteWorkExt;
|
|
|
|
private QuoteWorkIntDataTable tableQuoteWorkInt;
|
|
|
|
private QuoteParamDataTable tableQuoteParam;
|
|
|
|
private QuoteOCDataTable tableQuoteOC;
|
|
|
|
private QuoteFull_QDataTable tableQuoteFull_Q;
|
|
|
|
private QuoteFull_SDataTable tableQuoteFull_S;
|
|
|
|
private RawMatDetDataTable tableRawMatDet;
|
|
|
|
private StdCostListDataTable tableStdCostList;
|
|
|
|
private global::System.Data.DataRelation relationFK_QuoteRM_QuoteList;
|
|
|
|
private global::System.Data.DataRelation relationFK_QuoteWorkExt_QuoteList;
|
|
|
|
private global::System.Data.DataRelation relationFK_QuoteWorkInt_QuoteList;
|
|
|
|
private global::System.Data.DataRelation relationFK_QuoteParam_QuoteList;
|
|
|
|
private global::System.Data.DataRelation relationFK_QuoteExtra_QuoteList;
|
|
|
|
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public DS_Quotes() {
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
|
|
base.Tables.CollectionChanged += schemaChangedHandler;
|
|
base.Relations.CollectionChanged += schemaChangedHandler;
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected DS_Quotes(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
base(info, context, false) {
|
|
if ((this.IsBinarySerialized(info, context) == true)) {
|
|
this.InitVars(false);
|
|
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
|
|
this.Tables.CollectionChanged += schemaChangedHandler1;
|
|
this.Relations.CollectionChanged += schemaChangedHandler1;
|
|
return;
|
|
}
|
|
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
|
|
if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
|
|
global::System.Data.DataSet ds = new global::System.Data.DataSet();
|
|
ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
|
|
if ((ds.Tables["QuoteList"] != null)) {
|
|
base.Tables.Add(new QuoteListDataTable(ds.Tables["QuoteList"]));
|
|
}
|
|
if ((ds.Tables["QuoteRM"] != null)) {
|
|
base.Tables.Add(new QuoteRMDataTable(ds.Tables["QuoteRM"]));
|
|
}
|
|
if ((ds.Tables["QuoteWorkExt"] != null)) {
|
|
base.Tables.Add(new QuoteWorkExtDataTable(ds.Tables["QuoteWorkExt"]));
|
|
}
|
|
if ((ds.Tables["QuoteWorkInt"] != null)) {
|
|
base.Tables.Add(new QuoteWorkIntDataTable(ds.Tables["QuoteWorkInt"]));
|
|
}
|
|
if ((ds.Tables["QuoteParam"] != null)) {
|
|
base.Tables.Add(new QuoteParamDataTable(ds.Tables["QuoteParam"]));
|
|
}
|
|
if ((ds.Tables["QuoteOC"] != null)) {
|
|
base.Tables.Add(new QuoteOCDataTable(ds.Tables["QuoteOC"]));
|
|
}
|
|
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"]));
|
|
}
|
|
if ((ds.Tables["RawMatDet"] != null)) {
|
|
base.Tables.Add(new RawMatDetDataTable(ds.Tables["RawMatDet"]));
|
|
}
|
|
if ((ds.Tables["StdCostList"] != null)) {
|
|
base.Tables.Add(new StdCostListDataTable(ds.Tables["StdCostList"]));
|
|
}
|
|
this.DataSetName = ds.DataSetName;
|
|
this.Prefix = ds.Prefix;
|
|
this.Namespace = ds.Namespace;
|
|
this.Locale = ds.Locale;
|
|
this.CaseSensitive = ds.CaseSensitive;
|
|
this.EnforceConstraints = ds.EnforceConstraints;
|
|
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
|
|
this.InitVars();
|
|
}
|
|
else {
|
|
this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
|
|
}
|
|
this.GetSerializationData(info, context);
|
|
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
|
|
base.Tables.CollectionChanged += schemaChangedHandler;
|
|
this.Relations.CollectionChanged += schemaChangedHandler;
|
|
}
|
|
|
|
[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 QuoteListDataTable QuoteList {
|
|
get {
|
|
return this.tableQuoteList;
|
|
}
|
|
}
|
|
|
|
[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 QuoteRMDataTable QuoteRM {
|
|
get {
|
|
return this.tableQuoteRM;
|
|
}
|
|
}
|
|
|
|
[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 QuoteWorkExtDataTable QuoteWorkExt {
|
|
get {
|
|
return this.tableQuoteWorkExt;
|
|
}
|
|
}
|
|
|
|
[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 QuoteWorkIntDataTable QuoteWorkInt {
|
|
get {
|
|
return this.tableQuoteWorkInt;
|
|
}
|
|
}
|
|
|
|
[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 QuoteParamDataTable QuoteParam {
|
|
get {
|
|
return this.tableQuoteParam;
|
|
}
|
|
}
|
|
|
|
[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 QuoteOCDataTable QuoteOC {
|
|
get {
|
|
return this.tableQuoteOC;
|
|
}
|
|
}
|
|
|
|
[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_QDataTable QuoteFull_Q {
|
|
get {
|
|
return this.tableQuoteFull_Q;
|
|
}
|
|
}
|
|
|
|
[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.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public RawMatDetDataTable RawMatDet {
|
|
get {
|
|
return this.tableRawMatDet;
|
|
}
|
|
}
|
|
|
|
[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 StdCostListDataTable StdCostList {
|
|
get {
|
|
return this.tableStdCostList;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.BrowsableAttribute(true)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
|
|
public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
|
|
get {
|
|
return this._schemaSerializationMode;
|
|
}
|
|
set {
|
|
this._schemaSerializationMode = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
|
public new global::System.Data.DataTableCollection Tables {
|
|
get {
|
|
return base.Tables;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
|
public new global::System.Data.DataRelationCollection Relations {
|
|
get {
|
|
return base.Relations;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void InitializeDerivedDataSet() {
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataSet Clone() {
|
|
DS_Quotes cln = ((DS_Quotes)(base.Clone()));
|
|
cln.InitVars();
|
|
cln.SchemaSerializationMode = this.SchemaSerializationMode;
|
|
return cln;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override bool ShouldSerializeTables() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override bool ShouldSerializeRelations() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
|
|
if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
|
|
this.Reset();
|
|
global::System.Data.DataSet ds = new global::System.Data.DataSet();
|
|
ds.ReadXml(reader);
|
|
if ((ds.Tables["QuoteList"] != null)) {
|
|
base.Tables.Add(new QuoteListDataTable(ds.Tables["QuoteList"]));
|
|
}
|
|
if ((ds.Tables["QuoteRM"] != null)) {
|
|
base.Tables.Add(new QuoteRMDataTable(ds.Tables["QuoteRM"]));
|
|
}
|
|
if ((ds.Tables["QuoteWorkExt"] != null)) {
|
|
base.Tables.Add(new QuoteWorkExtDataTable(ds.Tables["QuoteWorkExt"]));
|
|
}
|
|
if ((ds.Tables["QuoteWorkInt"] != null)) {
|
|
base.Tables.Add(new QuoteWorkIntDataTable(ds.Tables["QuoteWorkInt"]));
|
|
}
|
|
if ((ds.Tables["QuoteParam"] != null)) {
|
|
base.Tables.Add(new QuoteParamDataTable(ds.Tables["QuoteParam"]));
|
|
}
|
|
if ((ds.Tables["QuoteOC"] != null)) {
|
|
base.Tables.Add(new QuoteOCDataTable(ds.Tables["QuoteOC"]));
|
|
}
|
|
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"]));
|
|
}
|
|
if ((ds.Tables["RawMatDet"] != null)) {
|
|
base.Tables.Add(new RawMatDetDataTable(ds.Tables["RawMatDet"]));
|
|
}
|
|
if ((ds.Tables["StdCostList"] != null)) {
|
|
base.Tables.Add(new StdCostListDataTable(ds.Tables["StdCostList"]));
|
|
}
|
|
this.DataSetName = ds.DataSetName;
|
|
this.Prefix = ds.Prefix;
|
|
this.Namespace = ds.Namespace;
|
|
this.Locale = ds.Locale;
|
|
this.CaseSensitive = ds.CaseSensitive;
|
|
this.EnforceConstraints = ds.EnforceConstraints;
|
|
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
|
|
this.InitVars();
|
|
}
|
|
else {
|
|
this.ReadXml(reader);
|
|
this.InitVars();
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
|
|
global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
|
|
this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
|
|
stream.Position = 0;
|
|
return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.InitVars(true);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars(bool initTable) {
|
|
this.tableQuoteList = ((QuoteListDataTable)(base.Tables["QuoteList"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableQuoteList != null)) {
|
|
this.tableQuoteList.InitVars();
|
|
}
|
|
}
|
|
this.tableQuoteRM = ((QuoteRMDataTable)(base.Tables["QuoteRM"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableQuoteRM != null)) {
|
|
this.tableQuoteRM.InitVars();
|
|
}
|
|
}
|
|
this.tableQuoteWorkExt = ((QuoteWorkExtDataTable)(base.Tables["QuoteWorkExt"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableQuoteWorkExt != null)) {
|
|
this.tableQuoteWorkExt.InitVars();
|
|
}
|
|
}
|
|
this.tableQuoteWorkInt = ((QuoteWorkIntDataTable)(base.Tables["QuoteWorkInt"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableQuoteWorkInt != null)) {
|
|
this.tableQuoteWorkInt.InitVars();
|
|
}
|
|
}
|
|
this.tableQuoteParam = ((QuoteParamDataTable)(base.Tables["QuoteParam"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableQuoteParam != null)) {
|
|
this.tableQuoteParam.InitVars();
|
|
}
|
|
}
|
|
this.tableQuoteOC = ((QuoteOCDataTable)(base.Tables["QuoteOC"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableQuoteOC != null)) {
|
|
this.tableQuoteOC.InitVars();
|
|
}
|
|
}
|
|
this.tableQuoteFull_Q = ((QuoteFull_QDataTable)(base.Tables["QuoteFull_Q"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableQuoteFull_Q != null)) {
|
|
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.tableRawMatDet = ((RawMatDetDataTable)(base.Tables["RawMatDet"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableRawMatDet != null)) {
|
|
this.tableRawMatDet.InitVars();
|
|
}
|
|
}
|
|
this.tableStdCostList = ((StdCostListDataTable)(base.Tables["StdCostList"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableStdCostList != null)) {
|
|
this.tableStdCostList.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"];
|
|
this.relationFK_QuoteParam_QuoteList = this.Relations["FK_QuoteParam_QuoteList"];
|
|
this.relationFK_QuoteExtra_QuoteList = this.Relations["FK_QuoteExtra_QuoteList"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.DataSetName = "DS_Quotes";
|
|
this.Prefix = "";
|
|
this.Namespace = "http://tempuri.org/DS_Quotes.xsd";
|
|
this.EnforceConstraints = true;
|
|
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
|
this.tableQuoteList = new QuoteListDataTable();
|
|
base.Tables.Add(this.tableQuoteList);
|
|
this.tableQuoteRM = new QuoteRMDataTable();
|
|
base.Tables.Add(this.tableQuoteRM);
|
|
this.tableQuoteWorkExt = new QuoteWorkExtDataTable();
|
|
base.Tables.Add(this.tableQuoteWorkExt);
|
|
this.tableQuoteWorkInt = new QuoteWorkIntDataTable();
|
|
base.Tables.Add(this.tableQuoteWorkInt);
|
|
this.tableQuoteParam = new QuoteParamDataTable();
|
|
base.Tables.Add(this.tableQuoteParam);
|
|
this.tableQuoteOC = new QuoteOCDataTable();
|
|
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.tableRawMatDet = new RawMatDetDataTable();
|
|
base.Tables.Add(this.tableRawMatDet);
|
|
this.tableStdCostList = new StdCostListDataTable();
|
|
base.Tables.Add(this.tableStdCostList);
|
|
this.relationFK_QuoteRM_QuoteList = new global::System.Data.DataRelation("FK_QuoteRM_QuoteList", new global::System.Data.DataColumn[] {
|
|
this.tableQuoteList.QuoteTypeColumn,
|
|
this.tableQuoteList.CodQuoteColumn,
|
|
this.tableQuoteList.QuoteRevColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableQuoteRM.QuoteTypeColumn,
|
|
this.tableQuoteRM.CodQuoteColumn,
|
|
this.tableQuoteRM.QuoteRevColumn}, false);
|
|
this.Relations.Add(this.relationFK_QuoteRM_QuoteList);
|
|
this.relationFK_QuoteWorkExt_QuoteList = new global::System.Data.DataRelation("FK_QuoteWorkExt_QuoteList", new global::System.Data.DataColumn[] {
|
|
this.tableQuoteList.QuoteTypeColumn,
|
|
this.tableQuoteList.CodQuoteColumn,
|
|
this.tableQuoteList.QuoteRevColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableQuoteWorkExt.QuoteTypeColumn,
|
|
this.tableQuoteWorkExt.CodQuoteColumn,
|
|
this.tableQuoteWorkExt.QuoteRevColumn}, false);
|
|
this.Relations.Add(this.relationFK_QuoteWorkExt_QuoteList);
|
|
this.relationFK_QuoteWorkInt_QuoteList = new global::System.Data.DataRelation("FK_QuoteWorkInt_QuoteList", new global::System.Data.DataColumn[] {
|
|
this.tableQuoteList.QuoteTypeColumn,
|
|
this.tableQuoteList.CodQuoteColumn,
|
|
this.tableQuoteList.QuoteRevColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableQuoteWorkInt.QuoteTypeColumn,
|
|
this.tableQuoteWorkInt.CodQuoteColumn,
|
|
this.tableQuoteWorkInt.QuoteRevColumn}, false);
|
|
this.Relations.Add(this.relationFK_QuoteWorkInt_QuoteList);
|
|
this.relationFK_QuoteParam_QuoteList = new global::System.Data.DataRelation("FK_QuoteParam_QuoteList", new global::System.Data.DataColumn[] {
|
|
this.tableQuoteList.QuoteTypeColumn,
|
|
this.tableQuoteList.CodQuoteColumn,
|
|
this.tableQuoteList.QuoteRevColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableQuoteParam.QuoteTypeColumn,
|
|
this.tableQuoteParam.CodQuoteColumn,
|
|
this.tableQuoteParam.QuoteRevColumn}, false);
|
|
this.Relations.Add(this.relationFK_QuoteParam_QuoteList);
|
|
this.relationFK_QuoteExtra_QuoteList = new global::System.Data.DataRelation("FK_QuoteExtra_QuoteList", new global::System.Data.DataColumn[] {
|
|
this.tableQuoteList.QuoteTypeColumn,
|
|
this.tableQuoteList.CodQuoteColumn,
|
|
this.tableQuoteList.QuoteRevColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableQuoteOC.QuoteTypeColumn,
|
|
this.tableQuoteOC.CodQuoteColumn,
|
|
this.tableQuoteOC.QuoteRevColumn}, false);
|
|
this.Relations.Add(this.relationFK_QuoteExtra_QuoteList);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeQuoteList() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeQuoteRM() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeQuoteWorkExt() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeQuoteWorkInt() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeQuoteParam() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeQuoteOC() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeQuoteFull_Q() {
|
|
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 bool ShouldSerializeRawMatDet() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeStdCostList() {
|
|
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) {
|
|
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
|
|
this.InitVars();
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
DS_Quotes ds = new DS_Quotes();
|
|
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
|
|
any.Namespace = ds.Namespace;
|
|
sequence.Items.Add(any);
|
|
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;
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void QuoteListRowChangeEventHandler(object sender, QuoteListRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void QuoteRMRowChangeEventHandler(object sender, QuoteRMRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void QuoteWorkExtRowChangeEventHandler(object sender, QuoteWorkExtRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void QuoteWorkIntRowChangeEventHandler(object sender, QuoteWorkIntRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void QuoteParamRowChangeEventHandler(object sender, QuoteParamRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void QuoteOCRowChangeEventHandler(object sender, QuoteOCRowChangeEvent e);
|
|
|
|
[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);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void RawMatDetRowChangeEventHandler(object sender, RawMatDetRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void StdCostListRowChangeEventHandler(object sender, StdCostListRowChangeEvent e);
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class QuoteListDataTable : global::System.Data.TypedTableBase<QuoteListRow> {
|
|
|
|
private global::System.Data.DataColumn columnQuoteType;
|
|
|
|
private global::System.Data.DataColumn columnCodQuote;
|
|
|
|
private global::System.Data.DataColumn columnQuoteRev;
|
|
|
|
private global::System.Data.DataColumn columnCodClient;
|
|
|
|
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 columnKeyAM;
|
|
|
|
private global::System.Data.DataColumn columnNote;
|
|
|
|
private global::System.Data.DataColumn columnPriceOff;
|
|
|
|
private global::System.Data.DataColumn columnOrdDate;
|
|
|
|
private global::System.Data.DataColumn columnOrdNum;
|
|
|
|
private global::System.Data.DataColumn columnOrdRow;
|
|
|
|
private global::System.Data.DataColumn columnOrdPrice;
|
|
|
|
private global::System.Data.DataColumn columnIdxQState;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteListDataTable() {
|
|
this.TableName = "QuoteList";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteListDataTable(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 QuoteListDataTable(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 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 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 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 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 OrdDateColumn {
|
|
get {
|
|
return this.columnOrdDate;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn OrdNumColumn {
|
|
get {
|
|
return this.columnOrdNum;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn OrdRowColumn {
|
|
get {
|
|
return this.columnOrdRow;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn OrdPriceColumn {
|
|
get {
|
|
return this.columnOrdPrice;
|
|
}
|
|
}
|
|
|
|
[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")]
|
|
[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 QuoteListRow this[int index] {
|
|
get {
|
|
return ((QuoteListRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteListRowChangeEventHandler QuoteListRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteListRowChangeEventHandler QuoteListRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteListRowChangeEventHandler QuoteListRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteListRowChangeEventHandler QuoteListRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddQuoteListRow(QuoteListRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteListRow AddQuoteListRow(
|
|
string QuoteType,
|
|
long CodQuote,
|
|
int QuoteRev,
|
|
string CodClient,
|
|
string CodItem,
|
|
string CodItemGroup,
|
|
string RawMat,
|
|
decimal UnitWeight,
|
|
int BatchQty,
|
|
string CodInco,
|
|
string KeyAM,
|
|
string Note,
|
|
decimal PriceOff,
|
|
System.DateTime OrdDate,
|
|
string OrdNum,
|
|
string OrdRow,
|
|
decimal OrdPrice,
|
|
int IdxQState) {
|
|
QuoteListRow rowQuoteListRow = ((QuoteListRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
CodClient,
|
|
CodItem,
|
|
CodItemGroup,
|
|
RawMat,
|
|
UnitWeight,
|
|
BatchQty,
|
|
CodInco,
|
|
KeyAM,
|
|
Note,
|
|
PriceOff,
|
|
OrdDate,
|
|
OrdNum,
|
|
OrdRow,
|
|
OrdPrice,
|
|
IdxQState};
|
|
rowQuoteListRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowQuoteListRow);
|
|
return rowQuoteListRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteListRow FindByQuoteTypeCodQuoteQuoteRev(string QuoteType, long CodQuote, int QuoteRev) {
|
|
return ((QuoteListRow)(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() {
|
|
QuoteListDataTable cln = ((QuoteListDataTable)(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 QuoteListDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnQuoteType = base.Columns["QuoteType"];
|
|
this.columnCodQuote = base.Columns["CodQuote"];
|
|
this.columnQuoteRev = base.Columns["QuoteRev"];
|
|
this.columnCodClient = base.Columns["CodClient"];
|
|
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.columnKeyAM = base.Columns["KeyAM"];
|
|
this.columnNote = base.Columns["Note"];
|
|
this.columnPriceOff = base.Columns["PriceOff"];
|
|
this.columnOrdDate = base.Columns["OrdDate"];
|
|
this.columnOrdNum = base.Columns["OrdNum"];
|
|
this.columnOrdRow = base.Columns["OrdRow"];
|
|
this.columnOrdPrice = base.Columns["OrdPrice"];
|
|
this.columnIdxQState = base.Columns["IdxQState"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
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.columnCodClient = new global::System.Data.DataColumn("CodClient", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodClient);
|
|
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.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.columnOrdDate = new global::System.Data.DataColumn("OrdDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOrdDate);
|
|
this.columnOrdNum = new global::System.Data.DataColumn("OrdNum", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOrdNum);
|
|
this.columnOrdRow = new global::System.Data.DataColumn("OrdRow", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOrdRow);
|
|
this.columnOrdPrice = new global::System.Data.DataColumn("OrdPrice", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOrdPrice);
|
|
this.columnIdxQState = new global::System.Data.DataColumn("IdxQState", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxQState);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnQuoteType,
|
|
this.columnCodQuote,
|
|
this.columnQuoteRev}, true));
|
|
this.columnQuoteType.AllowDBNull = false;
|
|
this.columnQuoteType.MaxLength = 1;
|
|
this.columnCodQuote.AllowDBNull = false;
|
|
this.columnQuoteRev.AllowDBNull = false;
|
|
this.columnCodClient.AllowDBNull = false;
|
|
this.columnCodClient.MaxLength = 50;
|
|
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.columnKeyAM.ReadOnly = true;
|
|
this.columnKeyAM.MaxLength = 101;
|
|
this.columnNote.AllowDBNull = false;
|
|
this.columnNote.MaxLength = 2500;
|
|
this.columnPriceOff.AllowDBNull = false;
|
|
this.columnOrdNum.AllowDBNull = false;
|
|
this.columnOrdNum.MaxLength = 50;
|
|
this.columnOrdRow.AllowDBNull = false;
|
|
this.columnOrdRow.MaxLength = 50;
|
|
this.columnOrdPrice.AllowDBNull = false;
|
|
this.columnIdxQState.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteListRow NewQuoteListRow() {
|
|
return ((QuoteListRow)(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 QuoteListRow(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(QuoteListRow);
|
|
}
|
|
|
|
[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.QuoteListRowChanged != null)) {
|
|
this.QuoteListRowChanged(this, new QuoteListRowChangeEvent(((QuoteListRow)(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.QuoteListRowChanging != null)) {
|
|
this.QuoteListRowChanging(this, new QuoteListRowChangeEvent(((QuoteListRow)(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.QuoteListRowDeleted != null)) {
|
|
this.QuoteListRowDeleted(this, new QuoteListRowChangeEvent(((QuoteListRow)(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.QuoteListRowDeleting != null)) {
|
|
this.QuoteListRowDeleting(this, new QuoteListRowChangeEvent(((QuoteListRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveQuoteListRow(QuoteListRow 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 = "QuoteListDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class QuoteRMDataTable : global::System.Data.TypedTableBase<QuoteRMRow> {
|
|
|
|
private global::System.Data.DataColumn columnQuoteType;
|
|
|
|
private global::System.Data.DataColumn columnCodQuote;
|
|
|
|
private global::System.Data.DataColumn columnQuoteRev;
|
|
|
|
private global::System.Data.DataColumn columnNumRM;
|
|
|
|
private global::System.Data.DataColumn columnRawMat;
|
|
|
|
private global::System.Data.DataColumn columnRawMatCost;
|
|
|
|
private global::System.Data.DataColumn columnRawMatExtraCost;
|
|
|
|
private global::System.Data.DataColumn columnCodPackag;
|
|
|
|
private global::System.Data.DataColumn columnFCR;
|
|
|
|
private global::System.Data.DataColumn columnFYR;
|
|
|
|
private global::System.Data.DataColumn columnFSR;
|
|
|
|
private global::System.Data.DataColumn columnvalid;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteRMDataTable() {
|
|
this.TableName = "QuoteRM";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteRMDataTable(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 QuoteRMDataTable(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 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 NumRMColumn {
|
|
get {
|
|
return this.columnNumRM;
|
|
}
|
|
}
|
|
|
|
[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 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 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 FCRColumn {
|
|
get {
|
|
return this.columnFCR;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn FYRColumn {
|
|
get {
|
|
return this.columnFYR;
|
|
}
|
|
}
|
|
|
|
[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 validColumn {
|
|
get {
|
|
return this.columnvalid;
|
|
}
|
|
}
|
|
|
|
[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 QuoteRMRow this[int index] {
|
|
get {
|
|
return ((QuoteRMRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteRMRowChangeEventHandler QuoteRMRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteRMRowChangeEventHandler QuoteRMRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteRMRowChangeEventHandler QuoteRMRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteRMRowChangeEventHandler QuoteRMRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddQuoteRMRow(QuoteRMRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteRMRow AddQuoteRMRow(string QuoteType, long CodQuote, int QuoteRev, int NumRM, string RawMat, decimal RawMatCost, decimal RawMatExtraCost, string CodPackag, decimal FCR, decimal FYR, decimal FSR, bool valid) {
|
|
QuoteRMRow rowQuoteRMRow = ((QuoteRMRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
NumRM,
|
|
RawMat,
|
|
RawMatCost,
|
|
RawMatExtraCost,
|
|
CodPackag,
|
|
FCR,
|
|
FYR,
|
|
FSR,
|
|
valid};
|
|
rowQuoteRMRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowQuoteRMRow);
|
|
return rowQuoteRMRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteRMRow FindByQuoteTypeCodQuoteQuoteRevNumRM(string QuoteType, long CodQuote, int QuoteRev, int NumRM) {
|
|
return ((QuoteRMRow)(this.Rows.Find(new object[] {
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
NumRM})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
QuoteRMDataTable cln = ((QuoteRMDataTable)(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 QuoteRMDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnQuoteType = base.Columns["QuoteType"];
|
|
this.columnCodQuote = base.Columns["CodQuote"];
|
|
this.columnQuoteRev = base.Columns["QuoteRev"];
|
|
this.columnNumRM = base.Columns["NumRM"];
|
|
this.columnRawMat = base.Columns["RawMat"];
|
|
this.columnRawMatCost = base.Columns["RawMatCost"];
|
|
this.columnRawMatExtraCost = base.Columns["RawMatExtraCost"];
|
|
this.columnCodPackag = base.Columns["CodPackag"];
|
|
this.columnFCR = base.Columns["FCR"];
|
|
this.columnFYR = base.Columns["FYR"];
|
|
this.columnFSR = base.Columns["FSR"];
|
|
this.columnvalid = base.Columns["valid"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
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.columnNumRM = new global::System.Data.DataColumn("NumRM", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNumRM);
|
|
this.columnRawMat = new global::System.Data.DataColumn("RawMat", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnRawMat);
|
|
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.columnCodPackag = new global::System.Data.DataColumn("CodPackag", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodPackag);
|
|
this.columnFCR = new global::System.Data.DataColumn("FCR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnFCR);
|
|
this.columnFYR = new global::System.Data.DataColumn("FYR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnFYR);
|
|
this.columnFSR = new global::System.Data.DataColumn("FSR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnFSR);
|
|
this.columnvalid = new global::System.Data.DataColumn("valid", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnvalid);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnQuoteType,
|
|
this.columnCodQuote,
|
|
this.columnQuoteRev,
|
|
this.columnNumRM}, true));
|
|
this.columnQuoteType.AllowDBNull = false;
|
|
this.columnQuoteType.MaxLength = 1;
|
|
this.columnCodQuote.AllowDBNull = false;
|
|
this.columnQuoteRev.AllowDBNull = false;
|
|
this.columnNumRM.AllowDBNull = false;
|
|
this.columnRawMat.AllowDBNull = false;
|
|
this.columnRawMat.MaxLength = 50;
|
|
this.columnRawMatCost.AllowDBNull = false;
|
|
this.columnRawMatExtraCost.AllowDBNull = false;
|
|
this.columnCodPackag.AllowDBNull = false;
|
|
this.columnCodPackag.MaxLength = 50;
|
|
this.columnFCR.AllowDBNull = false;
|
|
this.columnFYR.ReadOnly = true;
|
|
this.columnFSR.ReadOnly = true;
|
|
this.columnvalid.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteRMRow NewQuoteRMRow() {
|
|
return ((QuoteRMRow)(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 QuoteRMRow(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(QuoteRMRow);
|
|
}
|
|
|
|
[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.QuoteRMRowChanged != null)) {
|
|
this.QuoteRMRowChanged(this, new QuoteRMRowChangeEvent(((QuoteRMRow)(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.QuoteRMRowChanging != null)) {
|
|
this.QuoteRMRowChanging(this, new QuoteRMRowChangeEvent(((QuoteRMRow)(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.QuoteRMRowDeleted != null)) {
|
|
this.QuoteRMRowDeleted(this, new QuoteRMRowChangeEvent(((QuoteRMRow)(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.QuoteRMRowDeleting != null)) {
|
|
this.QuoteRMRowDeleting(this, new QuoteRMRowChangeEvent(((QuoteRMRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveQuoteRMRow(QuoteRMRow 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 = "QuoteRMDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class QuoteWorkExtDataTable : global::System.Data.TypedTableBase<QuoteWorkExtRow> {
|
|
|
|
private global::System.Data.DataColumn columnQuoteType;
|
|
|
|
private global::System.Data.DataColumn columnCodQuote;
|
|
|
|
private global::System.Data.DataColumn columnQuoteRev;
|
|
|
|
private global::System.Data.DataColumn columnNumWE;
|
|
|
|
private global::System.Data.DataColumn columnEWC4UG;
|
|
|
|
private global::System.Data.DataColumn columnUM;
|
|
|
|
private global::System.Data.DataColumn columnvalid;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteWorkExtDataTable() {
|
|
this.TableName = "QuoteWorkExt";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteWorkExtDataTable(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 QuoteWorkExtDataTable(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 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 NumWEColumn {
|
|
get {
|
|
return this.columnNumWE;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn EWC4UGColumn {
|
|
get {
|
|
return this.columnEWC4UG;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn UMColumn {
|
|
get {
|
|
return this.columnUM;
|
|
}
|
|
}
|
|
|
|
[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")]
|
|
[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 QuoteWorkExtRow this[int index] {
|
|
get {
|
|
return ((QuoteWorkExtRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteWorkExtRowChangeEventHandler QuoteWorkExtRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteWorkExtRowChangeEventHandler QuoteWorkExtRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteWorkExtRowChangeEventHandler QuoteWorkExtRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteWorkExtRowChangeEventHandler QuoteWorkExtRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddQuoteWorkExtRow(QuoteWorkExtRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteWorkExtRow AddQuoteWorkExtRow(string QuoteType, long CodQuote, int QuoteRev, int NumWE, decimal EWC4UG, string UM, bool valid) {
|
|
QuoteWorkExtRow rowQuoteWorkExtRow = ((QuoteWorkExtRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
NumWE,
|
|
EWC4UG,
|
|
UM,
|
|
valid};
|
|
rowQuoteWorkExtRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowQuoteWorkExtRow);
|
|
return rowQuoteWorkExtRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteWorkExtRow FindByQuoteTypeCodQuoteQuoteRevNumWE(string QuoteType, long CodQuote, int QuoteRev, int NumWE) {
|
|
return ((QuoteWorkExtRow)(this.Rows.Find(new object[] {
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
NumWE})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
QuoteWorkExtDataTable cln = ((QuoteWorkExtDataTable)(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 QuoteWorkExtDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnQuoteType = base.Columns["QuoteType"];
|
|
this.columnCodQuote = base.Columns["CodQuote"];
|
|
this.columnQuoteRev = base.Columns["QuoteRev"];
|
|
this.columnNumWE = base.Columns["NumWE"];
|
|
this.columnEWC4UG = base.Columns["EWC4UG"];
|
|
this.columnUM = base.Columns["UM"];
|
|
this.columnvalid = base.Columns["valid"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
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.columnNumWE = new global::System.Data.DataColumn("NumWE", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNumWE);
|
|
this.columnEWC4UG = new global::System.Data.DataColumn("EWC4UG", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnEWC4UG);
|
|
this.columnUM = new global::System.Data.DataColumn("UM", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnUM);
|
|
this.columnvalid = new global::System.Data.DataColumn("valid", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnvalid);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnQuoteType,
|
|
this.columnCodQuote,
|
|
this.columnQuoteRev,
|
|
this.columnNumWE}, true));
|
|
this.columnQuoteType.AllowDBNull = false;
|
|
this.columnQuoteType.MaxLength = 1;
|
|
this.columnCodQuote.AllowDBNull = false;
|
|
this.columnQuoteRev.AllowDBNull = false;
|
|
this.columnNumWE.AllowDBNull = false;
|
|
this.columnEWC4UG.AllowDBNull = false;
|
|
this.columnUM.AllowDBNull = false;
|
|
this.columnUM.MaxLength = 50;
|
|
this.columnvalid.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteWorkExtRow NewQuoteWorkExtRow() {
|
|
return ((QuoteWorkExtRow)(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 QuoteWorkExtRow(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(QuoteWorkExtRow);
|
|
}
|
|
|
|
[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.QuoteWorkExtRowChanged != null)) {
|
|
this.QuoteWorkExtRowChanged(this, new QuoteWorkExtRowChangeEvent(((QuoteWorkExtRow)(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.QuoteWorkExtRowChanging != null)) {
|
|
this.QuoteWorkExtRowChanging(this, new QuoteWorkExtRowChangeEvent(((QuoteWorkExtRow)(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.QuoteWorkExtRowDeleted != null)) {
|
|
this.QuoteWorkExtRowDeleted(this, new QuoteWorkExtRowChangeEvent(((QuoteWorkExtRow)(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.QuoteWorkExtRowDeleting != null)) {
|
|
this.QuoteWorkExtRowDeleting(this, new QuoteWorkExtRowChangeEvent(((QuoteWorkExtRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveQuoteWorkExtRow(QuoteWorkExtRow 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 = "QuoteWorkExtDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class QuoteWorkIntDataTable : global::System.Data.TypedTableBase<QuoteWorkIntRow> {
|
|
|
|
private global::System.Data.DataColumn columnQuoteType;
|
|
|
|
private global::System.Data.DataColumn columnCodQuote;
|
|
|
|
private global::System.Data.DataColumn columnQuoteRev;
|
|
|
|
private global::System.Data.DataColumn columnNumWI;
|
|
|
|
private global::System.Data.DataColumn columnProcessNum;
|
|
|
|
private global::System.Data.DataColumn columnCodPlant;
|
|
|
|
private global::System.Data.DataColumn columnClass01;
|
|
|
|
private global::System.Data.DataColumn columnClass02;
|
|
|
|
private global::System.Data.DataColumn columnClass03;
|
|
|
|
private global::System.Data.DataColumn columnClass04;
|
|
|
|
private global::System.Data.DataColumn columnClass05;
|
|
|
|
private global::System.Data.DataColumn columnNetProd;
|
|
|
|
private global::System.Data.DataColumn columnWSR;
|
|
|
|
private global::System.Data.DataColumn columnMSR;
|
|
|
|
private global::System.Data.DataColumn columnDSR;
|
|
|
|
private global::System.Data.DataColumn columnFC4UG;
|
|
|
|
private global::System.Data.DataColumn columnVC4UG;
|
|
|
|
private global::System.Data.DataColumn columnOH4UG;
|
|
|
|
private global::System.Data.DataColumn columnSC4UG;
|
|
|
|
private global::System.Data.DataColumn columnWYR;
|
|
|
|
private global::System.Data.DataColumn columnMYR;
|
|
|
|
private global::System.Data.DataColumn columnDYR;
|
|
|
|
private global::System.Data.DataColumn columnWCR;
|
|
|
|
private global::System.Data.DataColumn columnMCR;
|
|
|
|
private global::System.Data.DataColumn columnDCR;
|
|
|
|
private global::System.Data.DataColumn columnvalid;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteWorkIntDataTable() {
|
|
this.TableName = "QuoteWorkInt";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteWorkIntDataTable(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 QuoteWorkIntDataTable(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 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 NumWIColumn {
|
|
get {
|
|
return this.columnNumWI;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ProcessNumColumn {
|
|
get {
|
|
return this.columnProcessNum;
|
|
}
|
|
}
|
|
|
|
[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 Class01Column {
|
|
get {
|
|
return this.columnClass01;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Class02Column {
|
|
get {
|
|
return this.columnClass02;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Class03Column {
|
|
get {
|
|
return this.columnClass03;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Class04Column {
|
|
get {
|
|
return this.columnClass04;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Class05Column {
|
|
get {
|
|
return this.columnClass05;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn NetProdColumn {
|
|
get {
|
|
return this.columnNetProd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn WSRColumn {
|
|
get {
|
|
return this.columnWSR;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MSRColumn {
|
|
get {
|
|
return this.columnMSR;
|
|
}
|
|
}
|
|
|
|
[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 FC4UGColumn {
|
|
get {
|
|
return this.columnFC4UG;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn VC4UGColumn {
|
|
get {
|
|
return this.columnVC4UG;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn OH4UGColumn {
|
|
get {
|
|
return this.columnOH4UG;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn SC4UGColumn {
|
|
get {
|
|
return this.columnSC4UG;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn WYRColumn {
|
|
get {
|
|
return this.columnWYR;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MYRColumn {
|
|
get {
|
|
return this.columnMYR;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DYRColumn {
|
|
get {
|
|
return this.columnDYR;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn WCRColumn {
|
|
get {
|
|
return this.columnWCR;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MCRColumn {
|
|
get {
|
|
return this.columnMCR;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DCRColumn {
|
|
get {
|
|
return this.columnDCR;
|
|
}
|
|
}
|
|
|
|
[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")]
|
|
[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 QuoteWorkIntRow this[int index] {
|
|
get {
|
|
return ((QuoteWorkIntRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteWorkIntRowChangeEventHandler QuoteWorkIntRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteWorkIntRowChangeEventHandler QuoteWorkIntRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteWorkIntRowChangeEventHandler QuoteWorkIntRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteWorkIntRowChangeEventHandler QuoteWorkIntRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddQuoteWorkIntRow(QuoteWorkIntRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteWorkIntRow AddQuoteWorkIntRow(
|
|
string QuoteType,
|
|
long CodQuote,
|
|
int QuoteRev,
|
|
int NumWI,
|
|
string ProcessNum,
|
|
string CodPlant,
|
|
string Class01,
|
|
string Class02,
|
|
string Class03,
|
|
string Class04,
|
|
string Class05,
|
|
decimal NetProd,
|
|
decimal WSR,
|
|
decimal MSR,
|
|
decimal DSR,
|
|
decimal FC4UG,
|
|
decimal VC4UG,
|
|
decimal OH4UG,
|
|
decimal SC4UG,
|
|
decimal WYR,
|
|
decimal MYR,
|
|
decimal DYR,
|
|
decimal WCR,
|
|
decimal MCR,
|
|
decimal DCR,
|
|
bool valid) {
|
|
QuoteWorkIntRow rowQuoteWorkIntRow = ((QuoteWorkIntRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
NumWI,
|
|
ProcessNum,
|
|
CodPlant,
|
|
Class01,
|
|
Class02,
|
|
Class03,
|
|
Class04,
|
|
Class05,
|
|
NetProd,
|
|
WSR,
|
|
MSR,
|
|
DSR,
|
|
FC4UG,
|
|
VC4UG,
|
|
OH4UG,
|
|
SC4UG,
|
|
WYR,
|
|
MYR,
|
|
DYR,
|
|
WCR,
|
|
MCR,
|
|
DCR,
|
|
valid};
|
|
rowQuoteWorkIntRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowQuoteWorkIntRow);
|
|
return rowQuoteWorkIntRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteWorkIntRow FindByQuoteTypeCodQuoteQuoteRevNumWI(string QuoteType, long CodQuote, int QuoteRev, int NumWI) {
|
|
return ((QuoteWorkIntRow)(this.Rows.Find(new object[] {
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
NumWI})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
QuoteWorkIntDataTable cln = ((QuoteWorkIntDataTable)(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 QuoteWorkIntDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnQuoteType = base.Columns["QuoteType"];
|
|
this.columnCodQuote = base.Columns["CodQuote"];
|
|
this.columnQuoteRev = base.Columns["QuoteRev"];
|
|
this.columnNumWI = base.Columns["NumWI"];
|
|
this.columnProcessNum = base.Columns["ProcessNum"];
|
|
this.columnCodPlant = base.Columns["CodPlant"];
|
|
this.columnClass01 = base.Columns["Class01"];
|
|
this.columnClass02 = base.Columns["Class02"];
|
|
this.columnClass03 = base.Columns["Class03"];
|
|
this.columnClass04 = base.Columns["Class04"];
|
|
this.columnClass05 = base.Columns["Class05"];
|
|
this.columnNetProd = base.Columns["NetProd"];
|
|
this.columnWSR = base.Columns["WSR"];
|
|
this.columnMSR = base.Columns["MSR"];
|
|
this.columnDSR = base.Columns["DSR"];
|
|
this.columnFC4UG = base.Columns["FC4UG"];
|
|
this.columnVC4UG = base.Columns["VC4UG"];
|
|
this.columnOH4UG = base.Columns["OH4UG"];
|
|
this.columnSC4UG = base.Columns["SC4UG"];
|
|
this.columnWYR = base.Columns["WYR"];
|
|
this.columnMYR = base.Columns["MYR"];
|
|
this.columnDYR = base.Columns["DYR"];
|
|
this.columnWCR = base.Columns["WCR"];
|
|
this.columnMCR = base.Columns["MCR"];
|
|
this.columnDCR = base.Columns["DCR"];
|
|
this.columnvalid = base.Columns["valid"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
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.columnNumWI = new global::System.Data.DataColumn("NumWI", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNumWI);
|
|
this.columnProcessNum = new global::System.Data.DataColumn("ProcessNum", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnProcessNum);
|
|
this.columnCodPlant = new global::System.Data.DataColumn("CodPlant", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodPlant);
|
|
this.columnClass01 = new global::System.Data.DataColumn("Class01", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClass01);
|
|
this.columnClass02 = new global::System.Data.DataColumn("Class02", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClass02);
|
|
this.columnClass03 = new global::System.Data.DataColumn("Class03", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClass03);
|
|
this.columnClass04 = new global::System.Data.DataColumn("Class04", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClass04);
|
|
this.columnClass05 = new global::System.Data.DataColumn("Class05", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClass05);
|
|
this.columnNetProd = new global::System.Data.DataColumn("NetProd", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNetProd);
|
|
this.columnWSR = new global::System.Data.DataColumn("WSR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnWSR);
|
|
this.columnMSR = new global::System.Data.DataColumn("MSR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMSR);
|
|
this.columnDSR = new global::System.Data.DataColumn("DSR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDSR);
|
|
this.columnFC4UG = new global::System.Data.DataColumn("FC4UG", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnFC4UG);
|
|
this.columnVC4UG = new global::System.Data.DataColumn("VC4UG", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnVC4UG);
|
|
this.columnOH4UG = new global::System.Data.DataColumn("OH4UG", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOH4UG);
|
|
this.columnSC4UG = new global::System.Data.DataColumn("SC4UG", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnSC4UG);
|
|
this.columnWYR = new global::System.Data.DataColumn("WYR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnWYR);
|
|
this.columnMYR = new global::System.Data.DataColumn("MYR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMYR);
|
|
this.columnDYR = new global::System.Data.DataColumn("DYR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDYR);
|
|
this.columnWCR = new global::System.Data.DataColumn("WCR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnWCR);
|
|
this.columnMCR = new global::System.Data.DataColumn("MCR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMCR);
|
|
this.columnDCR = new global::System.Data.DataColumn("DCR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDCR);
|
|
this.columnvalid = new global::System.Data.DataColumn("valid", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnvalid);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnQuoteType,
|
|
this.columnCodQuote,
|
|
this.columnQuoteRev,
|
|
this.columnNumWI}, true));
|
|
this.columnQuoteType.AllowDBNull = false;
|
|
this.columnQuoteType.MaxLength = 1;
|
|
this.columnCodQuote.AllowDBNull = false;
|
|
this.columnQuoteRev.AllowDBNull = false;
|
|
this.columnNumWI.AllowDBNull = false;
|
|
this.columnProcessNum.AllowDBNull = false;
|
|
this.columnProcessNum.MaxLength = 50;
|
|
this.columnCodPlant.AllowDBNull = false;
|
|
this.columnCodPlant.MaxLength = 50;
|
|
this.columnClass01.AllowDBNull = false;
|
|
this.columnClass01.MaxLength = 50;
|
|
this.columnClass02.AllowDBNull = false;
|
|
this.columnClass02.MaxLength = 50;
|
|
this.columnClass03.AllowDBNull = false;
|
|
this.columnClass03.MaxLength = 50;
|
|
this.columnClass04.AllowDBNull = false;
|
|
this.columnClass04.MaxLength = 50;
|
|
this.columnClass05.AllowDBNull = false;
|
|
this.columnClass05.MaxLength = 50;
|
|
this.columnNetProd.AllowDBNull = false;
|
|
this.columnWSR.AllowDBNull = false;
|
|
this.columnMSR.AllowDBNull = false;
|
|
this.columnDSR.AllowDBNull = false;
|
|
this.columnFC4UG.AllowDBNull = false;
|
|
this.columnVC4UG.AllowDBNull = false;
|
|
this.columnOH4UG.AllowDBNull = false;
|
|
this.columnSC4UG.AllowDBNull = false;
|
|
this.columnWYR.ReadOnly = true;
|
|
this.columnMYR.ReadOnly = true;
|
|
this.columnDYR.ReadOnly = true;
|
|
this.columnWCR.ReadOnly = true;
|
|
this.columnMCR.ReadOnly = true;
|
|
this.columnDCR.ReadOnly = true;
|
|
this.columnvalid.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteWorkIntRow NewQuoteWorkIntRow() {
|
|
return ((QuoteWorkIntRow)(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 QuoteWorkIntRow(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(QuoteWorkIntRow);
|
|
}
|
|
|
|
[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.QuoteWorkIntRowChanged != null)) {
|
|
this.QuoteWorkIntRowChanged(this, new QuoteWorkIntRowChangeEvent(((QuoteWorkIntRow)(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.QuoteWorkIntRowChanging != null)) {
|
|
this.QuoteWorkIntRowChanging(this, new QuoteWorkIntRowChangeEvent(((QuoteWorkIntRow)(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.QuoteWorkIntRowDeleted != null)) {
|
|
this.QuoteWorkIntRowDeleted(this, new QuoteWorkIntRowChangeEvent(((QuoteWorkIntRow)(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.QuoteWorkIntRowDeleting != null)) {
|
|
this.QuoteWorkIntRowDeleting(this, new QuoteWorkIntRowChangeEvent(((QuoteWorkIntRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveQuoteWorkIntRow(QuoteWorkIntRow 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 = "QuoteWorkIntDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class QuoteParamDataTable : global::System.Data.TypedTableBase<QuoteParamRow> {
|
|
|
|
private global::System.Data.DataColumn columnQuoteType;
|
|
|
|
private global::System.Data.DataColumn columnCodQuote;
|
|
|
|
private global::System.Data.DataColumn columnQuoteRev;
|
|
|
|
private global::System.Data.DataColumn columnNumP;
|
|
|
|
private global::System.Data.DataColumn columnProcessNum;
|
|
|
|
private global::System.Data.DataColumn columnDescr;
|
|
|
|
private global::System.Data.DataColumn columnParameter;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteParamDataTable() {
|
|
this.TableName = "QuoteParam";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteParamDataTable(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 QuoteParamDataTable(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 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 NumPColumn {
|
|
get {
|
|
return this.columnNumP;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ProcessNumColumn {
|
|
get {
|
|
return this.columnProcessNum;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DescrColumn {
|
|
get {
|
|
return this.columnDescr;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ParameterColumn {
|
|
get {
|
|
return this.columnParameter;
|
|
}
|
|
}
|
|
|
|
[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 QuoteParamRow this[int index] {
|
|
get {
|
|
return ((QuoteParamRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteParamRowChangeEventHandler QuoteParamRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteParamRowChangeEventHandler QuoteParamRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteParamRowChangeEventHandler QuoteParamRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteParamRowChangeEventHandler QuoteParamRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddQuoteParamRow(QuoteParamRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteParamRow AddQuoteParamRow(string QuoteType, long CodQuote, int QuoteRev, int NumP, string ProcessNum, string Descr, string Parameter) {
|
|
QuoteParamRow rowQuoteParamRow = ((QuoteParamRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
NumP,
|
|
ProcessNum,
|
|
Descr,
|
|
Parameter};
|
|
rowQuoteParamRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowQuoteParamRow);
|
|
return rowQuoteParamRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteParamRow FindByQuoteTypeCodQuoteQuoteRevNumP(string QuoteType, long CodQuote, int QuoteRev, int NumP) {
|
|
return ((QuoteParamRow)(this.Rows.Find(new object[] {
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
NumP})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
QuoteParamDataTable cln = ((QuoteParamDataTable)(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 QuoteParamDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnQuoteType = base.Columns["QuoteType"];
|
|
this.columnCodQuote = base.Columns["CodQuote"];
|
|
this.columnQuoteRev = base.Columns["QuoteRev"];
|
|
this.columnNumP = base.Columns["NumP"];
|
|
this.columnProcessNum = base.Columns["ProcessNum"];
|
|
this.columnDescr = base.Columns["Descr"];
|
|
this.columnParameter = base.Columns["Parameter"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
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.columnNumP = new global::System.Data.DataColumn("NumP", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNumP);
|
|
this.columnProcessNum = new global::System.Data.DataColumn("ProcessNum", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnProcessNum);
|
|
this.columnDescr = new global::System.Data.DataColumn("Descr", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDescr);
|
|
this.columnParameter = new global::System.Data.DataColumn("Parameter", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnParameter);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnQuoteType,
|
|
this.columnCodQuote,
|
|
this.columnQuoteRev,
|
|
this.columnNumP}, true));
|
|
this.columnQuoteType.AllowDBNull = false;
|
|
this.columnQuoteType.MaxLength = 1;
|
|
this.columnCodQuote.AllowDBNull = false;
|
|
this.columnQuoteRev.AllowDBNull = false;
|
|
this.columnNumP.AllowDBNull = false;
|
|
this.columnProcessNum.AllowDBNull = false;
|
|
this.columnProcessNum.MaxLength = 50;
|
|
this.columnDescr.AllowDBNull = false;
|
|
this.columnDescr.MaxLength = 50;
|
|
this.columnParameter.AllowDBNull = false;
|
|
this.columnParameter.MaxLength = 100;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteParamRow NewQuoteParamRow() {
|
|
return ((QuoteParamRow)(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 QuoteParamRow(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(QuoteParamRow);
|
|
}
|
|
|
|
[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.QuoteParamRowChanged != null)) {
|
|
this.QuoteParamRowChanged(this, new QuoteParamRowChangeEvent(((QuoteParamRow)(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.QuoteParamRowChanging != null)) {
|
|
this.QuoteParamRowChanging(this, new QuoteParamRowChangeEvent(((QuoteParamRow)(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.QuoteParamRowDeleted != null)) {
|
|
this.QuoteParamRowDeleted(this, new QuoteParamRowChangeEvent(((QuoteParamRow)(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.QuoteParamRowDeleting != null)) {
|
|
this.QuoteParamRowDeleting(this, new QuoteParamRowChangeEvent(((QuoteParamRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveQuoteParamRow(QuoteParamRow 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 = "QuoteParamDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class QuoteOCDataTable : global::System.Data.TypedTableBase<QuoteOCRow> {
|
|
|
|
private global::System.Data.DataColumn columnQuoteType;
|
|
|
|
private global::System.Data.DataColumn columnCodQuote;
|
|
|
|
private global::System.Data.DataColumn columnQuoteRev;
|
|
|
|
private global::System.Data.DataColumn columnNumEx;
|
|
|
|
private global::System.Data.DataColumn columnProcessNum;
|
|
|
|
private global::System.Data.DataColumn columnCodPlant;
|
|
|
|
private global::System.Data.DataColumn columnClass01;
|
|
|
|
private global::System.Data.DataColumn columnClass02;
|
|
|
|
private global::System.Data.DataColumn columnClass03;
|
|
|
|
private global::System.Data.DataColumn columnClass04;
|
|
|
|
private global::System.Data.DataColumn columnClass05;
|
|
|
|
private global::System.Data.DataColumn columnTotQty;
|
|
|
|
private global::System.Data.DataColumn columnTotCost;
|
|
|
|
private global::System.Data.DataColumn columnQuota;
|
|
|
|
private global::System.Data.DataColumn columnC4UG;
|
|
|
|
private global::System.Data.DataColumn columnvalid;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteOCDataTable() {
|
|
this.TableName = "QuoteOC";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteOCDataTable(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 QuoteOCDataTable(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 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 NumExColumn {
|
|
get {
|
|
return this.columnNumEx;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ProcessNumColumn {
|
|
get {
|
|
return this.columnProcessNum;
|
|
}
|
|
}
|
|
|
|
[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 Class01Column {
|
|
get {
|
|
return this.columnClass01;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Class02Column {
|
|
get {
|
|
return this.columnClass02;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Class03Column {
|
|
get {
|
|
return this.columnClass03;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Class04Column {
|
|
get {
|
|
return this.columnClass04;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Class05Column {
|
|
get {
|
|
return this.columnClass05;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TotQtyColumn {
|
|
get {
|
|
return this.columnTotQty;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn TotCostColumn {
|
|
get {
|
|
return this.columnTotCost;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn QuotaColumn {
|
|
get {
|
|
return this.columnQuota;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn C4UGColumn {
|
|
get {
|
|
return this.columnC4UG;
|
|
}
|
|
}
|
|
|
|
[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")]
|
|
[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 QuoteOCRow this[int index] {
|
|
get {
|
|
return ((QuoteOCRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteOCRowChangeEventHandler QuoteOCRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteOCRowChangeEventHandler QuoteOCRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteOCRowChangeEventHandler QuoteOCRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteOCRowChangeEventHandler QuoteOCRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddQuoteOCRow(QuoteOCRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteOCRow AddQuoteOCRow(
|
|
string QuoteType,
|
|
long CodQuote,
|
|
int QuoteRev,
|
|
int NumEx,
|
|
string ProcessNum,
|
|
string CodPlant,
|
|
string Class01,
|
|
string Class02,
|
|
string Class03,
|
|
string Class04,
|
|
string Class05,
|
|
decimal TotQty,
|
|
decimal TotCost,
|
|
decimal Quota,
|
|
decimal C4UG,
|
|
bool valid) {
|
|
QuoteOCRow rowQuoteOCRow = ((QuoteOCRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
NumEx,
|
|
ProcessNum,
|
|
CodPlant,
|
|
Class01,
|
|
Class02,
|
|
Class03,
|
|
Class04,
|
|
Class05,
|
|
TotQty,
|
|
TotCost,
|
|
Quota,
|
|
C4UG,
|
|
valid};
|
|
rowQuoteOCRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowQuoteOCRow);
|
|
return rowQuoteOCRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteOCRow FindByQuoteTypeCodQuoteQuoteRevNumEx(string QuoteType, long CodQuote, int QuoteRev, int NumEx) {
|
|
return ((QuoteOCRow)(this.Rows.Find(new object[] {
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
NumEx})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
QuoteOCDataTable cln = ((QuoteOCDataTable)(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 QuoteOCDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnQuoteType = base.Columns["QuoteType"];
|
|
this.columnCodQuote = base.Columns["CodQuote"];
|
|
this.columnQuoteRev = base.Columns["QuoteRev"];
|
|
this.columnNumEx = base.Columns["NumEx"];
|
|
this.columnProcessNum = base.Columns["ProcessNum"];
|
|
this.columnCodPlant = base.Columns["CodPlant"];
|
|
this.columnClass01 = base.Columns["Class01"];
|
|
this.columnClass02 = base.Columns["Class02"];
|
|
this.columnClass03 = base.Columns["Class03"];
|
|
this.columnClass04 = base.Columns["Class04"];
|
|
this.columnClass05 = base.Columns["Class05"];
|
|
this.columnTotQty = base.Columns["TotQty"];
|
|
this.columnTotCost = base.Columns["TotCost"];
|
|
this.columnQuota = base.Columns["Quota"];
|
|
this.columnC4UG = base.Columns["C4UG"];
|
|
this.columnvalid = base.Columns["valid"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
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.columnNumEx = new global::System.Data.DataColumn("NumEx", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNumEx);
|
|
this.columnProcessNum = new global::System.Data.DataColumn("ProcessNum", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnProcessNum);
|
|
this.columnCodPlant = new global::System.Data.DataColumn("CodPlant", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodPlant);
|
|
this.columnClass01 = new global::System.Data.DataColumn("Class01", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClass01);
|
|
this.columnClass02 = new global::System.Data.DataColumn("Class02", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClass02);
|
|
this.columnClass03 = new global::System.Data.DataColumn("Class03", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClass03);
|
|
this.columnClass04 = new global::System.Data.DataColumn("Class04", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClass04);
|
|
this.columnClass05 = new global::System.Data.DataColumn("Class05", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClass05);
|
|
this.columnTotQty = new global::System.Data.DataColumn("TotQty", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTotQty);
|
|
this.columnTotCost = new global::System.Data.DataColumn("TotCost", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTotCost);
|
|
this.columnQuota = new global::System.Data.DataColumn("Quota", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnQuota);
|
|
this.columnC4UG = new global::System.Data.DataColumn("C4UG", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnC4UG);
|
|
this.columnvalid = new global::System.Data.DataColumn("valid", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnvalid);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnQuoteType,
|
|
this.columnCodQuote,
|
|
this.columnQuoteRev,
|
|
this.columnNumEx}, true));
|
|
this.columnQuoteType.AllowDBNull = false;
|
|
this.columnQuoteType.MaxLength = 1;
|
|
this.columnCodQuote.AllowDBNull = false;
|
|
this.columnQuoteRev.AllowDBNull = false;
|
|
this.columnNumEx.AllowDBNull = false;
|
|
this.columnProcessNum.AllowDBNull = false;
|
|
this.columnProcessNum.MaxLength = 50;
|
|
this.columnCodPlant.AllowDBNull = false;
|
|
this.columnCodPlant.MaxLength = 50;
|
|
this.columnClass01.AllowDBNull = false;
|
|
this.columnClass01.MaxLength = 50;
|
|
this.columnClass02.AllowDBNull = false;
|
|
this.columnClass02.MaxLength = 50;
|
|
this.columnClass03.AllowDBNull = false;
|
|
this.columnClass03.MaxLength = 50;
|
|
this.columnClass04.AllowDBNull = false;
|
|
this.columnClass04.MaxLength = 50;
|
|
this.columnClass05.AllowDBNull = false;
|
|
this.columnClass05.MaxLength = 50;
|
|
this.columnTotQty.AllowDBNull = false;
|
|
this.columnTotCost.AllowDBNull = false;
|
|
this.columnQuota.AllowDBNull = false;
|
|
this.columnC4UG.ReadOnly = true;
|
|
this.columnvalid.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteOCRow NewQuoteOCRow() {
|
|
return ((QuoteOCRow)(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 QuoteOCRow(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(QuoteOCRow);
|
|
}
|
|
|
|
[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.QuoteOCRowChanged != null)) {
|
|
this.QuoteOCRowChanged(this, new QuoteOCRowChangeEvent(((QuoteOCRow)(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.QuoteOCRowChanging != null)) {
|
|
this.QuoteOCRowChanging(this, new QuoteOCRowChangeEvent(((QuoteOCRow)(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.QuoteOCRowDeleted != null)) {
|
|
this.QuoteOCRowDeleted(this, new QuoteOCRowChangeEvent(((QuoteOCRow)(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.QuoteOCRowDeleting != null)) {
|
|
this.QuoteOCRowDeleting(this, new QuoteOCRowChangeEvent(((QuoteOCRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveQuoteOCRow(QuoteOCRow 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 = "QuoteOCDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class QuoteFull_QDataTable : global::System.Data.TypedTableBase<QuoteFull_QRow> {
|
|
|
|
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 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 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;
|
|
|
|
private global::System.Data.DataColumn columnDiesExpLife;
|
|
|
|
private global::System.Data.DataColumn columnDiesEOLife;
|
|
|
|
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;
|
|
|
|
private global::System.Data.DataColumn columnMSR01;
|
|
|
|
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;
|
|
|
|
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 columnP_FVC;
|
|
|
|
private global::System.Data.DataColumn columnCPS;
|
|
|
|
private global::System.Data.DataColumn columnP_CPS;
|
|
|
|
private global::System.Data.DataColumn columnP_FC4UG04;
|
|
|
|
private global::System.Data.DataColumn columnFullCost;
|
|
|
|
private global::System.Data.DataColumn columnP_FullCost;
|
|
|
|
private global::System.Data.DataColumn columnMinPrice;
|
|
|
|
private global::System.Data.DataColumn columnP_MinPrice;
|
|
|
|
private global::System.Data.DataColumn columnP_PriceOff;
|
|
|
|
private global::System.Data.DataColumn columnNetMar;
|
|
|
|
private global::System.Data.DataColumn columnFCShield;
|
|
|
|
private global::System.Data.DataColumn columnPckSur;
|
|
|
|
private global::System.Data.DataColumn columnIdxQState;
|
|
|
|
private global::System.Data.DataColumn columnDiesByClass;
|
|
|
|
private global::System.Data.DataColumn columnvalid;
|
|
|
|
private global::System.Data.DataColumn columnerrorScore;
|
|
|
|
private global::System.Data.DataColumn columnTranspZone;
|
|
|
|
private global::System.Data.DataColumn columnDiesPrice_sim;
|
|
|
|
private global::System.Data.DataColumn columnSamplePrice;
|
|
|
|
private global::System.Data.DataColumn columnDiesFullCost;
|
|
|
|
private global::System.Data.DataColumn columnDiesPriceClientQuote;
|
|
|
|
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 columnWSR01_sim;
|
|
|
|
private global::System.Data.DataColumn columnMSR01_sim;
|
|
|
|
private global::System.Data.DataColumn columnNetProd01_sim;
|
|
|
|
private global::System.Data.DataColumn columnDSR_sim;
|
|
|
|
private global::System.Data.DataColumn columnNetMar_sim;
|
|
|
|
private global::System.Data.DataColumn columnFCShield_sim;
|
|
|
|
private global::System.Data.DataColumn columnMinPrice_sim;
|
|
|
|
private global::System.Data.DataColumn columnP_MinPrice_sim;
|
|
|
|
private global::System.Data.DataColumn columnNetProd04_sim;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteFull_QDataTable() {
|
|
this.TableName = "QuoteFull_Q";
|
|
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_QDataTable(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_QDataTable(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 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 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 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 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 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 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 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 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 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 P_FVCColumn {
|
|
get {
|
|
return this.columnP_FVC;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CPSColumn {
|
|
get {
|
|
return this.columnCPS;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn P_CPSColumn {
|
|
get {
|
|
return this.columnP_CPS;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn P_FC4UG04Column {
|
|
get {
|
|
return this.columnP_FC4UG04;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn FullCostColumn {
|
|
get {
|
|
return this.columnFullCost;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn P_FullCostColumn {
|
|
get {
|
|
return this.columnP_FullCost;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MinPriceColumn {
|
|
get {
|
|
return this.columnMinPrice;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn P_MinPriceColumn {
|
|
get {
|
|
return this.columnP_MinPrice;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn P_PriceOffColumn {
|
|
get {
|
|
return this.columnP_PriceOff;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn NetMarColumn {
|
|
get {
|
|
return this.columnNetMar;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn FCShieldColumn {
|
|
get {
|
|
return this.columnFCShield;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn PckSurColumn {
|
|
get {
|
|
return this.columnPckSur;
|
|
}
|
|
}
|
|
|
|
[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 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 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")]
|
|
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 DiesPrice_simColumn {
|
|
get {
|
|
return this.columnDiesPrice_sim;
|
|
}
|
|
}
|
|
|
|
[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 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 WSR01_simColumn {
|
|
get {
|
|
return this.columnWSR01_sim;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MSR01_simColumn {
|
|
get {
|
|
return this.columnMSR01_sim;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn NetProd01_simColumn {
|
|
get {
|
|
return this.columnNetProd01_sim;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DSR_simColumn {
|
|
get {
|
|
return this.columnDSR_sim;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn NetMar_simColumn {
|
|
get {
|
|
return this.columnNetMar_sim;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn FCShield_simColumn {
|
|
get {
|
|
return this.columnFCShield_sim;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn MinPrice_simColumn {
|
|
get {
|
|
return this.columnMinPrice_sim;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn P_MinPrice_simColumn {
|
|
get {
|
|
return this.columnP_MinPrice_sim;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn NetProd04_simColumn {
|
|
get {
|
|
return this.columnNetProd04_sim;
|
|
}
|
|
}
|
|
|
|
[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_QRow this[int index] {
|
|
get {
|
|
return ((QuoteFull_QRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteFull_QRowChangeEventHandler QuoteFull_QRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteFull_QRowChangeEventHandler QuoteFull_QRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteFull_QRowChangeEventHandler QuoteFull_QRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event QuoteFull_QRowChangeEventHandler QuoteFull_QRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddQuoteFull_QRow(QuoteFull_QRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteFull_QRow AddQuoteFull_QRow(
|
|
string Vers,
|
|
string QuoteType,
|
|
long CodQuote,
|
|
int QuoteRev,
|
|
string CodClient,
|
|
string ClientName,
|
|
string CodItem,
|
|
string CodItemGroup,
|
|
string RawMat,
|
|
decimal UnitWeight,
|
|
int BatchQty,
|
|
string CodInco,
|
|
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,
|
|
decimal DiesExpLife,
|
|
decimal DiesEOLife,
|
|
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,
|
|
decimal MSR01,
|
|
decimal NetProd01,
|
|
decimal FC4UG01,
|
|
decimal VC4UG01,
|
|
decimal OH4UG01,
|
|
decimal SC4UG01,
|
|
decimal DSR,
|
|
decimal NetProd04,
|
|
decimal FC4UG04,
|
|
decimal VC4UG04,
|
|
decimal FVC,
|
|
decimal Charge,
|
|
decimal P_FVC,
|
|
decimal CPS,
|
|
decimal P_CPS,
|
|
decimal P_FC4UG04,
|
|
decimal FullCost,
|
|
decimal P_FullCost,
|
|
decimal MinPrice,
|
|
decimal P_MinPrice,
|
|
decimal P_PriceOff,
|
|
decimal NetMar,
|
|
decimal FCShield,
|
|
decimal PckSur,
|
|
int IdxQState,
|
|
bool DiesByClass,
|
|
bool valid,
|
|
int errorScore,
|
|
string TranspZone,
|
|
decimal DiesPrice_sim,
|
|
decimal SamplePrice,
|
|
decimal DiesFullCost,
|
|
decimal DiesPriceClientQuote,
|
|
decimal DiesTecLife,
|
|
decimal DiesCommLife,
|
|
decimal MonthSalesPrev,
|
|
decimal SalesPrevCost,
|
|
decimal DiesFinCost,
|
|
decimal ClientQuoteReven,
|
|
decimal ExtraDiscountDies,
|
|
decimal WSR01_sim,
|
|
decimal MSR01_sim,
|
|
decimal NetProd01_sim,
|
|
decimal DSR_sim,
|
|
decimal NetMar_sim,
|
|
decimal FCShield_sim,
|
|
decimal MinPrice_sim,
|
|
decimal P_MinPrice_sim,
|
|
decimal NetProd04_sim) {
|
|
QuoteFull_QRow rowQuoteFull_QRow = ((QuoteFull_QRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
Vers,
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
CodClient,
|
|
ClientName,
|
|
CodItem,
|
|
CodItemGroup,
|
|
RawMat,
|
|
UnitWeight,
|
|
BatchQty,
|
|
CodInco,
|
|
KeyAM,
|
|
Note,
|
|
PriceOff,
|
|
CodClientAssoc,
|
|
ClientNameAssoc,
|
|
ItemDescr,
|
|
CodifProfilo,
|
|
ClasseMerc,
|
|
TipoDies,
|
|
CodDiesGroup,
|
|
DiamDies,
|
|
HoleNumDies,
|
|
DiesPrice,
|
|
DiesExpLife,
|
|
DiesEOLife,
|
|
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,
|
|
MSR01,
|
|
NetProd01,
|
|
FC4UG01,
|
|
VC4UG01,
|
|
OH4UG01,
|
|
SC4UG01,
|
|
DSR,
|
|
NetProd04,
|
|
FC4UG04,
|
|
VC4UG04,
|
|
FVC,
|
|
Charge,
|
|
P_FVC,
|
|
CPS,
|
|
P_CPS,
|
|
P_FC4UG04,
|
|
FullCost,
|
|
P_FullCost,
|
|
MinPrice,
|
|
P_MinPrice,
|
|
P_PriceOff,
|
|
NetMar,
|
|
FCShield,
|
|
PckSur,
|
|
IdxQState,
|
|
DiesByClass,
|
|
valid,
|
|
errorScore,
|
|
TranspZone,
|
|
DiesPrice_sim,
|
|
SamplePrice,
|
|
DiesFullCost,
|
|
DiesPriceClientQuote,
|
|
DiesTecLife,
|
|
DiesCommLife,
|
|
MonthSalesPrev,
|
|
SalesPrevCost,
|
|
DiesFinCost,
|
|
ClientQuoteReven,
|
|
ExtraDiscountDies,
|
|
WSR01_sim,
|
|
MSR01_sim,
|
|
NetProd01_sim,
|
|
DSR_sim,
|
|
NetMar_sim,
|
|
FCShield_sim,
|
|
MinPrice_sim,
|
|
P_MinPrice_sim,
|
|
NetProd04_sim};
|
|
rowQuoteFull_QRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowQuoteFull_QRow);
|
|
return rowQuoteFull_QRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteFull_QRow FindByQuoteTypeCodQuoteQuoteRev(string QuoteType, long CodQuote, int QuoteRev) {
|
|
return ((QuoteFull_QRow)(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_QDataTable cln = ((QuoteFull_QDataTable)(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_QDataTable();
|
|
}
|
|
|
|
[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.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.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 = base.Columns["DiesPrice"];
|
|
this.columnDiesExpLife = base.Columns["DiesExpLife"];
|
|
this.columnDiesEOLife = base.Columns["DiesEOLife"];
|
|
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 = base.Columns["WSR01"];
|
|
this.columnMSR01 = base.Columns["MSR01"];
|
|
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 = 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.columnP_FVC = base.Columns["P_FVC"];
|
|
this.columnCPS = base.Columns["CPS"];
|
|
this.columnP_CPS = base.Columns["P_CPS"];
|
|
this.columnP_FC4UG04 = base.Columns["P_FC4UG04"];
|
|
this.columnFullCost = base.Columns["FullCost"];
|
|
this.columnP_FullCost = base.Columns["P_FullCost"];
|
|
this.columnMinPrice = base.Columns["MinPrice"];
|
|
this.columnP_MinPrice = base.Columns["P_MinPrice"];
|
|
this.columnP_PriceOff = base.Columns["P_PriceOff"];
|
|
this.columnNetMar = base.Columns["NetMar"];
|
|
this.columnFCShield = base.Columns["FCShield"];
|
|
this.columnPckSur = base.Columns["PckSur"];
|
|
this.columnIdxQState = base.Columns["IdxQState"];
|
|
this.columnDiesByClass = base.Columns["DiesByClass"];
|
|
this.columnvalid = base.Columns["valid"];
|
|
this.columnerrorScore = base.Columns["errorScore"];
|
|
this.columnTranspZone = base.Columns["TranspZone"];
|
|
this.columnDiesPrice_sim = base.Columns["DiesPrice_sim"];
|
|
this.columnSamplePrice = base.Columns["SamplePrice"];
|
|
this.columnDiesFullCost = base.Columns["DiesFullCost"];
|
|
this.columnDiesPriceClientQuote = base.Columns["DiesPriceClientQuote"];
|
|
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.columnWSR01_sim = base.Columns["WSR01_sim"];
|
|
this.columnMSR01_sim = base.Columns["MSR01_sim"];
|
|
this.columnNetProd01_sim = base.Columns["NetProd01_sim"];
|
|
this.columnDSR_sim = base.Columns["DSR_sim"];
|
|
this.columnNetMar_sim = base.Columns["NetMar_sim"];
|
|
this.columnFCShield_sim = base.Columns["FCShield_sim"];
|
|
this.columnMinPrice_sim = base.Columns["MinPrice_sim"];
|
|
this.columnP_MinPrice_sim = base.Columns["P_MinPrice_sim"];
|
|
this.columnNetProd04_sim = base.Columns["NetProd04_sim"];
|
|
}
|
|
|
|
[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.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.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 = new global::System.Data.DataColumn("DiesPrice", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDiesPrice);
|
|
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.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 = new global::System.Data.DataColumn("WSR01", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnWSR01);
|
|
this.columnMSR01 = new global::System.Data.DataColumn("MSR01", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMSR01);
|
|
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 = 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.columnP_FVC = new global::System.Data.DataColumn("P_FVC", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnP_FVC);
|
|
this.columnCPS = new global::System.Data.DataColumn("CPS", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCPS);
|
|
this.columnP_CPS = new global::System.Data.DataColumn("P_CPS", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnP_CPS);
|
|
this.columnP_FC4UG04 = new global::System.Data.DataColumn("P_FC4UG04", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnP_FC4UG04);
|
|
this.columnFullCost = new global::System.Data.DataColumn("FullCost", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnFullCost);
|
|
this.columnP_FullCost = new global::System.Data.DataColumn("P_FullCost", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnP_FullCost);
|
|
this.columnMinPrice = new global::System.Data.DataColumn("MinPrice", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMinPrice);
|
|
this.columnP_MinPrice = new global::System.Data.DataColumn("P_MinPrice", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnP_MinPrice);
|
|
this.columnP_PriceOff = new global::System.Data.DataColumn("P_PriceOff", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnP_PriceOff);
|
|
this.columnNetMar = new global::System.Data.DataColumn("NetMar", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNetMar);
|
|
this.columnFCShield = new global::System.Data.DataColumn("FCShield", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnFCShield);
|
|
this.columnPckSur = new global::System.Data.DataColumn("PckSur", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnPckSur);
|
|
this.columnIdxQState = new global::System.Data.DataColumn("IdxQState", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnIdxQState);
|
|
this.columnDiesByClass = new global::System.Data.DataColumn("DiesByClass", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDiesByClass);
|
|
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.columnTranspZone = new global::System.Data.DataColumn("TranspZone", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnTranspZone);
|
|
this.columnDiesPrice_sim = new global::System.Data.DataColumn("DiesPrice_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDiesPrice_sim);
|
|
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.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(decimal), 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.columnWSR01_sim = new global::System.Data.DataColumn("WSR01_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnWSR01_sim);
|
|
this.columnMSR01_sim = new global::System.Data.DataColumn("MSR01_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMSR01_sim);
|
|
this.columnNetProd01_sim = new global::System.Data.DataColumn("NetProd01_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNetProd01_sim);
|
|
this.columnDSR_sim = new global::System.Data.DataColumn("DSR_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDSR_sim);
|
|
this.columnNetMar_sim = new global::System.Data.DataColumn("NetMar_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNetMar_sim);
|
|
this.columnFCShield_sim = new global::System.Data.DataColumn("FCShield_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnFCShield_sim);
|
|
this.columnMinPrice_sim = new global::System.Data.DataColumn("MinPrice_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMinPrice_sim);
|
|
this.columnP_MinPrice_sim = new global::System.Data.DataColumn("P_MinPrice_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnP_MinPrice_sim);
|
|
this.columnNetProd04_sim = new global::System.Data.DataColumn("NetProd04_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNetProd04_sim);
|
|
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.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.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.columnDiamDies.AllowDBNull = false;
|
|
this.columnDiesPrice.AllowDBNull = false;
|
|
this.columnDiesExpLife.AllowDBNull = false;
|
|
this.columnDiesEOLife.AllowDBNull = false;
|
|
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.AllowDBNull = false;
|
|
this.columnMSR01.AllowDBNull = false;
|
|
this.columnNetProd01.AllowDBNull = false;
|
|
this.columnFC4UG01.AllowDBNull = false;
|
|
this.columnVC4UG01.AllowDBNull = false;
|
|
this.columnOH4UG01.AllowDBNull = false;
|
|
this.columnSC4UG01.AllowDBNull = false;
|
|
this.columnNetProd04.AllowDBNull = false;
|
|
this.columnFC4UG04.AllowDBNull = false;
|
|
this.columnVC4UG04.AllowDBNull = false;
|
|
this.columnCharge.AllowDBNull = false;
|
|
this.columnP_FVC.ReadOnly = true;
|
|
this.columnCPS.ReadOnly = true;
|
|
this.columnP_CPS.ReadOnly = true;
|
|
this.columnP_FC4UG04.ReadOnly = true;
|
|
this.columnFullCost.ReadOnly = true;
|
|
this.columnP_FullCost.ReadOnly = true;
|
|
this.columnMinPrice.ReadOnly = true;
|
|
this.columnP_MinPrice.ReadOnly = true;
|
|
this.columnP_PriceOff.ReadOnly = true;
|
|
this.columnNetMar.ReadOnly = true;
|
|
this.columnFCShield.ReadOnly = true;
|
|
this.columnPckSur.ReadOnly = true;
|
|
this.columnIdxQState.AllowDBNull = false;
|
|
this.columnDiesByClass.AllowDBNull = false;
|
|
this.columnvalid.AllowDBNull = false;
|
|
this.columnerrorScore.AllowDBNull = false;
|
|
this.columnTranspZone.AllowDBNull = false;
|
|
this.columnTranspZone.MaxLength = 50;
|
|
this.columnDiesPrice_sim.AllowDBNull = false;
|
|
this.columnSamplePrice.AllowDBNull = false;
|
|
this.columnDiesFullCost.AllowDBNull = false;
|
|
this.columnDiesPriceClientQuote.AllowDBNull = false;
|
|
this.columnDiesTecLife.AllowDBNull = false;
|
|
this.columnDiesCommLife.AllowDBNull = false;
|
|
this.columnMonthSalesPrev.AllowDBNull = false;
|
|
this.columnSalesPrevCost.AllowDBNull = false;
|
|
this.columnDiesFinCost.AllowDBNull = false;
|
|
this.columnClientQuoteReven.AllowDBNull = false;
|
|
this.columnExtraDiscountDies.AllowDBNull = false;
|
|
this.columnWSR01_sim.AllowDBNull = false;
|
|
this.columnMSR01_sim.AllowDBNull = false;
|
|
this.columnNetProd01_sim.AllowDBNull = false;
|
|
this.columnDSR_sim.AllowDBNull = false;
|
|
this.columnNetProd04_sim.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteFull_QRow NewQuoteFull_QRow() {
|
|
return ((QuoteFull_QRow)(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_QRow(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_QRow);
|
|
}
|
|
|
|
[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_QRowChanged != null)) {
|
|
this.QuoteFull_QRowChanged(this, new QuoteFull_QRowChangeEvent(((QuoteFull_QRow)(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_QRowChanging != null)) {
|
|
this.QuoteFull_QRowChanging(this, new QuoteFull_QRowChangeEvent(((QuoteFull_QRow)(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_QRowDeleted != null)) {
|
|
this.QuoteFull_QRowDeleted(this, new QuoteFull_QRowChangeEvent(((QuoteFull_QRow)(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_QRowDeleting != null)) {
|
|
this.QuoteFull_QRowDeleting(this, new QuoteFull_QRowChangeEvent(((QuoteFull_QRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveQuoteFull_QRow(QuoteFull_QRow 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_QDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class QuoteFull_SDataTable : global::System.Data.TypedTableBase<QuoteFull_SRow> {
|
|
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class RawMatDetDataTable : global::System.Data.TypedTableBase<RawMatDetRow> {
|
|
|
|
private global::System.Data.DataColumn columnRawMat;
|
|
|
|
private global::System.Data.DataColumn columnProcCost;
|
|
|
|
private global::System.Data.DataColumn columnProcYield;
|
|
|
|
private global::System.Data.DataColumn columnCSR;
|
|
|
|
private global::System.Data.DataColumn columnSSR;
|
|
|
|
private global::System.Data.DataColumn columnSSVA;
|
|
|
|
private global::System.Data.DataColumn columnSSVR;
|
|
|
|
private global::System.Data.DataColumn columnExtraMatCost;
|
|
|
|
private global::System.Data.DataColumn columnExtraServCost;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RawMatDetDataTable() {
|
|
this.TableName = "RawMatDet";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal RawMatDetDataTable(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 RawMatDetDataTable(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 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 ProcCostColumn {
|
|
get {
|
|
return this.columnProcCost;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ProcYieldColumn {
|
|
get {
|
|
return this.columnProcYield;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn CSRColumn {
|
|
get {
|
|
return this.columnCSR;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn SSRColumn {
|
|
get {
|
|
return this.columnSSR;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn SSVAColumn {
|
|
get {
|
|
return this.columnSSVA;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn SSVRColumn {
|
|
get {
|
|
return this.columnSSVR;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ExtraMatCostColumn {
|
|
get {
|
|
return this.columnExtraMatCost;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ExtraServCostColumn {
|
|
get {
|
|
return this.columnExtraServCost;
|
|
}
|
|
}
|
|
|
|
[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 RawMatDetRow this[int index] {
|
|
get {
|
|
return ((RawMatDetRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event RawMatDetRowChangeEventHandler RawMatDetRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event RawMatDetRowChangeEventHandler RawMatDetRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event RawMatDetRowChangeEventHandler RawMatDetRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event RawMatDetRowChangeEventHandler RawMatDetRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddRawMatDetRow(RawMatDetRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RawMatDetRow AddRawMatDetRow(string RawMat, decimal ProcCost, decimal ProcYield, decimal CSR, decimal SSR, decimal SSVA, decimal SSVR, decimal ExtraMatCost, decimal ExtraServCost) {
|
|
RawMatDetRow rowRawMatDetRow = ((RawMatDetRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
RawMat,
|
|
ProcCost,
|
|
ProcYield,
|
|
CSR,
|
|
SSR,
|
|
SSVA,
|
|
SSVR,
|
|
ExtraMatCost,
|
|
ExtraServCost};
|
|
rowRawMatDetRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowRawMatDetRow);
|
|
return rowRawMatDetRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RawMatDetRow FindByRawMat(string RawMat) {
|
|
return ((RawMatDetRow)(this.Rows.Find(new object[] {
|
|
RawMat})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
RawMatDetDataTable cln = ((RawMatDetDataTable)(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 RawMatDetDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnRawMat = base.Columns["RawMat"];
|
|
this.columnProcCost = base.Columns["ProcCost"];
|
|
this.columnProcYield = base.Columns["ProcYield"];
|
|
this.columnCSR = base.Columns["CSR"];
|
|
this.columnSSR = base.Columns["SSR"];
|
|
this.columnSSVA = base.Columns["SSVA"];
|
|
this.columnSSVR = base.Columns["SSVR"];
|
|
this.columnExtraMatCost = base.Columns["ExtraMatCost"];
|
|
this.columnExtraServCost = base.Columns["ExtraServCost"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnRawMat = new global::System.Data.DataColumn("RawMat", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnRawMat);
|
|
this.columnProcCost = new global::System.Data.DataColumn("ProcCost", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnProcCost);
|
|
this.columnProcYield = new global::System.Data.DataColumn("ProcYield", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnProcYield);
|
|
this.columnCSR = new global::System.Data.DataColumn("CSR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCSR);
|
|
this.columnSSR = new global::System.Data.DataColumn("SSR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnSSR);
|
|
this.columnSSVA = new global::System.Data.DataColumn("SSVA", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnSSVA);
|
|
this.columnSSVR = new global::System.Data.DataColumn("SSVR", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnSSVR);
|
|
this.columnExtraMatCost = new global::System.Data.DataColumn("ExtraMatCost", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnExtraMatCost);
|
|
this.columnExtraServCost = new global::System.Data.DataColumn("ExtraServCost", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnExtraServCost);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnRawMat}, true));
|
|
this.columnRawMat.AllowDBNull = false;
|
|
this.columnRawMat.Unique = true;
|
|
this.columnRawMat.MaxLength = 50;
|
|
this.columnProcCost.AllowDBNull = false;
|
|
this.columnProcYield.AllowDBNull = false;
|
|
this.columnCSR.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public RawMatDetRow NewRawMatDetRow() {
|
|
return ((RawMatDetRow)(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 RawMatDetRow(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(RawMatDetRow);
|
|
}
|
|
|
|
[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.RawMatDetRowChanged != null)) {
|
|
this.RawMatDetRowChanged(this, new RawMatDetRowChangeEvent(((RawMatDetRow)(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.RawMatDetRowChanging != null)) {
|
|
this.RawMatDetRowChanging(this, new RawMatDetRowChangeEvent(((RawMatDetRow)(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.RawMatDetRowDeleted != null)) {
|
|
this.RawMatDetRowDeleted(this, new RawMatDetRowChangeEvent(((RawMatDetRow)(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.RawMatDetRowDeleting != null)) {
|
|
this.RawMatDetRowDeleting(this, new RawMatDetRowChangeEvent(((RawMatDetRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveRawMatDetRow(RawMatDetRow 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 = "RawMatDetDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class StdCostListDataTable : global::System.Data.TypedTableBase<StdCostListRow> {
|
|
|
|
private global::System.Data.DataColumn columnDataRif;
|
|
|
|
private global::System.Data.DataColumn columnClass01;
|
|
|
|
private global::System.Data.DataColumn columnClass02;
|
|
|
|
private global::System.Data.DataColumn columnCodItem;
|
|
|
|
private global::System.Data.DataColumn columnRawMat;
|
|
|
|
private global::System.Data.DataColumn columnCodPlant;
|
|
|
|
private global::System.Data.DataColumn columnCodDiesGroup;
|
|
|
|
private global::System.Data.DataColumn columnCodPackag;
|
|
|
|
private global::System.Data.DataColumn columnbatchQty;
|
|
|
|
private global::System.Data.DataColumn columnCodInco;
|
|
|
|
private global::System.Data.DataColumn columnRawMatFullCost;
|
|
|
|
private global::System.Data.DataColumn columnFVC;
|
|
|
|
private global::System.Data.DataColumn columnFullCost;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public StdCostListDataTable() {
|
|
this.TableName = "StdCostList";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal StdCostListDataTable(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 StdCostListDataTable(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 DataRifColumn {
|
|
get {
|
|
return this.columnDataRif;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Class01Column {
|
|
get {
|
|
return this.columnClass01;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Class02Column {
|
|
get {
|
|
return this.columnClass02;
|
|
}
|
|
}
|
|
|
|
[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 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 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 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 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 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 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 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 FullCostColumn {
|
|
get {
|
|
return this.columnFullCost;
|
|
}
|
|
}
|
|
|
|
[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 StdCostListRow this[int index] {
|
|
get {
|
|
return ((StdCostListRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event StdCostListRowChangeEventHandler StdCostListRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event StdCostListRowChangeEventHandler StdCostListRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event StdCostListRowChangeEventHandler StdCostListRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event StdCostListRowChangeEventHandler StdCostListRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddStdCostListRow(StdCostListRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public StdCostListRow AddStdCostListRow(string DataRif, string Class01, string Class02, string CodItem, string RawMat, string CodPlant, string CodDiesGroup, string CodPackag, int batchQty, string CodInco, decimal RawMatFullCost, decimal FVC, decimal FullCost) {
|
|
StdCostListRow rowStdCostListRow = ((StdCostListRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
DataRif,
|
|
Class01,
|
|
Class02,
|
|
CodItem,
|
|
RawMat,
|
|
CodPlant,
|
|
CodDiesGroup,
|
|
CodPackag,
|
|
batchQty,
|
|
CodInco,
|
|
RawMatFullCost,
|
|
FVC,
|
|
FullCost};
|
|
rowStdCostListRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowStdCostListRow);
|
|
return rowStdCostListRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
StdCostListDataTable cln = ((StdCostListDataTable)(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 StdCostListDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnDataRif = base.Columns["DataRif"];
|
|
this.columnClass01 = base.Columns["Class01"];
|
|
this.columnClass02 = base.Columns["Class02"];
|
|
this.columnCodItem = base.Columns["CodItem"];
|
|
this.columnRawMat = base.Columns["RawMat"];
|
|
this.columnCodPlant = base.Columns["CodPlant"];
|
|
this.columnCodDiesGroup = base.Columns["CodDiesGroup"];
|
|
this.columnCodPackag = base.Columns["CodPackag"];
|
|
this.columnbatchQty = base.Columns["batchQty"];
|
|
this.columnCodInco = base.Columns["CodInco"];
|
|
this.columnRawMatFullCost = base.Columns["RawMatFullCost"];
|
|
this.columnFVC = base.Columns["FVC"];
|
|
this.columnFullCost = base.Columns["FullCost"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnDataRif = new global::System.Data.DataColumn("DataRif", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataRif);
|
|
this.columnClass01 = new global::System.Data.DataColumn("Class01", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClass01);
|
|
this.columnClass02 = new global::System.Data.DataColumn("Class02", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnClass02);
|
|
this.columnCodItem = new global::System.Data.DataColumn("CodItem", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodItem);
|
|
this.columnRawMat = new global::System.Data.DataColumn("RawMat", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnRawMat);
|
|
this.columnCodPlant = new global::System.Data.DataColumn("CodPlant", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodPlant);
|
|
this.columnCodDiesGroup = new global::System.Data.DataColumn("CodDiesGroup", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodDiesGroup);
|
|
this.columnCodPackag = new global::System.Data.DataColumn("CodPackag", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodPackag);
|
|
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.columnRawMatFullCost = new global::System.Data.DataColumn("RawMatFullCost", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnRawMatFullCost);
|
|
this.columnFVC = new global::System.Data.DataColumn("FVC", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnFVC);
|
|
this.columnFullCost = new global::System.Data.DataColumn("FullCost", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnFullCost);
|
|
this.columnDataRif.ReadOnly = true;
|
|
this.columnDataRif.MaxLength = 6;
|
|
this.columnClass01.AllowDBNull = false;
|
|
this.columnClass01.MaxLength = 50;
|
|
this.columnClass02.AllowDBNull = false;
|
|
this.columnClass02.MaxLength = 50;
|
|
this.columnCodItem.AllowDBNull = false;
|
|
this.columnCodItem.MaxLength = 50;
|
|
this.columnRawMat.AllowDBNull = false;
|
|
this.columnRawMat.MaxLength = 50;
|
|
this.columnCodPlant.AllowDBNull = false;
|
|
this.columnCodPlant.MaxLength = 50;
|
|
this.columnCodDiesGroup.AllowDBNull = false;
|
|
this.columnCodDiesGroup.MaxLength = 50;
|
|
this.columnCodPackag.AllowDBNull = false;
|
|
this.columnCodPackag.MaxLength = 50;
|
|
this.columnbatchQty.AllowDBNull = false;
|
|
this.columnCodInco.AllowDBNull = false;
|
|
this.columnCodInco.MaxLength = 5;
|
|
this.columnRawMatFullCost.AllowDBNull = false;
|
|
this.columnFVC.AllowDBNull = false;
|
|
this.columnFullCost.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public StdCostListRow NewStdCostListRow() {
|
|
return ((StdCostListRow)(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 StdCostListRow(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(StdCostListRow);
|
|
}
|
|
|
|
[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.StdCostListRowChanged != null)) {
|
|
this.StdCostListRowChanged(this, new StdCostListRowChangeEvent(((StdCostListRow)(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.StdCostListRowChanging != null)) {
|
|
this.StdCostListRowChanging(this, new StdCostListRowChangeEvent(((StdCostListRow)(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.StdCostListRowDeleted != null)) {
|
|
this.StdCostListRowDeleted(this, new StdCostListRowChangeEvent(((StdCostListRow)(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.StdCostListRowDeleting != null)) {
|
|
this.StdCostListRowDeleting(this, new StdCostListRowChangeEvent(((StdCostListRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveStdCostListRow(StdCostListRow 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 = "StdCostListDataTable";
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class QuoteListRow : global::System.Data.DataRow {
|
|
|
|
private QuoteListDataTable tableQuoteList;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteListRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableQuoteList = ((QuoteListDataTable)(this.Table));
|
|
}
|
|
|
|
[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.tableQuoteList.QuoteTypeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.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.tableQuoteList.CodQuoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.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.tableQuoteList.QuoteRevColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.QuoteRevColumn] = 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.tableQuoteList.CodClientColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.CodClientColumn] = 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.tableQuoteList.CodItemColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.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.tableQuoteList.CodItemGroupColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.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.tableQuoteList.RawMatColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.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.tableQuoteList.UnitWeightColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.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.tableQuoteList.BatchQtyColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.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.tableQuoteList.CodIncoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.CodIncoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string KeyAM {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableQuoteList.KeyAMColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'KeyAM\' in table \'QuoteList\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.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.tableQuoteList.NoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.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.tableQuoteList.PriceOffColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.PriceOffColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime OrdDate {
|
|
get {
|
|
try {
|
|
return ((global::System.DateTime)(this[this.tableQuoteList.OrdDateColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'OrdDate\' in table \'QuoteList\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.OrdDateColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string OrdNum {
|
|
get {
|
|
return ((string)(this[this.tableQuoteList.OrdNumColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.OrdNumColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string OrdRow {
|
|
get {
|
|
return ((string)(this[this.tableQuoteList.OrdRowColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.OrdRowColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal OrdPrice {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteList.OrdPriceColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.OrdPriceColumn] = 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.tableQuoteList.IdxQStateColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.IdxQStateColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsKeyAMNull() {
|
|
return this.IsNull(this.tableQuoteList.KeyAMColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetKeyAMNull() {
|
|
this[this.tableQuoteList.KeyAMColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsOrdDateNull() {
|
|
return this.IsNull(this.tableQuoteList.OrdDateColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetOrdDateNull() {
|
|
this[this.tableQuoteList.OrdDateColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteRMRow[] GetQuoteRMRows() {
|
|
if ((this.Table.ChildRelations["FK_QuoteRM_QuoteList"] == null)) {
|
|
return new QuoteRMRow[0];
|
|
}
|
|
else {
|
|
return ((QuoteRMRow[])(base.GetChildRows(this.Table.ChildRelations["FK_QuoteRM_QuoteList"])));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteWorkExtRow[] GetQuoteWorkExtRows() {
|
|
if ((this.Table.ChildRelations["FK_QuoteWorkExt_QuoteList"] == null)) {
|
|
return new QuoteWorkExtRow[0];
|
|
}
|
|
else {
|
|
return ((QuoteWorkExtRow[])(base.GetChildRows(this.Table.ChildRelations["FK_QuoteWorkExt_QuoteList"])));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteWorkIntRow[] GetQuoteWorkIntRows() {
|
|
if ((this.Table.ChildRelations["FK_QuoteWorkInt_QuoteList"] == null)) {
|
|
return new QuoteWorkIntRow[0];
|
|
}
|
|
else {
|
|
return ((QuoteWorkIntRow[])(base.GetChildRows(this.Table.ChildRelations["FK_QuoteWorkInt_QuoteList"])));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteParamRow[] GetQuoteParamRows() {
|
|
if ((this.Table.ChildRelations["FK_QuoteParam_QuoteList"] == null)) {
|
|
return new QuoteParamRow[0];
|
|
}
|
|
else {
|
|
return ((QuoteParamRow[])(base.GetChildRows(this.Table.ChildRelations["FK_QuoteParam_QuoteList"])));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteOCRow[] GetQuoteOCRows() {
|
|
if ((this.Table.ChildRelations["FK_QuoteExtra_QuoteList"] == null)) {
|
|
return new QuoteOCRow[0];
|
|
}
|
|
else {
|
|
return ((QuoteOCRow[])(base.GetChildRows(this.Table.ChildRelations["FK_QuoteExtra_QuoteList"])));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class QuoteRMRow : global::System.Data.DataRow {
|
|
|
|
private QuoteRMDataTable tableQuoteRM;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteRMRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableQuoteRM = ((QuoteRMDataTable)(this.Table));
|
|
}
|
|
|
|
[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.tableQuoteRM.QuoteTypeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteRM.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.tableQuoteRM.CodQuoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteRM.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.tableQuoteRM.QuoteRevColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteRM.QuoteRevColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int NumRM {
|
|
get {
|
|
return ((int)(this[this.tableQuoteRM.NumRMColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteRM.NumRMColumn] = 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.tableQuoteRM.RawMatColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteRM.RawMatColumn] = 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.tableQuoteRM.RawMatCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteRM.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.tableQuoteRM.RawMatExtraCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteRM.RawMatExtraCostColumn] = 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.tableQuoteRM.CodPackagColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteRM.CodPackagColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal FCR {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteRM.FCRColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteRM.FCRColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal FYR {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteRM.FYRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'FYR\' in table \'QuoteRM\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteRM.FYRColumn] = 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.tableQuoteRM.FSRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'FSR\' in table \'QuoteRM\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteRM.FSRColumn] = 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.tableQuoteRM.validColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteRM.validColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteListRow QuoteListRowParent {
|
|
get {
|
|
return ((QuoteListRow)(this.GetParentRow(this.Table.ParentRelations["FK_QuoteRM_QuoteList"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_QuoteRM_QuoteList"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsFYRNull() {
|
|
return this.IsNull(this.tableQuoteRM.FYRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetFYRNull() {
|
|
this[this.tableQuoteRM.FYRColumn] = 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.tableQuoteRM.FSRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetFSRNull() {
|
|
this[this.tableQuoteRM.FSRColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class QuoteWorkExtRow : global::System.Data.DataRow {
|
|
|
|
private QuoteWorkExtDataTable tableQuoteWorkExt;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteWorkExtRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableQuoteWorkExt = ((QuoteWorkExtDataTable)(this.Table));
|
|
}
|
|
|
|
[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.tableQuoteWorkExt.QuoteTypeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkExt.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.tableQuoteWorkExt.CodQuoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkExt.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.tableQuoteWorkExt.QuoteRevColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkExt.QuoteRevColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int NumWE {
|
|
get {
|
|
return ((int)(this[this.tableQuoteWorkExt.NumWEColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkExt.NumWEColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal EWC4UG {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteWorkExt.EWC4UGColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkExt.EWC4UGColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string UM {
|
|
get {
|
|
return ((string)(this[this.tableQuoteWorkExt.UMColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkExt.UMColumn] = 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.tableQuoteWorkExt.validColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkExt.validColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteListRow QuoteListRowParent {
|
|
get {
|
|
return ((QuoteListRow)(this.GetParentRow(this.Table.ParentRelations["FK_QuoteWorkExt_QuoteList"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_QuoteWorkExt_QuoteList"]);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class QuoteWorkIntRow : global::System.Data.DataRow {
|
|
|
|
private QuoteWorkIntDataTable tableQuoteWorkInt;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteWorkIntRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableQuoteWorkInt = ((QuoteWorkIntDataTable)(this.Table));
|
|
}
|
|
|
|
[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.tableQuoteWorkInt.QuoteTypeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.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.tableQuoteWorkInt.CodQuoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.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.tableQuoteWorkInt.QuoteRevColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.QuoteRevColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int NumWI {
|
|
get {
|
|
return ((int)(this[this.tableQuoteWorkInt.NumWIColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.NumWIColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string ProcessNum {
|
|
get {
|
|
return ((string)(this[this.tableQuoteWorkInt.ProcessNumColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.ProcessNumColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CodPlant {
|
|
get {
|
|
return ((string)(this[this.tableQuoteWorkInt.CodPlantColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.CodPlantColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Class01 {
|
|
get {
|
|
return ((string)(this[this.tableQuoteWorkInt.Class01Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.Class01Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Class02 {
|
|
get {
|
|
return ((string)(this[this.tableQuoteWorkInt.Class02Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.Class02Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Class03 {
|
|
get {
|
|
return ((string)(this[this.tableQuoteWorkInt.Class03Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.Class03Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Class04 {
|
|
get {
|
|
return ((string)(this[this.tableQuoteWorkInt.Class04Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.Class04Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Class05 {
|
|
get {
|
|
return ((string)(this[this.tableQuoteWorkInt.Class05Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.Class05Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal NetProd {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.NetProdColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.NetProdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal WSR {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.WSRColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.WSRColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal MSR {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.MSRColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.MSRColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal DSR {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.DSRColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.DSRColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal FC4UG {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.FC4UGColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.FC4UGColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal VC4UG {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.VC4UGColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.VC4UGColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal OH4UG {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.OH4UGColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.OH4UGColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal SC4UG {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.SC4UGColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.SC4UGColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal WYR {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.WYRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'WYR\' in table \'QuoteWorkInt\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.WYRColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal MYR {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.MYRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'MYR\' in table \'QuoteWorkInt\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.MYRColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal DYR {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.DYRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DYR\' in table \'QuoteWorkInt\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.DYRColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal WCR {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.WCRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'WCR\' in table \'QuoteWorkInt\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.WCRColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal MCR {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.MCRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'MCR\' in table \'QuoteWorkInt\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.MCRColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal DCR {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteWorkInt.DCRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DCR\' in table \'QuoteWorkInt\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.DCRColumn] = 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.tableQuoteWorkInt.validColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteWorkInt.validColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteListRow QuoteListRowParent {
|
|
get {
|
|
return ((QuoteListRow)(this.GetParentRow(this.Table.ParentRelations["FK_QuoteWorkInt_QuoteList"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_QuoteWorkInt_QuoteList"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsWYRNull() {
|
|
return this.IsNull(this.tableQuoteWorkInt.WYRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetWYRNull() {
|
|
this[this.tableQuoteWorkInt.WYRColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsMYRNull() {
|
|
return this.IsNull(this.tableQuoteWorkInt.MYRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetMYRNull() {
|
|
this[this.tableQuoteWorkInt.MYRColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDYRNull() {
|
|
return this.IsNull(this.tableQuoteWorkInt.DYRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDYRNull() {
|
|
this[this.tableQuoteWorkInt.DYRColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsWCRNull() {
|
|
return this.IsNull(this.tableQuoteWorkInt.WCRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetWCRNull() {
|
|
this[this.tableQuoteWorkInt.WCRColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsMCRNull() {
|
|
return this.IsNull(this.tableQuoteWorkInt.MCRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetMCRNull() {
|
|
this[this.tableQuoteWorkInt.MCRColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDCRNull() {
|
|
return this.IsNull(this.tableQuoteWorkInt.DCRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDCRNull() {
|
|
this[this.tableQuoteWorkInt.DCRColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class QuoteParamRow : global::System.Data.DataRow {
|
|
|
|
private QuoteParamDataTable tableQuoteParam;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteParamRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableQuoteParam = ((QuoteParamDataTable)(this.Table));
|
|
}
|
|
|
|
[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.tableQuoteParam.QuoteTypeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteParam.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.tableQuoteParam.CodQuoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteParam.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.tableQuoteParam.QuoteRevColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteParam.QuoteRevColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int NumP {
|
|
get {
|
|
return ((int)(this[this.tableQuoteParam.NumPColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteParam.NumPColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string ProcessNum {
|
|
get {
|
|
return ((string)(this[this.tableQuoteParam.ProcessNumColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteParam.ProcessNumColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Descr {
|
|
get {
|
|
return ((string)(this[this.tableQuoteParam.DescrColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteParam.DescrColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Parameter {
|
|
get {
|
|
return ((string)(this[this.tableQuoteParam.ParameterColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteParam.ParameterColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteListRow QuoteListRowParent {
|
|
get {
|
|
return ((QuoteListRow)(this.GetParentRow(this.Table.ParentRelations["FK_QuoteParam_QuoteList"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_QuoteParam_QuoteList"]);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class QuoteOCRow : global::System.Data.DataRow {
|
|
|
|
private QuoteOCDataTable tableQuoteOC;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteOCRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableQuoteOC = ((QuoteOCDataTable)(this.Table));
|
|
}
|
|
|
|
[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.tableQuoteOC.QuoteTypeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.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.tableQuoteOC.CodQuoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.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.tableQuoteOC.QuoteRevColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.QuoteRevColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int NumEx {
|
|
get {
|
|
return ((int)(this[this.tableQuoteOC.NumExColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.NumExColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string ProcessNum {
|
|
get {
|
|
return ((string)(this[this.tableQuoteOC.ProcessNumColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.ProcessNumColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CodPlant {
|
|
get {
|
|
return ((string)(this[this.tableQuoteOC.CodPlantColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.CodPlantColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Class01 {
|
|
get {
|
|
return ((string)(this[this.tableQuoteOC.Class01Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.Class01Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Class02 {
|
|
get {
|
|
return ((string)(this[this.tableQuoteOC.Class02Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.Class02Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Class03 {
|
|
get {
|
|
return ((string)(this[this.tableQuoteOC.Class03Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.Class03Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Class04 {
|
|
get {
|
|
return ((string)(this[this.tableQuoteOC.Class04Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.Class04Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Class05 {
|
|
get {
|
|
return ((string)(this[this.tableQuoteOC.Class05Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.Class05Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TotQty {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteOC.TotQtyColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.TotQtyColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal TotCost {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteOC.TotCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.TotCostColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal Quota {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteOC.QuotaColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.QuotaColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal C4UG {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteOC.C4UGColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'C4UG\' in table \'QuoteOC\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.C4UGColumn] = 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.tableQuoteOC.validColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteOC.validColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public QuoteListRow QuoteListRowParent {
|
|
get {
|
|
return ((QuoteListRow)(this.GetParentRow(this.Table.ParentRelations["FK_QuoteExtra_QuoteList"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_QuoteExtra_QuoteList"]);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsC4UGNull() {
|
|
return this.IsNull(this.tableQuoteOC.C4UGColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetC4UGNull() {
|
|
this[this.tableQuoteOC.C4UGColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class QuoteFull_QRow : global::System.Data.DataRow {
|
|
|
|
private QuoteFull_QDataTable tableQuoteFull_Q;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal QuoteFull_QRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableQuoteFull_Q = ((QuoteFull_QDataTable)(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_Q.VersColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.QuoteTypeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.CodQuoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.QuoteRevColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.QuoteRevColumn] = 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_Q.CodClientColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.ClientNameColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.CodItemColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.CodItemGroupColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.RawMatColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.UnitWeightColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.BatchQtyColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.CodIncoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.CodIncoColumn] = 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_Q.KeyAMColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.NoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.PriceOffColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.CodClientAssocColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodClientAssoc\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.ClientNameAssocColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'ClientNameAssoc\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.ItemDescrColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'ItemDescr\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.CodifProfiloColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodifProfilo\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.ClasseMercColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'ClasseMerc\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.TipoDiesColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TipoDies\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.CodDiesGroupColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodDiesGroup\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.CodDiesGroupColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal DiamDies {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.DiamDiesColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.HoleNumDiesColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'HoleNumDies\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.HoleNumDiesColumn] = 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_Q.DiesPriceColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.DiesPriceColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal DiesExpLife {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.DiesExpLifeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.DiesExpLifeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal DiesEOLife {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.DiesEOLifeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.DiesEOLifeColumn] = 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_Q.NumDiesInListColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'NumDiesInList\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.NumDiesExaustColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'NumDiesExaust\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.CodPlantColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodPlant\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.KeyAMILColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'KeyAMIL\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.KgTeoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'KgTeo\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.NumSMEDColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'NumSMED\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.QuotaManColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'QuotaMan\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.PRMWeightColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PRMWeight\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.PWeightColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PWeight\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.PTareColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PTare\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.LivPackageColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'LivPackage\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.LivPackageDettColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'LivPackageDett\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.RawMatCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.RawMatExtraCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.RawMatFullCostColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'RawMatFullCost\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.CodPackagColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.PkgDescColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PkgDesc\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.FSRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'FSR\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.ProvvCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.EECostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.GasCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.DiesCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.PackCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.TranspCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.SellCost01Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.RefCost01Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.SellCost04Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.RefCost04Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.RefCost04Column] = 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_Q.WSR01Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.WSR01Column] = 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_Q.MSR01Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.MSR01Column] = 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_Q.NetProd01Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.FC4UG01Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.VC4UG01Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.OH4UG01Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.SC4UG01Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.SC4UG01Column] = 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_Q.DSRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DSR\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.NetProd04Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.FC4UG04Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.VC4UG04Column]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.FVCColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'FVC\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.ChargeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.ChargeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal P_FVC {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.P_FVCColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_FVC\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.P_FVCColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal CPS {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.CPSColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CPS\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.CPSColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal P_CPS {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.P_CPSColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_CPS\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.P_CPSColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal P_FC4UG04 {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.P_FC4UG04Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_FC4UG04\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.P_FC4UG04Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal FullCost {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.FullCostColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'FullCost\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.FullCostColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal P_FullCost {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.P_FullCostColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_FullCost\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.P_FullCostColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal MinPrice {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.MinPriceColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'MinPrice\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.MinPriceColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal P_MinPrice {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.P_MinPriceColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_MinPrice\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.P_MinPriceColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal P_PriceOff {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.P_PriceOffColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_PriceOff\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.P_PriceOffColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal NetMar {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.NetMarColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'NetMar\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.NetMarColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal FCShield {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.FCShieldColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'FCShield\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.FCShieldColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal PckSur {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.PckSurColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PckSur\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.PckSurColumn] = 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_Q.IdxQStateColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.IdxQStateColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool DiesByClass {
|
|
get {
|
|
return ((bool)(this[this.tableQuoteFull_Q.DiesByClassColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.DiesByClassColumn] = 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_Q.validColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.errorScoreColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.errorScoreColumn] = 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_Q.TranspZoneColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.TranspZoneColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal DiesPrice_sim {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.DiesPrice_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.DiesPrice_simColumn] = 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_Q.SamplePriceColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.SamplePriceColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal DiesFullCost {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.DiesFullCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.DiesPriceClientQuoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.DiesPriceClientQuoteColumn] = 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_Q.DiesTecLifeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.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_Q.DiesCommLifeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.DiesCommLifeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal MonthSalesPrev {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.MonthSalesPrevColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.MonthSalesPrevColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal SalesPrevCost {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.SalesPrevCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.SalesPrevCostColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal DiesFinCost {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.DiesFinCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.DiesFinCostColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal ClientQuoteReven {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.ClientQuoteRevenColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.ClientQuoteRevenColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal ExtraDiscountDies {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.ExtraDiscountDiesColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.ExtraDiscountDiesColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal WSR01_sim {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.WSR01_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.WSR01_simColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal MSR01_sim {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.MSR01_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.MSR01_simColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal NetProd01_sim {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.NetProd01_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.NetProd01_simColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal DSR_sim {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.DSR_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.DSR_simColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal NetMar_sim {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.NetMar_simColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'NetMar_sim\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.NetMar_simColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal FCShield_sim {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.FCShield_simColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'FCShield_sim\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.FCShield_simColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal MinPrice_sim {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.MinPrice_simColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'MinPrice_sim\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.MinPrice_simColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal P_MinPrice_sim {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.P_MinPrice_simColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_MinPrice_sim\' in table \'QuoteFull_Q\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.P_MinPrice_simColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal NetProd04_sim {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_Q.NetProd04_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.NetProd04_simColumn] = 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_Q.CodClientAssocColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodClientAssocNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.ClientNameAssocColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetClientNameAssocNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.ItemDescrColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetItemDescrNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.CodifProfiloColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodifProfiloNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.ClasseMercColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetClasseMercNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.TipoDiesColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTipoDiesNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.CodDiesGroupColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodDiesGroupNull() {
|
|
this[this.tableQuoteFull_Q.CodDiesGroupColumn] = 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_Q.HoleNumDiesColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetHoleNumDiesNull() {
|
|
this[this.tableQuoteFull_Q.HoleNumDiesColumn] = 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_Q.NumDiesInListColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNumDiesInListNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.NumDiesExaustColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNumDiesExaustNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.CodPlantColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodPlantNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.KeyAMILColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetKeyAMILNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.KgTeoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetKgTeoNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.NumSMEDColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNumSMEDNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.QuotaManColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetQuotaManNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.PRMWeightColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPRMWeightNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.PWeightColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPWeightNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.PTareColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPTareNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.LivPackageColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetLivPackageNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.LivPackageDettColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetLivPackageDettNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.RawMatFullCostColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetRawMatFullCostNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.PkgDescColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPkgDescNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.FSRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetFSRNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.DSRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDSRNull() {
|
|
this[this.tableQuoteFull_Q.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_Q.FVCColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetFVCNull() {
|
|
this[this.tableQuoteFull_Q.FVCColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsP_FVCNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.P_FVCColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetP_FVCNull() {
|
|
this[this.tableQuoteFull_Q.P_FVCColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsCPSNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.CPSColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCPSNull() {
|
|
this[this.tableQuoteFull_Q.CPSColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsP_CPSNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.P_CPSColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetP_CPSNull() {
|
|
this[this.tableQuoteFull_Q.P_CPSColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsP_FC4UG04Null() {
|
|
return this.IsNull(this.tableQuoteFull_Q.P_FC4UG04Column);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetP_FC4UG04Null() {
|
|
this[this.tableQuoteFull_Q.P_FC4UG04Column] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsFullCostNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.FullCostColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetFullCostNull() {
|
|
this[this.tableQuoteFull_Q.FullCostColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsP_FullCostNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.P_FullCostColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetP_FullCostNull() {
|
|
this[this.tableQuoteFull_Q.P_FullCostColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsMinPriceNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.MinPriceColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetMinPriceNull() {
|
|
this[this.tableQuoteFull_Q.MinPriceColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsP_MinPriceNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.P_MinPriceColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetP_MinPriceNull() {
|
|
this[this.tableQuoteFull_Q.P_MinPriceColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsP_PriceOffNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.P_PriceOffColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetP_PriceOffNull() {
|
|
this[this.tableQuoteFull_Q.P_PriceOffColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsNetMarNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.NetMarColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNetMarNull() {
|
|
this[this.tableQuoteFull_Q.NetMarColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsFCShieldNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.FCShieldColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetFCShieldNull() {
|
|
this[this.tableQuoteFull_Q.FCShieldColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsPckSurNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.PckSurColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPckSurNull() {
|
|
this[this.tableQuoteFull_Q.PckSurColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsNetMar_simNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.NetMar_simColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNetMar_simNull() {
|
|
this[this.tableQuoteFull_Q.NetMar_simColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsFCShield_simNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.FCShield_simColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetFCShield_simNull() {
|
|
this[this.tableQuoteFull_Q.FCShield_simColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsMinPrice_simNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.MinPrice_simColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetMinPrice_simNull() {
|
|
this[this.tableQuoteFull_Q.MinPrice_simColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsP_MinPrice_simNull() {
|
|
return this.IsNull(this.tableQuoteFull_Q.P_MinPrice_simColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetP_MinPrice_simNull() {
|
|
this[this.tableQuoteFull_Q.P_MinPrice_simColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class RawMatDetRow : global::System.Data.DataRow {
|
|
|
|
private RawMatDetDataTable tableRawMatDet;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal RawMatDetRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableRawMatDet = ((RawMatDetDataTable)(this.Table));
|
|
}
|
|
|
|
[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.tableRawMatDet.RawMatColumn]));
|
|
}
|
|
set {
|
|
this[this.tableRawMatDet.RawMatColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal ProcCost {
|
|
get {
|
|
return ((decimal)(this[this.tableRawMatDet.ProcCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableRawMatDet.ProcCostColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal ProcYield {
|
|
get {
|
|
return ((decimal)(this[this.tableRawMatDet.ProcYieldColumn]));
|
|
}
|
|
set {
|
|
this[this.tableRawMatDet.ProcYieldColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal CSR {
|
|
get {
|
|
return ((decimal)(this[this.tableRawMatDet.CSRColumn]));
|
|
}
|
|
set {
|
|
this[this.tableRawMatDet.CSRColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal SSR {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableRawMatDet.SSRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'SSR\' in table \'RawMatDet\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableRawMatDet.SSRColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal SSVA {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableRawMatDet.SSVAColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'SSVA\' in table \'RawMatDet\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableRawMatDet.SSVAColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal SSVR {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableRawMatDet.SSVRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'SSVR\' in table \'RawMatDet\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableRawMatDet.SSVRColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal ExtraMatCost {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableRawMatDet.ExtraMatCostColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'ExtraMatCost\' in table \'RawMatDet\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableRawMatDet.ExtraMatCostColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal ExtraServCost {
|
|
get {
|
|
try {
|
|
return ((decimal)(this[this.tableRawMatDet.ExtraServCostColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'ExtraServCost\' in table \'RawMatDet\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableRawMatDet.ExtraServCostColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsSSRNull() {
|
|
return this.IsNull(this.tableRawMatDet.SSRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetSSRNull() {
|
|
this[this.tableRawMatDet.SSRColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsSSVANull() {
|
|
return this.IsNull(this.tableRawMatDet.SSVAColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetSSVANull() {
|
|
this[this.tableRawMatDet.SSVAColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsSSVRNull() {
|
|
return this.IsNull(this.tableRawMatDet.SSVRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetSSVRNull() {
|
|
this[this.tableRawMatDet.SSVRColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsExtraMatCostNull() {
|
|
return this.IsNull(this.tableRawMatDet.ExtraMatCostColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetExtraMatCostNull() {
|
|
this[this.tableRawMatDet.ExtraMatCostColumn] = global::System.Convert.DBNull;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsExtraServCostNull() {
|
|
return this.IsNull(this.tableRawMatDet.ExtraServCostColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetExtraServCostNull() {
|
|
this[this.tableRawMatDet.ExtraServCostColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class StdCostListRow : global::System.Data.DataRow {
|
|
|
|
private StdCostListDataTable tableStdCostList;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal StdCostListRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableStdCostList = ((StdCostListDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string DataRif {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableStdCostList.DataRifColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DataRif\' in table \'StdCostList\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.DataRifColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Class01 {
|
|
get {
|
|
return ((string)(this[this.tableStdCostList.Class01Column]));
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.Class01Column] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Class02 {
|
|
get {
|
|
return ((string)(this[this.tableStdCostList.Class02Column]));
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.Class02Column] = 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.tableStdCostList.CodItemColumn]));
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.CodItemColumn] = 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.tableStdCostList.RawMatColumn]));
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.RawMatColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CodPlant {
|
|
get {
|
|
return ((string)(this[this.tableStdCostList.CodPlantColumn]));
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.CodPlantColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CodDiesGroup {
|
|
get {
|
|
return ((string)(this[this.tableStdCostList.CodDiesGroupColumn]));
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.CodDiesGroupColumn] = 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.tableStdCostList.CodPackagColumn]));
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.CodPackagColumn] = 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.tableStdCostList.batchQtyColumn]));
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.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.tableStdCostList.CodIncoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.CodIncoColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal RawMatFullCost {
|
|
get {
|
|
return ((decimal)(this[this.tableStdCostList.RawMatFullCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.RawMatFullCostColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal FVC {
|
|
get {
|
|
return ((decimal)(this[this.tableStdCostList.FVCColumn]));
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.FVCColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal FullCost {
|
|
get {
|
|
return ((decimal)(this[this.tableStdCostList.FullCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableStdCostList.FullCostColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IsDataRifNull() {
|
|
return this.IsNull(this.tableStdCostList.DataRifColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDataRifNull() {
|
|
this[this.tableStdCostList.DataRifColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class QuoteListRowChangeEvent : global::System.EventArgs {
|
|
|
|
private QuoteListRow 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 QuoteListRowChangeEvent(QuoteListRow 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 QuoteListRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class QuoteRMRowChangeEvent : global::System.EventArgs {
|
|
|
|
private QuoteRMRow 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 QuoteRMRowChangeEvent(QuoteRMRow 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 QuoteRMRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class QuoteWorkExtRowChangeEvent : global::System.EventArgs {
|
|
|
|
private QuoteWorkExtRow 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 QuoteWorkExtRowChangeEvent(QuoteWorkExtRow 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 QuoteWorkExtRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class QuoteWorkIntRowChangeEvent : global::System.EventArgs {
|
|
|
|
private QuoteWorkIntRow 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 QuoteWorkIntRowChangeEvent(QuoteWorkIntRow 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 QuoteWorkIntRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class QuoteParamRowChangeEvent : global::System.EventArgs {
|
|
|
|
private QuoteParamRow 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 QuoteParamRowChangeEvent(QuoteParamRow 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 QuoteParamRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class QuoteOCRowChangeEvent : global::System.EventArgs {
|
|
|
|
private QuoteOCRow 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 QuoteOCRowChangeEvent(QuoteOCRow 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 QuoteOCRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class QuoteFull_QRowChangeEvent : global::System.EventArgs {
|
|
|
|
private QuoteFull_QRow 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_QRowChangeEvent(QuoteFull_QRow 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_QRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class RawMatDetRowChangeEvent : global::System.EventArgs {
|
|
|
|
private RawMatDetRow 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 RawMatDetRowChangeEvent(RawMatDetRow 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 RawMatDetRow 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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class StdCostListRowChangeEvent : global::System.EventArgs {
|
|
|
|
private StdCostListRow 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 StdCostListRowChangeEvent(StdCostListRow 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 StdCostListRow 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 {
|
|
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 QuoteListTableAdapter : 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 QuoteListTableAdapter() {
|
|
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 = "QuoteList";
|
|
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
|
|
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
|
|
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
|
|
tableMapping.ColumnMappings.Add("CodClient", "CodClient");
|
|
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("KeyAM", "KeyAM");
|
|
tableMapping.ColumnMappings.Add("Note", "Note");
|
|
tableMapping.ColumnMappings.Add("PriceOff", "PriceOff");
|
|
tableMapping.ColumnMappings.Add("OrdDate", "OrdDate");
|
|
tableMapping.ColumnMappings.Add("OrdNum", "OrdNum");
|
|
tableMapping.ColumnMappings.Add("OrdRow", "OrdRow");
|
|
tableMapping.ColumnMappings.Add("OrdPrice", "OrdPrice");
|
|
tableMapping.ColumnMappings.Add("IdxQState", "IdxQState");
|
|
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].[QuoteList] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) 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 ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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_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_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_OrdDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdRow", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdRow", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OrdPrice", 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].[QuoteList] ([QuoteType], [CodQuote], [QuoteRev], [IdxQState], [CodClient], [CodItem], [CodItemGroup], [RawMat], [UnitWeight], [BatchQty], [CodInco], [Note], [PriceOff], [OrdDate], [OrdNum], [OrdRow], [OrdPrice]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @IdxQState, @CodClient, @CodItem, @CodItemGroup, @RawMat, @UnitWeight, @BatchQty, @CodInco, @Note, @PriceOff, @OrdDate, @OrdNum, @OrdRow, @OrdPrice);
|
|
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList WHERE (CodQuote = @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("@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("@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("@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("@OrdDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdNum", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdRow", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdRow", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OrdPrice", 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].[QuoteList] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [IdxQState] = @IdxQState, [CodClient] = @CodClient, [CodItem] = @CodItem, [CodItemGroup] = @CodItemGroup, [RawMat] = @RawMat, [UnitWeight] = @UnitWeight, [BatchQty] = @BatchQty, [CodInco] = @CodInco, [Note] = @Note, [PriceOff] = @PriceOff, [OrdDate] = @OrdDate, [OrdNum] = @OrdNum, [OrdRow] = @OrdRow, [OrdPrice] = @OrdPrice WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([IdxQState] = @Original_IdxQState) AND ([CodClient] = @Original_CodClient) 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 ([KeyAM] = @Original_KeyAM) AND ([Note] = @Original_Note) AND ([PriceOff] = @Original_PriceOff) AND ((@IsNull_OrdDate = 1 AND [OrdDate] IS NULL) OR ([OrdDate] = @Original_OrdDate)) AND ([OrdNum] = @Original_OrdNum) AND ([OrdRow] = @Original_OrdRow) AND ([OrdPrice] = @Original_OrdPrice));
|
|
SELECT QuoteType, CodQuote, QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, KeyAM, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice FROM QuoteList 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("@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("@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("@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("@OrdDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdNum", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdRow", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdRow", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OrdPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OrdPrice", global::System.Data.DataRowVersion.Current, 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_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_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_OrdDate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdDate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdDate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdRow", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OrdRow", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrdPrice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OrdPrice", 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[7];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT * FROM dbo.QuoteList";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_QL_clone";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType_orig", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote_orig", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev_orig", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_QL_getByKey";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_QL_insNew";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchQty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_QL_makeSim";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote_orig", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev_orig", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_QL_newRev";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev_orig", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[6].Connection = this.Connection;
|
|
this._commandCollection[6].CommandText = "dbo.stp_QL_update";
|
|
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[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.QuoteListDataTable 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.QuoteListDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteListDataTable clone(string QuoteType, string QuoteType_orig, global::System.Nullable<long> CodQuote_orig, global::System.Nullable<int> QuoteRev_orig) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(QuoteType));
|
|
}
|
|
if ((QuoteType_orig == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(QuoteType_orig));
|
|
}
|
|
if ((CodQuote_orig.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((long)(CodQuote_orig.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuoteRev_orig.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(QuoteRev_orig.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteListDataTable getByKey(string QuoteType, global::System.Nullable<long> CodQuote, global::System.Nullable<int> QuoteRev) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(QuoteType));
|
|
}
|
|
if ((CodQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(CodQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuoteRev.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(QuoteRev.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteListDataTable insNew(string QuoteType, string CodClient, string CodItem, string RawMat, global::System.Nullable<decimal> RawMatCost, global::System.Nullable<decimal> RawMatExtraCost, global::System.Nullable<int> BatchQty, string CodInco, string Note) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[3];
|
|
if ((QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(QuoteType));
|
|
}
|
|
if ((CodClient == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodClient));
|
|
}
|
|
if ((CodItem == null)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodItem));
|
|
}
|
|
if ((RawMat == null)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(RawMat));
|
|
}
|
|
if ((RawMatCost.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((decimal)(RawMatCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((RawMatExtraCost.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((decimal)(RawMatExtraCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((BatchQty.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((int)(BatchQty.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodInco == null)) {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = ((string)(CodInco));
|
|
}
|
|
if ((Note == null)) {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = ((string)(Note));
|
|
}
|
|
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteListDataTable makeSim(global::System.Nullable<long> CodQuote_orig, global::System.Nullable<int> QuoteRev_orig) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[4];
|
|
if ((CodQuote_orig.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((long)(CodQuote_orig.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuoteRev_orig.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((int)(QuoteRev_orig.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteListDataTable newRev(string QuoteType, global::System.Nullable<long> CodQuote, global::System.Nullable<int> QuoteRev_orig) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[5];
|
|
if ((QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(QuoteType));
|
|
}
|
|
if ((CodQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(CodQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuoteRev_orig.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(QuoteRev_orig.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteListDataTable dataTable = new DS_Quotes.QuoteListDataTable();
|
|
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.QuoteListDataTable 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, "QuoteList");
|
|
}
|
|
|
|
[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_QuoteType,
|
|
long Original_CodQuote,
|
|
int Original_QuoteRev,
|
|
int Original_IdxQState,
|
|
string Original_CodClient,
|
|
string Original_CodItem,
|
|
string Original_CodItemGroup,
|
|
string Original_RawMat,
|
|
decimal Original_UnitWeight,
|
|
int Original_BatchQty,
|
|
string Original_CodInco,
|
|
string Original_KeyAM,
|
|
string Original_Note,
|
|
decimal Original_PriceOff,
|
|
global::System.Nullable<global::System.DateTime> Original_OrdDate,
|
|
string Original_OrdNum,
|
|
string Original_OrdRow,
|
|
decimal Original_OrdPrice) {
|
|
if ((Original_QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("Original_QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_QuoteType));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_IdxQState));
|
|
if ((Original_CodClient == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodClient");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodClient));
|
|
}
|
|
if ((Original_CodItem == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodItem");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodItem));
|
|
}
|
|
if ((Original_CodItemGroup == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodItemGroup");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_CodItemGroup));
|
|
}
|
|
if ((Original_RawMat == null)) {
|
|
throw new global::System.ArgumentNullException("Original_RawMat");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_RawMat));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((decimal)(Original_UnitWeight));
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((int)(Original_BatchQty));
|
|
if ((Original_CodInco == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodInco");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_CodInco));
|
|
}
|
|
if ((Original_KeyAM == null)) {
|
|
throw new global::System.ArgumentNullException("Original_KeyAM");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_KeyAM));
|
|
}
|
|
if ((Original_Note == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Note");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_Note));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((decimal)(Original_PriceOff));
|
|
if ((Original_OrdDate.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((System.DateTime)(Original_OrdDate.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_OrdNum == null)) {
|
|
throw new global::System.ArgumentNullException("Original_OrdNum");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_OrdNum));
|
|
}
|
|
if ((Original_OrdRow == null)) {
|
|
throw new global::System.ArgumentNullException("Original_OrdRow");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(Original_OrdRow));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((decimal)(Original_OrdPrice));
|
|
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 QuoteType,
|
|
long CodQuote,
|
|
int QuoteRev,
|
|
int IdxQState,
|
|
string CodClient,
|
|
string CodItem,
|
|
string CodItemGroup,
|
|
string RawMat,
|
|
decimal UnitWeight,
|
|
int BatchQty,
|
|
string CodInco,
|
|
string Note,
|
|
decimal PriceOff,
|
|
global::System.Nullable<global::System.DateTime> OrdDate,
|
|
string OrdNum,
|
|
string OrdRow,
|
|
decimal OrdPrice) {
|
|
if ((QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(QuoteType));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(IdxQState));
|
|
if ((CodClient == null)) {
|
|
throw new global::System.ArgumentNullException("CodClient");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodClient));
|
|
}
|
|
if ((CodItem == null)) {
|
|
throw new global::System.ArgumentNullException("CodItem");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodItem));
|
|
}
|
|
if ((CodItemGroup == null)) {
|
|
throw new global::System.ArgumentNullException("CodItemGroup");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(CodItemGroup));
|
|
}
|
|
if ((RawMat == null)) {
|
|
throw new global::System.ArgumentNullException("RawMat");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(RawMat));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(UnitWeight));
|
|
this.Adapter.InsertCommand.Parameters[9].Value = ((int)(BatchQty));
|
|
if ((CodInco == null)) {
|
|
throw new global::System.ArgumentNullException("CodInco");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(CodInco));
|
|
}
|
|
if ((Note == null)) {
|
|
throw new global::System.ArgumentNullException("Note");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[11].Value = ((string)(Note));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(PriceOff));
|
|
if ((OrdDate.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = ((System.DateTime)(OrdDate.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OrdNum == null)) {
|
|
throw new global::System.ArgumentNullException("OrdNum");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[14].Value = ((string)(OrdNum));
|
|
}
|
|
if ((OrdRow == null)) {
|
|
throw new global::System.ArgumentNullException("OrdRow");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[15].Value = ((string)(OrdRow));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[16].Value = ((decimal)(OrdPrice));
|
|
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 QuoteType,
|
|
long CodQuote,
|
|
int QuoteRev,
|
|
int IdxQState,
|
|
string CodClient,
|
|
string CodItem,
|
|
string CodItemGroup,
|
|
string RawMat,
|
|
decimal UnitWeight,
|
|
int BatchQty,
|
|
string CodInco,
|
|
string Note,
|
|
decimal PriceOff,
|
|
global::System.Nullable<global::System.DateTime> OrdDate,
|
|
string OrdNum,
|
|
string OrdRow,
|
|
decimal OrdPrice,
|
|
string Original_QuoteType,
|
|
long Original_CodQuote,
|
|
int Original_QuoteRev,
|
|
int Original_IdxQState,
|
|
string Original_CodClient,
|
|
string Original_CodItem,
|
|
string Original_CodItemGroup,
|
|
string Original_RawMat,
|
|
decimal Original_UnitWeight,
|
|
int Original_BatchQty,
|
|
string Original_CodInco,
|
|
string Original_KeyAM,
|
|
string Original_Note,
|
|
decimal Original_PriceOff,
|
|
global::System.Nullable<global::System.DateTime> Original_OrdDate,
|
|
string Original_OrdNum,
|
|
string Original_OrdRow,
|
|
decimal Original_OrdPrice) {
|
|
if ((QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(QuoteType));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(IdxQState));
|
|
if ((CodClient == null)) {
|
|
throw new global::System.ArgumentNullException("CodClient");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodClient));
|
|
}
|
|
if ((CodItem == null)) {
|
|
throw new global::System.ArgumentNullException("CodItem");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodItem));
|
|
}
|
|
if ((CodItemGroup == null)) {
|
|
throw new global::System.ArgumentNullException("CodItemGroup");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(CodItemGroup));
|
|
}
|
|
if ((RawMat == null)) {
|
|
throw new global::System.ArgumentNullException("RawMat");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(RawMat));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(UnitWeight));
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(BatchQty));
|
|
if ((CodInco == null)) {
|
|
throw new global::System.ArgumentNullException("CodInco");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(CodInco));
|
|
}
|
|
if ((Note == null)) {
|
|
throw new global::System.ArgumentNullException("Note");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Note));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(PriceOff));
|
|
if ((OrdDate.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(OrdDate.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OrdNum == null)) {
|
|
throw new global::System.ArgumentNullException("OrdNum");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(OrdNum));
|
|
}
|
|
if ((OrdRow == null)) {
|
|
throw new global::System.ArgumentNullException("OrdRow");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(OrdRow));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(OrdPrice));
|
|
if ((Original_QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("Original_QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_QuoteType));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((long)(Original_CodQuote));
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_QuoteRev));
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_IdxQState));
|
|
if ((Original_CodClient == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodClient");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_CodClient));
|
|
}
|
|
if ((Original_CodItem == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodItem");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_CodItem));
|
|
}
|
|
if ((Original_CodItemGroup == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodItemGroup");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_CodItemGroup));
|
|
}
|
|
if ((Original_RawMat == null)) {
|
|
throw new global::System.ArgumentNullException("Original_RawMat");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_RawMat));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((decimal)(Original_UnitWeight));
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_BatchQty));
|
|
if ((Original_CodInco == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodInco");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_CodInco));
|
|
}
|
|
if ((Original_KeyAM == null)) {
|
|
throw new global::System.ArgumentNullException("Original_KeyAM");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_KeyAM));
|
|
}
|
|
if ((Original_Note == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Note");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_Note));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((decimal)(Original_PriceOff));
|
|
if ((Original_OrdDate.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = ((System.DateTime)(Original_OrdDate.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_OrdNum == null)) {
|
|
throw new global::System.ArgumentNullException("Original_OrdNum");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_OrdNum));
|
|
}
|
|
if ((Original_OrdRow == null)) {
|
|
throw new global::System.ArgumentNullException("Original_OrdRow");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_OrdRow));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((decimal)(Original_OrdPrice));
|
|
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(
|
|
int IdxQState,
|
|
string CodClient,
|
|
string CodItem,
|
|
string CodItemGroup,
|
|
string RawMat,
|
|
decimal UnitWeight,
|
|
int BatchQty,
|
|
string CodInco,
|
|
string Note,
|
|
decimal PriceOff,
|
|
global::System.Nullable<global::System.DateTime> OrdDate,
|
|
string OrdNum,
|
|
string OrdRow,
|
|
decimal OrdPrice,
|
|
string Original_QuoteType,
|
|
long Original_CodQuote,
|
|
int Original_QuoteRev,
|
|
int Original_IdxQState,
|
|
string Original_CodClient,
|
|
string Original_CodItem,
|
|
string Original_CodItemGroup,
|
|
string Original_RawMat,
|
|
decimal Original_UnitWeight,
|
|
int Original_BatchQty,
|
|
string Original_CodInco,
|
|
string Original_KeyAM,
|
|
string Original_Note,
|
|
decimal Original_PriceOff,
|
|
global::System.Nullable<global::System.DateTime> Original_OrdDate,
|
|
string Original_OrdNum,
|
|
string Original_OrdRow,
|
|
decimal Original_OrdPrice) {
|
|
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, IdxQState, CodClient, CodItem, CodItemGroup, RawMat, UnitWeight, BatchQty, CodInco, Note, PriceOff, OrdDate, OrdNum, OrdRow, OrdPrice, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_IdxQState, Original_CodClient, Original_CodItem, Original_CodItemGroup, Original_RawMat, Original_UnitWeight, Original_BatchQty, Original_CodInco, Original_KeyAM, Original_Note, Original_PriceOff, Original_OrdDate, Original_OrdNum, Original_OrdRow, Original_OrdPrice);
|
|
}
|
|
|
|
[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 stp_QL_update(string QuoteType, global::System.Nullable<long> CodQuote, global::System.Nullable<int> QuoteRev) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
|
|
if ((QuoteType == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(QuoteType));
|
|
}
|
|
if ((CodQuote.HasValue == true)) {
|
|
command.Parameters[2].Value = ((long)(CodQuote.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuoteRev.HasValue == true)) {
|
|
command.Parameters[3].Value = ((int)(QuoteRev.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 QuoteRMTableAdapter : 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 QuoteRMTableAdapter() {
|
|
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 = "QuoteRM";
|
|
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
|
|
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
|
|
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
|
|
tableMapping.ColumnMappings.Add("NumRM", "NumRM");
|
|
tableMapping.ColumnMappings.Add("RawMat", "RawMat");
|
|
tableMapping.ColumnMappings.Add("RawMatCost", "RawMatCost");
|
|
tableMapping.ColumnMappings.Add("RawMatExtraCost", "RawMatExtraCost");
|
|
tableMapping.ColumnMappings.Add("CodPackag", "CodPackag");
|
|
tableMapping.ColumnMappings.Add("FCR", "FCR");
|
|
tableMapping.ColumnMappings.Add("FYR", "FYR");
|
|
tableMapping.ColumnMappings.Add("FSR", "FSR");
|
|
tableMapping.ColumnMappings.Add("valid", "valid");
|
|
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].[QuoteRM] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumRM] = @Original_NumRM) AND ([RawMat] = @Original_RawMat) AND ([RawMatCost] = @Original_RawMatCost) AND ([RawMatExtraCost] = @Original_RawMatExtraCost) AND ([CodPackag] = @Original_CodPackag) AND ([FCR] = @Original_FCR) AND ((@IsNull_FYR = 1 AND [FYR] IS NULL) OR ([FYR] = @Original_FYR)) AND ((@IsNull_FSR = 1 AND [FSR] IS NULL) OR ([FSR] = @Original_FSR)) AND ([valid] = @Original_valid))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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_NumRM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumRM", 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_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("@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("@Original_FCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 26, 19, "FYR", 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, 27, 19, "FSR", 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteRM] ([QuoteType], [CodQuote], [QuoteRev], [NumRM], [RawMat], [RawMatCost], [RawMatExtraCost], [CodPackag], [FCR], [valid]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumRM, @RawMat, @RawMatCost, @RawMatExtraCost, @CodPackag, @FCR, @valid);
|
|
SELECT QuoteType, CodQuote, QuoteRev, NumRM, RawMat, RawMatCost, RawMatExtraCost, CodPackag, FCR, FYR, FSR, valid FROM QuoteRM WHERE (CodQuote = @CodQuote) AND (NumRM = @NumRM) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@NumRM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumRM", 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("@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("@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("@FCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FCR", 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[QuoteRM] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumRM] = @NumRM, [RawMat] = @RawMat, [RawMatCost] = @RawMatCost, [RawMatExtraCost] = @RawMatExtraCost, [CodPackag] = @CodPackag, [FCR] = @FCR, [valid] = @valid WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumRM] = @Original_NumRM) AND ([RawMat] = @Original_RawMat) AND ([RawMatCost] = @Original_RawMatCost) AND ([RawMatExtraCost] = @Original_RawMatExtraCost) AND ([CodPackag] = @Original_CodPackag) AND ([FCR] = @Original_FCR) AND ((@IsNull_FYR = 1 AND [FYR] IS NULL) OR ([FYR] = @Original_FYR)) AND ((@IsNull_FSR = 1 AND [FSR] IS NULL) OR ([FSR] = @Original_FSR)) AND ([valid] = @Original_valid));
|
|
SELECT QuoteType, CodQuote, QuoteRev, NumRM, RawMat, RawMatCost, RawMatExtraCost, CodPackag, FCR, FYR, FSR, valid FROM QuoteRM WHERE (CodQuote = @CodQuote) AND (NumRM = @NumRM) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@NumRM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumRM", 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("@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("@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("@FCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FCR", 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("@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_NumRM", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumRM", 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_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("@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("@Original_FCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "FCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_FYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 26, 19, "FYR", 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, 27, 19, "FSR", 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, "", "", ""));
|
|
}
|
|
|
|
[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[2];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT QuoteType, CodQuote, QuoteRev, NumRM, RawMat, RawMatCost, RawMatExtraCost," +
|
|
" CodPackag, FCR, FYR, FSR, valid FROM dbo.QuoteRM";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_QRM_getByKey";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumRM", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[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.QuoteRMDataTable 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.QuoteRMDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.QuoteRMDataTable dataTable = new DS_Quotes.QuoteRMDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteRMDataTable getByKey(string QuoteType, global::System.Nullable<long> CodQuote, global::System.Nullable<int> QuoteRev, global::System.Nullable<int> NumRM) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(QuoteType));
|
|
}
|
|
if ((CodQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(CodQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuoteRev.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(QuoteRev.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((NumRM.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(NumRM.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteRMDataTable dataTable = new DS_Quotes.QuoteRMDataTable();
|
|
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.QuoteRMDataTable 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, "QuoteRM");
|
|
}
|
|
|
|
[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_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumRM, string Original_RawMat, decimal Original_RawMatCost, decimal Original_RawMatExtraCost, string Original_CodPackag, decimal Original_FCR, global::System.Nullable<decimal> Original_FYR, global::System.Nullable<decimal> Original_FSR, bool Original_valid) {
|
|
if ((Original_QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("Original_QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_QuoteType));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumRM));
|
|
if ((Original_RawMat == null)) {
|
|
throw new global::System.ArgumentNullException("Original_RawMat");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_RawMat));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((decimal)(Original_RawMatCost));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((decimal)(Original_RawMatExtraCost));
|
|
if ((Original_CodPackag == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPackag");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CodPackag));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((decimal)(Original_FCR));
|
|
if ((Original_FYR.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((decimal)(Original_FYR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_FSR.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((decimal)(Original_FSR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((bool)(Original_valid));
|
|
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 QuoteType, long CodQuote, int QuoteRev, int NumRM, string RawMat, decimal RawMatCost, decimal RawMatExtraCost, string CodPackag, decimal FCR, bool valid) {
|
|
if ((QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(QuoteType));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumRM));
|
|
if ((RawMat == null)) {
|
|
throw new global::System.ArgumentNullException("RawMat");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(RawMat));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(RawMatCost));
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(RawMatExtraCost));
|
|
if ((CodPackag == null)) {
|
|
throw new global::System.ArgumentNullException("CodPackag");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(CodPackag));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(FCR));
|
|
this.Adapter.InsertCommand.Parameters[9].Value = ((bool)(valid));
|
|
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 QuoteType,
|
|
long CodQuote,
|
|
int QuoteRev,
|
|
int NumRM,
|
|
string RawMat,
|
|
decimal RawMatCost,
|
|
decimal RawMatExtraCost,
|
|
string CodPackag,
|
|
decimal FCR,
|
|
bool valid,
|
|
string Original_QuoteType,
|
|
long Original_CodQuote,
|
|
int Original_QuoteRev,
|
|
int Original_NumRM,
|
|
string Original_RawMat,
|
|
decimal Original_RawMatCost,
|
|
decimal Original_RawMatExtraCost,
|
|
string Original_CodPackag,
|
|
decimal Original_FCR,
|
|
global::System.Nullable<decimal> Original_FYR,
|
|
global::System.Nullable<decimal> Original_FSR,
|
|
bool Original_valid) {
|
|
if ((QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(QuoteType));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumRM));
|
|
if ((RawMat == null)) {
|
|
throw new global::System.ArgumentNullException("RawMat");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(RawMat));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(RawMatCost));
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(RawMatExtraCost));
|
|
if ((CodPackag == null)) {
|
|
throw new global::System.ArgumentNullException("CodPackag");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(CodPackag));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(FCR));
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(valid));
|
|
if ((Original_QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("Original_QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_QuoteType));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((long)(Original_CodQuote));
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(Original_QuoteRev));
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_NumRM));
|
|
if ((Original_RawMat == null)) {
|
|
throw new global::System.ArgumentNullException("Original_RawMat");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_RawMat));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((decimal)(Original_RawMatCost));
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(Original_RawMatExtraCost));
|
|
if ((Original_CodPackag == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPackag");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_CodPackag));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(Original_FCR));
|
|
if ((Original_FYR.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((decimal)(Original_FYR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_FSR.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((decimal)(Original_FSR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((bool)(Original_valid));
|
|
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 RawMat,
|
|
decimal RawMatCost,
|
|
decimal RawMatExtraCost,
|
|
string CodPackag,
|
|
decimal FCR,
|
|
bool valid,
|
|
string Original_QuoteType,
|
|
long Original_CodQuote,
|
|
int Original_QuoteRev,
|
|
int Original_NumRM,
|
|
string Original_RawMat,
|
|
decimal Original_RawMatCost,
|
|
decimal Original_RawMatExtraCost,
|
|
string Original_CodPackag,
|
|
decimal Original_FCR,
|
|
global::System.Nullable<decimal> Original_FYR,
|
|
global::System.Nullable<decimal> Original_FSR,
|
|
bool Original_valid) {
|
|
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumRM, RawMat, RawMatCost, RawMatExtraCost, CodPackag, FCR, valid, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumRM, Original_RawMat, Original_RawMatCost, Original_RawMatExtraCost, Original_CodPackag, Original_FCR, Original_FYR, Original_FSR, Original_valid);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 QuoteWorkExtTableAdapter : 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 QuoteWorkExtTableAdapter() {
|
|
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 = "QuoteWorkExt";
|
|
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
|
|
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
|
|
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
|
|
tableMapping.ColumnMappings.Add("NumWE", "NumWE");
|
|
tableMapping.ColumnMappings.Add("EWC4UG", "EWC4UG");
|
|
tableMapping.ColumnMappings.Add("UM", "UM");
|
|
tableMapping.ColumnMappings.Add("valid", "valid");
|
|
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].[QuoteWorkExt] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumWE] = @Original_NumWE) AND ([EWC4UG] = @Original_EWC4UG) AND ([UM] = @Original_UM) AND ([valid] = @Original_valid))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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_NumWE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWE", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EWC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "EWC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteWorkExt] ([QuoteType], [CodQuote], [QuoteRev], [NumWE], [EWC4UG], [UM], [valid]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumWE, @EWC4UG, @UM, @valid);
|
|
SELECT QuoteType, CodQuote, QuoteRev, NumWE, EWC4UG, UM, valid FROM QuoteWorkExt WHERE (CodQuote = @CodQuote) AND (NumWE = @NumWE) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@NumWE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EWC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "EWC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[QuoteWorkExt] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumWE] = @NumWE, [EWC4UG] = @EWC4UG, [UM] = @UM, [valid] = @valid WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumWE] = @Original_NumWE) AND ([EWC4UG] = @Original_EWC4UG) AND ([UM] = @Original_UM) AND ([valid] = @Original_valid));
|
|
SELECT QuoteType, CodQuote, QuoteRev, NumWE, EWC4UG, UM, valid FROM QuoteWorkExt WHERE (CodQuote = @CodQuote) AND (NumWE = @NumWE) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@NumWE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWE", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EWC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "EWC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", 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("@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_NumWE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWE", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EWC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "EWC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UM", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UM", 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, "", "", ""));
|
|
}
|
|
|
|
[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 QuoteType, CodQuote, QuoteRev, NumWE, EWC4UG, UM, valid FROM dbo.QuoteWork" +
|
|
"Ext";
|
|
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.QuoteWorkExtDataTable 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.QuoteWorkExtDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.QuoteWorkExtDataTable dataTable = new DS_Quotes.QuoteWorkExtDataTable();
|
|
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.QuoteWorkExtDataTable 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, "QuoteWorkExt");
|
|
}
|
|
|
|
[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_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumWE, decimal Original_EWC4UG, string Original_UM, bool Original_valid) {
|
|
if ((Original_QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("Original_QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_QuoteType));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumWE));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((decimal)(Original_EWC4UG));
|
|
if ((Original_UM == null)) {
|
|
throw new global::System.ArgumentNullException("Original_UM");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_UM));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_valid));
|
|
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 QuoteType, long CodQuote, int QuoteRev, int NumWE, decimal EWC4UG, string UM, bool valid) {
|
|
if ((QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(QuoteType));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumWE));
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((decimal)(EWC4UG));
|
|
if ((UM == null)) {
|
|
throw new global::System.ArgumentNullException("UM");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(UM));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(valid));
|
|
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 QuoteType, long CodQuote, int QuoteRev, int NumWE, decimal EWC4UG, string UM, bool valid, string Original_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumWE, decimal Original_EWC4UG, string Original_UM, bool Original_valid) {
|
|
if ((QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(QuoteType));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumWE));
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((decimal)(EWC4UG));
|
|
if ((UM == null)) {
|
|
throw new global::System.ArgumentNullException("UM");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(UM));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(valid));
|
|
if ((Original_QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("Original_QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_QuoteType));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((long)(Original_CodQuote));
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_QuoteRev));
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_NumWE));
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(Original_EWC4UG));
|
|
if ((Original_UM == null)) {
|
|
throw new global::System.ArgumentNullException("Original_UM");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_UM));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(Original_valid));
|
|
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(decimal EWC4UG, string UM, bool valid, string Original_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumWE, decimal Original_EWC4UG, string Original_UM, bool Original_valid) {
|
|
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumWE, EWC4UG, UM, valid, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumWE, Original_EWC4UG, Original_UM, Original_valid);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 QuoteWorkIntTableAdapter : 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 QuoteWorkIntTableAdapter() {
|
|
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 = "QuoteWorkInt";
|
|
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
|
|
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
|
|
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
|
|
tableMapping.ColumnMappings.Add("NumWI", "NumWI");
|
|
tableMapping.ColumnMappings.Add("ProcessNum", "ProcessNum");
|
|
tableMapping.ColumnMappings.Add("CodPlant", "CodPlant");
|
|
tableMapping.ColumnMappings.Add("Class01", "Class01");
|
|
tableMapping.ColumnMappings.Add("Class02", "Class02");
|
|
tableMapping.ColumnMappings.Add("Class03", "Class03");
|
|
tableMapping.ColumnMappings.Add("Class04", "Class04");
|
|
tableMapping.ColumnMappings.Add("Class05", "Class05");
|
|
tableMapping.ColumnMappings.Add("NetProd", "NetProd");
|
|
tableMapping.ColumnMappings.Add("WSR", "WSR");
|
|
tableMapping.ColumnMappings.Add("MSR", "MSR");
|
|
tableMapping.ColumnMappings.Add("DSR", "DSR");
|
|
tableMapping.ColumnMappings.Add("FC4UG", "FC4UG");
|
|
tableMapping.ColumnMappings.Add("VC4UG", "VC4UG");
|
|
tableMapping.ColumnMappings.Add("OH4UG", "OH4UG");
|
|
tableMapping.ColumnMappings.Add("SC4UG", "SC4UG");
|
|
tableMapping.ColumnMappings.Add("WYR", "WYR");
|
|
tableMapping.ColumnMappings.Add("MYR", "MYR");
|
|
tableMapping.ColumnMappings.Add("DYR", "DYR");
|
|
tableMapping.ColumnMappings.Add("WCR", "WCR");
|
|
tableMapping.ColumnMappings.Add("MCR", "MCR");
|
|
tableMapping.ColumnMappings.Add("DCR", "DCR");
|
|
tableMapping.ColumnMappings.Add("valid", "valid");
|
|
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].[QuoteWorkInt] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumWI] = @Original_NumWI) AND ([ProcessNum] = @Original_ProcessNum) AND ([CodPlant] = @Original_CodPlant) AND ([Class01] = @Original_Class01) AND ([Class02] = @Original_Class02) AND ([Class03] = @Original_Class03) AND ([Class04] = @Original_Class04) AND ([Class05] = @Original_Class05) AND ([NetProd] = @Original_NetProd) AND ([WSR] = @Original_WSR) AND ([MSR] = @Original_MSR) AND ([DSR] = @Original_DSR) AND ([FC4UG] = @Original_FC4UG) AND ([VC4UG] = @Original_VC4UG) AND ([OH4UG] = @Original_OH4UG) AND ([SC4UG] = @Original_SC4UG) AND ((@IsNull_WYR = 1 AND [WYR] IS NULL) OR ([WYR] = @Original_WYR)) AND ((@IsNull_MYR = 1 AND [MYR] IS NULL) OR ([MYR] = @Original_MYR)) AND ((@IsNull_DYR = 1 AND [DYR] IS NULL) OR ([DYR] = @Original_DYR)) AND ((@IsNull_WCR = 1 AND [WCR] IS NULL) OR ([WCR] = @Original_WCR)) AND ((@IsNull_MCR = 1 AND [MCR] IS NULL) OR ([MCR] = @Original_MCR)) AND ((@IsNull_DCR = 1 AND [DCR] IS NULL) OR ([DCR] = @Original_DCR)) AND ([valid] = @Original_valid))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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_NumWI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Original, false, 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("@Original_Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NetProd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR", global::System.Data.DataRowVersion.Original, false, 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, 9, 8, "DSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_VC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OH4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OH4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_WYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 8, "WYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 8, "MYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 8, "DYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_WCR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WCR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 20, 11, "WCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MCR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MCR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 20, 11, "MCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DCR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DCR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 20, 11, "DCR", 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteWorkInt] ([QuoteType], [CodQuote], [QuoteRev], [NumWI], [ProcessNum], [CodPlant], [Class01], [Class02], [Class03], [Class04], [Class05], [NetProd], [WSR], [MSR], [DSR], [FC4UG], [VC4UG], [OH4UG], [SC4UG], [valid]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumWI, @ProcessNum, @CodPlant, @Class01, @Class02, @Class03, @Class04, @Class05, @NetProd, @WSR, @MSR, @DSR, @FC4UG, @VC4UG, @OH4UG, @SC4UG, @valid);
|
|
SELECT QuoteType, CodQuote, QuoteRev, NumWI, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, NetProd, WSR, MSR, DSR, FC4UG, VC4UG, OH4UG, SC4UG, WYR, MYR, DYR, WCR, MCR, DCR, valid FROM QuoteWorkInt WHERE (CodQuote = @CodQuote) AND (NumWI = @NumWI) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@NumWI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", 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("@Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetProd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR", 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, 9, 8, "DSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OH4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OH4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SC4UG", 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[QuoteWorkInt] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote," +
|
|
" [QuoteRev] = @QuoteRev, [NumWI] = @NumWI, [ProcessNum] = @ProcessNum, [CodPlant" +
|
|
"] = @CodPlant, [Class01] = @Class01, [Class02] = @Class02, [Class03] = @Class03," +
|
|
" [Class04] = @Class04, [Class05] = @Class05, [NetProd] = @NetProd, [WSR] = @WSR," +
|
|
" [MSR] = @MSR, [DSR] = @DSR, [FC4UG] = @FC4UG, [VC4UG] = @VC4UG, [OH4UG] = @OH4U" +
|
|
"G, [SC4UG] = @SC4UG, [valid] = @valid WHERE (([QuoteType] = @Original_QuoteType)" +
|
|
" AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND" +
|
|
" ([NumWI] = @Original_NumWI) AND ([ProcessNum] = @Original_ProcessNum) AND ([Cod" +
|
|
"Plant] = @Original_CodPlant) AND ([Class01] = @Original_Class01) AND ([Class02] " +
|
|
"= @Original_Class02) AND ([Class03] = @Original_Class03) AND ([Class04] = @Origi" +
|
|
"nal_Class04) AND ([Class05] = @Original_Class05) AND ([NetProd] = @Original_NetP" +
|
|
"rod) AND ([WSR] = @Original_WSR) AND ([MSR] = @Original_MSR) AND ([DSR] = @Origi" +
|
|
"nal_DSR) AND ([FC4UG] = @Original_FC4UG) AND ([VC4UG] = @Original_VC4UG) AND ([O" +
|
|
"H4UG] = @Original_OH4UG) AND ([SC4UG] = @Original_SC4UG) AND ((@IsNull_WYR = 1 A" +
|
|
"ND [WYR] IS NULL) OR ([WYR] = @Original_WYR)) AND ((@IsNull_MYR = 1 AND [MYR] IS" +
|
|
" NULL) OR ([MYR] = @Original_MYR)) AND ((@IsNull_DYR = 1 AND [DYR] IS NULL) OR (" +
|
|
"[DYR] = @Original_DYR)) AND ((@IsNull_WCR = 1 AND [WCR] IS NULL) OR ([WCR] = @Or" +
|
|
"iginal_WCR)) AND ((@IsNull_MCR = 1 AND [MCR] IS NULL) OR ([MCR] = @Original_MCR)" +
|
|
") AND ((@IsNull_DCR = 1 AND [DCR] IS NULL) OR ([DCR] = @Original_DCR)) AND ([val" +
|
|
"id] = @Original_valid));\r\nSELECT QuoteType, CodQuote, QuoteRev, NumWI, ProcessNu" +
|
|
"m, CodPlant, Class01, Class02, Class03, Class04, Class05, NetProd, WSR, MSR, DSR" +
|
|
", FC4UG, VC4UG, OH4UG, SC4UG, WYR, MYR, DYR, WCR, MCR, DCR, valid FROM QuoteWork" +
|
|
"Int WHERE (CodQuote = @CodQuote) AND (NumWI = @NumWI) 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("@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("@NumWI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWI", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", 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("@Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetProd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR", 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, 9, 8, "DSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OH4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OH4UG", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SC4UG", 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("@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_NumWI", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumWI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Original, false, 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("@Original_Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NetProd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "NetProd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "WSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 8, "MSR", global::System.Data.DataRowVersion.Original, false, 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, 9, 8, "DSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "FC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_VC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "VC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OH4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "OH4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SC4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SC4UG", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_WYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 8, "WYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 8, "MYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DYR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DYR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DYR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 10, 8, "DYR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_WCR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WCR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_WCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 20, 11, "WCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MCR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MCR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 20, 11, "MCR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DCR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DCR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DCR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 20, 11, "DCR", 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, "", "", ""));
|
|
}
|
|
|
|
[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 QuoteType, CodQuote, QuoteRev, NumWI, ProcessNum, CodPlant, Class01, Class" +
|
|
"02, Class03, Class04, Class05, NetProd, WSR, MSR, DSR, FC4UG, VC4UG, OH4UG, SC4U" +
|
|
"G, WYR, MYR, DYR, WCR, MCR, DCR, valid FROM dbo.QuoteWorkInt";
|
|
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.QuoteWorkIntDataTable 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.QuoteWorkIntDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.QuoteWorkIntDataTable dataTable = new DS_Quotes.QuoteWorkIntDataTable();
|
|
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.QuoteWorkIntDataTable 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, "QuoteWorkInt");
|
|
}
|
|
|
|
[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_QuoteType,
|
|
long Original_CodQuote,
|
|
int Original_QuoteRev,
|
|
int Original_NumWI,
|
|
string Original_ProcessNum,
|
|
string Original_CodPlant,
|
|
string Original_Class01,
|
|
string Original_Class02,
|
|
string Original_Class03,
|
|
string Original_Class04,
|
|
string Original_Class05,
|
|
decimal Original_NetProd,
|
|
decimal Original_WSR,
|
|
decimal Original_MSR,
|
|
decimal Original_DSR,
|
|
decimal Original_FC4UG,
|
|
decimal Original_VC4UG,
|
|
decimal Original_OH4UG,
|
|
decimal Original_SC4UG,
|
|
global::System.Nullable<decimal> Original_WYR,
|
|
global::System.Nullable<decimal> Original_MYR,
|
|
global::System.Nullable<decimal> Original_DYR,
|
|
global::System.Nullable<decimal> Original_WCR,
|
|
global::System.Nullable<decimal> Original_MCR,
|
|
global::System.Nullable<decimal> Original_DCR,
|
|
bool Original_valid) {
|
|
if ((Original_QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("Original_QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_QuoteType));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumWI));
|
|
if ((Original_ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("Original_ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_ProcessNum));
|
|
}
|
|
if ((Original_CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodPlant));
|
|
}
|
|
if ((Original_Class01 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class01");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Class01));
|
|
}
|
|
if ((Original_Class02 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class02");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_Class02));
|
|
}
|
|
if ((Original_Class03 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class03");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Class03));
|
|
}
|
|
if ((Original_Class04 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class04");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_Class04));
|
|
}
|
|
if ((Original_Class05 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class05");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_Class05));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((decimal)(Original_NetProd));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((decimal)(Original_WSR));
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((decimal)(Original_MSR));
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((decimal)(Original_DSR));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((decimal)(Original_FC4UG));
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((decimal)(Original_VC4UG));
|
|
this.Adapter.DeleteCommand.Parameters[17].Value = ((decimal)(Original_OH4UG));
|
|
this.Adapter.DeleteCommand.Parameters[18].Value = ((decimal)(Original_SC4UG));
|
|
if ((Original_WYR.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = ((decimal)(Original_WYR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_MYR.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = ((decimal)(Original_MYR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_DYR.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = ((decimal)(Original_DYR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_WCR.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = ((decimal)(Original_WCR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_MCR.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = ((decimal)(Original_MCR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_DCR.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = ((decimal)(Original_DCR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[31].Value = ((bool)(Original_valid));
|
|
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 QuoteType,
|
|
long CodQuote,
|
|
int QuoteRev,
|
|
int NumWI,
|
|
string ProcessNum,
|
|
string CodPlant,
|
|
string Class01,
|
|
string Class02,
|
|
string Class03,
|
|
string Class04,
|
|
string Class05,
|
|
decimal NetProd,
|
|
decimal WSR,
|
|
decimal MSR,
|
|
decimal DSR,
|
|
decimal FC4UG,
|
|
decimal VC4UG,
|
|
decimal OH4UG,
|
|
decimal SC4UG,
|
|
bool valid) {
|
|
if ((QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(QuoteType));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumWI));
|
|
if ((ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(ProcessNum));
|
|
}
|
|
if ((CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodPlant));
|
|
}
|
|
if ((Class01 == null)) {
|
|
throw new global::System.ArgumentNullException("Class01");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Class01));
|
|
}
|
|
if ((Class02 == null)) {
|
|
throw new global::System.ArgumentNullException("Class02");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Class02));
|
|
}
|
|
if ((Class03 == null)) {
|
|
throw new global::System.ArgumentNullException("Class03");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Class03));
|
|
}
|
|
if ((Class04 == null)) {
|
|
throw new global::System.ArgumentNullException("Class04");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Class04));
|
|
}
|
|
if ((Class05 == null)) {
|
|
throw new global::System.ArgumentNullException("Class05");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Class05));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[11].Value = ((decimal)(NetProd));
|
|
this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(WSR));
|
|
this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(MSR));
|
|
this.Adapter.InsertCommand.Parameters[14].Value = ((decimal)(DSR));
|
|
this.Adapter.InsertCommand.Parameters[15].Value = ((decimal)(FC4UG));
|
|
this.Adapter.InsertCommand.Parameters[16].Value = ((decimal)(VC4UG));
|
|
this.Adapter.InsertCommand.Parameters[17].Value = ((decimal)(OH4UG));
|
|
this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(SC4UG));
|
|
this.Adapter.InsertCommand.Parameters[19].Value = ((bool)(valid));
|
|
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 QuoteType,
|
|
long CodQuote,
|
|
int QuoteRev,
|
|
int NumWI,
|
|
string ProcessNum,
|
|
string CodPlant,
|
|
string Class01,
|
|
string Class02,
|
|
string Class03,
|
|
string Class04,
|
|
string Class05,
|
|
decimal NetProd,
|
|
decimal WSR,
|
|
decimal MSR,
|
|
decimal DSR,
|
|
decimal FC4UG,
|
|
decimal VC4UG,
|
|
decimal OH4UG,
|
|
decimal SC4UG,
|
|
bool valid,
|
|
string Original_QuoteType,
|
|
long Original_CodQuote,
|
|
int Original_QuoteRev,
|
|
int Original_NumWI,
|
|
string Original_ProcessNum,
|
|
string Original_CodPlant,
|
|
string Original_Class01,
|
|
string Original_Class02,
|
|
string Original_Class03,
|
|
string Original_Class04,
|
|
string Original_Class05,
|
|
decimal Original_NetProd,
|
|
decimal Original_WSR,
|
|
decimal Original_MSR,
|
|
decimal Original_DSR,
|
|
decimal Original_FC4UG,
|
|
decimal Original_VC4UG,
|
|
decimal Original_OH4UG,
|
|
decimal Original_SC4UG,
|
|
global::System.Nullable<decimal> Original_WYR,
|
|
global::System.Nullable<decimal> Original_MYR,
|
|
global::System.Nullable<decimal> Original_DYR,
|
|
global::System.Nullable<decimal> Original_WCR,
|
|
global::System.Nullable<decimal> Original_MCR,
|
|
global::System.Nullable<decimal> Original_DCR,
|
|
bool Original_valid) {
|
|
if ((QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(QuoteType));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumWI));
|
|
if ((ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(ProcessNum));
|
|
}
|
|
if ((CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodPlant));
|
|
}
|
|
if ((Class01 == null)) {
|
|
throw new global::System.ArgumentNullException("Class01");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Class01));
|
|
}
|
|
if ((Class02 == null)) {
|
|
throw new global::System.ArgumentNullException("Class02");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Class02));
|
|
}
|
|
if ((Class03 == null)) {
|
|
throw new global::System.ArgumentNullException("Class03");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Class03));
|
|
}
|
|
if ((Class04 == null)) {
|
|
throw new global::System.ArgumentNullException("Class04");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Class04));
|
|
}
|
|
if ((Class05 == null)) {
|
|
throw new global::System.ArgumentNullException("Class05");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Class05));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(NetProd));
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(WSR));
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(MSR));
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(DSR));
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((decimal)(FC4UG));
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(VC4UG));
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(OH4UG));
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(SC4UG));
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(valid));
|
|
if ((Original_QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("Original_QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_QuoteType));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((long)(Original_CodQuote));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(Original_QuoteRev));
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(Original_NumWI));
|
|
if ((Original_ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("Original_ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_ProcessNum));
|
|
}
|
|
if ((Original_CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_CodPlant));
|
|
}
|
|
if ((Original_Class01 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class01");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_Class01));
|
|
}
|
|
if ((Original_Class02 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class02");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_Class02));
|
|
}
|
|
if ((Original_Class03 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class03");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_Class03));
|
|
}
|
|
if ((Original_Class04 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class04");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_Class04));
|
|
}
|
|
if ((Original_Class05 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class05");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_Class05));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((decimal)(Original_NetProd));
|
|
this.Adapter.UpdateCommand.Parameters[32].Value = ((decimal)(Original_WSR));
|
|
this.Adapter.UpdateCommand.Parameters[33].Value = ((decimal)(Original_MSR));
|
|
this.Adapter.UpdateCommand.Parameters[34].Value = ((decimal)(Original_DSR));
|
|
this.Adapter.UpdateCommand.Parameters[35].Value = ((decimal)(Original_FC4UG));
|
|
this.Adapter.UpdateCommand.Parameters[36].Value = ((decimal)(Original_VC4UG));
|
|
this.Adapter.UpdateCommand.Parameters[37].Value = ((decimal)(Original_OH4UG));
|
|
this.Adapter.UpdateCommand.Parameters[38].Value = ((decimal)(Original_SC4UG));
|
|
if ((Original_WYR.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = ((decimal)(Original_WYR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_MYR.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = ((decimal)(Original_MYR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_DYR.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = ((decimal)(Original_DYR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_WCR.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = ((decimal)(Original_WCR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_MCR.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = ((decimal)(Original_MCR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_DCR.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = ((decimal)(Original_DCR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[51].Value = ((bool)(Original_valid));
|
|
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 ProcessNum,
|
|
string CodPlant,
|
|
string Class01,
|
|
string Class02,
|
|
string Class03,
|
|
string Class04,
|
|
string Class05,
|
|
decimal NetProd,
|
|
decimal WSR,
|
|
decimal MSR,
|
|
decimal DSR,
|
|
decimal FC4UG,
|
|
decimal VC4UG,
|
|
decimal OH4UG,
|
|
decimal SC4UG,
|
|
bool valid,
|
|
string Original_QuoteType,
|
|
long Original_CodQuote,
|
|
int Original_QuoteRev,
|
|
int Original_NumWI,
|
|
string Original_ProcessNum,
|
|
string Original_CodPlant,
|
|
string Original_Class01,
|
|
string Original_Class02,
|
|
string Original_Class03,
|
|
string Original_Class04,
|
|
string Original_Class05,
|
|
decimal Original_NetProd,
|
|
decimal Original_WSR,
|
|
decimal Original_MSR,
|
|
decimal Original_DSR,
|
|
decimal Original_FC4UG,
|
|
decimal Original_VC4UG,
|
|
decimal Original_OH4UG,
|
|
decimal Original_SC4UG,
|
|
global::System.Nullable<decimal> Original_WYR,
|
|
global::System.Nullable<decimal> Original_MYR,
|
|
global::System.Nullable<decimal> Original_DYR,
|
|
global::System.Nullable<decimal> Original_WCR,
|
|
global::System.Nullable<decimal> Original_MCR,
|
|
global::System.Nullable<decimal> Original_DCR,
|
|
bool Original_valid) {
|
|
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumWI, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, NetProd, WSR, MSR, DSR, FC4UG, VC4UG, OH4UG, SC4UG, valid, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumWI, Original_ProcessNum, Original_CodPlant, Original_Class01, Original_Class02, Original_Class03, Original_Class04, Original_Class05, Original_NetProd, Original_WSR, Original_MSR, Original_DSR, Original_FC4UG, Original_VC4UG, Original_OH4UG, Original_SC4UG, Original_WYR, Original_MYR, Original_DYR, Original_WCR, Original_MCR, Original_DCR, Original_valid);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 QuoteParamTableAdapter : 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 QuoteParamTableAdapter() {
|
|
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 = "QuoteParam";
|
|
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
|
|
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
|
|
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
|
|
tableMapping.ColumnMappings.Add("NumP", "NumP");
|
|
tableMapping.ColumnMappings.Add("ProcessNum", "ProcessNum");
|
|
tableMapping.ColumnMappings.Add("Descr", "Descr");
|
|
tableMapping.ColumnMappings.Add("Parameter", "Parameter");
|
|
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].[QuoteParam] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumP] = @Original_NumP) AND ([ProcessNum] = @Original_ProcessNum) AND ([Descr] = @Original_Descr) AND ([Parameter] = @Original_Parameter))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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_NumP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Parameter", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Parameter", 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].[QuoteParam] ([QuoteType], [CodQuote], [QuoteRev], [NumP], [ProcessNum], [Descr], [Parameter]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumP, @ProcessNum, @Descr, @Parameter);
|
|
SELECT QuoteType, CodQuote, QuoteRev, NumP, ProcessNum, Descr, Parameter FROM QuoteParam WHERE (CodQuote = @CodQuote) AND (NumP = @NumP) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@NumP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Parameter", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Parameter", 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].[QuoteParam] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumP] = @NumP, [ProcessNum] = @ProcessNum, [Descr] = @Descr, [Parameter] = @Parameter WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumP] = @Original_NumP) AND ([ProcessNum] = @Original_ProcessNum) AND ([Descr] = @Original_Descr) AND ([Parameter] = @Original_Parameter));
|
|
SELECT QuoteType, CodQuote, QuoteRev, NumP, ProcessNum, Descr, Parameter FROM QuoteParam WHERE (CodQuote = @CodQuote) AND (NumP = @NumP) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@NumP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumP", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Parameter", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Parameter", global::System.Data.DataRowVersion.Current, 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_NumP", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumP", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Parameter", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Parameter", 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 QuoteType, CodQuote, QuoteRev, NumP, ProcessNum, Descr, Parameter FROM dbo" +
|
|
".QuoteParam";
|
|
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.QuoteParamDataTable 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.QuoteParamDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.QuoteParamDataTable dataTable = new DS_Quotes.QuoteParamDataTable();
|
|
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.QuoteParamDataTable 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, "QuoteParam");
|
|
}
|
|
|
|
[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_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumP, string Original_ProcessNum, string Original_Descr, string Original_Parameter) {
|
|
if ((Original_QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("Original_QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_QuoteType));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumP));
|
|
if ((Original_ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("Original_ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_ProcessNum));
|
|
}
|
|
if ((Original_Descr == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Descr");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Descr));
|
|
}
|
|
if ((Original_Parameter == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Parameter");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Parameter));
|
|
}
|
|
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 QuoteType, long CodQuote, int QuoteRev, int NumP, string ProcessNum, string Descr, string Parameter) {
|
|
if ((QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(QuoteType));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumP));
|
|
if ((ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(ProcessNum));
|
|
}
|
|
if ((Descr == null)) {
|
|
throw new global::System.ArgumentNullException("Descr");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Descr));
|
|
}
|
|
if ((Parameter == null)) {
|
|
throw new global::System.ArgumentNullException("Parameter");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Parameter));
|
|
}
|
|
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 QuoteType, long CodQuote, int QuoteRev, int NumP, string ProcessNum, string Descr, string Parameter, string Original_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumP, string Original_ProcessNum, string Original_Descr, string Original_Parameter) {
|
|
if ((QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(QuoteType));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumP));
|
|
if ((ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(ProcessNum));
|
|
}
|
|
if ((Descr == null)) {
|
|
throw new global::System.ArgumentNullException("Descr");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Descr));
|
|
}
|
|
if ((Parameter == null)) {
|
|
throw new global::System.ArgumentNullException("Parameter");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Parameter));
|
|
}
|
|
if ((Original_QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("Original_QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_QuoteType));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((long)(Original_CodQuote));
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_QuoteRev));
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_NumP));
|
|
if ((Original_ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("Original_ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_ProcessNum));
|
|
}
|
|
if ((Original_Descr == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Descr");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_Descr));
|
|
}
|
|
if ((Original_Parameter == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Parameter");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_Parameter));
|
|
}
|
|
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 ProcessNum, string Descr, string Parameter, string Original_QuoteType, long Original_CodQuote, int Original_QuoteRev, int Original_NumP, string Original_ProcessNum, string Original_Descr, string Original_Parameter) {
|
|
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumP, ProcessNum, Descr, Parameter, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumP, Original_ProcessNum, Original_Descr, Original_Parameter);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 QuoteOCTableAdapter : 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 QuoteOCTableAdapter() {
|
|
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 = "QuoteOC";
|
|
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
|
|
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
|
|
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
|
|
tableMapping.ColumnMappings.Add("NumEx", "NumEx");
|
|
tableMapping.ColumnMappings.Add("ProcessNum", "ProcessNum");
|
|
tableMapping.ColumnMappings.Add("CodPlant", "CodPlant");
|
|
tableMapping.ColumnMappings.Add("Class01", "Class01");
|
|
tableMapping.ColumnMappings.Add("Class02", "Class02");
|
|
tableMapping.ColumnMappings.Add("Class03", "Class03");
|
|
tableMapping.ColumnMappings.Add("Class04", "Class04");
|
|
tableMapping.ColumnMappings.Add("Class05", "Class05");
|
|
tableMapping.ColumnMappings.Add("TotQty", "TotQty");
|
|
tableMapping.ColumnMappings.Add("TotCost", "TotCost");
|
|
tableMapping.ColumnMappings.Add("Quota", "Quota");
|
|
tableMapping.ColumnMappings.Add("C4UG", "C4UG");
|
|
tableMapping.ColumnMappings.Add("valid", "valid");
|
|
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].[QuoteOC] WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumEx] = @Original_NumEx) AND ([ProcessNum] = @Original_ProcessNum) AND ([CodPlant] = @Original_CodPlant) AND ([Class01] = @Original_Class01) AND ([Class02] = @Original_Class02) AND ([Class03] = @Original_Class03) AND ([Class04] = @Original_Class04) AND ([Class05] = @Original_Class05) AND ([TotQty] = @Original_TotQty) AND ([TotCost] = @Original_TotCost) AND ([Quota] = @Original_Quota) AND ((@IsNull_C4UG = 1 AND [C4UG] IS NULL) OR ([C4UG] = @Original_C4UG)) AND ([valid] = @Original_valid))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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_NumEx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumEx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Original, false, 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("@Original_Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotQty", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotQty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Quota", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "Quota", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_C4UG", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "C4UG", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_C4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 38, 7, "C4UG", 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[QuoteOC] ([QuoteType], [CodQuote], [QuoteRev], [NumEx], [ProcessNum], [CodPlant], [Class01], [Class02], [Class03], [Class04], [Class05], [TotQty], [TotCost], [Quota], [valid]) VALUES (@QuoteType, @CodQuote, @QuoteRev, @NumEx, @ProcessNum, @CodPlant, @Class01, @Class02, @Class03, @Class04, @Class05, @TotQty, @TotCost, @Quota, @valid);
|
|
SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, TotQty, TotCost, Quota, C4UG, valid FROM QuoteOC WHERE (CodQuote = @CodQuote) AND (NumEx = @NumEx) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@NumEx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumEx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", 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("@Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotQty", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotQty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Quota", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "Quota", 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[QuoteOC] SET [QuoteType] = @QuoteType, [CodQuote] = @CodQuote, [QuoteRev] = @QuoteRev, [NumEx] = @NumEx, [ProcessNum] = @ProcessNum, [CodPlant] = @CodPlant, [Class01] = @Class01, [Class02] = @Class02, [Class03] = @Class03, [Class04] = @Class04, [Class05] = @Class05, [TotQty] = @TotQty, [TotCost] = @TotCost, [Quota] = @Quota, [valid] = @valid WHERE (([QuoteType] = @Original_QuoteType) AND ([CodQuote] = @Original_CodQuote) AND ([QuoteRev] = @Original_QuoteRev) AND ([NumEx] = @Original_NumEx) AND ([ProcessNum] = @Original_ProcessNum) AND ([CodPlant] = @Original_CodPlant) AND ([Class01] = @Original_Class01) AND ([Class02] = @Original_Class02) AND ([Class03] = @Original_Class03) AND ([Class04] = @Original_Class04) AND ([Class05] = @Original_Class05) AND ([TotQty] = @Original_TotQty) AND ([TotCost] = @Original_TotCost) AND ([Quota] = @Original_Quota) AND ((@IsNull_C4UG = 1 AND [C4UG] IS NULL) OR ([C4UG] = @Original_C4UG)) AND ([valid] = @Original_valid));
|
|
SELECT QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, TotQty, TotCost, Quota, C4UG, valid FROM QuoteOC WHERE (CodQuote = @CodQuote) AND (NumEx = @NumEx) AND (QuoteRev = @QuoteRev) AND (QuoteType = @QuoteType)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@NumEx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumEx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", 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("@Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotQty", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotQty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Quota", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "Quota", 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("@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_NumEx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumEx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcessNum", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ProcessNum", global::System.Data.DataRowVersion.Original, false, 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("@Original_Class01", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class01", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class02", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class02", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class03", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class03", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class04", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class04", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Class05", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Class05", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotQty", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotQty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TotCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "TotCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Quota", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "Quota", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_C4UG", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "C4UG", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_C4UG", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 38, 7, "C4UG", 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, "", "", ""));
|
|
}
|
|
|
|
[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 QuoteType, CodQuote, QuoteRev, NumEx, ProcessNum, CodPlant, Class01, Class" +
|
|
"02, Class03, Class04, Class05, TotQty, TotCost, Quota, C4UG, valid FROM dbo.Quot" +
|
|
"eOC";
|
|
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.QuoteOCDataTable 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.QuoteOCDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.QuoteOCDataTable dataTable = new DS_Quotes.QuoteOCDataTable();
|
|
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.QuoteOCDataTable 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, "QuoteOC");
|
|
}
|
|
|
|
[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_QuoteType,
|
|
long Original_CodQuote,
|
|
int Original_QuoteRev,
|
|
int Original_NumEx,
|
|
string Original_ProcessNum,
|
|
string Original_CodPlant,
|
|
string Original_Class01,
|
|
string Original_Class02,
|
|
string Original_Class03,
|
|
string Original_Class04,
|
|
string Original_Class05,
|
|
decimal Original_TotQty,
|
|
decimal Original_TotCost,
|
|
decimal Original_Quota,
|
|
global::System.Nullable<decimal> Original_C4UG,
|
|
bool Original_valid) {
|
|
if ((Original_QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("Original_QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_QuoteType));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((long)(Original_CodQuote));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_QuoteRev));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumEx));
|
|
if ((Original_ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("Original_ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_ProcessNum));
|
|
}
|
|
if ((Original_CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_CodPlant));
|
|
}
|
|
if ((Original_Class01 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class01");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Class01));
|
|
}
|
|
if ((Original_Class02 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class02");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_Class02));
|
|
}
|
|
if ((Original_Class03 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class03");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Class03));
|
|
}
|
|
if ((Original_Class04 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class04");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_Class04));
|
|
}
|
|
if ((Original_Class05 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class05");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_Class05));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((decimal)(Original_TotQty));
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((decimal)(Original_TotCost));
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((decimal)(Original_Quota));
|
|
if ((Original_C4UG.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = ((decimal)(Original_C4UG.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[16].Value = ((bool)(Original_valid));
|
|
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 QuoteType, long CodQuote, int QuoteRev, int NumEx, string ProcessNum, string CodPlant, string Class01, string Class02, string Class03, string Class04, string Class05, decimal TotQty, decimal TotCost, decimal Quota, bool valid) {
|
|
if ((QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(QuoteType));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((long)(CodQuote));
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((int)(QuoteRev));
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumEx));
|
|
if ((ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(ProcessNum));
|
|
}
|
|
if ((CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodPlant));
|
|
}
|
|
if ((Class01 == null)) {
|
|
throw new global::System.ArgumentNullException("Class01");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Class01));
|
|
}
|
|
if ((Class02 == null)) {
|
|
throw new global::System.ArgumentNullException("Class02");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Class02));
|
|
}
|
|
if ((Class03 == null)) {
|
|
throw new global::System.ArgumentNullException("Class03");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Class03));
|
|
}
|
|
if ((Class04 == null)) {
|
|
throw new global::System.ArgumentNullException("Class04");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Class04));
|
|
}
|
|
if ((Class05 == null)) {
|
|
throw new global::System.ArgumentNullException("Class05");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Class05));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[11].Value = ((decimal)(TotQty));
|
|
this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(TotCost));
|
|
this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(Quota));
|
|
this.Adapter.InsertCommand.Parameters[14].Value = ((bool)(valid));
|
|
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 QuoteType,
|
|
long CodQuote,
|
|
int QuoteRev,
|
|
int NumEx,
|
|
string ProcessNum,
|
|
string CodPlant,
|
|
string Class01,
|
|
string Class02,
|
|
string Class03,
|
|
string Class04,
|
|
string Class05,
|
|
decimal TotQty,
|
|
decimal TotCost,
|
|
decimal Quota,
|
|
bool valid,
|
|
string Original_QuoteType,
|
|
long Original_CodQuote,
|
|
int Original_QuoteRev,
|
|
int Original_NumEx,
|
|
string Original_ProcessNum,
|
|
string Original_CodPlant,
|
|
string Original_Class01,
|
|
string Original_Class02,
|
|
string Original_Class03,
|
|
string Original_Class04,
|
|
string Original_Class05,
|
|
decimal Original_TotQty,
|
|
decimal Original_TotCost,
|
|
decimal Original_Quota,
|
|
global::System.Nullable<decimal> Original_C4UG,
|
|
bool Original_valid) {
|
|
if ((QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(QuoteType));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(CodQuote));
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(QuoteRev));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumEx));
|
|
if ((ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(ProcessNum));
|
|
}
|
|
if ((CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodPlant));
|
|
}
|
|
if ((Class01 == null)) {
|
|
throw new global::System.ArgumentNullException("Class01");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Class01));
|
|
}
|
|
if ((Class02 == null)) {
|
|
throw new global::System.ArgumentNullException("Class02");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Class02));
|
|
}
|
|
if ((Class03 == null)) {
|
|
throw new global::System.ArgumentNullException("Class03");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Class03));
|
|
}
|
|
if ((Class04 == null)) {
|
|
throw new global::System.ArgumentNullException("Class04");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Class04));
|
|
}
|
|
if ((Class05 == null)) {
|
|
throw new global::System.ArgumentNullException("Class05");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Class05));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(TotQty));
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(TotCost));
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(Quota));
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((bool)(valid));
|
|
if ((Original_QuoteType == null)) {
|
|
throw new global::System.ArgumentNullException("Original_QuoteType");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_QuoteType));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((long)(Original_CodQuote));
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(Original_QuoteRev));
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(Original_NumEx));
|
|
if ((Original_ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("Original_ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_ProcessNum));
|
|
}
|
|
if ((Original_CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_CodPlant));
|
|
}
|
|
if ((Original_Class01 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class01");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_Class01));
|
|
}
|
|
if ((Original_Class02 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class02");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_Class02));
|
|
}
|
|
if ((Original_Class03 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class03");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_Class03));
|
|
}
|
|
if ((Original_Class04 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class04");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_Class04));
|
|
}
|
|
if ((Original_Class05 == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Class05");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_Class05));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[26].Value = ((decimal)(Original_TotQty));
|
|
this.Adapter.UpdateCommand.Parameters[27].Value = ((decimal)(Original_TotCost));
|
|
this.Adapter.UpdateCommand.Parameters[28].Value = ((decimal)(Original_Quota));
|
|
if ((Original_C4UG.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = ((decimal)(Original_C4UG.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[31].Value = ((bool)(Original_valid));
|
|
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 ProcessNum,
|
|
string CodPlant,
|
|
string Class01,
|
|
string Class02,
|
|
string Class03,
|
|
string Class04,
|
|
string Class05,
|
|
decimal TotQty,
|
|
decimal TotCost,
|
|
decimal Quota,
|
|
bool valid,
|
|
string Original_QuoteType,
|
|
long Original_CodQuote,
|
|
int Original_QuoteRev,
|
|
int Original_NumEx,
|
|
string Original_ProcessNum,
|
|
string Original_CodPlant,
|
|
string Original_Class01,
|
|
string Original_Class02,
|
|
string Original_Class03,
|
|
string Original_Class04,
|
|
string Original_Class05,
|
|
decimal Original_TotQty,
|
|
decimal Original_TotCost,
|
|
decimal Original_Quota,
|
|
global::System.Nullable<decimal> Original_C4UG,
|
|
bool Original_valid) {
|
|
return this.Update(Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumEx, ProcessNum, CodPlant, Class01, Class02, Class03, Class04, Class05, TotQty, TotCost, Quota, valid, Original_QuoteType, Original_CodQuote, Original_QuoteRev, Original_NumEx, Original_ProcessNum, Original_CodPlant, Original_Class01, Original_Class02, Original_Class03, Original_Class04, Original_Class05, Original_TotQty, Original_TotCost, Original_Quota, Original_C4UG, Original_valid);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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_QTableAdapter : 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_QTableAdapter() {
|
|
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_Q";
|
|
tableMapping.ColumnMappings.Add("Vers", "Vers");
|
|
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
|
|
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
|
|
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
|
|
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("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", "DiesPrice");
|
|
tableMapping.ColumnMappings.Add("DiesExpLife", "DiesExpLife");
|
|
tableMapping.ColumnMappings.Add("DiesEOLife", "DiesEOLife");
|
|
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("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", "WSR01");
|
|
tableMapping.ColumnMappings.Add("MSR01", "MSR01");
|
|
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", "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("P_FVC", "P_FVC");
|
|
tableMapping.ColumnMappings.Add("CPS", "CPS");
|
|
tableMapping.ColumnMappings.Add("P_CPS", "P_CPS");
|
|
tableMapping.ColumnMappings.Add("P_FC4UG04", "P_FC4UG04");
|
|
tableMapping.ColumnMappings.Add("FullCost", "FullCost");
|
|
tableMapping.ColumnMappings.Add("P_FullCost", "P_FullCost");
|
|
tableMapping.ColumnMappings.Add("MinPrice", "MinPrice");
|
|
tableMapping.ColumnMappings.Add("P_MinPrice", "P_MinPrice");
|
|
tableMapping.ColumnMappings.Add("P_PriceOff", "P_PriceOff");
|
|
tableMapping.ColumnMappings.Add("NetMar", "NetMar");
|
|
tableMapping.ColumnMappings.Add("FCShield", "FCShield");
|
|
tableMapping.ColumnMappings.Add("PckSur", "PckSur");
|
|
tableMapping.ColumnMappings.Add("IdxQState", "IdxQState");
|
|
tableMapping.ColumnMappings.Add("DiesByClass", "DiesByClass");
|
|
tableMapping.ColumnMappings.Add("valid", "valid");
|
|
tableMapping.ColumnMappings.Add("errorScore", "errorScore");
|
|
tableMapping.ColumnMappings.Add("TranspZone", "TranspZone");
|
|
tableMapping.ColumnMappings.Add("DiesPrice_sim", "DiesPrice_sim");
|
|
tableMapping.ColumnMappings.Add("SamplePrice", "SamplePrice");
|
|
tableMapping.ColumnMappings.Add("DiesFullCost", "DiesFullCost");
|
|
tableMapping.ColumnMappings.Add("DiesPriceClientQuote", "DiesPriceClientQuote");
|
|
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("WSR01_sim", "WSR01_sim");
|
|
tableMapping.ColumnMappings.Add("MSR01_sim", "MSR01_sim");
|
|
tableMapping.ColumnMappings.Add("NetProd01_sim", "NetProd01_sim");
|
|
tableMapping.ColumnMappings.Add("DSR_sim", "DSR_sim");
|
|
tableMapping.ColumnMappings.Add("NetMar_sim", "NetMar_sim");
|
|
tableMapping.ColumnMappings.Add("FCShield_sim", "FCShield_sim");
|
|
tableMapping.ColumnMappings.Add("MinPrice_sim", "MinPrice_sim");
|
|
tableMapping.ColumnMappings.Add("P_MinPrice_sim", "P_MinPrice_sim");
|
|
tableMapping.ColumnMappings.Add("NumSMED", "NumSMED");
|
|
tableMapping.ColumnMappings.Add("NetProd04_sim", "NetProd04_sim");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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[19];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "dbo.stp_QL_fullDataAll";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_QLF_Delete";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_QL_fullDataCount";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMin", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMax", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtaMin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtaMax", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxQState", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_QL_fullData";
|
|
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DoUpdate", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_QL_fullDataSearch";
|
|
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMin", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMax", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtaMin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qtaMax", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxQState", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[5].Connection = this.Connection;
|
|
this._commandCollection[5].CommandText = "dbo.stp_QLF_getLast";
|
|
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[6].Connection = this.Connection;
|
|
this._commandCollection[6].CommandText = "dbo.stp_QLF_getMinMax";
|
|
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DateMin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DateMax", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[7].Connection = this.Connection;
|
|
this._commandCollection[7].CommandText = "dbo.stp_QLF_revHist";
|
|
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[8].Connection = this.Connection;
|
|
this._commandCollection[8].CommandText = "dbo.stp_QLF_Insert";
|
|
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchQty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[9].Connection = this.Connection;
|
|
this._commandCollection[9].CommandText = "dbo.stp_QuoteFull_Q_update";
|
|
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PriceOff", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[10].Connection = this.Connection;
|
|
this._commandCollection[10].CommandText = "dbo.stp_prt_dsQuoteFull_byChiave";
|
|
this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Chiave", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[11].Connection = this.Connection;
|
|
this._commandCollection[11].CommandText = "dbo.stp_prt_dsQuoteFull_Q_Data";
|
|
this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ticket", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[12] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[12].Connection = this.Connection;
|
|
this._commandCollection[12].CommandText = "dbo.stp_QLF_UpdCosts";
|
|
this._commandCollection[12].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PriceOff", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[13].Connection = this.Connection;
|
|
this._commandCollection[13].CommandText = "dbo.stp_QLS_UpdDiesPar";
|
|
this._commandCollection[13].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SamplePrice", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesPriceClientQuote", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesCommLife", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MonthSalesPrev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[14].Connection = this.Connection;
|
|
this._commandCollection[14].CommandText = "dbo.stp_QLS_UpdExtrPar";
|
|
this._commandCollection[14].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoDies", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiamDies", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@HoleNumDies", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPlant", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesPrice_sim", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiesTecLife", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WSR01_sim", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MSR01_sim", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetProd01_sim", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[15].Connection = this.Connection;
|
|
this._commandCollection[15].CommandText = "dbo.stp_QLF_UpdHead";
|
|
this._commandCollection[15].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchQty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[16].Connection = this.Connection;
|
|
this._commandCollection[16].CommandText = "dbo.stp_QLS_UpdHead";
|
|
this._commandCollection[16].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodClient", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItem", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UnitWeight", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodItemGroup", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMatExtraCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchQty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodInco", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProvvCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[17] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[17].Connection = this.Connection;
|
|
this._commandCollection[17].CommandText = "dbo.stp_QLS_UpdPackPar";
|
|
this._commandCollection[17].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPackag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DSR_sim", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NetProd04_sim", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[18] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[18].Connection = this.Connection;
|
|
this._commandCollection[18].CommandText = "dbo.stp_QLF_UpdQState";
|
|
this._commandCollection[18].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteType", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodQuote", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuoteRev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxQState", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[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_QDataTable 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_QDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable getByKey(string QuoteType, global::System.Nullable<long> CodQuote, global::System.Nullable<int> QuoteRev, string DoUpdate) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[3];
|
|
if ((QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(QuoteType));
|
|
}
|
|
if ((CodQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(CodQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuoteRev.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(QuoteRev.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DoUpdate == null)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(DoUpdate));
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable getBySearch(string CodClient, string CodItem, string RawMat, global::System.Nullable<global::System.DateTime> DataMin, global::System.Nullable<global::System.DateTime> DataMax, global::System.Nullable<int> qtaMin, global::System.Nullable<int> qtaMax, string QuoteType, global::System.Nullable<int> IdxQState, string search) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[4];
|
|
if ((CodClient == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodClient));
|
|
}
|
|
if ((CodItem == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodItem));
|
|
}
|
|
if ((RawMat == null)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(RawMat));
|
|
}
|
|
if ((DataMin.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(DataMin.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataMax.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((System.DateTime)(DataMax.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((qtaMin.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((int)(qtaMin.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((qtaMax.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((int)(qtaMax.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = ((string)(QuoteType));
|
|
}
|
|
if ((IdxQState.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = ((int)(IdxQState.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((search == null)) {
|
|
this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[10].Value = ((string)(search));
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable getLast() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[5];
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable getMinMax(global::System.Nullable<int> DateMin, global::System.Nullable<int> DateMax) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[6];
|
|
if ((DateMin.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(DateMin.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DateMax.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((int)(DateMax.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable getRevHist(string QuoteType, global::System.Nullable<long> CodQuote) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[7];
|
|
if ((QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(QuoteType));
|
|
}
|
|
if ((CodQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(CodQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable insertNew(string QuoteType, string CodClient, string CodItem, string RawMat, global::System.Nullable<decimal> RawMatCost, global::System.Nullable<decimal> RawMatExtraCost, global::System.Nullable<int> BatchQty, string CodInco, string Note) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[8];
|
|
if ((QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(QuoteType));
|
|
}
|
|
if ((CodClient == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodClient));
|
|
}
|
|
if ((CodItem == null)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodItem));
|
|
}
|
|
if ((RawMat == null)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(RawMat));
|
|
}
|
|
if ((RawMatCost.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((decimal)(RawMatCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((RawMatExtraCost.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((decimal)(RawMatExtraCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((BatchQty.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((int)(BatchQty.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodInco == null)) {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = ((string)(CodInco));
|
|
}
|
|
if ((Note == null)) {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = ((string)(Note));
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable repOffersByChiave(string Chiave) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[10];
|
|
if ((Chiave == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Chiave));
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable repOffersByTicket(global::System.Nullable<int> Ticket) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[11];
|
|
if ((Ticket.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Ticket.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable updateCosts(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, global::System.Nullable<decimal> PriceOff) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[12];
|
|
if ((Original_QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Original_QuoteType));
|
|
}
|
|
if ((Original_CodQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(Original_CodQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_QuoteRev.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(Original_QuoteRev.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((PriceOff.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((decimal)(PriceOff.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable updateDiesPar(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, global::System.Nullable<decimal> SamplePrice, global::System.Nullable<decimal> DiesPriceClientQuote, global::System.Nullable<decimal> DiesCommLife, global::System.Nullable<int> MonthSalesPrev) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[13];
|
|
if ((Original_QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Original_QuoteType));
|
|
}
|
|
if ((Original_CodQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(Original_CodQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_QuoteRev.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(Original_QuoteRev.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((SamplePrice.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((decimal)(SamplePrice.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DiesPriceClientQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((decimal)(DiesPriceClientQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DiesCommLife.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((decimal)(DiesCommLife.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((MonthSalesPrev.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((int)(MonthSalesPrev.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable updateExtrParSim(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, string TipoDies, global::System.Nullable<int> DiamDies, global::System.Nullable<int> HoleNumDies, string CodPlant, global::System.Nullable<decimal> DiesPrice_sim, global::System.Nullable<decimal> DiesTecLife, global::System.Nullable<decimal> WSR01_sim, global::System.Nullable<decimal> MSR01_sim, global::System.Nullable<decimal> NetProd01_sim) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[14];
|
|
if ((Original_QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Original_QuoteType));
|
|
}
|
|
if ((Original_CodQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(Original_CodQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_QuoteRev.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(Original_QuoteRev.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((TipoDies == null)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(TipoDies));
|
|
}
|
|
if ((DiamDies.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((int)(DiamDies.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((HoleNumDies.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((int)(HoleNumDies.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodPlant == null)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((string)(CodPlant));
|
|
}
|
|
if ((DiesPrice_sim.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = ((decimal)(DiesPrice_sim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DiesTecLife.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = ((decimal)(DiesTecLife.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((WSR01_sim.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[10].Value = ((decimal)(WSR01_sim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((MSR01_sim.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[11].Value = ((decimal)(MSR01_sim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((NetProd01_sim.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[12].Value = ((decimal)(NetProd01_sim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable updateHeaders(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, string CodClient, string CodItem, string RawMat, global::System.Nullable<decimal> RawMatCost, global::System.Nullable<decimal> RawMatExtraCost, global::System.Nullable<int> BatchQty, string CodInco, string Note) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[15];
|
|
if ((Original_QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Original_QuoteType));
|
|
}
|
|
if ((Original_CodQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(Original_CodQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_QuoteRev.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(Original_QuoteRev.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodClient == null)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodClient));
|
|
}
|
|
if ((CodItem == null)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((string)(CodItem));
|
|
}
|
|
if ((RawMat == null)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((string)(RawMat));
|
|
}
|
|
if ((RawMatCost.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((decimal)(RawMatCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((RawMatExtraCost.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = ((decimal)(RawMatExtraCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((BatchQty.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = ((int)(BatchQty.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodInco == null)) {
|
|
this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[10].Value = ((string)(CodInco));
|
|
}
|
|
if ((Note == null)) {
|
|
this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[11].Value = ((string)(Note));
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable updateHeadSim(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, string CodClient, string CodItem, global::System.Nullable<decimal> UnitWeight, string CodItemGroup, string RawMat, global::System.Nullable<decimal> RawMatCost, global::System.Nullable<decimal> RawMatExtraCost, global::System.Nullable<int> BatchQty, string CodInco, global::System.Nullable<decimal> ProvvCost, string Note) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[16];
|
|
if ((Original_QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Original_QuoteType));
|
|
}
|
|
if ((Original_CodQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(Original_CodQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_QuoteRev.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(Original_QuoteRev.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodClient == null)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodClient));
|
|
}
|
|
if ((CodItem == null)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((string)(CodItem));
|
|
}
|
|
if ((UnitWeight.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((decimal)(UnitWeight.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodItemGroup == null)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((string)(CodItemGroup));
|
|
}
|
|
if ((RawMat == null)) {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = ((string)(RawMat));
|
|
}
|
|
if ((RawMatCost.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = ((decimal)(RawMatCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((RawMatExtraCost.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[10].Value = ((decimal)(RawMatExtraCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((BatchQty.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[11].Value = ((int)(BatchQty.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodInco == null)) {
|
|
this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[12].Value = ((string)(CodInco));
|
|
}
|
|
if ((ProvvCost.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[13].Value = ((decimal)(ProvvCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Note == null)) {
|
|
this.Adapter.SelectCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[14].Value = ((string)(Note));
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable updatePackPar(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, string CodPackag, global::System.Nullable<decimal> DSR_sim, global::System.Nullable<decimal> NetProd04_sim) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[17];
|
|
if ((Original_QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Original_QuoteType));
|
|
}
|
|
if ((Original_CodQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(Original_CodQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_QuoteRev.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(Original_QuoteRev.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodPackag == null)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodPackag));
|
|
}
|
|
if ((DSR_sim.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((decimal)(DSR_sim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((NetProd04_sim.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((decimal)(NetProd04_sim.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.QuoteFull_QDataTable updateQState(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, global::System.Nullable<int> IdxQState) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[18];
|
|
if ((Original_QuoteType == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Original_QuoteType));
|
|
}
|
|
if ((Original_CodQuote.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((long)(Original_CodQuote.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_QuoteRev.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(Original_QuoteRev.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((IdxQState.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(IdxQState.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.QuoteFull_QDataTable dataTable = new DS_Quotes.QuoteFull_QDataTable();
|
|
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 DeleteQuery(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_QuoteType == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(Original_QuoteType));
|
|
}
|
|
if ((Original_CodQuote.HasValue == true)) {
|
|
command.Parameters[2].Value = ((long)(Original_CodQuote.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_QuoteRev.HasValue == true)) {
|
|
command.Parameters[3].Value = ((int)(Original_QuoteRev.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
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")]
|
|
public virtual object fullDataCount(string CodClient, string CodItem, string RawMat, global::System.Nullable<global::System.DateTime> DataMin, global::System.Nullable<global::System.DateTime> DataMax, global::System.Nullable<int> qtaMin, global::System.Nullable<int> qtaMax, string QuoteType, global::System.Nullable<int> IdxQState, string search) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((CodClient == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodClient));
|
|
}
|
|
if ((CodItem == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(CodItem));
|
|
}
|
|
if ((RawMat == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(RawMat));
|
|
}
|
|
if ((DataMin.HasValue == true)) {
|
|
command.Parameters[4].Value = ((System.DateTime)(DataMin.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((DataMax.HasValue == true)) {
|
|
command.Parameters[5].Value = ((System.DateTime)(DataMax.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((qtaMin.HasValue == true)) {
|
|
command.Parameters[6].Value = ((int)(qtaMin.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((qtaMax.HasValue == true)) {
|
|
command.Parameters[7].Value = ((int)(qtaMax.Value));
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuoteType == null)) {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = ((string)(QuoteType));
|
|
}
|
|
if ((IdxQState.HasValue == true)) {
|
|
command.Parameters[9].Value = ((int)(IdxQState.Value));
|
|
}
|
|
else {
|
|
command.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((search == null)) {
|
|
command.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[10].Value = ((string)(search));
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
object returnValue;
|
|
try {
|
|
returnValue = command.ExecuteScalar();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
if (((returnValue == null)
|
|
|| (returnValue.GetType() == typeof(global::System.DBNull)))) {
|
|
return null;
|
|
}
|
|
else {
|
|
return ((object)(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")]
|
|
public virtual int QuoteFull_Q_update(string Original_QuoteType, global::System.Nullable<long> Original_CodQuote, global::System.Nullable<int> Original_QuoteRev, global::System.Nullable<decimal> PriceOff) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
|
|
if ((Original_QuoteType == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(Original_QuoteType));
|
|
}
|
|
if ((Original_CodQuote.HasValue == true)) {
|
|
command.Parameters[2].Value = ((long)(Original_CodQuote.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_QuoteRev.HasValue == true)) {
|
|
command.Parameters[3].Value = ((int)(Original_QuoteRev.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((PriceOff.HasValue == true)) {
|
|
command.Parameters[4].Value = ((decimal)(PriceOff.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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<decimal> Original_DiamDies,
|
|
global::System.Nullable<int> Original_HoleNumDies,
|
|
global::System.Nullable<decimal> Original_DiesPrice_avg,
|
|
decimal Original_DiesPrice,
|
|
decimal Original_SamplePrice,
|
|
global::System.Nullable<decimal> Original_DiesFullCost,
|
|
decimal Original_DiesPriceClientQuote,
|
|
global::System.Nullable<decimal> Original_DiesExpLife,
|
|
global::System.Nullable<decimal> Original_DiesEOLife,
|
|
decimal Original_DiesTecLife,
|
|
decimal Original_DiesCommLife,
|
|
int Original_MonthSalesPrev,
|
|
global::System.Nullable<decimal> Original_SalesPrevCost,
|
|
global::System.Nullable<decimal> Original_DiesFinCost,
|
|
global::System.Nullable<decimal> Original_ClientQuoteReven,
|
|
global::System.Nullable<decimal> Original_ExtraDiscountDies,
|
|
global::System.Nullable<bool> Original_DiesByClass,
|
|
global::System.Nullable<decimal> Original_NumDiesInList,
|
|
global::System.Nullable<decimal> Original_NumDiesExaust,
|
|
string Original_CodPlant,
|
|
string Original_KeyAMIL,
|
|
global::System.Nullable<decimal> Original_KgTeo,
|
|
global::System.Nullable<decimal> Original_NumSMED,
|
|
global::System.Nullable<decimal> Original_QuotaMan,
|
|
global::System.Nullable<decimal> Original_PRMWeight,
|
|
global::System.Nullable<decimal> Original_PWeight,
|
|
global::System.Nullable<decimal> Original_PTare,
|
|
string Original_LivPackage,
|
|
string Original_LivPackageDett,
|
|
decimal Original_RawMatCost,
|
|
decimal Original_RawMatExtraCost,
|
|
global::System.Nullable<decimal> Original_RawMatFullCost,
|
|
string Original_CodPackag,
|
|
string Original_PkgDesc,
|
|
global::System.Nullable<decimal> 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<decimal> Original_DSR,
|
|
decimal Original_NetProd04,
|
|
decimal Original_FC4UG04,
|
|
decimal Original_VC4UG04,
|
|
global::System.Nullable<decimal> 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<decimal> DiamDies,
|
|
global::System.Nullable<int> HoleNumDies,
|
|
global::System.Nullable<decimal> DiesPrice_avg,
|
|
decimal DiesPrice,
|
|
decimal SamplePrice,
|
|
decimal DiesPriceClientQuote,
|
|
global::System.Nullable<decimal> DiesExpLife,
|
|
global::System.Nullable<decimal> DiesEOLife,
|
|
decimal DiesTecLife,
|
|
decimal DiesCommLife,
|
|
int MonthSalesPrev,
|
|
global::System.Nullable<bool> DiesByClass,
|
|
global::System.Nullable<decimal> NumDiesInList,
|
|
global::System.Nullable<decimal> NumDiesExaust,
|
|
string CodPlant,
|
|
string KeyAMIL,
|
|
global::System.Nullable<decimal> KgTeo,
|
|
global::System.Nullable<decimal> NumSMED,
|
|
global::System.Nullable<decimal> QuotaMan,
|
|
global::System.Nullable<decimal> PRMWeight,
|
|
global::System.Nullable<decimal> PWeight,
|
|
global::System.Nullable<decimal> PTare,
|
|
string LivPackage,
|
|
string LivPackageDett,
|
|
decimal RawMatCost,
|
|
decimal RawMatExtraCost,
|
|
global::System.Nullable<decimal> RawMatFullCost,
|
|
string CodPackag,
|
|
string PkgDesc,
|
|
global::System.Nullable<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,
|
|
global::System.Nullable<decimal> DSR,
|
|
decimal NetProd04,
|
|
decimal FC4UG04,
|
|
decimal VC4UG04,
|
|
global::System.Nullable<decimal> 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<decimal> DiamDies,
|
|
global::System.Nullable<int> HoleNumDies,
|
|
global::System.Nullable<decimal> DiesPrice_avg,
|
|
decimal DiesPrice,
|
|
decimal SamplePrice,
|
|
decimal DiesPriceClientQuote,
|
|
global::System.Nullable<decimal> DiesExpLife,
|
|
global::System.Nullable<decimal> DiesEOLife,
|
|
decimal DiesTecLife,
|
|
decimal DiesCommLife,
|
|
int MonthSalesPrev,
|
|
global::System.Nullable<bool> DiesByClass,
|
|
global::System.Nullable<decimal> NumDiesInList,
|
|
global::System.Nullable<decimal> NumDiesExaust,
|
|
string CodPlant,
|
|
string KeyAMIL,
|
|
global::System.Nullable<decimal> KgTeo,
|
|
global::System.Nullable<decimal> NumSMED,
|
|
global::System.Nullable<decimal> QuotaMan,
|
|
global::System.Nullable<decimal> PRMWeight,
|
|
global::System.Nullable<decimal> PWeight,
|
|
global::System.Nullable<decimal> PTare,
|
|
string LivPackage,
|
|
string LivPackageDett,
|
|
decimal RawMatCost,
|
|
decimal RawMatExtraCost,
|
|
global::System.Nullable<decimal> RawMatFullCost,
|
|
string CodPackag,
|
|
string PkgDesc,
|
|
global::System.Nullable<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,
|
|
global::System.Nullable<decimal> DSR,
|
|
decimal NetProd04,
|
|
decimal FC4UG04,
|
|
decimal VC4UG04,
|
|
global::System.Nullable<decimal> 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<decimal> Original_DiamDies,
|
|
global::System.Nullable<int> Original_HoleNumDies,
|
|
global::System.Nullable<decimal> Original_DiesPrice_avg,
|
|
decimal Original_DiesPrice,
|
|
decimal Original_SamplePrice,
|
|
global::System.Nullable<decimal> Original_DiesFullCost,
|
|
decimal Original_DiesPriceClientQuote,
|
|
global::System.Nullable<decimal> Original_DiesExpLife,
|
|
global::System.Nullable<decimal> Original_DiesEOLife,
|
|
decimal Original_DiesTecLife,
|
|
decimal Original_DiesCommLife,
|
|
int Original_MonthSalesPrev,
|
|
global::System.Nullable<decimal> Original_SalesPrevCost,
|
|
global::System.Nullable<decimal> Original_DiesFinCost,
|
|
global::System.Nullable<decimal> Original_ClientQuoteReven,
|
|
global::System.Nullable<decimal> Original_ExtraDiscountDies,
|
|
global::System.Nullable<bool> Original_DiesByClass,
|
|
global::System.Nullable<decimal> Original_NumDiesInList,
|
|
global::System.Nullable<decimal> Original_NumDiesExaust,
|
|
string Original_CodPlant,
|
|
string Original_KeyAMIL,
|
|
global::System.Nullable<decimal> Original_KgTeo,
|
|
global::System.Nullable<decimal> Original_NumSMED,
|
|
global::System.Nullable<decimal> Original_QuotaMan,
|
|
global::System.Nullable<decimal> Original_PRMWeight,
|
|
global::System.Nullable<decimal> Original_PWeight,
|
|
global::System.Nullable<decimal> Original_PTare,
|
|
string Original_LivPackage,
|
|
string Original_LivPackageDett,
|
|
decimal Original_RawMatCost,
|
|
decimal Original_RawMatExtraCost,
|
|
global::System.Nullable<decimal> Original_RawMatFullCost,
|
|
string Original_CodPackag,
|
|
string Original_PkgDesc,
|
|
global::System.Nullable<decimal> 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<decimal> Original_DSR,
|
|
decimal Original_NetProd04,
|
|
decimal Original_FC4UG04,
|
|
decimal Original_VC4UG04,
|
|
global::System.Nullable<decimal> 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<decimal> DiamDies,
|
|
global::System.Nullable<int> HoleNumDies,
|
|
global::System.Nullable<decimal> DiesPrice_avg,
|
|
decimal DiesPrice,
|
|
decimal SamplePrice,
|
|
decimal DiesPriceClientQuote,
|
|
global::System.Nullable<decimal> DiesExpLife,
|
|
global::System.Nullable<decimal> DiesEOLife,
|
|
decimal DiesTecLife,
|
|
decimal DiesCommLife,
|
|
int MonthSalesPrev,
|
|
global::System.Nullable<bool> DiesByClass,
|
|
global::System.Nullable<decimal> NumDiesInList,
|
|
global::System.Nullable<decimal> NumDiesExaust,
|
|
string CodPlant,
|
|
string KeyAMIL,
|
|
global::System.Nullable<decimal> KgTeo,
|
|
global::System.Nullable<decimal> NumSMED,
|
|
global::System.Nullable<decimal> QuotaMan,
|
|
global::System.Nullable<decimal> PRMWeight,
|
|
global::System.Nullable<decimal> PWeight,
|
|
global::System.Nullable<decimal> PTare,
|
|
string LivPackage,
|
|
string LivPackageDett,
|
|
decimal RawMatCost,
|
|
decimal RawMatExtraCost,
|
|
global::System.Nullable<decimal> RawMatFullCost,
|
|
string CodPackag,
|
|
string PkgDesc,
|
|
global::System.Nullable<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,
|
|
global::System.Nullable<decimal> DSR,
|
|
decimal NetProd04,
|
|
decimal FC4UG04,
|
|
decimal VC4UG04,
|
|
global::System.Nullable<decimal> 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<decimal> Original_DiamDies,
|
|
global::System.Nullable<int> Original_HoleNumDies,
|
|
global::System.Nullable<decimal> Original_DiesPrice_avg,
|
|
decimal Original_DiesPrice,
|
|
decimal Original_SamplePrice,
|
|
global::System.Nullable<decimal> Original_DiesFullCost,
|
|
decimal Original_DiesPriceClientQuote,
|
|
global::System.Nullable<decimal> Original_DiesExpLife,
|
|
global::System.Nullable<decimal> Original_DiesEOLife,
|
|
decimal Original_DiesTecLife,
|
|
decimal Original_DiesCommLife,
|
|
int Original_MonthSalesPrev,
|
|
global::System.Nullable<decimal> Original_SalesPrevCost,
|
|
global::System.Nullable<decimal> Original_DiesFinCost,
|
|
global::System.Nullable<decimal> Original_ClientQuoteReven,
|
|
global::System.Nullable<decimal> Original_ExtraDiscountDies,
|
|
global::System.Nullable<bool> Original_DiesByClass,
|
|
global::System.Nullable<decimal> Original_NumDiesInList,
|
|
global::System.Nullable<decimal> Original_NumDiesExaust,
|
|
string Original_CodPlant,
|
|
string Original_KeyAMIL,
|
|
global::System.Nullable<decimal> Original_KgTeo,
|
|
global::System.Nullable<decimal> Original_NumSMED,
|
|
global::System.Nullable<decimal> Original_QuotaMan,
|
|
global::System.Nullable<decimal> Original_PRMWeight,
|
|
global::System.Nullable<decimal> Original_PWeight,
|
|
global::System.Nullable<decimal> Original_PTare,
|
|
string Original_LivPackage,
|
|
string Original_LivPackageDett,
|
|
decimal Original_RawMatCost,
|
|
decimal Original_RawMatExtraCost,
|
|
global::System.Nullable<decimal> Original_RawMatFullCost,
|
|
string Original_CodPackag,
|
|
string Original_PkgDesc,
|
|
global::System.Nullable<decimal> 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<decimal> Original_DSR,
|
|
decimal Original_NetProd04,
|
|
decimal Original_FC4UG04,
|
|
decimal Original_VC4UG04,
|
|
global::System.Nullable<decimal> 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);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 RawMatDetTableAdapter : 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 RawMatDetTableAdapter() {
|
|
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 = "RawMatDet";
|
|
tableMapping.ColumnMappings.Add("RawMat", "RawMat");
|
|
tableMapping.ColumnMappings.Add("ProcCost", "ProcCost");
|
|
tableMapping.ColumnMappings.Add("ProcYield", "ProcYield");
|
|
tableMapping.ColumnMappings.Add("CSR", "CSR");
|
|
tableMapping.ColumnMappings.Add("SSR", "SSR");
|
|
tableMapping.ColumnMappings.Add("SSVA", "SSVA");
|
|
tableMapping.ColumnMappings.Add("SSVR", "SSVR");
|
|
tableMapping.ColumnMappings.Add("ExtraMatCost", "ExtraMatCost");
|
|
tableMapping.ColumnMappings.Add("ExtraServCost", "ExtraServCost");
|
|
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].[RawMatDet] WHERE (([RawMat] = @Original_RawMat) AND ([ProcCost] = @Original_ProcCost) AND ([ProcYield] = @Original_ProcYield) AND ([CSR] = @Original_CSR) AND ((@IsNull_SSR = 1 AND [SSR] IS NULL) OR ([SSR] = @Original_SSR)) AND ((@IsNull_SSVA = 1 AND [SSVA] IS NULL) OR ([SSVA] = @Original_SSVA)) AND ((@IsNull_SSVR = 1 AND [SSVR] IS NULL) OR ([SSVR] = @Original_SSVR)) AND ((@IsNull_ExtraMatCost = 1 AND [ExtraMatCost] IS NULL) OR ([ExtraMatCost] = @Original_ExtraMatCost)) AND ((@IsNull_ExtraServCost = 1 AND [ExtraServCost] IS NULL) OR ([ExtraServCost] = @Original_ExtraServCost)))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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_ProcCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "ProcCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcYield", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "ProcYield", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "CSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SSR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SSR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SSVA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SSVA", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SSVA", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SSVA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SSVR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SSVR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SSVR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SSVR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtraMatCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtraMatCost", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtraMatCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "ExtraMatCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtraServCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtraServCost", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtraServCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "ExtraServCost", 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].[RawMatDet] ([RawMat], [ProcCost], [ProcYield], [CSR], [SSR], [SSVA], [SSVR], [ExtraMatCost], [ExtraServCost]) VALUES (@RawMat, @ProcCost, @ProcYield, @CSR, @SSR, @SSVA, @SSVR, @ExtraMatCost, @ExtraServCost);
|
|
SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraServCost FROM RawMatDet WHERE (RawMat = @RawMat)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@ProcCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "ProcCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcYield", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "ProcYield", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "CSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SSVA", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SSVA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SSVR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SSVR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtraMatCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "ExtraMatCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtraServCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "ExtraServCost", 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].[RawMatDet] SET [RawMat] = @RawMat, [ProcCost] = @ProcCost, [ProcYield] = @ProcYield, [CSR] = @CSR, [SSR] = @SSR, [SSVA] = @SSVA, [SSVR] = @SSVR, [ExtraMatCost] = @ExtraMatCost, [ExtraServCost] = @ExtraServCost WHERE (([RawMat] = @Original_RawMat) AND ([ProcCost] = @Original_ProcCost) AND ([ProcYield] = @Original_ProcYield) AND ([CSR] = @Original_CSR) AND ((@IsNull_SSR = 1 AND [SSR] IS NULL) OR ([SSR] = @Original_SSR)) AND ((@IsNull_SSVA = 1 AND [SSVA] IS NULL) OR ([SSVA] = @Original_SSVA)) AND ((@IsNull_SSVR = 1 AND [SSVR] IS NULL) OR ([SSVR] = @Original_SSVR)) AND ((@IsNull_ExtraMatCost = 1 AND [ExtraMatCost] IS NULL) OR ([ExtraMatCost] = @Original_ExtraMatCost)) AND ((@IsNull_ExtraServCost = 1 AND [ExtraServCost] IS NULL) OR ([ExtraServCost] = @Original_ExtraServCost)));
|
|
SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraServCost FROM RawMatDet WHERE (RawMat = @RawMat)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@ProcCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "ProcCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcYield", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "ProcYield", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "CSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SSR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SSVA", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SSVA", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SSVR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SSVR", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtraMatCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "ExtraMatCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtraServCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "ExtraServCost", global::System.Data.DataRowVersion.Current, 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_ProcCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 6, "ProcCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ProcYield", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "ProcYield", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "CSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SSR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SSR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SSR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SSR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SSVA", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SSVA", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SSVA", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SSVA", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SSVR", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SSVR", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SSVR", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "SSVR", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtraMatCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtraMatCost", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtraMatCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "ExtraMatCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ExtraServCost", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ExtraServCost", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ExtraServCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "ExtraServCost", 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[2];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraServ" +
|
|
"Cost FROM dbo.RawMatDet";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_RMD_getByKey";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RawMat", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[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.RawMatDetDataTable 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.RawMatDetDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.RawMatDetDataTable dataTable = new DS_Quotes.RawMatDetDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.RawMatDetDataTable getByKey(string RawMat) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[1];
|
|
if ((RawMat == null)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(RawMat));
|
|
}
|
|
DS_Quotes.RawMatDetDataTable dataTable = new DS_Quotes.RawMatDetDataTable();
|
|
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.RawMatDetDataTable 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, "RawMatDet");
|
|
}
|
|
|
|
[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_RawMat, decimal Original_ProcCost, decimal Original_ProcYield, decimal Original_CSR, global::System.Nullable<decimal> Original_SSR, global::System.Nullable<decimal> Original_SSVA, global::System.Nullable<decimal> Original_SSVR, global::System.Nullable<decimal> Original_ExtraMatCost, global::System.Nullable<decimal> Original_ExtraServCost) {
|
|
if ((Original_RawMat == null)) {
|
|
throw new global::System.ArgumentNullException("Original_RawMat");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_RawMat));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((decimal)(Original_ProcCost));
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_ProcYield));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((decimal)(Original_CSR));
|
|
if ((Original_SSR.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((decimal)(Original_SSR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_SSVA.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((decimal)(Original_SSVA.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_SSVR.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = ((decimal)(Original_SSVR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_ExtraMatCost.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = ((decimal)(Original_ExtraMatCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_ExtraServCost.HasValue == true)) {
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0));
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = ((decimal)(Original_ExtraServCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1));
|
|
this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
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 RawMat, decimal ProcCost, decimal ProcYield, decimal CSR, global::System.Nullable<decimal> SSR, global::System.Nullable<decimal> SSVA, global::System.Nullable<decimal> SSVR, global::System.Nullable<decimal> ExtraMatCost, global::System.Nullable<decimal> ExtraServCost) {
|
|
if ((RawMat == null)) {
|
|
throw new global::System.ArgumentNullException("RawMat");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(RawMat));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((decimal)(ProcCost));
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(ProcYield));
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(CSR));
|
|
if ((SSR.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((decimal)(SSR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((SSVA.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(SSVA.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((SSVR.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(SSVR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ExtraMatCost.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(ExtraMatCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ExtraServCost.HasValue == true)) {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(ExtraServCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
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 RawMat,
|
|
decimal ProcCost,
|
|
decimal ProcYield,
|
|
decimal CSR,
|
|
global::System.Nullable<decimal> SSR,
|
|
global::System.Nullable<decimal> SSVA,
|
|
global::System.Nullable<decimal> SSVR,
|
|
global::System.Nullable<decimal> ExtraMatCost,
|
|
global::System.Nullable<decimal> ExtraServCost,
|
|
string Original_RawMat,
|
|
decimal Original_ProcCost,
|
|
decimal Original_ProcYield,
|
|
decimal Original_CSR,
|
|
global::System.Nullable<decimal> Original_SSR,
|
|
global::System.Nullable<decimal> Original_SSVA,
|
|
global::System.Nullable<decimal> Original_SSVR,
|
|
global::System.Nullable<decimal> Original_ExtraMatCost,
|
|
global::System.Nullable<decimal> Original_ExtraServCost) {
|
|
if ((RawMat == null)) {
|
|
throw new global::System.ArgumentNullException("RawMat");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(RawMat));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((decimal)(ProcCost));
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(ProcYield));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(CSR));
|
|
if ((SSR.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((decimal)(SSR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((SSVA.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(SSVA.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((SSVR.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(SSVR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ExtraMatCost.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(ExtraMatCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ExtraServCost.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(ExtraServCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_RawMat == null)) {
|
|
throw new global::System.ArgumentNullException("Original_RawMat");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_RawMat));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((decimal)(Original_ProcCost));
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(Original_ProcYield));
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(Original_CSR));
|
|
if ((Original_SSR.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(Original_SSR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_SSVA.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(Original_SSVA.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_SSVR.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(Original_SSVR.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_ExtraMatCost.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = ((decimal)(Original_ExtraMatCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_ExtraServCost.HasValue == true)) {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = ((decimal)(Original_ExtraServCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
|
|
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
|
|
}
|
|
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(
|
|
decimal ProcCost,
|
|
decimal ProcYield,
|
|
decimal CSR,
|
|
global::System.Nullable<decimal> SSR,
|
|
global::System.Nullable<decimal> SSVA,
|
|
global::System.Nullable<decimal> SSVR,
|
|
global::System.Nullable<decimal> ExtraMatCost,
|
|
global::System.Nullable<decimal> ExtraServCost,
|
|
string Original_RawMat,
|
|
decimal Original_ProcCost,
|
|
decimal Original_ProcYield,
|
|
decimal Original_CSR,
|
|
global::System.Nullable<decimal> Original_SSR,
|
|
global::System.Nullable<decimal> Original_SSVA,
|
|
global::System.Nullable<decimal> Original_SSVR,
|
|
global::System.Nullable<decimal> Original_ExtraMatCost,
|
|
global::System.Nullable<decimal> Original_ExtraServCost) {
|
|
return this.Update(Original_RawMat, ProcCost, ProcYield, CSR, SSR, SSVA, SSVR, ExtraMatCost, ExtraServCost, Original_RawMat, Original_ProcCost, Original_ProcYield, Original_CSR, Original_SSR, Original_SSVA, Original_SSVR, Original_ExtraMatCost, Original_ExtraServCost);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents the connection and commands used to retrieve and save data.
|
|
///</summary>
|
|
[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 StdCostListTableAdapter : 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 StdCostListTableAdapter() {
|
|
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 = "StdCostList";
|
|
tableMapping.ColumnMappings.Add("DataRif", "DataRif");
|
|
tableMapping.ColumnMappings.Add("Class01", "Class01");
|
|
tableMapping.ColumnMappings.Add("Class02", "Class02");
|
|
tableMapping.ColumnMappings.Add("CodItem", "CodItem");
|
|
tableMapping.ColumnMappings.Add("RawMat", "RawMat");
|
|
tableMapping.ColumnMappings.Add("CodPlant", "CodPlant");
|
|
tableMapping.ColumnMappings.Add("CodDiesGroup", "CodDiesGroup");
|
|
tableMapping.ColumnMappings.Add("CodPackag", "CodPackag");
|
|
tableMapping.ColumnMappings.Add("batchQty", "batchQty");
|
|
tableMapping.ColumnMappings.Add("CodInco", "CodInco");
|
|
tableMapping.ColumnMappings.Add("RawMatFullCost", "RawMatFullCost");
|
|
tableMapping.ColumnMappings.Add("FVC", "FVC");
|
|
tableMapping.ColumnMappings.Add("FullCost", "FullCost");
|
|
this._adapter.TableMappings.Add(tableMapping);
|
|
}
|
|
|
|
[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[3];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT DataRif, Class01, Class02, CodItem, RawMat, CodPlant, CodDiesGroup, CodPac" +
|
|
"kag, batchQty, CodInco, RawMatFullCost, FVC, FullCost FROM dbo.v_StdCostList";
|
|
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[1].Connection = this.Connection;
|
|
this._commandCollection[1].CommandText = "dbo.stp_SC2C_deleteForDate";
|
|
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Date", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 16, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_QLR_getByDate";
|
|
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
}
|
|
|
|
[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.StdCostListDataTable 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.StdCostListDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.StdCostListDataTable dataTable = new DS_Quotes.StdCostListDataTable();
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
public virtual DS_Quotes.StdCostListDataTable getByDate(global::System.Nullable<int> DataRif) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[2];
|
|
if ((DataRif.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(DataRif.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
DS_Quotes.StdCostListDataTable dataTable = new DS_Quotes.StdCostListDataTable();
|
|
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 deleteByDate(global::System.Nullable<global::System.DateTime> Date) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Date.HasValue == true)) {
|
|
command.Parameters[1].Value = ((System.DateTime)(Date.Value));
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
|
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
|
!= global::System.Data.ConnectionState.Open)) {
|
|
command.Connection.Open();
|
|
}
|
|
int returnValue;
|
|
try {
|
|
returnValue = command.ExecuteNonQuery();
|
|
}
|
|
finally {
|
|
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
|
command.Connection.Close();
|
|
}
|
|
}
|
|
return returnValue;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
|
///</summary>
|
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
|
|
"esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
|
|
public partial class TableAdapterManager : global::System.ComponentModel.Component {
|
|
|
|
private UpdateOrderOption _updateOrder;
|
|
|
|
private QuoteListTableAdapter _quoteListTableAdapter;
|
|
|
|
private QuoteRMTableAdapter _quoteRMTableAdapter;
|
|
|
|
private QuoteWorkExtTableAdapter _quoteWorkExtTableAdapter;
|
|
|
|
private QuoteWorkIntTableAdapter _quoteWorkIntTableAdapter;
|
|
|
|
private QuoteParamTableAdapter _quoteParamTableAdapter;
|
|
|
|
private QuoteOCTableAdapter _quoteOCTableAdapter;
|
|
|
|
private QuoteFull_STableAdapter _quoteFull_STableAdapter;
|
|
|
|
private RawMatDetTableAdapter _rawMatDetTableAdapter;
|
|
|
|
private bool _backupDataSetBeforeUpdate;
|
|
|
|
private global::System.Data.IDbConnection _connection;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public UpdateOrderOption UpdateOrder {
|
|
get {
|
|
return this._updateOrder;
|
|
}
|
|
set {
|
|
this._updateOrder = value;
|
|
}
|
|
}
|
|
|
|
[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 QuoteListTableAdapter QuoteListTableAdapter {
|
|
get {
|
|
return this._quoteListTableAdapter;
|
|
}
|
|
set {
|
|
this._quoteListTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[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 QuoteRMTableAdapter QuoteRMTableAdapter {
|
|
get {
|
|
return this._quoteRMTableAdapter;
|
|
}
|
|
set {
|
|
this._quoteRMTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[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 QuoteWorkExtTableAdapter QuoteWorkExtTableAdapter {
|
|
get {
|
|
return this._quoteWorkExtTableAdapter;
|
|
}
|
|
set {
|
|
this._quoteWorkExtTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[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 QuoteWorkIntTableAdapter QuoteWorkIntTableAdapter {
|
|
get {
|
|
return this._quoteWorkIntTableAdapter;
|
|
}
|
|
set {
|
|
this._quoteWorkIntTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[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 QuoteParamTableAdapter QuoteParamTableAdapter {
|
|
get {
|
|
return this._quoteParamTableAdapter;
|
|
}
|
|
set {
|
|
this._quoteParamTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[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 QuoteOCTableAdapter QuoteOCTableAdapter {
|
|
get {
|
|
return this._quoteOCTableAdapter;
|
|
}
|
|
set {
|
|
this._quoteOCTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[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")]
|
|
[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 RawMatDetTableAdapter RawMatDetTableAdapter {
|
|
get {
|
|
return this._rawMatDetTableAdapter;
|
|
}
|
|
set {
|
|
this._rawMatDetTableAdapter = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool BackupDataSetBeforeUpdate {
|
|
get {
|
|
return this._backupDataSetBeforeUpdate;
|
|
}
|
|
set {
|
|
this._backupDataSetBeforeUpdate = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public global::System.Data.IDbConnection Connection {
|
|
get {
|
|
if ((this._connection != null)) {
|
|
return this._connection;
|
|
}
|
|
if (((this._quoteListTableAdapter != null)
|
|
&& (this._quoteListTableAdapter.Connection != null))) {
|
|
return this._quoteListTableAdapter.Connection;
|
|
}
|
|
if (((this._quoteRMTableAdapter != null)
|
|
&& (this._quoteRMTableAdapter.Connection != null))) {
|
|
return this._quoteRMTableAdapter.Connection;
|
|
}
|
|
if (((this._quoteWorkExtTableAdapter != null)
|
|
&& (this._quoteWorkExtTableAdapter.Connection != null))) {
|
|
return this._quoteWorkExtTableAdapter.Connection;
|
|
}
|
|
if (((this._quoteWorkIntTableAdapter != null)
|
|
&& (this._quoteWorkIntTableAdapter.Connection != null))) {
|
|
return this._quoteWorkIntTableAdapter.Connection;
|
|
}
|
|
if (((this._quoteParamTableAdapter != null)
|
|
&& (this._quoteParamTableAdapter.Connection != null))) {
|
|
return this._quoteParamTableAdapter.Connection;
|
|
}
|
|
if (((this._quoteOCTableAdapter != null)
|
|
&& (this._quoteOCTableAdapter.Connection != null))) {
|
|
return this._quoteOCTableAdapter.Connection;
|
|
}
|
|
if (((this._quoteFull_STableAdapter != null)
|
|
&& (this._quoteFull_STableAdapter.Connection != null))) {
|
|
return this._quoteFull_STableAdapter.Connection;
|
|
}
|
|
if (((this._rawMatDetTableAdapter != null)
|
|
&& (this._rawMatDetTableAdapter.Connection != null))) {
|
|
return this._rawMatDetTableAdapter.Connection;
|
|
}
|
|
return null;
|
|
}
|
|
set {
|
|
this._connection = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public int TableAdapterInstanceCount {
|
|
get {
|
|
int count = 0;
|
|
if ((this._quoteListTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._quoteRMTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._quoteWorkExtTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._quoteWorkIntTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._quoteParamTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._quoteOCTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._quoteFull_STableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._rawMatDetTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
return count;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Update rows in top-down order.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private int UpdateUpdatedRows(DS_Quotes dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
|
int result = 0;
|
|
if ((this._quoteListTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.QuoteList.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._quoteListTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._quoteRMTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.QuoteRM.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._quoteRMTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._quoteWorkExtTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.QuoteWorkExt.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._quoteWorkExtTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._quoteWorkIntTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.QuoteWorkInt.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._quoteWorkIntTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._quoteParamTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.QuoteParam.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._quoteParamTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._quoteOCTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.QuoteOC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._quoteOCTableAdapter.Update(updatedRows));
|
|
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);
|
|
}
|
|
}
|
|
if ((this._rawMatDetTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.RawMatDet.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._rawMatDetTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
/// <summary>
|
|
///Insert rows in top-down order.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private int UpdateInsertedRows(DS_Quotes dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
|
int result = 0;
|
|
if ((this._quoteListTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.QuoteList.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._quoteListTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._quoteRMTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.QuoteRM.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._quoteRMTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._quoteWorkExtTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.QuoteWorkExt.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._quoteWorkExtTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._quoteWorkIntTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.QuoteWorkInt.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._quoteWorkIntTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._quoteParamTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.QuoteParam.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._quoteParamTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._quoteOCTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.QuoteOC.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._quoteOCTableAdapter.Update(addedRows));
|
|
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);
|
|
}
|
|
}
|
|
if ((this._rawMatDetTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.RawMatDet.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._rawMatDetTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
/// <summary>
|
|
///Delete rows in bottom-up order.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private int UpdateDeletedRows(DS_Quotes dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
|
|
int result = 0;
|
|
if ((this._rawMatDetTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.RawMatDet.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._rawMatDetTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
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)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._quoteOCTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._quoteParamTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.QuoteParam.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._quoteParamTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._quoteWorkIntTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.QuoteWorkInt.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._quoteWorkIntTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._quoteWorkExtTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.QuoteWorkExt.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._quoteWorkExtTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._quoteRMTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.QuoteRM.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._quoteRMTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._quoteListTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.QuoteList.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._quoteListTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
/// <summary>
|
|
///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
|
|
if (((updatedRows == null)
|
|
|| (updatedRows.Length < 1))) {
|
|
return updatedRows;
|
|
}
|
|
if (((allAddedRows == null)
|
|
|| (allAddedRows.Count < 1))) {
|
|
return updatedRows;
|
|
}
|
|
global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
|
|
for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = updatedRows[i];
|
|
if ((allAddedRows.Contains(row) == false)) {
|
|
realUpdatedRows.Add(row);
|
|
}
|
|
}
|
|
return realUpdatedRows.ToArray();
|
|
}
|
|
|
|
/// <summary>
|
|
///Update all changes to the dataset.
|
|
///</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public virtual int UpdateAll(DS_Quotes dataSet) {
|
|
if ((dataSet == null)) {
|
|
throw new global::System.ArgumentNullException("dataSet");
|
|
}
|
|
if ((dataSet.HasChanges() == false)) {
|
|
return 0;
|
|
}
|
|
if (((this._quoteListTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._quoteListTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._quoteRMTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._quoteRMTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._quoteWorkExtTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._quoteWorkExtTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._quoteWorkIntTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._quoteWorkIntTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._quoteParamTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._quoteParamTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._quoteOCTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._quoteOCTableAdapter.Connection) == false))) {
|
|
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.");
|
|
}
|
|
if (((this._rawMatDetTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._rawMatDetTableAdapter.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" +
|
|
"ger TableAdapter property to a valid TableAdapter instance.");
|
|
}
|
|
bool workConnOpened = false;
|
|
if (((workConnection.State & global::System.Data.ConnectionState.Broken)
|
|
== global::System.Data.ConnectionState.Broken)) {
|
|
workConnection.Close();
|
|
}
|
|
if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
|
|
workConnection.Open();
|
|
workConnOpened = true;
|
|
}
|
|
global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
|
|
if ((workTransaction == null)) {
|
|
throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" +
|
|
"ctions or the current state is not allowing the transaction to begin.");
|
|
}
|
|
global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
|
|
global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
|
|
global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
|
|
global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
|
|
int result = 0;
|
|
global::System.Data.DataSet backupDataSet = null;
|
|
if (this.BackupDataSetBeforeUpdate) {
|
|
backupDataSet = new global::System.Data.DataSet();
|
|
backupDataSet.Merge(dataSet);
|
|
}
|
|
try {
|
|
// ---- Prepare for update -----------
|
|
//
|
|
if ((this._quoteListTableAdapter != null)) {
|
|
revertConnections.Add(this._quoteListTableAdapter, this._quoteListTableAdapter.Connection);
|
|
this._quoteListTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._quoteListTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._quoteListTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._quoteListTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._quoteListTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._quoteRMTableAdapter != null)) {
|
|
revertConnections.Add(this._quoteRMTableAdapter, this._quoteRMTableAdapter.Connection);
|
|
this._quoteRMTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._quoteRMTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._quoteRMTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._quoteRMTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._quoteRMTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._quoteWorkExtTableAdapter != null)) {
|
|
revertConnections.Add(this._quoteWorkExtTableAdapter, this._quoteWorkExtTableAdapter.Connection);
|
|
this._quoteWorkExtTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._quoteWorkExtTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._quoteWorkExtTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._quoteWorkExtTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._quoteWorkExtTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._quoteWorkIntTableAdapter != null)) {
|
|
revertConnections.Add(this._quoteWorkIntTableAdapter, this._quoteWorkIntTableAdapter.Connection);
|
|
this._quoteWorkIntTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._quoteWorkIntTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._quoteWorkIntTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._quoteWorkIntTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._quoteWorkIntTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._quoteParamTableAdapter != null)) {
|
|
revertConnections.Add(this._quoteParamTableAdapter, this._quoteParamTableAdapter.Connection);
|
|
this._quoteParamTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._quoteParamTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._quoteParamTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._quoteParamTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._quoteParamTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._quoteOCTableAdapter != null)) {
|
|
revertConnections.Add(this._quoteOCTableAdapter, this._quoteOCTableAdapter.Connection);
|
|
this._quoteOCTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._quoteOCTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._quoteOCTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._quoteOCTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
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);
|
|
}
|
|
}
|
|
if ((this._rawMatDetTableAdapter != null)) {
|
|
revertConnections.Add(this._rawMatDetTableAdapter, this._rawMatDetTableAdapter.Connection);
|
|
this._rawMatDetTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._rawMatDetTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._rawMatDetTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._rawMatDetTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._rawMatDetTableAdapter.Adapter);
|
|
}
|
|
}
|
|
//
|
|
//---- Perform updates -----------
|
|
//
|
|
if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
|
|
result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
|
|
result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
|
|
}
|
|
else {
|
|
result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
|
|
result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
|
|
}
|
|
result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
|
|
//
|
|
//---- Commit updates -----------
|
|
//
|
|
workTransaction.Commit();
|
|
if ((0 < allAddedRows.Count)) {
|
|
global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
|
|
allAddedRows.CopyTo(rows);
|
|
for (int i = 0; (i < rows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = rows[i];
|
|
row.AcceptChanges();
|
|
}
|
|
}
|
|
if ((0 < allChangedRows.Count)) {
|
|
global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
|
|
allChangedRows.CopyTo(rows);
|
|
for (int i = 0; (i < rows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = rows[i];
|
|
row.AcceptChanges();
|
|
}
|
|
}
|
|
}
|
|
catch (global::System.Exception ex) {
|
|
workTransaction.Rollback();
|
|
// ---- Restore the dataset -----------
|
|
if (this.BackupDataSetBeforeUpdate) {
|
|
global::System.Diagnostics.Debug.Assert((backupDataSet != null));
|
|
dataSet.Clear();
|
|
dataSet.Merge(backupDataSet);
|
|
}
|
|
else {
|
|
if ((0 < allAddedRows.Count)) {
|
|
global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
|
|
allAddedRows.CopyTo(rows);
|
|
for (int i = 0; (i < rows.Length); i = (i + 1)) {
|
|
global::System.Data.DataRow row = rows[i];
|
|
row.AcceptChanges();
|
|
row.SetAdded();
|
|
}
|
|
}
|
|
}
|
|
throw ex;
|
|
}
|
|
finally {
|
|
if (workConnOpened) {
|
|
workConnection.Close();
|
|
}
|
|
if ((this._quoteListTableAdapter != null)) {
|
|
this._quoteListTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteListTableAdapter]));
|
|
this._quoteListTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._quoteRMTableAdapter != null)) {
|
|
this._quoteRMTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteRMTableAdapter]));
|
|
this._quoteRMTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._quoteWorkExtTableAdapter != null)) {
|
|
this._quoteWorkExtTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteWorkExtTableAdapter]));
|
|
this._quoteWorkExtTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._quoteWorkIntTableAdapter != null)) {
|
|
this._quoteWorkIntTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteWorkIntTableAdapter]));
|
|
this._quoteWorkIntTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._quoteParamTableAdapter != null)) {
|
|
this._quoteParamTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._quoteParamTableAdapter]));
|
|
this._quoteParamTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._quoteOCTableAdapter != null)) {
|
|
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 ((this._rawMatDetTableAdapter != null)) {
|
|
this._rawMatDetTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._rawMatDetTableAdapter]));
|
|
this._rawMatDetTableAdapter.Transaction = null;
|
|
}
|
|
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
|
|
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
|
|
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
|
|
for (int i = 0; (i < adapters.Length); i = (i + 1)) {
|
|
global::System.Data.Common.DataAdapter adapter = adapters[i];
|
|
adapter.AcceptChangesDuringUpdate = true;
|
|
}
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
|
|
global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
|
|
if ((this._connection != null)) {
|
|
return true;
|
|
}
|
|
if (((this.Connection == null)
|
|
|| (inputConnection == null))) {
|
|
return true;
|
|
}
|
|
if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
/// <summary>
|
|
///Update Order Option
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public enum UpdateOrderOption {
|
|
|
|
InsertUpdateDelete = 0,
|
|
|
|
UpdateInsertDelete = 1,
|
|
}
|
|
|
|
/// <summary>
|
|
///Used to sort self-referenced table's rows
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
|
|
|
|
private global::System.Data.DataRelation _relation;
|
|
|
|
private int _childFirst;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
|
|
this._relation = relation;
|
|
if (childFirst) {
|
|
this._childFirst = -1;
|
|
}
|
|
else {
|
|
this._childFirst = 1;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
|
|
global::System.Diagnostics.Debug.Assert((row != null));
|
|
global::System.Data.DataRow root = row;
|
|
distance = 0;
|
|
|
|
global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows = new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
|
|
traversedRows[row] = row;
|
|
|
|
global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
|
|
for (
|
|
; ((parent != null)
|
|
&& (traversedRows.ContainsKey(parent) == false));
|
|
) {
|
|
distance = (distance + 1);
|
|
root = parent;
|
|
traversedRows[parent] = parent;
|
|
parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
|
|
}
|
|
|
|
if ((distance == 0)) {
|
|
traversedRows.Clear();
|
|
traversedRows[row] = row;
|
|
parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
|
|
for (
|
|
; ((parent != null)
|
|
&& (traversedRows.ContainsKey(parent) == false));
|
|
) {
|
|
distance = (distance + 1);
|
|
root = parent;
|
|
traversedRows[parent] = parent;
|
|
parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
|
|
}
|
|
}
|
|
|
|
return root;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
|
|
if (object.ReferenceEquals(row1, row2)) {
|
|
return 0;
|
|
}
|
|
if ((row1 == null)) {
|
|
return -1;
|
|
}
|
|
if ((row2 == null)) {
|
|
return 1;
|
|
}
|
|
|
|
int distance1 = 0;
|
|
global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
|
|
|
|
int distance2 = 0;
|
|
global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
|
|
|
|
if (object.ReferenceEquals(root1, root2)) {
|
|
return (this._childFirst * distance1.CompareTo(distance2));
|
|
}
|
|
else {
|
|
global::System.Diagnostics.Debug.Assert(((root1.Table != null)
|
|
&& (root2.Table != null)));
|
|
if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
|
|
return -1;
|
|
}
|
|
else {
|
|
return 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#pragma warning restore 1591 |