30738 lines
1.7 MiB
Plaintext
30738 lines
1.7 MiB
Plaintext
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// 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 stp_checkValidQuoteDataTable tablestp_checkValidQuote;
|
|
|
|
private prtQuoteDataTable tableprtQuote;
|
|
|
|
private stp_chekLastRevQuoteDataTable tablestp_chekLastRevQuote;
|
|
|
|
private PackagDetDataTable tablePackagDet;
|
|
|
|
private AgentsDetDataTable tableAgentsDet;
|
|
|
|
private PlantsDetDataTable tablePlantsDet;
|
|
|
|
private UtilitiesDataTable tableUtilities;
|
|
|
|
private Cost2PlantDataTable tableCost2Plant;
|
|
|
|
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.DataRelation relationFK_Cost2Plant_PlantsDet;
|
|
|
|
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"]));
|
|
}
|
|
if ((ds.Tables["stp_checkValidQuote"] != null)) {
|
|
base.Tables.Add(new stp_checkValidQuoteDataTable(ds.Tables["stp_checkValidQuote"]));
|
|
}
|
|
if ((ds.Tables["prtQuote"] != null)) {
|
|
base.Tables.Add(new prtQuoteDataTable(ds.Tables["prtQuote"]));
|
|
}
|
|
if ((ds.Tables["stp_chekLastRevQuote"] != null)) {
|
|
base.Tables.Add(new stp_chekLastRevQuoteDataTable(ds.Tables["stp_chekLastRevQuote"]));
|
|
}
|
|
if ((ds.Tables["PackagDet"] != null)) {
|
|
base.Tables.Add(new PackagDetDataTable(ds.Tables["PackagDet"]));
|
|
}
|
|
if ((ds.Tables["AgentsDet"] != null)) {
|
|
base.Tables.Add(new AgentsDetDataTable(ds.Tables["AgentsDet"]));
|
|
}
|
|
if ((ds.Tables["PlantsDet"] != null)) {
|
|
base.Tables.Add(new PlantsDetDataTable(ds.Tables["PlantsDet"]));
|
|
}
|
|
if ((ds.Tables["Utilities"] != null)) {
|
|
base.Tables.Add(new UtilitiesDataTable(ds.Tables["Utilities"]));
|
|
}
|
|
if ((ds.Tables["Cost2Plant"] != null)) {
|
|
base.Tables.Add(new Cost2PlantDataTable(ds.Tables["Cost2Plant"]));
|
|
}
|
|
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.Browsable(false)]
|
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
public stp_checkValidQuoteDataTable stp_checkValidQuote {
|
|
get {
|
|
return this.tablestp_checkValidQuote;
|
|
}
|
|
}
|
|
|
|
[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 prtQuoteDataTable prtQuote {
|
|
get {
|
|
return this.tableprtQuote;
|
|
}
|
|
}
|
|
|
|
[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 stp_chekLastRevQuoteDataTable stp_chekLastRevQuote {
|
|
get {
|
|
return this.tablestp_chekLastRevQuote;
|
|
}
|
|
}
|
|
|
|
[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 PackagDetDataTable PackagDet {
|
|
get {
|
|
return this.tablePackagDet;
|
|
}
|
|
}
|
|
|
|
[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 AgentsDetDataTable AgentsDet {
|
|
get {
|
|
return this.tableAgentsDet;
|
|
}
|
|
}
|
|
|
|
[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 PlantsDetDataTable PlantsDet {
|
|
get {
|
|
return this.tablePlantsDet;
|
|
}
|
|
}
|
|
|
|
[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 UtilitiesDataTable Utilities {
|
|
get {
|
|
return this.tableUtilities;
|
|
}
|
|
}
|
|
|
|
[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 Cost2PlantDataTable Cost2Plant {
|
|
get {
|
|
return this.tableCost2Plant;
|
|
}
|
|
}
|
|
|
|
[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"]));
|
|
}
|
|
if ((ds.Tables["stp_checkValidQuote"] != null)) {
|
|
base.Tables.Add(new stp_checkValidQuoteDataTable(ds.Tables["stp_checkValidQuote"]));
|
|
}
|
|
if ((ds.Tables["prtQuote"] != null)) {
|
|
base.Tables.Add(new prtQuoteDataTable(ds.Tables["prtQuote"]));
|
|
}
|
|
if ((ds.Tables["stp_chekLastRevQuote"] != null)) {
|
|
base.Tables.Add(new stp_chekLastRevQuoteDataTable(ds.Tables["stp_chekLastRevQuote"]));
|
|
}
|
|
if ((ds.Tables["PackagDet"] != null)) {
|
|
base.Tables.Add(new PackagDetDataTable(ds.Tables["PackagDet"]));
|
|
}
|
|
if ((ds.Tables["AgentsDet"] != null)) {
|
|
base.Tables.Add(new AgentsDetDataTable(ds.Tables["AgentsDet"]));
|
|
}
|
|
if ((ds.Tables["PlantsDet"] != null)) {
|
|
base.Tables.Add(new PlantsDetDataTable(ds.Tables["PlantsDet"]));
|
|
}
|
|
if ((ds.Tables["Utilities"] != null)) {
|
|
base.Tables.Add(new UtilitiesDataTable(ds.Tables["Utilities"]));
|
|
}
|
|
if ((ds.Tables["Cost2Plant"] != null)) {
|
|
base.Tables.Add(new Cost2PlantDataTable(ds.Tables["Cost2Plant"]));
|
|
}
|
|
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.tablestp_checkValidQuote = ((stp_checkValidQuoteDataTable)(base.Tables["stp_checkValidQuote"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablestp_checkValidQuote != null)) {
|
|
this.tablestp_checkValidQuote.InitVars();
|
|
}
|
|
}
|
|
this.tableprtQuote = ((prtQuoteDataTable)(base.Tables["prtQuote"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableprtQuote != null)) {
|
|
this.tableprtQuote.InitVars();
|
|
}
|
|
}
|
|
this.tablestp_chekLastRevQuote = ((stp_chekLastRevQuoteDataTable)(base.Tables["stp_chekLastRevQuote"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablestp_chekLastRevQuote != null)) {
|
|
this.tablestp_chekLastRevQuote.InitVars();
|
|
}
|
|
}
|
|
this.tablePackagDet = ((PackagDetDataTable)(base.Tables["PackagDet"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablePackagDet != null)) {
|
|
this.tablePackagDet.InitVars();
|
|
}
|
|
}
|
|
this.tableAgentsDet = ((AgentsDetDataTable)(base.Tables["AgentsDet"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableAgentsDet != null)) {
|
|
this.tableAgentsDet.InitVars();
|
|
}
|
|
}
|
|
this.tablePlantsDet = ((PlantsDetDataTable)(base.Tables["PlantsDet"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tablePlantsDet != null)) {
|
|
this.tablePlantsDet.InitVars();
|
|
}
|
|
}
|
|
this.tableUtilities = ((UtilitiesDataTable)(base.Tables["Utilities"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableUtilities != null)) {
|
|
this.tableUtilities.InitVars();
|
|
}
|
|
}
|
|
this.tableCost2Plant = ((Cost2PlantDataTable)(base.Tables["Cost2Plant"]));
|
|
if ((initTable == true)) {
|
|
if ((this.tableCost2Plant != null)) {
|
|
this.tableCost2Plant.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"];
|
|
this.relationFK_Cost2Plant_PlantsDet = this.Relations["FK_Cost2Plant_PlantsDet"];
|
|
}
|
|
|
|
[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.tablestp_checkValidQuote = new stp_checkValidQuoteDataTable();
|
|
base.Tables.Add(this.tablestp_checkValidQuote);
|
|
this.tableprtQuote = new prtQuoteDataTable();
|
|
base.Tables.Add(this.tableprtQuote);
|
|
this.tablestp_chekLastRevQuote = new stp_chekLastRevQuoteDataTable();
|
|
base.Tables.Add(this.tablestp_chekLastRevQuote);
|
|
this.tablePackagDet = new PackagDetDataTable();
|
|
base.Tables.Add(this.tablePackagDet);
|
|
this.tableAgentsDet = new AgentsDetDataTable();
|
|
base.Tables.Add(this.tableAgentsDet);
|
|
this.tablePlantsDet = new PlantsDetDataTable();
|
|
base.Tables.Add(this.tablePlantsDet);
|
|
this.tableUtilities = new UtilitiesDataTable();
|
|
base.Tables.Add(this.tableUtilities);
|
|
this.tableCost2Plant = new Cost2PlantDataTable();
|
|
base.Tables.Add(this.tableCost2Plant);
|
|
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);
|
|
this.relationFK_Cost2Plant_PlantsDet = new global::System.Data.DataRelation("FK_Cost2Plant_PlantsDet", new global::System.Data.DataColumn[] {
|
|
this.tablePlantsDet.CodPlantColumn}, new global::System.Data.DataColumn[] {
|
|
this.tableCost2Plant.CodPlantColumn}, false);
|
|
this.Relations.Add(this.relationFK_Cost2Plant_PlantsDet);
|
|
}
|
|
|
|
[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 bool ShouldSerializestp_checkValidQuote() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeprtQuote() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializestp_chekLastRevQuote() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializePackagDet() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeAgentsDet() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializePlantsDet() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeUtilities() {
|
|
return false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private bool ShouldSerializeCost2Plant() {
|
|
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);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void stp_checkValidQuoteRowChangeEventHandler(object sender, stp_checkValidQuoteRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void prtQuoteRowChangeEventHandler(object sender, prtQuoteRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void stp_chekLastRevQuoteRowChangeEventHandler(object sender, stp_chekLastRevQuoteRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void PackagDetRowChangeEventHandler(object sender, PackagDetRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void AgentsDetRowChangeEventHandler(object sender, AgentsDetRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void PlantsDetRowChangeEventHandler(object sender, PlantsDetRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void UtilitiesRowChangeEventHandler(object sender, UtilitiesRowChangeEvent e);
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public delegate void Cost2PlantRowChangeEventHandler(object sender, Cost2PlantRowChangeEvent 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 columnOfferResult;
|
|
|
|
private global::System.Data.DataColumn columnKoReason;
|
|
|
|
private global::System.Data.DataColumn columnAgente;
|
|
|
|
private global::System.Data.DataColumn columnProdType;
|
|
|
|
private global::System.Data.DataColumn columnIdxQState;
|
|
|
|
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 columnOrdQty;
|
|
|
|
private global::System.Data.DataColumn columnvalid;
|
|
|
|
private global::System.Data.DataColumn columnerrorScore;
|
|
|
|
private global::System.Data.DataColumn columnUserCreaz;
|
|
|
|
private global::System.Data.DataColumn columnDataCreaz;
|
|
|
|
private global::System.Data.DataColumn columnUserMod;
|
|
|
|
private global::System.Data.DataColumn columnDataMod;
|
|
|
|
[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 OfferResultColumn {
|
|
get {
|
|
return this.columnOfferResult;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn KoReasonColumn {
|
|
get {
|
|
return this.columnKoReason;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn AgenteColumn {
|
|
get {
|
|
return this.columnAgente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ProdTypeColumn {
|
|
get {
|
|
return this.columnProdType;
|
|
}
|
|
}
|
|
|
|
[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 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 OrdQtyColumn {
|
|
get {
|
|
return this.columnOrdQty;
|
|
}
|
|
}
|
|
|
|
[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 UserCreazColumn {
|
|
get {
|
|
return this.columnUserCreaz;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataCreazColumn {
|
|
get {
|
|
return this.columnDataCreaz;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn UserModColumn {
|
|
get {
|
|
return this.columnUserMod;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DataModColumn {
|
|
get {
|
|
return this.columnDataMod;
|
|
}
|
|
}
|
|
|
|
[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 OfferResult,
|
|
string KoReason,
|
|
string Agente,
|
|
string ProdType,
|
|
int IdxQState,
|
|
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 OrdQty,
|
|
bool valid,
|
|
int errorScore,
|
|
string UserCreaz,
|
|
System.DateTime DataCreaz,
|
|
string UserMod,
|
|
System.DateTime DataMod) {
|
|
QuoteListRow rowQuoteListRow = ((QuoteListRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
OfferResult,
|
|
KoReason,
|
|
Agente,
|
|
ProdType,
|
|
IdxQState,
|
|
CodClient,
|
|
CodItem,
|
|
CodItemGroup,
|
|
RawMat,
|
|
UnitWeight,
|
|
BatchQty,
|
|
CodInco,
|
|
KeyAM,
|
|
Note,
|
|
PriceOff,
|
|
OrdDate,
|
|
OrdNum,
|
|
OrdRow,
|
|
OrdPrice,
|
|
OrdQty,
|
|
valid,
|
|
errorScore,
|
|
UserCreaz,
|
|
DataCreaz,
|
|
UserMod,
|
|
DataMod};
|
|
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.columnOfferResult = base.Columns["OfferResult"];
|
|
this.columnKoReason = base.Columns["KoReason"];
|
|
this.columnAgente = base.Columns["Agente"];
|
|
this.columnProdType = base.Columns["ProdType"];
|
|
this.columnIdxQState = base.Columns["IdxQState"];
|
|
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.columnOrdQty = base.Columns["OrdQty"];
|
|
this.columnvalid = base.Columns["valid"];
|
|
this.columnerrorScore = base.Columns["errorScore"];
|
|
this.columnUserCreaz = base.Columns["UserCreaz"];
|
|
this.columnDataCreaz = base.Columns["DataCreaz"];
|
|
this.columnUserMod = base.Columns["UserMod"];
|
|
this.columnDataMod = base.Columns["DataMod"];
|
|
}
|
|
|
|
[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.columnOfferResult = new global::System.Data.DataColumn("OfferResult", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOfferResult);
|
|
this.columnKoReason = new global::System.Data.DataColumn("KoReason", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnKoReason);
|
|
this.columnAgente = new global::System.Data.DataColumn("Agente", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnAgente);
|
|
this.columnProdType = new global::System.Data.DataColumn("ProdType", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnProdType);
|
|
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.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.columnOrdQty = new global::System.Data.DataColumn("OrdQty", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOrdQty);
|
|
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.columnUserCreaz = new global::System.Data.DataColumn("UserCreaz", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnUserCreaz);
|
|
this.columnDataCreaz = new global::System.Data.DataColumn("DataCreaz", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataCreaz);
|
|
this.columnUserMod = new global::System.Data.DataColumn("UserMod", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnUserMod);
|
|
this.columnDataMod = new global::System.Data.DataColumn("DataMod", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDataMod);
|
|
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.columnOfferResult.AllowDBNull = false;
|
|
this.columnOfferResult.MaxLength = 50;
|
|
this.columnKoReason.AllowDBNull = false;
|
|
this.columnKoReason.MaxLength = 50;
|
|
this.columnAgente.AllowDBNull = false;
|
|
this.columnAgente.MaxLength = 50;
|
|
this.columnProdType.AllowDBNull = false;
|
|
this.columnProdType.MaxLength = 5;
|
|
this.columnIdxQState.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.columnOrdQty.AllowDBNull = false;
|
|
this.columnvalid.AllowDBNull = false;
|
|
this.columnerrorScore.AllowDBNull = false;
|
|
this.columnUserCreaz.AllowDBNull = false;
|
|
this.columnUserCreaz.MaxLength = 50;
|
|
this.columnDataCreaz.AllowDBNull = false;
|
|
this.columnUserMod.AllowDBNull = false;
|
|
this.columnUserMod.MaxLength = 50;
|
|
this.columnDataMod.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 columnOfferResult;
|
|
|
|
private global::System.Data.DataColumn columnKoReason;
|
|
|
|
private global::System.Data.DataColumn columnAgente;
|
|
|
|
private global::System.Data.DataColumn columnProdType;
|
|
|
|
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;
|
|
|
|
private global::System.Data.DataColumn columnDiesExpLife;
|
|
|
|
private global::System.Data.DataColumn columnDiesEOLife;
|
|
|
|
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;
|
|
|
|
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 columnvalid;
|
|
|
|
private global::System.Data.DataColumn columnerrorScore;
|
|
|
|
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 columnNetProd04_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;
|
|
|
|
[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 OfferResultColumn {
|
|
get {
|
|
return this.columnOfferResult;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn KoReasonColumn {
|
|
get {
|
|
return this.columnKoReason;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn AgenteColumn {
|
|
get {
|
|
return this.columnAgente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ProdTypeColumn {
|
|
get {
|
|
return this.columnProdType;
|
|
}
|
|
}
|
|
|
|
[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 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 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 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 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 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 NetProd04_simColumn {
|
|
get {
|
|
return this.columnNetProd04_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")]
|
|
[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 OfferResult,
|
|
string KoReason,
|
|
string Agente,
|
|
string ProdType,
|
|
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,
|
|
decimal DiesExpLife,
|
|
decimal DiesEOLife,
|
|
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,
|
|
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,
|
|
bool valid,
|
|
int errorScore,
|
|
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 NetProd04_sim,
|
|
decimal DSR_sim,
|
|
decimal NetMar_sim,
|
|
decimal FCShield_sim,
|
|
decimal MinPrice_sim,
|
|
decimal P_MinPrice_sim) {
|
|
QuoteFull_QRow rowQuoteFull_QRow = ((QuoteFull_QRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
Vers,
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
OfferResult,
|
|
KoReason,
|
|
Agente,
|
|
ProdType,
|
|
IdxQState,
|
|
CodClient,
|
|
ClientName,
|
|
CodItem,
|
|
CodItemGroup,
|
|
RawMat,
|
|
UnitWeight,
|
|
BatchQty,
|
|
CodInco,
|
|
TranspZone,
|
|
KeyAM,
|
|
Note,
|
|
PriceOff,
|
|
CodClientAssoc,
|
|
ClientNameAssoc,
|
|
ItemDescr,
|
|
CodifProfilo,
|
|
ClasseMerc,
|
|
TipoDies,
|
|
CodDiesGroup,
|
|
DiamDies,
|
|
HoleNumDies,
|
|
DiesPrice,
|
|
DiesExpLife,
|
|
DiesEOLife,
|
|
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,
|
|
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,
|
|
valid,
|
|
errorScore,
|
|
DiesPrice_sim,
|
|
SamplePrice,
|
|
DiesFullCost,
|
|
DiesPriceClientQuote,
|
|
DiesTecLife,
|
|
DiesCommLife,
|
|
MonthSalesPrev,
|
|
SalesPrevCost,
|
|
DiesFinCost,
|
|
ClientQuoteReven,
|
|
ExtraDiscountDies,
|
|
WSR01_sim,
|
|
MSR01_sim,
|
|
NetProd01_sim,
|
|
NetProd04_sim,
|
|
DSR_sim,
|
|
NetMar_sim,
|
|
FCShield_sim,
|
|
MinPrice_sim,
|
|
P_MinPrice_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.columnOfferResult = base.Columns["OfferResult"];
|
|
this.columnKoReason = base.Columns["KoReason"];
|
|
this.columnAgente = base.Columns["Agente"];
|
|
this.columnProdType = base.Columns["ProdType"];
|
|
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 = base.Columns["DiesPrice"];
|
|
this.columnDiesExpLife = base.Columns["DiesExpLife"];
|
|
this.columnDiesEOLife = base.Columns["DiesEOLife"];
|
|
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 = 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.columnvalid = base.Columns["valid"];
|
|
this.columnerrorScore = base.Columns["errorScore"];
|
|
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.columnNetProd04_sim = base.Columns["NetProd04_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"];
|
|
}
|
|
|
|
[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.columnOfferResult = new global::System.Data.DataColumn("OfferResult", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOfferResult);
|
|
this.columnKoReason = new global::System.Data.DataColumn("KoReason", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnKoReason);
|
|
this.columnAgente = new global::System.Data.DataColumn("Agente", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnAgente);
|
|
this.columnProdType = new global::System.Data.DataColumn("ProdType", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnProdType);
|
|
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 = 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.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 = 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.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.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.columnNetProd04_sim = new global::System.Data.DataColumn("NetProd04_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNetProd04_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.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.columnOfferResult.AllowDBNull = false;
|
|
this.columnOfferResult.MaxLength = 50;
|
|
this.columnKoReason.AllowDBNull = false;
|
|
this.columnKoReason.MaxLength = 50;
|
|
this.columnAgente.AllowDBNull = false;
|
|
this.columnAgente.MaxLength = 50;
|
|
this.columnProdType.AllowDBNull = false;
|
|
this.columnProdType.MaxLength = 5;
|
|
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.columnDiamDies.AllowDBNull = false;
|
|
this.columnDiesPrice.AllowDBNull = false;
|
|
this.columnDiesExpLife.AllowDBNull = false;
|
|
this.columnDiesEOLife.AllowDBNull = false;
|
|
this.columnDiesByClass.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.columnvalid.AllowDBNull = false;
|
|
this.columnerrorScore.AllowDBNull = false;
|
|
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.columnNetProd04_sim.AllowDBNull = false;
|
|
this.columnDSR_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 columnOfferResult;
|
|
|
|
private global::System.Data.DataColumn columnKoReason;
|
|
|
|
private global::System.Data.DataColumn columnAgente;
|
|
|
|
private global::System.Data.DataColumn columnProdType;
|
|
|
|
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_sim;
|
|
|
|
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_sim;
|
|
|
|
private global::System.Data.DataColumn columnWSR01;
|
|
|
|
private global::System.Data.DataColumn columnMSR01_sim;
|
|
|
|
private global::System.Data.DataColumn columnMSR01;
|
|
|
|
private global::System.Data.DataColumn columnNetProd01_sim;
|
|
|
|
private global::System.Data.DataColumn columnNetProd04_sim;
|
|
|
|
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_sim;
|
|
|
|
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 OfferResultColumn {
|
|
get {
|
|
return this.columnOfferResult;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn KoReasonColumn {
|
|
get {
|
|
return this.columnKoReason;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn AgenteColumn {
|
|
get {
|
|
return this.columnAgente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ProdTypeColumn {
|
|
get {
|
|
return this.columnProdType;
|
|
}
|
|
}
|
|
|
|
[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_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 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_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 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_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 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_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 NetProd04_simColumn {
|
|
get {
|
|
return this.columnNetProd04_sim;
|
|
}
|
|
}
|
|
|
|
[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_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 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,
|
|
string OfferResult,
|
|
string KoReason,
|
|
string Agente,
|
|
string ProdType,
|
|
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_sim,
|
|
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,
|
|
int 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_sim,
|
|
decimal WSR01,
|
|
decimal MSR01_sim,
|
|
decimal MSR01,
|
|
decimal NetProd01_sim,
|
|
decimal NetProd04_sim,
|
|
decimal NetProd01,
|
|
decimal FC4UG01,
|
|
decimal VC4UG01,
|
|
decimal OH4UG01,
|
|
decimal SC4UG01,
|
|
decimal DSR_sim,
|
|
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,
|
|
OfferResult,
|
|
KoReason,
|
|
Agente,
|
|
ProdType,
|
|
IdxQState,
|
|
CodClient,
|
|
ClientName,
|
|
CodItem,
|
|
CodItemGroup,
|
|
RawMat,
|
|
UnitWeight,
|
|
BatchQty,
|
|
CodInco,
|
|
TranspZone,
|
|
KeyAM,
|
|
Note,
|
|
PriceOff,
|
|
CodClientAssoc,
|
|
ClientNameAssoc,
|
|
ItemDescr,
|
|
CodifProfilo,
|
|
ClasseMerc,
|
|
TipoDies,
|
|
CodDiesGroup,
|
|
DiamDies,
|
|
HoleNumDies,
|
|
DiesPrice_sim,
|
|
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_sim,
|
|
WSR01,
|
|
MSR01_sim,
|
|
MSR01,
|
|
NetProd01_sim,
|
|
NetProd04_sim,
|
|
NetProd01,
|
|
FC4UG01,
|
|
VC4UG01,
|
|
OH4UG01,
|
|
SC4UG01,
|
|
DSR_sim,
|
|
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.columnOfferResult = base.Columns["OfferResult"];
|
|
this.columnKoReason = base.Columns["KoReason"];
|
|
this.columnAgente = base.Columns["Agente"];
|
|
this.columnProdType = base.Columns["ProdType"];
|
|
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_sim = base.Columns["DiesPrice_sim"];
|
|
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_sim = base.Columns["WSR01_sim"];
|
|
this.columnWSR01 = base.Columns["WSR01"];
|
|
this.columnMSR01_sim = base.Columns["MSR01_sim"];
|
|
this.columnMSR01 = base.Columns["MSR01"];
|
|
this.columnNetProd01_sim = base.Columns["NetProd01_sim"];
|
|
this.columnNetProd04_sim = base.Columns["NetProd04_sim"];
|
|
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_sim = base.Columns["DSR_sim"];
|
|
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.columnOfferResult = new global::System.Data.DataColumn("OfferResult", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOfferResult);
|
|
this.columnKoReason = new global::System.Data.DataColumn("KoReason", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnKoReason);
|
|
this.columnAgente = new global::System.Data.DataColumn("Agente", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnAgente);
|
|
this.columnProdType = new global::System.Data.DataColumn("ProdType", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnProdType);
|
|
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_sim = new global::System.Data.DataColumn("DiesPrice_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDiesPrice_sim);
|
|
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(int), 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_sim = new global::System.Data.DataColumn("WSR01_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnWSR01_sim);
|
|
this.columnWSR01 = new global::System.Data.DataColumn("WSR01", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnWSR01);
|
|
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.columnMSR01 = new global::System.Data.DataColumn("MSR01", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnMSR01);
|
|
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.columnNetProd04_sim = new global::System.Data.DataColumn("NetProd04_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNetProd04_sim);
|
|
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_sim = new global::System.Data.DataColumn("DSR_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDSR_sim);
|
|
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.columnOfferResult.AllowDBNull = false;
|
|
this.columnOfferResult.MaxLength = 50;
|
|
this.columnKoReason.AllowDBNull = false;
|
|
this.columnKoReason.MaxLength = 50;
|
|
this.columnAgente.AllowDBNull = false;
|
|
this.columnAgente.MaxLength = 50;
|
|
this.columnProdType.AllowDBNull = false;
|
|
this.columnProdType.MaxLength = 5;
|
|
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.columnDiamDies.AllowDBNull = false;
|
|
this.columnHoleNumDies.AllowDBNull = false;
|
|
this.columnDiesPrice_sim.AllowDBNull = false;
|
|
this.columnDiesPrice.AllowDBNull = false;
|
|
this.columnSamplePrice.AllowDBNull = false;
|
|
this.columnDiesFullCost.AllowDBNull = false;
|
|
this.columnDiesPriceClientQuote.AllowDBNull = false;
|
|
this.columnDiesExpLife.AllowDBNull = false;
|
|
this.columnDiesEOLife.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.columnDiesByClass.AllowDBNull = false;
|
|
this.columnNumDiesInList.AllowDBNull = false;
|
|
this.columnNumDiesExaust.AllowDBNull = false;
|
|
this.columnCodPlant.MaxLength = 100;
|
|
this.columnKeyAMIL.MaxLength = 100;
|
|
this.columnKgTeo.AllowDBNull = false;
|
|
this.columnNumSMED.AllowDBNull = false;
|
|
this.columnQuotaMan.AllowDBNull = false;
|
|
this.columnPRMWeight.AllowDBNull = false;
|
|
this.columnPWeight.AllowDBNull = false;
|
|
this.columnPTare.AllowDBNull = false;
|
|
this.columnLivPackage.MaxLength = 100;
|
|
this.columnLivPackageDett.MaxLength = 100;
|
|
this.columnRawMatCost.AllowDBNull = false;
|
|
this.columnRawMatExtraCost.AllowDBNull = false;
|
|
this.columnRawMatFullCost.AllowDBNull = false;
|
|
this.columnCodPackag.AllowDBNull = false;
|
|
this.columnCodPackag.MaxLength = 50;
|
|
this.columnPkgDesc.MaxLength = 100;
|
|
this.columnFSR.AllowDBNull = false;
|
|
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_sim.AllowDBNull = false;
|
|
this.columnWSR01.AllowDBNull = false;
|
|
this.columnMSR01_sim.AllowDBNull = false;
|
|
this.columnMSR01.AllowDBNull = false;
|
|
this.columnNetProd01_sim.AllowDBNull = false;
|
|
this.columnNetProd04_sim.AllowDBNull = false;
|
|
this.columnNetProd01.AllowDBNull = false;
|
|
this.columnFC4UG01.AllowDBNull = false;
|
|
this.columnVC4UG01.AllowDBNull = false;
|
|
this.columnOH4UG01.AllowDBNull = false;
|
|
this.columnSC4UG01.AllowDBNull = false;
|
|
this.columnDSR_sim.AllowDBNull = false;
|
|
this.columnDSR.AllowDBNull = false;
|
|
this.columnNetProd04.AllowDBNull = false;
|
|
this.columnFC4UG04.AllowDBNull = false;
|
|
this.columnVC4UG04.AllowDBNull = false;
|
|
this.columnFVC.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 the strongly named DataTable class.
|
|
///</summary>
|
|
[global::System.Serializable()]
|
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
public partial class stp_checkValidQuoteDataTable : global::System.Data.TypedTableBase<stp_checkValidQuoteRow> {
|
|
|
|
private global::System.Data.DataColumn columncheckOk;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_checkValidQuoteDataTable() {
|
|
this.TableName = "stp_checkValidQuote";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_checkValidQuoteDataTable(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 stp_checkValidQuoteDataTable(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 checkOkColumn {
|
|
get {
|
|
return this.columncheckOk;
|
|
}
|
|
}
|
|
|
|
[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 stp_checkValidQuoteRow this[int index] {
|
|
get {
|
|
return ((stp_checkValidQuoteRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_checkValidQuoteRowChangeEventHandler stp_checkValidQuoteRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_checkValidQuoteRowChangeEventHandler stp_checkValidQuoteRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_checkValidQuoteRowChangeEventHandler stp_checkValidQuoteRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_checkValidQuoteRowChangeEventHandler stp_checkValidQuoteRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Addstp_checkValidQuoteRow(stp_checkValidQuoteRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_checkValidQuoteRow Addstp_checkValidQuoteRow(bool checkOk) {
|
|
stp_checkValidQuoteRow rowstp_checkValidQuoteRow = ((stp_checkValidQuoteRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
checkOk};
|
|
rowstp_checkValidQuoteRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowstp_checkValidQuoteRow);
|
|
return rowstp_checkValidQuoteRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
stp_checkValidQuoteDataTable cln = ((stp_checkValidQuoteDataTable)(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 stp_checkValidQuoteDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columncheckOk = base.Columns["checkOk"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columncheckOk = new global::System.Data.DataColumn("checkOk", typeof(bool), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columncheckOk);
|
|
this.columncheckOk.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_checkValidQuoteRow Newstp_checkValidQuoteRow() {
|
|
return ((stp_checkValidQuoteRow)(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 stp_checkValidQuoteRow(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(stp_checkValidQuoteRow);
|
|
}
|
|
|
|
[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.stp_checkValidQuoteRowChanged != null)) {
|
|
this.stp_checkValidQuoteRowChanged(this, new stp_checkValidQuoteRowChangeEvent(((stp_checkValidQuoteRow)(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.stp_checkValidQuoteRowChanging != null)) {
|
|
this.stp_checkValidQuoteRowChanging(this, new stp_checkValidQuoteRowChangeEvent(((stp_checkValidQuoteRow)(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.stp_checkValidQuoteRowDeleted != null)) {
|
|
this.stp_checkValidQuoteRowDeleted(this, new stp_checkValidQuoteRowChangeEvent(((stp_checkValidQuoteRow)(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.stp_checkValidQuoteRowDeleting != null)) {
|
|
this.stp_checkValidQuoteRowDeleting(this, new stp_checkValidQuoteRowChangeEvent(((stp_checkValidQuoteRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Removestp_checkValidQuoteRow(stp_checkValidQuoteRow 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 = "stp_checkValidQuoteDataTable";
|
|
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 prtQuoteDataTable : global::System.Data.TypedTableBase<prtQuoteRow> {
|
|
|
|
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 columnOfferResult;
|
|
|
|
private global::System.Data.DataColumn columnKoReason;
|
|
|
|
private global::System.Data.DataColumn columnAgente;
|
|
|
|
private global::System.Data.DataColumn columnProdType;
|
|
|
|
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;
|
|
|
|
private global::System.Data.DataColumn columnDiesExpLife;
|
|
|
|
private global::System.Data.DataColumn columnDiesEOLife;
|
|
|
|
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;
|
|
|
|
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 columnvalid;
|
|
|
|
private global::System.Data.DataColumn columnerrorScore;
|
|
|
|
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 columnNetProd04_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 columnCli_ZipCode;
|
|
|
|
private global::System.Data.DataColumn columnCli_City;
|
|
|
|
private global::System.Data.DataColumn columnCli_State;
|
|
|
|
private global::System.Data.DataColumn columnCli_Nation;
|
|
|
|
private global::System.Data.DataColumn columnDescInco;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public prtQuoteDataTable() {
|
|
this.TableName = "prtQuote";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal prtQuoteDataTable(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 prtQuoteDataTable(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 OfferResultColumn {
|
|
get {
|
|
return this.columnOfferResult;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn KoReasonColumn {
|
|
get {
|
|
return this.columnKoReason;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn AgenteColumn {
|
|
get {
|
|
return this.columnAgente;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn ProdTypeColumn {
|
|
get {
|
|
return this.columnProdType;
|
|
}
|
|
}
|
|
|
|
[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 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 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 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 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 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 NetProd04_simColumn {
|
|
get {
|
|
return this.columnNetProd04_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 Cli_ZipCodeColumn {
|
|
get {
|
|
return this.columnCli_ZipCode;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Cli_CityColumn {
|
|
get {
|
|
return this.columnCli_City;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Cli_StateColumn {
|
|
get {
|
|
return this.columnCli_State;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn Cli_NationColumn {
|
|
get {
|
|
return this.columnCli_Nation;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn DescIncoColumn {
|
|
get {
|
|
return this.columnDescInco;
|
|
}
|
|
}
|
|
|
|
[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 prtQuoteRow this[int index] {
|
|
get {
|
|
return ((prtQuoteRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event prtQuoteRowChangeEventHandler prtQuoteRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event prtQuoteRowChangeEventHandler prtQuoteRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event prtQuoteRowChangeEventHandler prtQuoteRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event prtQuoteRowChangeEventHandler prtQuoteRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddprtQuoteRow(prtQuoteRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public prtQuoteRow AddprtQuoteRow(
|
|
string Vers,
|
|
string QuoteType,
|
|
long CodQuote,
|
|
int QuoteRev,
|
|
string OfferResult,
|
|
string KoReason,
|
|
string Agente,
|
|
string ProdType,
|
|
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,
|
|
decimal DiesExpLife,
|
|
decimal DiesEOLife,
|
|
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,
|
|
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,
|
|
bool valid,
|
|
int errorScore,
|
|
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 NetProd04_sim,
|
|
decimal DSR_sim,
|
|
decimal NetMar_sim,
|
|
decimal FCShield_sim,
|
|
decimal MinPrice_sim,
|
|
decimal P_MinPrice_sim,
|
|
string Cli_ZipCode,
|
|
string Cli_City,
|
|
string Cli_State,
|
|
string Cli_Nation,
|
|
string DescInco) {
|
|
prtQuoteRow rowprtQuoteRow = ((prtQuoteRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
Vers,
|
|
QuoteType,
|
|
CodQuote,
|
|
QuoteRev,
|
|
OfferResult,
|
|
KoReason,
|
|
Agente,
|
|
ProdType,
|
|
IdxQState,
|
|
CodClient,
|
|
ClientName,
|
|
CodItem,
|
|
CodItemGroup,
|
|
RawMat,
|
|
UnitWeight,
|
|
BatchQty,
|
|
CodInco,
|
|
TranspZone,
|
|
KeyAM,
|
|
Note,
|
|
PriceOff,
|
|
CodClientAssoc,
|
|
ClientNameAssoc,
|
|
ItemDescr,
|
|
CodifProfilo,
|
|
ClasseMerc,
|
|
TipoDies,
|
|
CodDiesGroup,
|
|
DiamDies,
|
|
HoleNumDies,
|
|
DiesPrice,
|
|
DiesExpLife,
|
|
DiesEOLife,
|
|
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,
|
|
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,
|
|
valid,
|
|
errorScore,
|
|
DiesPrice_sim,
|
|
SamplePrice,
|
|
DiesFullCost,
|
|
DiesPriceClientQuote,
|
|
DiesTecLife,
|
|
DiesCommLife,
|
|
MonthSalesPrev,
|
|
SalesPrevCost,
|
|
DiesFinCost,
|
|
ClientQuoteReven,
|
|
ExtraDiscountDies,
|
|
WSR01_sim,
|
|
MSR01_sim,
|
|
NetProd01_sim,
|
|
NetProd04_sim,
|
|
DSR_sim,
|
|
NetMar_sim,
|
|
FCShield_sim,
|
|
MinPrice_sim,
|
|
P_MinPrice_sim,
|
|
Cli_ZipCode,
|
|
Cli_City,
|
|
Cli_State,
|
|
Cli_Nation,
|
|
DescInco};
|
|
rowprtQuoteRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowprtQuoteRow);
|
|
return rowprtQuoteRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
prtQuoteDataTable cln = ((prtQuoteDataTable)(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 prtQuoteDataTable();
|
|
}
|
|
|
|
[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.columnOfferResult = base.Columns["OfferResult"];
|
|
this.columnKoReason = base.Columns["KoReason"];
|
|
this.columnAgente = base.Columns["Agente"];
|
|
this.columnProdType = base.Columns["ProdType"];
|
|
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 = base.Columns["DiesPrice"];
|
|
this.columnDiesExpLife = base.Columns["DiesExpLife"];
|
|
this.columnDiesEOLife = base.Columns["DiesEOLife"];
|
|
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 = 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.columnvalid = base.Columns["valid"];
|
|
this.columnerrorScore = base.Columns["errorScore"];
|
|
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.columnNetProd04_sim = base.Columns["NetProd04_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.columnCli_ZipCode = base.Columns["Cli_ZipCode"];
|
|
this.columnCli_City = base.Columns["Cli_City"];
|
|
this.columnCli_State = base.Columns["Cli_State"];
|
|
this.columnCli_Nation = base.Columns["Cli_Nation"];
|
|
this.columnDescInco = base.Columns["DescInco"];
|
|
}
|
|
|
|
[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.columnOfferResult = new global::System.Data.DataColumn("OfferResult", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOfferResult);
|
|
this.columnKoReason = new global::System.Data.DataColumn("KoReason", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnKoReason);
|
|
this.columnAgente = new global::System.Data.DataColumn("Agente", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnAgente);
|
|
this.columnProdType = new global::System.Data.DataColumn("ProdType", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnProdType);
|
|
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 = 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.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 = 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.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.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.columnNetProd04_sim = new global::System.Data.DataColumn("NetProd04_sim", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnNetProd04_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.columnCli_ZipCode = new global::System.Data.DataColumn("Cli_ZipCode", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCli_ZipCode);
|
|
this.columnCli_City = new global::System.Data.DataColumn("Cli_City", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCli_City);
|
|
this.columnCli_State = new global::System.Data.DataColumn("Cli_State", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCli_State);
|
|
this.columnCli_Nation = new global::System.Data.DataColumn("Cli_Nation", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCli_Nation);
|
|
this.columnDescInco = new global::System.Data.DataColumn("DescInco", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDescInco);
|
|
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.columnOfferResult.AllowDBNull = false;
|
|
this.columnOfferResult.MaxLength = 50;
|
|
this.columnKoReason.AllowDBNull = false;
|
|
this.columnKoReason.MaxLength = 50;
|
|
this.columnAgente.AllowDBNull = false;
|
|
this.columnAgente.MaxLength = 50;
|
|
this.columnProdType.AllowDBNull = false;
|
|
this.columnProdType.MaxLength = 5;
|
|
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.columnDiamDies.AllowDBNull = false;
|
|
this.columnDiesPrice.AllowDBNull = false;
|
|
this.columnDiesExpLife.AllowDBNull = false;
|
|
this.columnDiesEOLife.AllowDBNull = false;
|
|
this.columnDiesByClass.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.columnvalid.AllowDBNull = false;
|
|
this.columnerrorScore.AllowDBNull = false;
|
|
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.columnNetProd04_sim.AllowDBNull = false;
|
|
this.columnDSR_sim.AllowDBNull = false;
|
|
this.columnCli_ZipCode.AllowDBNull = false;
|
|
this.columnCli_ZipCode.MaxLength = 50;
|
|
this.columnCli_City.AllowDBNull = false;
|
|
this.columnCli_City.MaxLength = 50;
|
|
this.columnCli_State.AllowDBNull = false;
|
|
this.columnCli_State.MaxLength = 50;
|
|
this.columnCli_Nation.AllowDBNull = false;
|
|
this.columnCli_Nation.MaxLength = 50;
|
|
this.columnDescInco.MaxLength = 250;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public prtQuoteRow NewprtQuoteRow() {
|
|
return ((prtQuoteRow)(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 prtQuoteRow(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(prtQuoteRow);
|
|
}
|
|
|
|
[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.prtQuoteRowChanged != null)) {
|
|
this.prtQuoteRowChanged(this, new prtQuoteRowChangeEvent(((prtQuoteRow)(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.prtQuoteRowChanging != null)) {
|
|
this.prtQuoteRowChanging(this, new prtQuoteRowChangeEvent(((prtQuoteRow)(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.prtQuoteRowDeleted != null)) {
|
|
this.prtQuoteRowDeleted(this, new prtQuoteRowChangeEvent(((prtQuoteRow)(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.prtQuoteRowDeleting != null)) {
|
|
this.prtQuoteRowDeleting(this, new prtQuoteRowChangeEvent(((prtQuoteRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveprtQuoteRow(prtQuoteRow 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 = "prtQuoteDataTable";
|
|
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 stp_chekLastRevQuoteDataTable : global::System.Data.TypedTableBase<stp_chekLastRevQuoteRow> {
|
|
|
|
private global::System.Data.DataColumn columnlastRev;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_chekLastRevQuoteDataTable() {
|
|
this.TableName = "stp_chekLastRevQuote";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_chekLastRevQuoteDataTable(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 stp_chekLastRevQuoteDataTable(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 lastRevColumn {
|
|
get {
|
|
return this.columnlastRev;
|
|
}
|
|
}
|
|
|
|
[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 stp_chekLastRevQuoteRow this[int index] {
|
|
get {
|
|
return ((stp_chekLastRevQuoteRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_chekLastRevQuoteRowChangeEventHandler stp_chekLastRevQuoteRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_chekLastRevQuoteRowChangeEventHandler stp_chekLastRevQuoteRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_chekLastRevQuoteRowChangeEventHandler stp_chekLastRevQuoteRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event stp_chekLastRevQuoteRowChangeEventHandler stp_chekLastRevQuoteRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Addstp_chekLastRevQuoteRow(stp_chekLastRevQuoteRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_chekLastRevQuoteRow Addstp_chekLastRevQuoteRow(int lastRev) {
|
|
stp_chekLastRevQuoteRow rowstp_chekLastRevQuoteRow = ((stp_chekLastRevQuoteRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
lastRev};
|
|
rowstp_chekLastRevQuoteRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowstp_chekLastRevQuoteRow);
|
|
return rowstp_chekLastRevQuoteRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
stp_chekLastRevQuoteDataTable cln = ((stp_chekLastRevQuoteDataTable)(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 stp_chekLastRevQuoteDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnlastRev = base.Columns["lastRev"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnlastRev = new global::System.Data.DataColumn("lastRev", typeof(int), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnlastRev);
|
|
this.columnlastRev.ReadOnly = true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public stp_chekLastRevQuoteRow Newstp_chekLastRevQuoteRow() {
|
|
return ((stp_chekLastRevQuoteRow)(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 stp_chekLastRevQuoteRow(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(stp_chekLastRevQuoteRow);
|
|
}
|
|
|
|
[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.stp_chekLastRevQuoteRowChanged != null)) {
|
|
this.stp_chekLastRevQuoteRowChanged(this, new stp_chekLastRevQuoteRowChangeEvent(((stp_chekLastRevQuoteRow)(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.stp_chekLastRevQuoteRowChanging != null)) {
|
|
this.stp_chekLastRevQuoteRowChanging(this, new stp_chekLastRevQuoteRowChangeEvent(((stp_chekLastRevQuoteRow)(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.stp_chekLastRevQuoteRowDeleted != null)) {
|
|
this.stp_chekLastRevQuoteRowDeleted(this, new stp_chekLastRevQuoteRowChangeEvent(((stp_chekLastRevQuoteRow)(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.stp_chekLastRevQuoteRowDeleting != null)) {
|
|
this.stp_chekLastRevQuoteRowDeleting(this, new stp_chekLastRevQuoteRowChangeEvent(((stp_chekLastRevQuoteRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void Removestp_chekLastRevQuoteRow(stp_chekLastRevQuoteRow 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 = "stp_chekLastRevQuoteDataTable";
|
|
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 PackagDetDataTable : global::System.Data.TypedTableBase<PackagDetRow> {
|
|
|
|
private global::System.Data.DataColumn columnCodPackag;
|
|
|
|
private global::System.Data.DataColumn columnPackagDesc;
|
|
|
|
private global::System.Data.DataColumn columnRMCost;
|
|
|
|
private global::System.Data.DataColumn columnRMWeight;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PackagDetDataTable() {
|
|
this.TableName = "PackagDet";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal PackagDetDataTable(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 PackagDetDataTable(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 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 PackagDescColumn {
|
|
get {
|
|
return this.columnPackagDesc;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn RMCostColumn {
|
|
get {
|
|
return this.columnRMCost;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn RMWeightColumn {
|
|
get {
|
|
return this.columnRMWeight;
|
|
}
|
|
}
|
|
|
|
[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 PackagDetRow this[int index] {
|
|
get {
|
|
return ((PackagDetRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event PackagDetRowChangeEventHandler PackagDetRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event PackagDetRowChangeEventHandler PackagDetRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event PackagDetRowChangeEventHandler PackagDetRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event PackagDetRowChangeEventHandler PackagDetRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddPackagDetRow(PackagDetRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PackagDetRow AddPackagDetRow(string CodPackag, string PackagDesc, decimal RMCost, decimal RMWeight) {
|
|
PackagDetRow rowPackagDetRow = ((PackagDetRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
CodPackag,
|
|
PackagDesc,
|
|
RMCost,
|
|
RMWeight};
|
|
rowPackagDetRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowPackagDetRow);
|
|
return rowPackagDetRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PackagDetRow FindByCodPackag(string CodPackag) {
|
|
return ((PackagDetRow)(this.Rows.Find(new object[] {
|
|
CodPackag})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
PackagDetDataTable cln = ((PackagDetDataTable)(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 PackagDetDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnCodPackag = base.Columns["CodPackag"];
|
|
this.columnPackagDesc = base.Columns["PackagDesc"];
|
|
this.columnRMCost = base.Columns["RMCost"];
|
|
this.columnRMWeight = base.Columns["RMWeight"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnCodPackag = new global::System.Data.DataColumn("CodPackag", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodPackag);
|
|
this.columnPackagDesc = new global::System.Data.DataColumn("PackagDesc", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnPackagDesc);
|
|
this.columnRMCost = new global::System.Data.DataColumn("RMCost", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnRMCost);
|
|
this.columnRMWeight = new global::System.Data.DataColumn("RMWeight", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnRMWeight);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnCodPackag}, true));
|
|
this.columnCodPackag.AllowDBNull = false;
|
|
this.columnCodPackag.Unique = true;
|
|
this.columnCodPackag.MaxLength = 50;
|
|
this.columnPackagDesc.AllowDBNull = false;
|
|
this.columnPackagDesc.MaxLength = 250;
|
|
this.columnRMCost.AllowDBNull = false;
|
|
this.columnRMWeight.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PackagDetRow NewPackagDetRow() {
|
|
return ((PackagDetRow)(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 PackagDetRow(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(PackagDetRow);
|
|
}
|
|
|
|
[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.PackagDetRowChanged != null)) {
|
|
this.PackagDetRowChanged(this, new PackagDetRowChangeEvent(((PackagDetRow)(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.PackagDetRowChanging != null)) {
|
|
this.PackagDetRowChanging(this, new PackagDetRowChangeEvent(((PackagDetRow)(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.PackagDetRowDeleted != null)) {
|
|
this.PackagDetRowDeleted(this, new PackagDetRowChangeEvent(((PackagDetRow)(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.PackagDetRowDeleting != null)) {
|
|
this.PackagDetRowDeleting(this, new PackagDetRowChangeEvent(((PackagDetRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemovePackagDetRow(PackagDetRow 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 = "PackagDetDataTable";
|
|
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 AgentsDetDataTable : global::System.Data.TypedTableBase<AgentsDetRow> {
|
|
|
|
private global::System.Data.DataColumn columnCodAg;
|
|
|
|
private global::System.Data.DataColumn columnLastname;
|
|
|
|
private global::System.Data.DataColumn columnFirstname;
|
|
|
|
private global::System.Data.DataColumn columnQuotaProvvAg;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AgentsDetDataTable() {
|
|
this.TableName = "AgentsDet";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AgentsDetDataTable(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 AgentsDetDataTable(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 CodAgColumn {
|
|
get {
|
|
return this.columnCodAg;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn LastnameColumn {
|
|
get {
|
|
return this.columnLastname;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn FirstnameColumn {
|
|
get {
|
|
return this.columnFirstname;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn QuotaProvvAgColumn {
|
|
get {
|
|
return this.columnQuotaProvvAg;
|
|
}
|
|
}
|
|
|
|
[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 AgentsDetRow this[int index] {
|
|
get {
|
|
return ((AgentsDetRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AgentsDetRowChangeEventHandler AgentsDetRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AgentsDetRowChangeEventHandler AgentsDetRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AgentsDetRowChangeEventHandler AgentsDetRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event AgentsDetRowChangeEventHandler AgentsDetRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddAgentsDetRow(AgentsDetRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AgentsDetRow AddAgentsDetRow(string CodAg, string Lastname, string Firstname, decimal QuotaProvvAg) {
|
|
AgentsDetRow rowAgentsDetRow = ((AgentsDetRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
CodAg,
|
|
Lastname,
|
|
Firstname,
|
|
QuotaProvvAg};
|
|
rowAgentsDetRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowAgentsDetRow);
|
|
return rowAgentsDetRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AgentsDetRow FindByCodAg(string CodAg) {
|
|
return ((AgentsDetRow)(this.Rows.Find(new object[] {
|
|
CodAg})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
AgentsDetDataTable cln = ((AgentsDetDataTable)(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 AgentsDetDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnCodAg = base.Columns["CodAg"];
|
|
this.columnLastname = base.Columns["Lastname"];
|
|
this.columnFirstname = base.Columns["Firstname"];
|
|
this.columnQuotaProvvAg = base.Columns["QuotaProvvAg"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnCodAg = new global::System.Data.DataColumn("CodAg", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodAg);
|
|
this.columnLastname = new global::System.Data.DataColumn("Lastname", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnLastname);
|
|
this.columnFirstname = new global::System.Data.DataColumn("Firstname", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnFirstname);
|
|
this.columnQuotaProvvAg = new global::System.Data.DataColumn("QuotaProvvAg", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnQuotaProvvAg);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnCodAg}, true));
|
|
this.columnCodAg.AllowDBNull = false;
|
|
this.columnCodAg.Unique = true;
|
|
this.columnCodAg.MaxLength = 50;
|
|
this.columnLastname.AllowDBNull = false;
|
|
this.columnLastname.MaxLength = 50;
|
|
this.columnFirstname.AllowDBNull = false;
|
|
this.columnFirstname.MaxLength = 50;
|
|
this.columnQuotaProvvAg.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public AgentsDetRow NewAgentsDetRow() {
|
|
return ((AgentsDetRow)(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 AgentsDetRow(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(AgentsDetRow);
|
|
}
|
|
|
|
[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.AgentsDetRowChanged != null)) {
|
|
this.AgentsDetRowChanged(this, new AgentsDetRowChangeEvent(((AgentsDetRow)(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.AgentsDetRowChanging != null)) {
|
|
this.AgentsDetRowChanging(this, new AgentsDetRowChangeEvent(((AgentsDetRow)(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.AgentsDetRowDeleted != null)) {
|
|
this.AgentsDetRowDeleted(this, new AgentsDetRowChangeEvent(((AgentsDetRow)(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.AgentsDetRowDeleting != null)) {
|
|
this.AgentsDetRowDeleting(this, new AgentsDetRowChangeEvent(((AgentsDetRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveAgentsDetRow(AgentsDetRow 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 = "AgentsDetDataTable";
|
|
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 PlantsDetDataTable : global::System.Data.TypedTableBase<PlantsDetRow> {
|
|
|
|
private global::System.Data.DataColumn columnCodPlant;
|
|
|
|
private global::System.Data.DataColumn columnDescript;
|
|
|
|
private global::System.Data.DataColumn columnCharge;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PlantsDetDataTable() {
|
|
this.TableName = "PlantsDet";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal PlantsDetDataTable(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 PlantsDetDataTable(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 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 DescriptColumn {
|
|
get {
|
|
return this.columnDescript;
|
|
}
|
|
}
|
|
|
|
[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")]
|
|
[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 PlantsDetRow this[int index] {
|
|
get {
|
|
return ((PlantsDetRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event PlantsDetRowChangeEventHandler PlantsDetRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event PlantsDetRowChangeEventHandler PlantsDetRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event PlantsDetRowChangeEventHandler PlantsDetRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event PlantsDetRowChangeEventHandler PlantsDetRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddPlantsDetRow(PlantsDetRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PlantsDetRow AddPlantsDetRow(string CodPlant, string Descript, decimal Charge) {
|
|
PlantsDetRow rowPlantsDetRow = ((PlantsDetRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
CodPlant,
|
|
Descript,
|
|
Charge};
|
|
rowPlantsDetRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowPlantsDetRow);
|
|
return rowPlantsDetRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PlantsDetRow FindByCodPlant(string CodPlant) {
|
|
return ((PlantsDetRow)(this.Rows.Find(new object[] {
|
|
CodPlant})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
PlantsDetDataTable cln = ((PlantsDetDataTable)(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 PlantsDetDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnCodPlant = base.Columns["CodPlant"];
|
|
this.columnDescript = base.Columns["Descript"];
|
|
this.columnCharge = base.Columns["Charge"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnCodPlant = new global::System.Data.DataColumn("CodPlant", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodPlant);
|
|
this.columnDescript = new global::System.Data.DataColumn("Descript", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnDescript);
|
|
this.columnCharge = new global::System.Data.DataColumn("Charge", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCharge);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnCodPlant}, true));
|
|
this.columnCodPlant.AllowDBNull = false;
|
|
this.columnCodPlant.Unique = true;
|
|
this.columnCodPlant.MaxLength = 50;
|
|
this.columnDescript.AllowDBNull = false;
|
|
this.columnDescript.MaxLength = 250;
|
|
this.columnCharge.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PlantsDetRow NewPlantsDetRow() {
|
|
return ((PlantsDetRow)(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 PlantsDetRow(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(PlantsDetRow);
|
|
}
|
|
|
|
[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.PlantsDetRowChanged != null)) {
|
|
this.PlantsDetRowChanged(this, new PlantsDetRowChangeEvent(((PlantsDetRow)(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.PlantsDetRowChanging != null)) {
|
|
this.PlantsDetRowChanging(this, new PlantsDetRowChangeEvent(((PlantsDetRow)(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.PlantsDetRowDeleted != null)) {
|
|
this.PlantsDetRowDeleted(this, new PlantsDetRowChangeEvent(((PlantsDetRow)(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.PlantsDetRowDeleting != null)) {
|
|
this.PlantsDetRowDeleting(this, new PlantsDetRowChangeEvent(((PlantsDetRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemovePlantsDetRow(PlantsDetRow 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 = "PlantsDetDataTable";
|
|
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 UtilitiesDataTable : global::System.Data.TypedTableBase<UtilitiesRow> {
|
|
|
|
private global::System.Data.DataColumn columnCodUtil;
|
|
|
|
private global::System.Data.DataColumn columnCodPlant;
|
|
|
|
private global::System.Data.DataColumn columnUnitCost;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public UtilitiesDataTable() {
|
|
this.TableName = "Utilities";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal UtilitiesDataTable(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 UtilitiesDataTable(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 CodUtilColumn {
|
|
get {
|
|
return this.columnCodUtil;
|
|
}
|
|
}
|
|
|
|
[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 UnitCostColumn {
|
|
get {
|
|
return this.columnUnitCost;
|
|
}
|
|
}
|
|
|
|
[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 UtilitiesRow this[int index] {
|
|
get {
|
|
return ((UtilitiesRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event UtilitiesRowChangeEventHandler UtilitiesRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event UtilitiesRowChangeEventHandler UtilitiesRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event UtilitiesRowChangeEventHandler UtilitiesRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event UtilitiesRowChangeEventHandler UtilitiesRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddUtilitiesRow(UtilitiesRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public UtilitiesRow AddUtilitiesRow(string CodUtil, string CodPlant, decimal UnitCost) {
|
|
UtilitiesRow rowUtilitiesRow = ((UtilitiesRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
CodUtil,
|
|
CodPlant,
|
|
UnitCost};
|
|
rowUtilitiesRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowUtilitiesRow);
|
|
return rowUtilitiesRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public UtilitiesRow FindByCodUtilCodPlant(string CodUtil, string CodPlant) {
|
|
return ((UtilitiesRow)(this.Rows.Find(new object[] {
|
|
CodUtil,
|
|
CodPlant})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
UtilitiesDataTable cln = ((UtilitiesDataTable)(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 UtilitiesDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnCodUtil = base.Columns["CodUtil"];
|
|
this.columnCodPlant = base.Columns["CodPlant"];
|
|
this.columnUnitCost = base.Columns["UnitCost"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnCodUtil = new global::System.Data.DataColumn("CodUtil", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodUtil);
|
|
this.columnCodPlant = new global::System.Data.DataColumn("CodPlant", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodPlant);
|
|
this.columnUnitCost = new global::System.Data.DataColumn("UnitCost", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnUnitCost);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnCodUtil,
|
|
this.columnCodPlant}, true));
|
|
this.columnCodUtil.AllowDBNull = false;
|
|
this.columnCodUtil.MaxLength = 50;
|
|
this.columnCodPlant.AllowDBNull = false;
|
|
this.columnCodPlant.MaxLength = 50;
|
|
this.columnUnitCost.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public UtilitiesRow NewUtilitiesRow() {
|
|
return ((UtilitiesRow)(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 UtilitiesRow(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(UtilitiesRow);
|
|
}
|
|
|
|
[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.UtilitiesRowChanged != null)) {
|
|
this.UtilitiesRowChanged(this, new UtilitiesRowChangeEvent(((UtilitiesRow)(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.UtilitiesRowChanging != null)) {
|
|
this.UtilitiesRowChanging(this, new UtilitiesRowChangeEvent(((UtilitiesRow)(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.UtilitiesRowDeleted != null)) {
|
|
this.UtilitiesRowDeleted(this, new UtilitiesRowChangeEvent(((UtilitiesRow)(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.UtilitiesRowDeleting != null)) {
|
|
this.UtilitiesRowDeleting(this, new UtilitiesRowChangeEvent(((UtilitiesRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveUtilitiesRow(UtilitiesRow 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 = "UtilitiesDataTable";
|
|
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 Cost2PlantDataTable : global::System.Data.TypedTableBase<Cost2PlantRow> {
|
|
|
|
private global::System.Data.DataColumn columnCodPlant;
|
|
|
|
private global::System.Data.DataColumn columnProcessNum;
|
|
|
|
private global::System.Data.DataColumn columnFC;
|
|
|
|
private global::System.Data.DataColumn columnVC;
|
|
|
|
private global::System.Data.DataColumn columnOH;
|
|
|
|
private global::System.Data.DataColumn columnSC;
|
|
|
|
private global::System.Data.DataColumn columnQuotaPlantStd;
|
|
|
|
private global::System.Data.DataColumn columnQuotaManStd;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Cost2PlantDataTable() {
|
|
this.TableName = "Cost2Plant";
|
|
this.BeginInit();
|
|
this.InitClass();
|
|
this.EndInit();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal Cost2PlantDataTable(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 Cost2PlantDataTable(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 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 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 FCColumn {
|
|
get {
|
|
return this.columnFC;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn VCColumn {
|
|
get {
|
|
return this.columnVC;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn OHColumn {
|
|
get {
|
|
return this.columnOH;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn SCColumn {
|
|
get {
|
|
return this.columnSC;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn QuotaPlantStdColumn {
|
|
get {
|
|
return this.columnQuotaPlantStd;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public global::System.Data.DataColumn QuotaManStdColumn {
|
|
get {
|
|
return this.columnQuotaManStd;
|
|
}
|
|
}
|
|
|
|
[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 Cost2PlantRow this[int index] {
|
|
get {
|
|
return ((Cost2PlantRow)(this.Rows[index]));
|
|
}
|
|
}
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event Cost2PlantRowChangeEventHandler Cost2PlantRowChanging;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event Cost2PlantRowChangeEventHandler Cost2PlantRowChanged;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event Cost2PlantRowChangeEventHandler Cost2PlantRowDeleting;
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public event Cost2PlantRowChangeEventHandler Cost2PlantRowDeleted;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void AddCost2PlantRow(Cost2PlantRow row) {
|
|
this.Rows.Add(row);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Cost2PlantRow AddCost2PlantRow(PlantsDetRow parentPlantsDetRowByFK_Cost2Plant_PlantsDet, string ProcessNum, decimal FC, decimal VC, decimal OH, decimal SC, decimal QuotaPlantStd, decimal QuotaManStd) {
|
|
Cost2PlantRow rowCost2PlantRow = ((Cost2PlantRow)(this.NewRow()));
|
|
object[] columnValuesArray = new object[] {
|
|
null,
|
|
ProcessNum,
|
|
FC,
|
|
VC,
|
|
OH,
|
|
SC,
|
|
QuotaPlantStd,
|
|
QuotaManStd};
|
|
if ((parentPlantsDetRowByFK_Cost2Plant_PlantsDet != null)) {
|
|
columnValuesArray[0] = parentPlantsDetRowByFK_Cost2Plant_PlantsDet[0];
|
|
}
|
|
rowCost2PlantRow.ItemArray = columnValuesArray;
|
|
this.Rows.Add(rowCost2PlantRow);
|
|
return rowCost2PlantRow;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Cost2PlantRow FindByCodPlantProcessNum(string CodPlant, string ProcessNum) {
|
|
return ((Cost2PlantRow)(this.Rows.Find(new object[] {
|
|
CodPlant,
|
|
ProcessNum})));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public override global::System.Data.DataTable Clone() {
|
|
Cost2PlantDataTable cln = ((Cost2PlantDataTable)(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 Cost2PlantDataTable();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal void InitVars() {
|
|
this.columnCodPlant = base.Columns["CodPlant"];
|
|
this.columnProcessNum = base.Columns["ProcessNum"];
|
|
this.columnFC = base.Columns["FC"];
|
|
this.columnVC = base.Columns["VC"];
|
|
this.columnOH = base.Columns["OH"];
|
|
this.columnSC = base.Columns["SC"];
|
|
this.columnQuotaPlantStd = base.Columns["QuotaPlantStd"];
|
|
this.columnQuotaManStd = base.Columns["QuotaManStd"];
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
private void InitClass() {
|
|
this.columnCodPlant = new global::System.Data.DataColumn("CodPlant", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnCodPlant);
|
|
this.columnProcessNum = new global::System.Data.DataColumn("ProcessNum", typeof(string), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnProcessNum);
|
|
this.columnFC = new global::System.Data.DataColumn("FC", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnFC);
|
|
this.columnVC = new global::System.Data.DataColumn("VC", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnVC);
|
|
this.columnOH = new global::System.Data.DataColumn("OH", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnOH);
|
|
this.columnSC = new global::System.Data.DataColumn("SC", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnSC);
|
|
this.columnQuotaPlantStd = new global::System.Data.DataColumn("QuotaPlantStd", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnQuotaPlantStd);
|
|
this.columnQuotaManStd = new global::System.Data.DataColumn("QuotaManStd", typeof(decimal), null, global::System.Data.MappingType.Element);
|
|
base.Columns.Add(this.columnQuotaManStd);
|
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
this.columnCodPlant,
|
|
this.columnProcessNum}, true));
|
|
this.columnCodPlant.AllowDBNull = false;
|
|
this.columnCodPlant.MaxLength = 50;
|
|
this.columnProcessNum.AllowDBNull = false;
|
|
this.columnProcessNum.MaxLength = 50;
|
|
this.columnFC.AllowDBNull = false;
|
|
this.columnVC.AllowDBNull = false;
|
|
this.columnOH.AllowDBNull = false;
|
|
this.columnSC.AllowDBNull = false;
|
|
this.columnQuotaPlantStd.AllowDBNull = false;
|
|
this.columnQuotaManStd.AllowDBNull = false;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Cost2PlantRow NewCost2PlantRow() {
|
|
return ((Cost2PlantRow)(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 Cost2PlantRow(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(Cost2PlantRow);
|
|
}
|
|
|
|
[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.Cost2PlantRowChanged != null)) {
|
|
this.Cost2PlantRowChanged(this, new Cost2PlantRowChangeEvent(((Cost2PlantRow)(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.Cost2PlantRowChanging != null)) {
|
|
this.Cost2PlantRowChanging(this, new Cost2PlantRowChangeEvent(((Cost2PlantRow)(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.Cost2PlantRowDeleted != null)) {
|
|
this.Cost2PlantRowDeleted(this, new Cost2PlantRowChangeEvent(((Cost2PlantRow)(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.Cost2PlantRowDeleting != null)) {
|
|
this.Cost2PlantRowDeleting(this, new Cost2PlantRowChangeEvent(((Cost2PlantRow)(e.Row)), e.Action));
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void RemoveCost2PlantRow(Cost2PlantRow 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 = "Cost2PlantDataTable";
|
|
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 OfferResult {
|
|
get {
|
|
return ((string)(this[this.tableQuoteList.OfferResultColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.OfferResultColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string KoReason {
|
|
get {
|
|
return ((string)(this[this.tableQuoteList.KoReasonColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.KoReasonColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Agente {
|
|
get {
|
|
return ((string)(this[this.tableQuoteList.AgenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.AgenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string ProdType {
|
|
get {
|
|
return ((string)(this[this.tableQuoteList.ProdTypeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.ProdTypeColumn] = 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 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 OrdQty {
|
|
get {
|
|
return ((int)(this[this.tableQuoteList.OrdQtyColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.OrdQtyColumn] = 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.tableQuoteList.validColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.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.tableQuoteList.errorScoreColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.errorScoreColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string UserCreaz {
|
|
get {
|
|
return ((string)(this[this.tableQuoteList.UserCreazColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.UserCreazColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataCreaz {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableQuoteList.DataCreazColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.DataCreazColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string UserMod {
|
|
get {
|
|
return ((string)(this[this.tableQuoteList.UserModColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.UserModColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public System.DateTime DataMod {
|
|
get {
|
|
return ((global::System.DateTime)(this[this.tableQuoteList.DataModColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteList.DataModColumn] = 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 OfferResult {
|
|
get {
|
|
return ((string)(this[this.tableQuoteFull_Q.OfferResultColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.OfferResultColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string KoReason {
|
|
get {
|
|
return ((string)(this[this.tableQuoteFull_Q.KoReasonColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.KoReasonColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Agente {
|
|
get {
|
|
return ((string)(this[this.tableQuoteFull_Q.AgenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.AgenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string ProdType {
|
|
get {
|
|
return ((string)(this[this.tableQuoteFull_Q.ProdTypeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_Q.ProdTypeColumn] = 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 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 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 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 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 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 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 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 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 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 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 string OfferResult {
|
|
get {
|
|
return ((string)(this[this.tableQuoteFull_S.OfferResultColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_S.OfferResultColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string KoReason {
|
|
get {
|
|
return ((string)(this[this.tableQuoteFull_S.KoReasonColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_S.KoReasonColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Agente {
|
|
get {
|
|
return ((string)(this[this.tableQuoteFull_S.AgenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_S.AgenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string ProdType {
|
|
get {
|
|
return ((string)(this[this.tableQuoteFull_S.ProdTypeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_S.ProdTypeColumn] = 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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.DiamDiesColumn]));
|
|
}
|
|
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 {
|
|
return ((int)(this[this.tableQuoteFull_S.HoleNumDiesColumn]));
|
|
}
|
|
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_sim {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_S.DiesPrice_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_S.DiesPrice_simColumn] = 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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.DiesFullCostColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.DiesExpLifeColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.DiesEOLifeColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.SalesPrevCostColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.DiesFinCostColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.ClientQuoteRevenColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.ExtraDiscountDiesColumn]));
|
|
}
|
|
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 {
|
|
return ((bool)(this[this.tableQuoteFull_S.DiesByClassColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.NumDiesInListColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.NumDiesExaustColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.KgTeoColumn]));
|
|
}
|
|
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 int NumSMED {
|
|
get {
|
|
return ((int)(this[this.tableQuoteFull_S.NumSMEDColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.QuotaManColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.PRMWeightColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.PWeightColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.PTareColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.RawMatFullCostColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.FSRColumn]));
|
|
}
|
|
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_sim {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_S.WSR01_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_S.WSR01_simColumn] = 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_sim {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_S.MSR01_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_S.MSR01_simColumn] = 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_sim {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_S.NetProd01_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_S.NetProd01_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_S.NetProd04_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_S.NetProd04_simColumn] = 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_sim {
|
|
get {
|
|
return ((decimal)(this[this.tableQuoteFull_S.DSR_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableQuoteFull_S.DSR_simColumn] = 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.tableQuoteFull_S.DSRColumn]));
|
|
}
|
|
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 {
|
|
return ((decimal)(this[this.tableQuoteFull_S.FVCColumn]));
|
|
}
|
|
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 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 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 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;
|
|
}
|
|
}
|
|
|
|
/// <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>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class stp_checkValidQuoteRow : global::System.Data.DataRow {
|
|
|
|
private stp_checkValidQuoteDataTable tablestp_checkValidQuote;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_checkValidQuoteRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablestp_checkValidQuote = ((stp_checkValidQuoteDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool checkOk {
|
|
get {
|
|
try {
|
|
return ((bool)(this[this.tablestp_checkValidQuote.checkOkColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'checkOk\' in table \'stp_checkValidQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_checkValidQuote.checkOkColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IscheckOkNull() {
|
|
return this.IsNull(this.tablestp_checkValidQuote.checkOkColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetcheckOkNull() {
|
|
this[this.tablestp_checkValidQuote.checkOkColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class prtQuoteRow : global::System.Data.DataRow {
|
|
|
|
private prtQuoteDataTable tableprtQuote;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal prtQuoteRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableprtQuote = ((prtQuoteDataTable)(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.tableprtQuote.VersColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.QuoteTypeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodQuoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.QuoteRevColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.QuoteRevColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string OfferResult {
|
|
get {
|
|
return ((string)(this[this.tableprtQuote.OfferResultColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.OfferResultColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string KoReason {
|
|
get {
|
|
return ((string)(this[this.tableprtQuote.KoReasonColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.KoReasonColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Agente {
|
|
get {
|
|
return ((string)(this[this.tableprtQuote.AgenteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.AgenteColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string ProdType {
|
|
get {
|
|
return ((string)(this[this.tableprtQuote.ProdTypeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.ProdTypeColumn] = 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.tableprtQuote.IdxQStateColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodClientColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.ClientNameColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodItemColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodItemGroupColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.RawMatColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.UnitWeightColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.BatchQtyColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodIncoColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.TranspZoneColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.KeyAMColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.NoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.PriceOffColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodClientAssocColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodClientAssoc\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.ClientNameAssocColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'ClientNameAssoc\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.ItemDescrColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'ItemDescr\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodifProfiloColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodifProfilo\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.ClasseMercColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'ClasseMerc\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.TipoDiesColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'TipoDies\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodDiesGroupColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodDiesGroup\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.DiamDiesColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.HoleNumDiesColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'HoleNumDies\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.DiesPriceColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.DiesExpLifeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.DiesEOLifeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.DiesEOLifeColumn] = 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.tableprtQuote.DiesByClassColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.NumDiesInListColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'NumDiesInList\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.NumDiesExaustColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'NumDiesExaust\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodPlantColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CodPlant\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.KeyAMILColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'KeyAMIL\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.KgTeoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'KgTeo\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.NumSMEDColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'NumSMED\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.QuotaManColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'QuotaMan\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.PRMWeightColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PRMWeight\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.PWeightColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PWeight\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.PTareColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PTare\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.LivPackageColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'LivPackage\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.LivPackageDettColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'LivPackageDett\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.RawMatCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.RawMatExtraCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.RawMatFullCostColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'RawMatFullCost\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodPackagColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.PkgDescColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PkgDesc\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.FSRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'FSR\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.ProvvCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.EECostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.GasCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.DiesCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.PackCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.TranspCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.SellCost01Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.RefCost01Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.SellCost04Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.RefCost04Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.WSR01Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.MSR01Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.NetProd01Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.FC4UG01Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.VC4UG01Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.OH4UG01Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.SC4UG01Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.DSRColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DSR\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.NetProd04Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.FC4UG04Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.VC4UG04Column]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.FVCColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'FVC\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.ChargeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.P_FVCColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_FVC\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.CPSColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'CPS\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.P_CPSColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_CPS\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.P_FC4UG04Column]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_FC4UG04\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.FullCostColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'FullCost\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.P_FullCostColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_FullCost\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.MinPriceColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'MinPrice\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.P_MinPriceColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_MinPrice\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.P_PriceOffColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_PriceOff\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.NetMarColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'NetMar\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.FCShieldColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'FCShield\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.PckSurColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'PckSur\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.PckSurColumn] = 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.tableprtQuote.validColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.errorScoreColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.errorScoreColumn] = 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.tableprtQuote.DiesPrice_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.SamplePriceColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.DiesFullCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.DiesPriceClientQuoteColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.DiesTecLifeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.DiesCommLifeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.MonthSalesPrevColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.SalesPrevCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.DiesFinCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.ClientQuoteRevenColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.ExtraDiscountDiesColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.WSR01_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.MSR01_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.NetProd01_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.NetProd01_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.tableprtQuote.NetProd04_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.NetProd04_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.tableprtQuote.DSR_simColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.NetMar_simColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'NetMar_sim\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.FCShield_simColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'FCShield_sim\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.MinPrice_simColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'MinPrice_sim\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.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.tableprtQuote.P_MinPrice_simColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'P_MinPrice_sim\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.P_MinPrice_simColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Cli_ZipCode {
|
|
get {
|
|
return ((string)(this[this.tableprtQuote.Cli_ZipCodeColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.Cli_ZipCodeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Cli_City {
|
|
get {
|
|
return ((string)(this[this.tableprtQuote.Cli_CityColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.Cli_CityColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Cli_State {
|
|
get {
|
|
return ((string)(this[this.tableprtQuote.Cli_StateColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.Cli_StateColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Cli_Nation {
|
|
get {
|
|
return ((string)(this[this.tableprtQuote.Cli_NationColumn]));
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.Cli_NationColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string DescInco {
|
|
get {
|
|
try {
|
|
return ((string)(this[this.tableprtQuote.DescIncoColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'DescInco\' in table \'prtQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tableprtQuote.DescIncoColumn] = 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.tableprtQuote.CodClientAssocColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodClientAssocNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.ClientNameAssocColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetClientNameAssocNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.ItemDescrColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetItemDescrNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodifProfiloColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodifProfiloNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.ClasseMercColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetClasseMercNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.TipoDiesColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetTipoDiesNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodDiesGroupColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodDiesGroupNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.HoleNumDiesColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetHoleNumDiesNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.NumDiesInListColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNumDiesInListNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.NumDiesExaustColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNumDiesExaustNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.CodPlantColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCodPlantNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.KeyAMILColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetKeyAMILNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.KgTeoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetKgTeoNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.NumSMEDColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNumSMEDNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.QuotaManColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetQuotaManNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.PRMWeightColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPRMWeightNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.PWeightColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPWeightNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.PTareColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPTareNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.LivPackageColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetLivPackageNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.LivPackageDettColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetLivPackageDettNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.RawMatFullCostColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetRawMatFullCostNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.PkgDescColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPkgDescNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.FSRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetFSRNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.DSRColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDSRNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.FVCColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetFVCNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.CPSColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetCPSNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.FullCostColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetFullCostNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.MinPriceColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetMinPriceNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.NetMarColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetNetMarNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.FCShieldColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetFCShieldNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.PckSurColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetPckSurNull() {
|
|
this[this.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.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.tableprtQuote.P_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 IsDescIncoNull() {
|
|
return this.IsNull(this.tableprtQuote.DescIncoColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetDescIncoNull() {
|
|
this[this.tableprtQuote.DescIncoColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class stp_chekLastRevQuoteRow : global::System.Data.DataRow {
|
|
|
|
private stp_chekLastRevQuoteDataTable tablestp_chekLastRevQuote;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal stp_chekLastRevQuoteRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablestp_chekLastRevQuote = ((stp_chekLastRevQuoteDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public int lastRev {
|
|
get {
|
|
try {
|
|
return ((int)(this[this.tablestp_chekLastRevQuote.lastRevColumn]));
|
|
}
|
|
catch (global::System.InvalidCastException e) {
|
|
throw new global::System.Data.StrongTypingException("The value for column \'lastRev\' in table \'stp_chekLastRevQuote\' is DBNull.", e);
|
|
}
|
|
}
|
|
set {
|
|
this[this.tablestp_chekLastRevQuote.lastRevColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public bool IslastRevNull() {
|
|
return this.IsNull(this.tablestp_chekLastRevQuote.lastRevColumn);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public void SetlastRevNull() {
|
|
this[this.tablestp_chekLastRevQuote.lastRevColumn] = global::System.Convert.DBNull;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class PackagDetRow : global::System.Data.DataRow {
|
|
|
|
private PackagDetDataTable tablePackagDet;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal PackagDetRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablePackagDet = ((PackagDetDataTable)(this.Table));
|
|
}
|
|
|
|
[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.tablePackagDet.CodPackagColumn]));
|
|
}
|
|
set {
|
|
this[this.tablePackagDet.CodPackagColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string PackagDesc {
|
|
get {
|
|
return ((string)(this[this.tablePackagDet.PackagDescColumn]));
|
|
}
|
|
set {
|
|
this[this.tablePackagDet.PackagDescColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal RMCost {
|
|
get {
|
|
return ((decimal)(this[this.tablePackagDet.RMCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tablePackagDet.RMCostColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal RMWeight {
|
|
get {
|
|
return ((decimal)(this[this.tablePackagDet.RMWeightColumn]));
|
|
}
|
|
set {
|
|
this[this.tablePackagDet.RMWeightColumn] = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class AgentsDetRow : global::System.Data.DataRow {
|
|
|
|
private AgentsDetDataTable tableAgentsDet;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal AgentsDetRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableAgentsDet = ((AgentsDetDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CodAg {
|
|
get {
|
|
return ((string)(this[this.tableAgentsDet.CodAgColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAgentsDet.CodAgColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Lastname {
|
|
get {
|
|
return ((string)(this[this.tableAgentsDet.LastnameColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAgentsDet.LastnameColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Firstname {
|
|
get {
|
|
return ((string)(this[this.tableAgentsDet.FirstnameColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAgentsDet.FirstnameColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal QuotaProvvAg {
|
|
get {
|
|
return ((decimal)(this[this.tableAgentsDet.QuotaProvvAgColumn]));
|
|
}
|
|
set {
|
|
this[this.tableAgentsDet.QuotaProvvAgColumn] = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class PlantsDetRow : global::System.Data.DataRow {
|
|
|
|
private PlantsDetDataTable tablePlantsDet;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal PlantsDetRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tablePlantsDet = ((PlantsDetDataTable)(this.Table));
|
|
}
|
|
|
|
[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.tablePlantsDet.CodPlantColumn]));
|
|
}
|
|
set {
|
|
this[this.tablePlantsDet.CodPlantColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string Descript {
|
|
get {
|
|
return ((string)(this[this.tablePlantsDet.DescriptColumn]));
|
|
}
|
|
set {
|
|
this[this.tablePlantsDet.DescriptColumn] = 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.tablePlantsDet.ChargeColumn]));
|
|
}
|
|
set {
|
|
this[this.tablePlantsDet.ChargeColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public Cost2PlantRow[] GetCost2PlantRows() {
|
|
if ((this.Table.ChildRelations["FK_Cost2Plant_PlantsDet"] == null)) {
|
|
return new Cost2PlantRow[0];
|
|
}
|
|
else {
|
|
return ((Cost2PlantRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Cost2Plant_PlantsDet"])));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class UtilitiesRow : global::System.Data.DataRow {
|
|
|
|
private UtilitiesDataTable tableUtilities;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal UtilitiesRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableUtilities = ((UtilitiesDataTable)(this.Table));
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public string CodUtil {
|
|
get {
|
|
return ((string)(this[this.tableUtilities.CodUtilColumn]));
|
|
}
|
|
set {
|
|
this[this.tableUtilities.CodUtilColumn] = 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.tableUtilities.CodPlantColumn]));
|
|
}
|
|
set {
|
|
this[this.tableUtilities.CodPlantColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal UnitCost {
|
|
get {
|
|
return ((decimal)(this[this.tableUtilities.UnitCostColumn]));
|
|
}
|
|
set {
|
|
this[this.tableUtilities.UnitCostColumn] = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Represents strongly named DataRow class.
|
|
///</summary>
|
|
public partial class Cost2PlantRow : global::System.Data.DataRow {
|
|
|
|
private Cost2PlantDataTable tableCost2Plant;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
internal Cost2PlantRow(global::System.Data.DataRowBuilder rb) :
|
|
base(rb) {
|
|
this.tableCost2Plant = ((Cost2PlantDataTable)(this.Table));
|
|
}
|
|
|
|
[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.tableCost2Plant.CodPlantColumn]));
|
|
}
|
|
set {
|
|
this[this.tableCost2Plant.CodPlantColumn] = 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.tableCost2Plant.ProcessNumColumn]));
|
|
}
|
|
set {
|
|
this[this.tableCost2Plant.ProcessNumColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal FC {
|
|
get {
|
|
return ((decimal)(this[this.tableCost2Plant.FCColumn]));
|
|
}
|
|
set {
|
|
this[this.tableCost2Plant.FCColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal VC {
|
|
get {
|
|
return ((decimal)(this[this.tableCost2Plant.VCColumn]));
|
|
}
|
|
set {
|
|
this[this.tableCost2Plant.VCColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal OH {
|
|
get {
|
|
return ((decimal)(this[this.tableCost2Plant.OHColumn]));
|
|
}
|
|
set {
|
|
this[this.tableCost2Plant.OHColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal SC {
|
|
get {
|
|
return ((decimal)(this[this.tableCost2Plant.SCColumn]));
|
|
}
|
|
set {
|
|
this[this.tableCost2Plant.SCColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal QuotaPlantStd {
|
|
get {
|
|
return ((decimal)(this[this.tableCost2Plant.QuotaPlantStdColumn]));
|
|
}
|
|
set {
|
|
this[this.tableCost2Plant.QuotaPlantStdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public decimal QuotaManStd {
|
|
get {
|
|
return ((decimal)(this[this.tableCost2Plant.QuotaManStdColumn]));
|
|
}
|
|
set {
|
|
this[this.tableCost2Plant.QuotaManStdColumn] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public PlantsDetRow PlantsDetRow {
|
|
get {
|
|
return ((PlantsDetRow)(this.GetParentRow(this.Table.ParentRelations["FK_Cost2Plant_PlantsDet"])));
|
|
}
|
|
set {
|
|
this.SetParentRow(value, this.Table.ParentRelations["FK_Cost2Plant_PlantsDet"]);
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <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;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
///Row event argument class
|
|
///</summary>
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|
public class stp_checkValidQuoteRowChangeEvent : global::System.EventArgs {
|
|
|
|
private stp_checkValidQuoteRow 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 stp_checkValidQuoteRowChangeEvent(stp_checkValidQuoteRow 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 stp_checkValidQuoteRow 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 prtQuoteRowChangeEvent : global::System.EventArgs {
|
|
|
|
private prtQuoteRow 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 prtQuoteRowChangeEvent(prtQuoteRow 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 prtQuoteRow 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 stp_chekLastRevQuoteRowChangeEvent : global::System.EventArgs {
|
|
|
|
private stp_chekLastRevQuoteRow 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 stp_chekLastRevQuoteRowChangeEvent(stp_chekLastRevQuoteRow 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 stp_chekLastRevQuoteRow 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 PackagDetRowChangeEvent : global::System.EventArgs {
|
|
|
|
private PackagDetRow 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 PackagDetRowChangeEvent(PackagDetRow 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 PackagDetRow 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 AgentsDetRowChangeEvent : global::System.EventArgs {
|
|
|
|
private AgentsDetRow 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 AgentsDetRowChangeEvent(AgentsDetRow 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 AgentsDetRow 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 PlantsDetRowChangeEvent : global::System.EventArgs {
|
|
|
|
private PlantsDetRow 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 PlantsDetRowChangeEvent(PlantsDetRow 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 PlantsDetRow 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 UtilitiesRowChangeEvent : global::System.EventArgs {
|
|
|
|
private UtilitiesRow 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 UtilitiesRowChangeEvent(UtilitiesRow 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 UtilitiesRow 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 Cost2PlantRowChangeEvent : global::System.EventArgs {
|
|
|
|
private Cost2PlantRow 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 Cost2PlantRowChangeEvent(Cost2PlantRow 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 Cost2PlantRow 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("OfferResult", "OfferResult");
|
|
tableMapping.ColumnMappings.Add("KoReason", "KoReason");
|
|
tableMapping.ColumnMappings.Add("Agente", "Agente");
|
|
tableMapping.ColumnMappings.Add("ProdType", "ProdType");
|
|
tableMapping.ColumnMappings.Add("IdxQState", "IdxQState");
|
|
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("OrdQty", "OrdQty");
|
|
tableMapping.ColumnMappings.Add("valid", "valid");
|
|
tableMapping.ColumnMappings.Add("errorScore", "errorScore");
|
|
tableMapping.ColumnMappings.Add("UserCreaz", "UserCreaz");
|
|
tableMapping.ColumnMappings.Add("DataCreaz", "DataCreaz");
|
|
tableMapping.ColumnMappings.Add("UserMod", "UserMod");
|
|
tableMapping.ColumnMappings.Add("DataMod", "DataMod");
|
|
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.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 *\r\nFROM 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("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, 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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, 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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, 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_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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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 UserMod, 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 ((UserMod == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(UserMod));
|
|
}
|
|
if ((QuoteType_orig == null)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(QuoteType_orig));
|
|
}
|
|
if ((CodQuote_orig.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((long)(CodQuote_orig.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuoteRev_orig.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((int)(QuoteRev_orig.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].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, string UserMod) {
|
|
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));
|
|
}
|
|
if ((UserMod == null)) {
|
|
this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[10].Value = ((string)(UserMod));
|
|
}
|
|
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, string UserMod) {
|
|
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;
|
|
}
|
|
if ((UserMod == null)) {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(UserMod));
|
|
}
|
|
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, string UserMod) {
|
|
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;
|
|
}
|
|
if ((UserMod == null)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(UserMod));
|
|
}
|
|
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 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.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.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.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.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.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("OfferResult", "OfferResult");
|
|
tableMapping.ColumnMappings.Add("KoReason", "KoReason");
|
|
tableMapping.ColumnMappings.Add("Agente", "Agente");
|
|
tableMapping.ColumnMappings.Add("ProdType", "ProdType");
|
|
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", "DiesPrice");
|
|
tableMapping.ColumnMappings.Add("DiesExpLife", "DiesExpLife");
|
|
tableMapping.ColumnMappings.Add("DiesEOLife", "DiesEOLife");
|
|
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", "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("valid", "valid");
|
|
tableMapping.ColumnMappings.Add("errorScore", "errorScore");
|
|
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("NetProd04_sim", "NetProd04_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");
|
|
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.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[17];
|
|
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("@CodItemGroup", 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[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, 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_QLF_UpdCosts";
|
|
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("@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[10].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[10].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[10].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[11] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[11].Connection = this.Connection;
|
|
this._commandCollection[11].CommandText = "dbo.stp_QLS_UpdDiesPar";
|
|
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("@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[11].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[11].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[11].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[11].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[11].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[11].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[12] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[12].Connection = this.Connection;
|
|
this._commandCollection[12].CommandText = "dbo.stp_QLS_UpdExtrPar";
|
|
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("@TipoDies", global::System.Data.SqlDbType.NVarChar, 50, 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("@DiamDies", 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("@HoleNumDies", 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("@CodPlant", global::System.Data.SqlDbType.NVarChar, 50, 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("@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[12].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[12].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[12].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[12].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[13] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[13].Connection = this.Connection;
|
|
this._commandCollection[13].CommandText = "dbo.stp_QLF_UpdHead";
|
|
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("@CodClient", global::System.Data.SqlDbType.NVarChar, 50, 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("@CodItem", global::System.Data.SqlDbType.NVarChar, 50, 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("@RawMat", global::System.Data.SqlDbType.NVarChar, 50, 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("@RawMatCost", 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("@RawMatExtraCost", 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("@BatchQty", 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("@CodInco", global::System.Data.SqlDbType.NVarChar, 5, 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("@Note", global::System.Data.SqlDbType.NVarChar, 2500, 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("@OfferResult", global::System.Data.SqlDbType.NVarChar, 10, 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("@KoReason", global::System.Data.SqlDbType.NVarChar, 10, 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("@Agente", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 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_UpdHead";
|
|
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("@CodClient", 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("@CodItem", 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("@UnitWeight", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[14].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[14].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[14].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[14].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[14].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[14].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[14].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[14].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[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OfferResult", global::System.Data.SqlDbType.NVarChar, 10, 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("@KoReason", global::System.Data.SqlDbType.NVarChar, 10, 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("@Agente", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, 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_QLS_UpdPackPar";
|
|
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("@CodPackag", 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("@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[15].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[16] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[16].Connection = this.Connection;
|
|
this._commandCollection[16].CommandText = "dbo.stp_QLF_UpdQState";
|
|
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("@IdxQState", 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("@UserMod", 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.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 CodItemGroup, string RawMat, global::System.Nullable<decimal> RawMatCost, global::System.Nullable<decimal> RawMatExtraCost, global::System.Nullable<int> BatchQty, string CodInco, string Note, string UserMod) {
|
|
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 ((CodItemGroup == null)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodItemGroup));
|
|
}
|
|
if ((RawMat == null)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((string)(RawMat));
|
|
}
|
|
if ((RawMatCost.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = ((decimal)(RawMatCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((RawMatExtraCost.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = ((decimal)(RawMatExtraCost.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((BatchQty.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = ((int)(BatchQty.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CodInco == null)) {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[9].Value = ((string)(CodInco));
|
|
}
|
|
if ((Note == null)) {
|
|
this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[10].Value = ((string)(Note));
|
|
}
|
|
if ((UserMod == null)) {
|
|
this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[11].Value = ((string)(UserMod));
|
|
}
|
|
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[10];
|
|
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[11];
|
|
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[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 ((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, string OfferResult, string KoReason, string Agente) {
|
|
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 ((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));
|
|
}
|
|
if ((OfferResult == null)) {
|
|
this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[12].Value = ((string)(OfferResult));
|
|
}
|
|
if ((KoReason == null)) {
|
|
this.Adapter.SelectCommand.Parameters[13].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[13].Value = ((string)(KoReason));
|
|
}
|
|
if ((Agente == null)) {
|
|
this.Adapter.SelectCommand.Parameters[14].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[14].Value = ((string)(Agente));
|
|
}
|
|
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,
|
|
string OfferResult,
|
|
string KoReason,
|
|
string Agente) {
|
|
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 ((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));
|
|
}
|
|
if ((OfferResult == null)) {
|
|
this.Adapter.SelectCommand.Parameters[15].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[15].Value = ((string)(OfferResult));
|
|
}
|
|
if ((KoReason == null)) {
|
|
this.Adapter.SelectCommand.Parameters[16].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[16].Value = ((string)(KoReason));
|
|
}
|
|
if ((Agente == null)) {
|
|
this.Adapter.SelectCommand.Parameters[17].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[17].Value = ((string)(Agente));
|
|
}
|
|
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[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 ((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, string UserMod) {
|
|
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 ((IdxQState.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(IdxQState.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((UserMod == null)) {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[5].Value = ((string)(UserMod));
|
|
}
|
|
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("OfferResult", "OfferResult");
|
|
tableMapping.ColumnMappings.Add("KoReason", "KoReason");
|
|
tableMapping.ColumnMappings.Add("Agente", "Agente");
|
|
tableMapping.ColumnMappings.Add("ProdType", "ProdType");
|
|
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_sim", "DiesPrice_sim");
|
|
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_sim", "WSR01_sim");
|
|
tableMapping.ColumnMappings.Add("WSR01", "WSR01");
|
|
tableMapping.ColumnMappings.Add("MSR01_sim", "MSR01_sim");
|
|
tableMapping.ColumnMappings.Add("MSR01", "MSR01");
|
|
tableMapping.ColumnMappings.Add("NetProd01_sim", "NetProd01_sim");
|
|
tableMapping.ColumnMappings.Add("NetProd04_sim", "NetProd04_sim");
|
|
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_sim", "DSR_sim");
|
|
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);
|
|
}
|
|
|
|
[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.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 * FROM 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;
|
|
}
|
|
}
|
|
|
|
/// <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);
|
|
}
|
|
|
|
[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.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[5];
|
|
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, Ex" +
|
|
"traServCost\r\nFROM 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_deleteQuery";
|
|
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_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] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[2].Connection = this.Connection;
|
|
this._commandCollection[2].CommandText = "dbo.stp_RMD_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("@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] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[3].Connection = this.Connection;
|
|
this._commandCollection[3].CommandText = "dbo.stp_RMD_insertQuery";
|
|
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("@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] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_RMD_updateQuery";
|
|
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("@Original_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("@ProcCost", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ProcYield", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CSR", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SSR", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SSVA", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SSVR", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtraMatCost", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtraServCost", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, 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[2];
|
|
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 deleteQuery(string Original_RawMat) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_RawMat == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(Original_RawMat));
|
|
}
|
|
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 int insertQuery(string RawMat) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((RawMat == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(RawMat));
|
|
}
|
|
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 int updateQuery(string Original_RawMat, global::System.Nullable<decimal> ProcCost, global::System.Nullable<decimal> ProcYield, global::System.Nullable<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) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
|
if ((Original_RawMat == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(Original_RawMat));
|
|
}
|
|
if ((ProcCost.HasValue == true)) {
|
|
command.Parameters[2].Value = ((decimal)(ProcCost.Value));
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ProcYield.HasValue == true)) {
|
|
command.Parameters[3].Value = ((decimal)(ProcYield.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((CSR.HasValue == true)) {
|
|
command.Parameters[4].Value = ((decimal)(CSR.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((SSR.HasValue == true)) {
|
|
command.Parameters[5].Value = ((decimal)(SSR.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((SSVA.HasValue == true)) {
|
|
command.Parameters[6].Value = ((decimal)(SSVA.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((SSVR.HasValue == true)) {
|
|
command.Parameters[7].Value = ((decimal)(SSVR.Value));
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ExtraMatCost.HasValue == true)) {
|
|
command.Parameters[8].Value = ((decimal)(ExtraMatCost.Value));
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((ExtraServCost.HasValue == true)) {
|
|
command.Parameters[9].Value = ((decimal)(ExtraServCost.Value));
|
|
}
|
|
else {
|
|
command.Parameters[9].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 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.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>
|
|
///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 stp_checkValidQuoteTableAdapter : 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 stp_checkValidQuoteTableAdapter() {
|
|
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 = "stp_checkValidQuote";
|
|
tableMapping.ColumnMappings.Add("checkOk", "checkOk");
|
|
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.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 = "dbo.stp_checkValidQuote";
|
|
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[0].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[0].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[0].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.stp_checkValidQuoteDataTable dataTable, string QuoteType, global::System.Nullable<long> CodQuote, global::System.Nullable<int> QuoteRev) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
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 ((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.stp_checkValidQuoteDataTable GetData(string QuoteType, global::System.Nullable<long> CodQuote, global::System.Nullable<int> QuoteRev) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
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.stp_checkValidQuoteDataTable dataTable = new DS_Quotes.stp_checkValidQuoteDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <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 prtQuoteTableAdapter : 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 prtQuoteTableAdapter() {
|
|
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 = "prtQuote";
|
|
tableMapping.ColumnMappings.Add("Vers", "Vers");
|
|
tableMapping.ColumnMappings.Add("QuoteType", "QuoteType");
|
|
tableMapping.ColumnMappings.Add("CodQuote", "CodQuote");
|
|
tableMapping.ColumnMappings.Add("QuoteRev", "QuoteRev");
|
|
tableMapping.ColumnMappings.Add("OfferResult", "OfferResult");
|
|
tableMapping.ColumnMappings.Add("KoReason", "KoReason");
|
|
tableMapping.ColumnMappings.Add("Agente", "Agente");
|
|
tableMapping.ColumnMappings.Add("ProdType", "ProdType");
|
|
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", "DiesPrice");
|
|
tableMapping.ColumnMappings.Add("DiesExpLife", "DiesExpLife");
|
|
tableMapping.ColumnMappings.Add("DiesEOLife", "DiesEOLife");
|
|
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", "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("valid", "valid");
|
|
tableMapping.ColumnMappings.Add("errorScore", "errorScore");
|
|
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("NetProd04_sim", "NetProd04_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("Cli_ZipCode", "Cli_ZipCode");
|
|
tableMapping.ColumnMappings.Add("Cli_City", "Cli_City");
|
|
tableMapping.ColumnMappings.Add("Cli_State", "Cli_State");
|
|
tableMapping.ColumnMappings.Add("Cli_Nation", "Cli_Nation");
|
|
tableMapping.ColumnMappings.Add("DescInco", "DescInco");
|
|
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.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 = "dbo.stp_prt_dsQuoteFull_Q_Data";
|
|
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[0].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[0].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, "", "", ""));
|
|
}
|
|
|
|
[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.prtQuoteDataTable dataTable, global::System.Nullable<int> Ticket, string Chiave) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((Ticket.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Ticket.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Chiave == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Chiave));
|
|
}
|
|
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.prtQuoteDataTable GetData(global::System.Nullable<int> Ticket, string Chiave) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
if ((Ticket.HasValue == true)) {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Ticket.Value));
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Chiave == null)) {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Chiave));
|
|
}
|
|
DS_Quotes.prtQuoteDataTable dataTable = new DS_Quotes.prtQuoteDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <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 stp_chekLastRevQuoteTableAdapter : 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 stp_chekLastRevQuoteTableAdapter() {
|
|
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 = "stp_chekLastRevQuote";
|
|
tableMapping.ColumnMappings.Add("lastRev", "lastRev");
|
|
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.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 = "dbo.stp_chekLastRevQuote";
|
|
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[0].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[0].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, "", "", ""));
|
|
}
|
|
|
|
[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.stp_chekLastRevQuoteDataTable dataTable, string QuoteType, global::System.Nullable<long> CodQuote) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
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 ((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.stp_chekLastRevQuoteDataTable GetData(string QuoteType, global::System.Nullable<long> CodQuote) {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
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.stp_chekLastRevQuoteDataTable dataTable = new DS_Quotes.stp_chekLastRevQuoteDataTable();
|
|
this.Adapter.Fill(dataTable);
|
|
return dataTable;
|
|
}
|
|
}
|
|
|
|
/// <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 PackagDetTableAdapter : 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 PackagDetTableAdapter() {
|
|
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 = "PackagDet";
|
|
tableMapping.ColumnMappings.Add("CodPackag", "CodPackag");
|
|
tableMapping.ColumnMappings.Add("PackagDesc", "PackagDesc");
|
|
tableMapping.ColumnMappings.Add("RMCost", "RMCost");
|
|
tableMapping.ColumnMappings.Add("RMWeight", "RMWeight");
|
|
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].[PackagDet] WHERE (([CodPackag] = @Original_CodPackag) AND ([Pa" +
|
|
"ckagDesc] = @Original_PackagDesc) AND ([RMCost] = @Original_RMCost) AND ([RMWeig" +
|
|
"ht] = @Original_RMWeight))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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_PackagDesc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PackagDesc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RMCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "RMCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RMWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "RMWeight", 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].[PackagDet] ([CodPackag], [PackagDesc], [RMCost], [RMWeight]) V" +
|
|
"ALUES (@CodPackag, @PackagDesc, @RMCost, @RMWeight);\r\nSELECT CodPackag, PackagDe" +
|
|
"sc, RMCost, RMWeight FROM PackagDet WHERE (CodPackag = @CodPackag)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@PackagDesc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PackagDesc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RMCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "RMCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RMWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "RMWeight", 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].[PackagDet] SET [CodPackag] = @CodPackag, [PackagDesc] = @PackagDesc, [RMCost] = @RMCost, [RMWeight] = @RMWeight WHERE (([CodPackag] = @Original_CodPackag) AND ([PackagDesc] = @Original_PackagDesc) AND ([RMCost] = @Original_RMCost) AND ([RMWeight] = @Original_RMWeight));
|
|
SELECT CodPackag, PackagDesc, RMCost, RMWeight FROM PackagDet WHERE (CodPackag = @CodPackag)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@PackagDesc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PackagDesc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RMCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "RMCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RMWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "RMWeight", global::System.Data.DataRowVersion.Current, 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_PackagDesc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PackagDesc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RMCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 3, "RMCost", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RMWeight", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "RMWeight", 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.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[4];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT CodPackag, PackagDesc, RMCost, RMWeight FROM dbo.PackagDet";
|
|
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_PD_deleteQuery";
|
|
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_CodPackag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_PD_insertQuery";
|
|
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("@CodPackag", 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("@PackagDesc", global::System.Data.SqlDbType.NVarChar, 250, 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("@RMCost", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RMWeight", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, 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_PD_updateQuery";
|
|
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("@CodPackag", 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("@PackagDesc", global::System.Data.SqlDbType.NVarChar, 250, 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("@RMCost", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RMWeight", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPackag", 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.PackagDetDataTable 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.PackagDetDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.PackagDetDataTable dataTable = new DS_Quotes.PackagDetDataTable();
|
|
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.PackagDetDataTable 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, "PackagDet");
|
|
}
|
|
|
|
[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_CodPackag, string Original_PackagDesc, decimal Original_RMCost, decimal Original_RMWeight) {
|
|
if ((Original_CodPackag == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPackag");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodPackag));
|
|
}
|
|
if ((Original_PackagDesc == null)) {
|
|
throw new global::System.ArgumentNullException("Original_PackagDesc");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_PackagDesc));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_RMCost));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((decimal)(Original_RMWeight));
|
|
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 CodPackag, string PackagDesc, decimal RMCost, decimal RMWeight) {
|
|
if ((CodPackag == null)) {
|
|
throw new global::System.ArgumentNullException("CodPackag");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodPackag));
|
|
}
|
|
if ((PackagDesc == null)) {
|
|
throw new global::System.ArgumentNullException("PackagDesc");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(PackagDesc));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(RMCost));
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(RMWeight));
|
|
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 CodPackag, string PackagDesc, decimal RMCost, decimal RMWeight, string Original_CodPackag, string Original_PackagDesc, decimal Original_RMCost, decimal Original_RMWeight) {
|
|
if ((CodPackag == null)) {
|
|
throw new global::System.ArgumentNullException("CodPackag");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodPackag));
|
|
}
|
|
if ((PackagDesc == null)) {
|
|
throw new global::System.ArgumentNullException("PackagDesc");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(PackagDesc));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(RMCost));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(RMWeight));
|
|
if ((Original_CodPackag == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPackag");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodPackag));
|
|
}
|
|
if ((Original_PackagDesc == null)) {
|
|
throw new global::System.ArgumentNullException("Original_PackagDesc");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_PackagDesc));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(Original_RMCost));
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(Original_RMWeight));
|
|
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 PackagDesc, decimal RMCost, decimal RMWeight, string Original_CodPackag, string Original_PackagDesc, decimal Original_RMCost, decimal Original_RMWeight) {
|
|
return this.Update(Original_CodPackag, PackagDesc, RMCost, RMWeight, Original_CodPackag, Original_PackagDesc, Original_RMCost, Original_RMWeight);
|
|
}
|
|
|
|
[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, false)]
|
|
public virtual int deleteQuery(string Original_CodPackag) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_CodPackag == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(Original_CodPackag));
|
|
}
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
|
|
public virtual int insertQuery(string CodPackag, string PackagDesc, global::System.Nullable<decimal> RMCost, global::System.Nullable<decimal> RMWeight) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((CodPackag == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodPackag));
|
|
}
|
|
if ((PackagDesc == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(PackagDesc));
|
|
}
|
|
if ((RMCost.HasValue == true)) {
|
|
command.Parameters[3].Value = ((decimal)(RMCost.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((RMWeight.HasValue == true)) {
|
|
command.Parameters[4].Value = ((decimal)(RMWeight.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;
|
|
}
|
|
|
|
[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, false)]
|
|
public virtual int updateQuery(string CodPackag, string PackagDesc, global::System.Nullable<decimal> RMCost, global::System.Nullable<decimal> RMWeight, string Original_CodPackag) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((CodPackag == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodPackag));
|
|
}
|
|
if ((PackagDesc == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(PackagDesc));
|
|
}
|
|
if ((RMCost.HasValue == true)) {
|
|
command.Parameters[3].Value = ((decimal)(RMCost.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((RMWeight.HasValue == true)) {
|
|
command.Parameters[4].Value = ((decimal)(RMWeight.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_CodPackag == null)) {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = ((string)(Original_CodPackag));
|
|
}
|
|
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 AgentsDetTableAdapter : 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 AgentsDetTableAdapter() {
|
|
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 = "AgentsDet";
|
|
tableMapping.ColumnMappings.Add("CodAg", "CodAg");
|
|
tableMapping.ColumnMappings.Add("Lastname", "Lastname");
|
|
tableMapping.ColumnMappings.Add("Firstname", "Firstname");
|
|
tableMapping.ColumnMappings.Add("QuotaProvvAg", "QuotaProvvAg");
|
|
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].[AgentsDet] WHERE (([CodAg] = @Original_CodAg) AND ([Lastname] " +
|
|
"= @Original_Lastname) AND ([Firstname] = @Original_Firstname) AND ([QuotaProvvAg" +
|
|
"] = @Original_QuotaProvvAg))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodAg", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodAg", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Lastname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Lastname", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Firstname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Firstname", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuotaProvvAg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "QuotaProvvAg", 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].[AgentsDet] ([CodAg], [Lastname], [Firstname], [QuotaProvvAg]) " +
|
|
"VALUES (@CodAg, @Lastname, @Firstname, @QuotaProvvAg);\r\nSELECT CodAg, Lastname, " +
|
|
"Firstname, QuotaProvvAg FROM AgentsDet WHERE (CodAg = @CodAg)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodAg", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodAg", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Lastname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Lastname", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Firstname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Firstname", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuotaProvvAg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "QuotaProvvAg", 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].[AgentsDet] SET [CodAg] = @CodAg, [Lastname] = @Lastname, [Firstname] = @Firstname, [QuotaProvvAg] = @QuotaProvvAg WHERE (([CodAg] = @Original_CodAg) AND ([Lastname] = @Original_Lastname) AND ([Firstname] = @Original_Firstname) AND ([QuotaProvvAg] = @Original_QuotaProvvAg));
|
|
SELECT CodAg, Lastname, Firstname, QuotaProvvAg FROM AgentsDet WHERE (CodAg = @CodAg)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodAg", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodAg", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Lastname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Lastname", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Firstname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Firstname", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuotaProvvAg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "QuotaProvvAg", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodAg", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodAg", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Lastname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Lastname", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Firstname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Firstname", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuotaProvvAg", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "QuotaProvvAg", 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.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[4];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT CodAg, Lastname, Firstname, QuotaProvvAg FROM dbo.AgentsDet";
|
|
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_Agent_deleteQuery";
|
|
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_CodAg", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_Agent_insertQuery";
|
|
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("@CodAg", 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("@Lastname", 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("@Firstname", 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("@QuotaProvvAg", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, 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_Agent_updateQuery";
|
|
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("@CodAg", 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("@Lastname", 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("@Firstname", 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("@QuotaProvvAg", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodAg", 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.AgentsDetDataTable 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.AgentsDetDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.AgentsDetDataTable dataTable = new DS_Quotes.AgentsDetDataTable();
|
|
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.AgentsDetDataTable 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, "AgentsDet");
|
|
}
|
|
|
|
[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_CodAg, string Original_Lastname, string Original_Firstname, decimal Original_QuotaProvvAg) {
|
|
if ((Original_CodAg == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodAg");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodAg));
|
|
}
|
|
if ((Original_Lastname == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Lastname");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Lastname));
|
|
}
|
|
if ((Original_Firstname == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Firstname");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Firstname));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((decimal)(Original_QuotaProvvAg));
|
|
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 CodAg, string Lastname, string Firstname, decimal QuotaProvvAg) {
|
|
if ((CodAg == null)) {
|
|
throw new global::System.ArgumentNullException("CodAg");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodAg));
|
|
}
|
|
if ((Lastname == null)) {
|
|
throw new global::System.ArgumentNullException("Lastname");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Lastname));
|
|
}
|
|
if ((Firstname == null)) {
|
|
throw new global::System.ArgumentNullException("Firstname");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Firstname));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(QuotaProvvAg));
|
|
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 CodAg, string Lastname, string Firstname, decimal QuotaProvvAg, string Original_CodAg, string Original_Lastname, string Original_Firstname, decimal Original_QuotaProvvAg) {
|
|
if ((CodAg == null)) {
|
|
throw new global::System.ArgumentNullException("CodAg");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodAg));
|
|
}
|
|
if ((Lastname == null)) {
|
|
throw new global::System.ArgumentNullException("Lastname");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Lastname));
|
|
}
|
|
if ((Firstname == null)) {
|
|
throw new global::System.ArgumentNullException("Firstname");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Firstname));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(QuotaProvvAg));
|
|
if ((Original_CodAg == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodAg");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodAg));
|
|
}
|
|
if ((Original_Lastname == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Lastname");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_Lastname));
|
|
}
|
|
if ((Original_Firstname == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Firstname");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Firstname));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(Original_QuotaProvvAg));
|
|
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 Lastname, string Firstname, decimal QuotaProvvAg, string Original_CodAg, string Original_Lastname, string Original_Firstname, decimal Original_QuotaProvvAg) {
|
|
return this.Update(Original_CodAg, Lastname, Firstname, QuotaProvvAg, Original_CodAg, Original_Lastname, Original_Firstname, Original_QuotaProvvAg);
|
|
}
|
|
|
|
[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, false)]
|
|
public virtual int deleteQuery(string Original_CodAg) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_CodAg == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(Original_CodAg));
|
|
}
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
|
|
public virtual int insertQuery(string CodAg, string Lastname, string Firstname, global::System.Nullable<decimal> QuotaProvvAg) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((CodAg == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodAg));
|
|
}
|
|
if ((Lastname == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(Lastname));
|
|
}
|
|
if ((Firstname == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(Firstname));
|
|
}
|
|
if ((QuotaProvvAg.HasValue == true)) {
|
|
command.Parameters[4].Value = ((decimal)(QuotaProvvAg.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;
|
|
}
|
|
|
|
[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, false)]
|
|
public virtual int updateQuery(string CodAg, string Lastname, string Firstname, global::System.Nullable<decimal> QuotaProvvAg, string Original_CodAg) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((CodAg == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodAg));
|
|
}
|
|
if ((Lastname == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(Lastname));
|
|
}
|
|
if ((Firstname == null)) {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = ((string)(Firstname));
|
|
}
|
|
if ((QuotaProvvAg.HasValue == true)) {
|
|
command.Parameters[4].Value = ((decimal)(QuotaProvvAg.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_CodAg == null)) {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = ((string)(Original_CodAg));
|
|
}
|
|
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 PlantsDetTableAdapter : 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 PlantsDetTableAdapter() {
|
|
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 = "PlantsDet";
|
|
tableMapping.ColumnMappings.Add("CodPlant", "CodPlant");
|
|
tableMapping.ColumnMappings.Add("Descript", "Descript");
|
|
tableMapping.ColumnMappings.Add("Charge", "Charge");
|
|
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].[PlantsDet] WHERE (([CodPlant] = @Original_CodPlant) AND ([Desc" +
|
|
"ript] = @Original_Descript) AND ([Charge] = @Original_Charge))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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_Descript", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descript", 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.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.InsertCommand.Connection = this.Connection;
|
|
this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[PlantsDet] ([CodPlant], [Descript], [Charge]) VALUES (@CodPlan" +
|
|
"t, @Descript, @Charge);\r\nSELECT CodPlant, Descript, Charge FROM PlantsDet WHERE " +
|
|
"(CodPlant = @CodPlant)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@Descript", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descript", 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.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
|
this._adapter.UpdateCommand.Connection = this.Connection;
|
|
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[PlantsDet] SET [CodPlant] = @CodPlant, [Descript] = @Descript, [Charge] = @Charge WHERE (([CodPlant] = @Original_CodPlant) AND ([Descript] = @Original_Descript) AND ([Charge] = @Original_Charge));
|
|
SELECT CodPlant, Descript, Charge FROM PlantsDet WHERE (CodPlant = @CodPlant)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@Descript", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descript", 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("@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_Descript", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descript", 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, "", "", ""));
|
|
}
|
|
|
|
[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.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[4];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT CodPlant, Descript, Charge FROM dbo.PlantsDet";
|
|
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_Plants_deleteQuery";
|
|
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_CodPlant", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_Plants_insertQuery";
|
|
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("@CodPlant", 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("@Descript", global::System.Data.SqlDbType.NVarChar, 250, 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("@Charge", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, 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_Plants_updateQuery";
|
|
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("@CodPlant", 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("@Descript", global::System.Data.SqlDbType.NVarChar, 250, 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("@Charge", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPlant", 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.PlantsDetDataTable 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.PlantsDetDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.PlantsDetDataTable dataTable = new DS_Quotes.PlantsDetDataTable();
|
|
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.PlantsDetDataTable 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, "PlantsDet");
|
|
}
|
|
|
|
[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_CodPlant, string Original_Descript, decimal Original_Charge) {
|
|
if ((Original_CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodPlant));
|
|
}
|
|
if ((Original_Descript == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Descript");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Descript));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_Charge));
|
|
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 CodPlant, string Descript, decimal Charge) {
|
|
if ((CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodPlant));
|
|
}
|
|
if ((Descript == null)) {
|
|
throw new global::System.ArgumentNullException("Descript");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Descript));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(Charge));
|
|
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 CodPlant, string Descript, decimal Charge, string Original_CodPlant, string Original_Descript, decimal Original_Charge) {
|
|
if ((CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodPlant));
|
|
}
|
|
if ((Descript == null)) {
|
|
throw new global::System.ArgumentNullException("Descript");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Descript));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(Charge));
|
|
if ((Original_CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodPlant));
|
|
}
|
|
if ((Original_Descript == null)) {
|
|
throw new global::System.ArgumentNullException("Original_Descript");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_Descript));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(Original_Charge));
|
|
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 Descript, decimal Charge, string Original_CodPlant, string Original_Descript, decimal Original_Charge) {
|
|
return this.Update(Original_CodPlant, Descript, Charge, Original_CodPlant, Original_Descript, Original_Charge);
|
|
}
|
|
|
|
[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, false)]
|
|
public virtual int deleteQuery(string Original_CodPlant) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_CodPlant == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(Original_CodPlant));
|
|
}
|
|
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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
|
|
public virtual int insertQuery(string CodPlant, string Descript, global::System.Nullable<decimal> Charge) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((CodPlant == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodPlant));
|
|
}
|
|
if ((Descript == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(Descript));
|
|
}
|
|
if ((Charge.HasValue == true)) {
|
|
command.Parameters[3].Value = ((decimal)(Charge.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")]
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
|
|
public virtual int updateQuery(string CodPlant, string Descript, global::System.Nullable<decimal> Charge, string Original_CodPlant) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
if ((CodPlant == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodPlant));
|
|
}
|
|
if ((Descript == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(Descript));
|
|
}
|
|
if ((Charge.HasValue == true)) {
|
|
command.Parameters[3].Value = ((decimal)(Charge.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_CodPlant == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(Original_CodPlant));
|
|
}
|
|
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 UtilitiesTableAdapter : 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 UtilitiesTableAdapter() {
|
|
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 = "Utilities";
|
|
tableMapping.ColumnMappings.Add("CodUtil", "CodUtil");
|
|
tableMapping.ColumnMappings.Add("CodPlant", "CodPlant");
|
|
tableMapping.ColumnMappings.Add("UnitCost", "UnitCost");
|
|
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].[Utilities] WHERE (([CodUtil] = @Original_CodUtil) AND ([CodPla" +
|
|
"nt] = @Original_CodPlant) AND ([UnitCost] = @Original_UnitCost))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodUtil", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodUtil", 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_UnitCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "UnitCost", 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].[Utilities] ([CodUtil], [CodPlant], [UnitCost]) VALUES (@CodUti" +
|
|
"l, @CodPlant, @UnitCost);\r\nSELECT CodUtil, CodPlant, UnitCost FROM Utilities WHE" +
|
|
"RE (CodPlant = @CodPlant) AND (CodUtil = @CodUtil)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodUtil", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodUtil", 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("@UnitCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "UnitCost", 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].[Utilities] SET [CodUtil] = @CodUtil, [CodPlant] = @CodPlant, [UnitCost] = @UnitCost WHERE (([CodUtil] = @Original_CodUtil) AND ([CodPlant] = @Original_CodPlant) AND ([UnitCost] = @Original_UnitCost));
|
|
SELECT CodUtil, CodPlant, UnitCost FROM Utilities WHERE (CodPlant = @CodPlant) AND (CodUtil = @CodUtil)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodUtil", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodUtil", 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("@UnitCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "UnitCost", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodUtil", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodUtil", 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_UnitCost", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 6, "UnitCost", 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.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[5];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT CodUtil, CodPlant, UnitCost FROM dbo.Utilities";
|
|
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_Utilities_deleteQuery";
|
|
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_CodUtil", global::System.Data.SqlDbType.NVarChar, 50, 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_CodPlant", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_Utilities_insertQuery";
|
|
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("@CodUtil", 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("@CodPlant", 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("@UnitCost", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, 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_Utilities_insMissing";
|
|
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[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_Utilities_updateQuery";
|
|
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("@CodUtil", 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("@CodPlant", 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("@UnitCost", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodUtil", 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("@Original_CodPlant", 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.UtilitiesDataTable 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.UtilitiesDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.UtilitiesDataTable dataTable = new DS_Quotes.UtilitiesDataTable();
|
|
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.UtilitiesDataTable 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, "Utilities");
|
|
}
|
|
|
|
[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_CodUtil, string Original_CodPlant, decimal Original_UnitCost) {
|
|
if ((Original_CodUtil == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodUtil");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodUtil));
|
|
}
|
|
if ((Original_CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodPlant));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_UnitCost));
|
|
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 CodUtil, string CodPlant, decimal UnitCost) {
|
|
if ((CodUtil == null)) {
|
|
throw new global::System.ArgumentNullException("CodUtil");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodUtil));
|
|
}
|
|
if ((CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodPlant));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(UnitCost));
|
|
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 CodUtil, string CodPlant, decimal UnitCost, string Original_CodUtil, string Original_CodPlant, decimal Original_UnitCost) {
|
|
if ((CodUtil == null)) {
|
|
throw new global::System.ArgumentNullException("CodUtil");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodUtil));
|
|
}
|
|
if ((CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodPlant));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(UnitCost));
|
|
if ((Original_CodUtil == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodUtil");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_CodUtil));
|
|
}
|
|
if ((Original_CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodPlant));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(Original_UnitCost));
|
|
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 UnitCost, string Original_CodUtil, string Original_CodPlant, decimal Original_UnitCost) {
|
|
return this.Update(Original_CodUtil, Original_CodPlant, UnitCost, Original_CodUtil, Original_CodPlant, Original_UnitCost);
|
|
}
|
|
|
|
[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_CodUtil, string Original_CodPlant) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_CodUtil == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(Original_CodUtil));
|
|
}
|
|
if ((Original_CodPlant == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(Original_CodPlant));
|
|
}
|
|
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 int insertQuery(string CodUtil, string CodPlant, global::System.Nullable<decimal> UnitCost) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((CodUtil == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodUtil));
|
|
}
|
|
if ((CodPlant == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(CodPlant));
|
|
}
|
|
if ((UnitCost.HasValue == true)) {
|
|
command.Parameters[3].Value = ((decimal)(UnitCost.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 int insMissing() {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
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 int updateQuery(string CodUtil, string CodPlant, global::System.Nullable<decimal> UnitCost, string Original_CodUtil, string Original_CodPlant) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
|
if ((CodUtil == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodUtil));
|
|
}
|
|
if ((CodPlant == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(CodPlant));
|
|
}
|
|
if ((UnitCost.HasValue == true)) {
|
|
command.Parameters[3].Value = ((decimal)(UnitCost.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_CodUtil == null)) {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = ((string)(Original_CodUtil));
|
|
}
|
|
if ((Original_CodPlant == null)) {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = ((string)(Original_CodPlant));
|
|
}
|
|
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 Cost2PlantTableAdapter : 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 Cost2PlantTableAdapter() {
|
|
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 = "Cost2Plant";
|
|
tableMapping.ColumnMappings.Add("CodPlant", "CodPlant");
|
|
tableMapping.ColumnMappings.Add("ProcessNum", "ProcessNum");
|
|
tableMapping.ColumnMappings.Add("FC", "FC");
|
|
tableMapping.ColumnMappings.Add("VC", "VC");
|
|
tableMapping.ColumnMappings.Add("OH", "OH");
|
|
tableMapping.ColumnMappings.Add("SC", "SC");
|
|
tableMapping.ColumnMappings.Add("QuotaPlantStd", "QuotaPlantStd");
|
|
tableMapping.ColumnMappings.Add("QuotaManStd", "QuotaManStd");
|
|
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].[Cost2Plant] WHERE (([CodPlant] = @Original_CodPlant) AND ([ProcessNum] = @Original_ProcessNum) AND ([FC] = @Original_FC) AND ([VC] = @Original_VC) AND ([OH] = @Original_OH) AND ([SC] = @Original_SC) AND ([QuotaPlantStd] = @Original_QuotaPlantStd) AND ([QuotaManStd] = @Original_QuotaManStd))";
|
|
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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_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_FC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "FC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_VC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "VC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OH", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "OH", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "SC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuotaPlantStd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "QuotaPlantStd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuotaManStd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "QuotaManStd", 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].[Cost2Plant] ([CodPlant], [ProcessNum], [FC], [VC], [OH], [SC], [QuotaPlantStd], [QuotaManStd]) VALUES (@CodPlant, @ProcessNum, @FC, @VC, @OH, @SC, @QuotaPlantStd, @QuotaManStd);
|
|
SELECT CodPlant, ProcessNum, FC, VC, OH, SC, QuotaPlantStd, QuotaManStd FROM Cost2Plant WHERE (CodPlant = @CodPlant) AND (ProcessNum = @ProcessNum)";
|
|
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@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("@FC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "FC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "VC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OH", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "OH", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "SC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuotaPlantStd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "QuotaPlantStd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuotaManStd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "QuotaManStd", 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].[Cost2Plant] SET [CodPlant] = @CodPlant, [ProcessNum] = @ProcessNum, [FC] = @FC, [VC] = @VC, [OH] = @OH, [SC] = @SC, [QuotaPlantStd] = @QuotaPlantStd, [QuotaManStd] = @QuotaManStd WHERE (([CodPlant] = @Original_CodPlant) AND ([ProcessNum] = @Original_ProcessNum) AND ([FC] = @Original_FC) AND ([VC] = @Original_VC) AND ([OH] = @Original_OH) AND ([SC] = @Original_SC) AND ([QuotaPlantStd] = @Original_QuotaPlantStd) AND ([QuotaManStd] = @Original_QuotaManStd));
|
|
SELECT CodPlant, ProcessNum, FC, VC, OH, SC, QuotaPlantStd, QuotaManStd FROM Cost2Plant WHERE (CodPlant = @CodPlant) AND (ProcessNum = @ProcessNum)";
|
|
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
|
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("@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("@FC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "FC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "VC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OH", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "OH", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "SC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuotaPlantStd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "QuotaPlantStd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuotaManStd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "QuotaManStd", global::System.Data.DataRowVersion.Current, 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_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_FC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "FC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_VC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "VC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OH", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "OH", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SC", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "SC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuotaPlantStd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "QuotaPlantStd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
|
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_QuotaManStd", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 9, 4, "QuotaManStd", 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.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[5];
|
|
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[0].Connection = this.Connection;
|
|
this._commandCollection[0].CommandText = "SELECT CodPlant, ProcessNum, FC, VC, OH, SC, QuotaPlantStd, QuotaManStd FROM dbo." +
|
|
"Cost2Plant";
|
|
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_Cost2Plant_deleteQuery";
|
|
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_CodPlant", global::System.Data.SqlDbType.NVarChar, 50, 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_ProcessNum", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_Cost2Plant_insertQuery";
|
|
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("@CodPlant", 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("@ProcessNum", 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("@FC", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VC", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OH", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SC", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuotaPlantStd", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuotaManStd", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, 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_Cost2Plant_insMissing";
|
|
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[4] = new global::System.Data.SqlClient.SqlCommand();
|
|
this._commandCollection[4].Connection = this.Connection;
|
|
this._commandCollection[4].CommandText = "dbo.stp_Cost2Plant_updateQuery";
|
|
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("@CodPlant", 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("@ProcessNum", 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("@FC", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@VC", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OH", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SC", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuotaPlantStd", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QuotaManStd", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 9, 4, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPlant", 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("@Original_ProcessNum", 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.Cost2PlantDataTable 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.Cost2PlantDataTable GetData() {
|
|
this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
DS_Quotes.Cost2PlantDataTable dataTable = new DS_Quotes.Cost2PlantDataTable();
|
|
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.Cost2PlantDataTable 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, "Cost2Plant");
|
|
}
|
|
|
|
[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_CodPlant, string Original_ProcessNum, decimal Original_FC, decimal Original_VC, decimal Original_OH, decimal Original_SC, decimal Original_QuotaPlantStd, decimal Original_QuotaManStd) {
|
|
if ((Original_CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodPlant));
|
|
}
|
|
if ((Original_ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("Original_ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_ProcessNum));
|
|
}
|
|
this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_FC));
|
|
this.Adapter.DeleteCommand.Parameters[3].Value = ((decimal)(Original_VC));
|
|
this.Adapter.DeleteCommand.Parameters[4].Value = ((decimal)(Original_OH));
|
|
this.Adapter.DeleteCommand.Parameters[5].Value = ((decimal)(Original_SC));
|
|
this.Adapter.DeleteCommand.Parameters[6].Value = ((decimal)(Original_QuotaPlantStd));
|
|
this.Adapter.DeleteCommand.Parameters[7].Value = ((decimal)(Original_QuotaManStd));
|
|
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 CodPlant, string ProcessNum, decimal FC, decimal VC, decimal OH, decimal SC, decimal QuotaPlantStd, decimal QuotaManStd) {
|
|
if ((CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodPlant));
|
|
}
|
|
if ((ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(ProcessNum));
|
|
}
|
|
this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(FC));
|
|
this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(VC));
|
|
this.Adapter.InsertCommand.Parameters[4].Value = ((decimal)(OH));
|
|
this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(SC));
|
|
this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(QuotaPlantStd));
|
|
this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(QuotaManStd));
|
|
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 CodPlant,
|
|
string ProcessNum,
|
|
decimal FC,
|
|
decimal VC,
|
|
decimal OH,
|
|
decimal SC,
|
|
decimal QuotaPlantStd,
|
|
decimal QuotaManStd,
|
|
string Original_CodPlant,
|
|
string Original_ProcessNum,
|
|
decimal Original_FC,
|
|
decimal Original_VC,
|
|
decimal Original_OH,
|
|
decimal Original_SC,
|
|
decimal Original_QuotaPlantStd,
|
|
decimal Original_QuotaManStd) {
|
|
if ((CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodPlant));
|
|
}
|
|
if ((ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(ProcessNum));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(FC));
|
|
this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(VC));
|
|
this.Adapter.UpdateCommand.Parameters[4].Value = ((decimal)(OH));
|
|
this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(SC));
|
|
this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(QuotaPlantStd));
|
|
this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(QuotaManStd));
|
|
if ((Original_CodPlant == null)) {
|
|
throw new global::System.ArgumentNullException("Original_CodPlant");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodPlant));
|
|
}
|
|
if ((Original_ProcessNum == null)) {
|
|
throw new global::System.ArgumentNullException("Original_ProcessNum");
|
|
}
|
|
else {
|
|
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_ProcessNum));
|
|
}
|
|
this.Adapter.UpdateCommand.Parameters[10].Value = ((decimal)(Original_FC));
|
|
this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(Original_VC));
|
|
this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(Original_OH));
|
|
this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(Original_SC));
|
|
this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(Original_QuotaPlantStd));
|
|
this.Adapter.UpdateCommand.Parameters[15].Value = ((decimal)(Original_QuotaManStd));
|
|
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 FC, decimal VC, decimal OH, decimal SC, decimal QuotaPlantStd, decimal QuotaManStd, string Original_CodPlant, string Original_ProcessNum, decimal Original_FC, decimal Original_VC, decimal Original_OH, decimal Original_SC, decimal Original_QuotaPlantStd, decimal Original_QuotaManStd) {
|
|
return this.Update(Original_CodPlant, Original_ProcessNum, FC, VC, OH, SC, QuotaPlantStd, QuotaManStd, Original_CodPlant, Original_ProcessNum, Original_FC, Original_VC, Original_OH, Original_SC, Original_QuotaPlantStd, Original_QuotaManStd);
|
|
}
|
|
|
|
[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_CodPlant, string Original_ProcessNum) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
|
if ((Original_CodPlant == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(Original_CodPlant));
|
|
}
|
|
if ((Original_ProcessNum == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(Original_ProcessNum));
|
|
}
|
|
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 int insertQuery(string CodPlant, string ProcessNum, global::System.Nullable<decimal> FC, global::System.Nullable<decimal> VC, global::System.Nullable<decimal> OH, global::System.Nullable<decimal> SC, global::System.Nullable<decimal> QuotaPlantStd, global::System.Nullable<decimal> QuotaManStd) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
|
if ((CodPlant == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodPlant));
|
|
}
|
|
if ((ProcessNum == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(ProcessNum));
|
|
}
|
|
if ((FC.HasValue == true)) {
|
|
command.Parameters[3].Value = ((decimal)(FC.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((VC.HasValue == true)) {
|
|
command.Parameters[4].Value = ((decimal)(VC.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OH.HasValue == true)) {
|
|
command.Parameters[5].Value = ((decimal)(OH.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((SC.HasValue == true)) {
|
|
command.Parameters[6].Value = ((decimal)(SC.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuotaPlantStd.HasValue == true)) {
|
|
command.Parameters[7].Value = ((decimal)(QuotaPlantStd.Value));
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuotaManStd.HasValue == true)) {
|
|
command.Parameters[8].Value = ((decimal)(QuotaManStd.Value));
|
|
}
|
|
else {
|
|
command.Parameters[8].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 int insMissing() {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
|
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 int updateQuery(string CodPlant, string ProcessNum, global::System.Nullable<decimal> FC, global::System.Nullable<decimal> VC, global::System.Nullable<decimal> OH, global::System.Nullable<decimal> SC, global::System.Nullable<decimal> QuotaPlantStd, global::System.Nullable<decimal> QuotaManStd, string Original_CodPlant, string Original_ProcessNum) {
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
|
if ((CodPlant == null)) {
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[1].Value = ((string)(CodPlant));
|
|
}
|
|
if ((ProcessNum == null)) {
|
|
command.Parameters[2].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[2].Value = ((string)(ProcessNum));
|
|
}
|
|
if ((FC.HasValue == true)) {
|
|
command.Parameters[3].Value = ((decimal)(FC.Value));
|
|
}
|
|
else {
|
|
command.Parameters[3].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((VC.HasValue == true)) {
|
|
command.Parameters[4].Value = ((decimal)(VC.Value));
|
|
}
|
|
else {
|
|
command.Parameters[4].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((OH.HasValue == true)) {
|
|
command.Parameters[5].Value = ((decimal)(OH.Value));
|
|
}
|
|
else {
|
|
command.Parameters[5].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((SC.HasValue == true)) {
|
|
command.Parameters[6].Value = ((decimal)(SC.Value));
|
|
}
|
|
else {
|
|
command.Parameters[6].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuotaPlantStd.HasValue == true)) {
|
|
command.Parameters[7].Value = ((decimal)(QuotaPlantStd.Value));
|
|
}
|
|
else {
|
|
command.Parameters[7].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((QuotaManStd.HasValue == true)) {
|
|
command.Parameters[8].Value = ((decimal)(QuotaManStd.Value));
|
|
}
|
|
else {
|
|
command.Parameters[8].Value = global::System.DBNull.Value;
|
|
}
|
|
if ((Original_CodPlant == null)) {
|
|
command.Parameters[9].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[9].Value = ((string)(Original_CodPlant));
|
|
}
|
|
if ((Original_ProcessNum == null)) {
|
|
command.Parameters[10].Value = global::System.DBNull.Value;
|
|
}
|
|
else {
|
|
command.Parameters[10].Value = ((string)(Original_ProcessNum));
|
|
}
|
|
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 QuoteRMTableAdapter _quoteRMTableAdapter;
|
|
|
|
private QuoteWorkExtTableAdapter _quoteWorkExtTableAdapter;
|
|
|
|
private QuoteWorkIntTableAdapter _quoteWorkIntTableAdapter;
|
|
|
|
private QuoteParamTableAdapter _quoteParamTableAdapter;
|
|
|
|
private QuoteOCTableAdapter _quoteOCTableAdapter;
|
|
|
|
private PackagDetTableAdapter _packagDetTableAdapter;
|
|
|
|
private AgentsDetTableAdapter _agentsDetTableAdapter;
|
|
|
|
private PlantsDetTableAdapter _plantsDetTableAdapter;
|
|
|
|
private UtilitiesTableAdapter _utilitiesTableAdapter;
|
|
|
|
private Cost2PlantTableAdapter _cost2PlantTableAdapter;
|
|
|
|
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 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 PackagDetTableAdapter PackagDetTableAdapter {
|
|
get {
|
|
return this._packagDetTableAdapter;
|
|
}
|
|
set {
|
|
this._packagDetTableAdapter = 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 AgentsDetTableAdapter AgentsDetTableAdapter {
|
|
get {
|
|
return this._agentsDetTableAdapter;
|
|
}
|
|
set {
|
|
this._agentsDetTableAdapter = 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 PlantsDetTableAdapter PlantsDetTableAdapter {
|
|
get {
|
|
return this._plantsDetTableAdapter;
|
|
}
|
|
set {
|
|
this._plantsDetTableAdapter = 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 UtilitiesTableAdapter UtilitiesTableAdapter {
|
|
get {
|
|
return this._utilitiesTableAdapter;
|
|
}
|
|
set {
|
|
this._utilitiesTableAdapter = 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 Cost2PlantTableAdapter Cost2PlantTableAdapter {
|
|
get {
|
|
return this._cost2PlantTableAdapter;
|
|
}
|
|
set {
|
|
this._cost2PlantTableAdapter = 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._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._packagDetTableAdapter != null)
|
|
&& (this._packagDetTableAdapter.Connection != null))) {
|
|
return this._packagDetTableAdapter.Connection;
|
|
}
|
|
if (((this._agentsDetTableAdapter != null)
|
|
&& (this._agentsDetTableAdapter.Connection != null))) {
|
|
return this._agentsDetTableAdapter.Connection;
|
|
}
|
|
if (((this._plantsDetTableAdapter != null)
|
|
&& (this._plantsDetTableAdapter.Connection != null))) {
|
|
return this._plantsDetTableAdapter.Connection;
|
|
}
|
|
if (((this._utilitiesTableAdapter != null)
|
|
&& (this._utilitiesTableAdapter.Connection != null))) {
|
|
return this._utilitiesTableAdapter.Connection;
|
|
}
|
|
if (((this._cost2PlantTableAdapter != null)
|
|
&& (this._cost2PlantTableAdapter.Connection != null))) {
|
|
return this._cost2PlantTableAdapter.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._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._packagDetTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._agentsDetTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._plantsDetTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._utilitiesTableAdapter != null)) {
|
|
count = (count + 1);
|
|
}
|
|
if ((this._cost2PlantTableAdapter != 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._plantsDetTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.PlantsDet.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._plantsDetTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._agentsDetTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.AgentsDet.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._agentsDetTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._packagDetTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.PackagDet.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._packagDetTableAdapter.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._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._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._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._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._utilitiesTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.Utilities.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._utilitiesTableAdapter.Update(updatedRows));
|
|
allChangedRows.AddRange(updatedRows);
|
|
}
|
|
}
|
|
if ((this._cost2PlantTableAdapter != null)) {
|
|
global::System.Data.DataRow[] updatedRows = dataSet.Cost2Plant.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
|
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
|
if (((updatedRows != null)
|
|
&& (0 < updatedRows.Length))) {
|
|
result = (result + this._cost2PlantTableAdapter.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._plantsDetTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.PlantsDet.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._plantsDetTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._agentsDetTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.AgentsDet.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._agentsDetTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._packagDetTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.PackagDet.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._packagDetTableAdapter.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._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._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._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._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._utilitiesTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.Utilities.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._utilitiesTableAdapter.Update(addedRows));
|
|
allAddedRows.AddRange(addedRows);
|
|
}
|
|
}
|
|
if ((this._cost2PlantTableAdapter != null)) {
|
|
global::System.Data.DataRow[] addedRows = dataSet.Cost2Plant.Select(null, null, global::System.Data.DataViewRowState.Added);
|
|
if (((addedRows != null)
|
|
&& (0 < addedRows.Length))) {
|
|
result = (result + this._cost2PlantTableAdapter.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._cost2PlantTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.Cost2Plant.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._cost2PlantTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._utilitiesTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.Utilities.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._utilitiesTableAdapter.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._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._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._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._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._packagDetTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.PackagDet.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._packagDetTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._agentsDetTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.AgentsDet.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._agentsDetTableAdapter.Update(deletedRows));
|
|
allChangedRows.AddRange(deletedRows);
|
|
}
|
|
}
|
|
if ((this._plantsDetTableAdapter != null)) {
|
|
global::System.Data.DataRow[] deletedRows = dataSet.PlantsDet.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
|
if (((deletedRows != null)
|
|
&& (0 < deletedRows.Length))) {
|
|
result = (result + this._plantsDetTableAdapter.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._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._packagDetTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._packagDetTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._agentsDetTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._agentsDetTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._plantsDetTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._plantsDetTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._utilitiesTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._utilitiesTableAdapter.Connection) == false))) {
|
|
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
|
|
"tring.");
|
|
}
|
|
if (((this._cost2PlantTableAdapter != null)
|
|
&& (this.MatchTableAdapterConnection(this._cost2PlantTableAdapter.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._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._packagDetTableAdapter != null)) {
|
|
revertConnections.Add(this._packagDetTableAdapter, this._packagDetTableAdapter.Connection);
|
|
this._packagDetTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._packagDetTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._packagDetTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._packagDetTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._packagDetTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._agentsDetTableAdapter != null)) {
|
|
revertConnections.Add(this._agentsDetTableAdapter, this._agentsDetTableAdapter.Connection);
|
|
this._agentsDetTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._agentsDetTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._agentsDetTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._agentsDetTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._agentsDetTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._plantsDetTableAdapter != null)) {
|
|
revertConnections.Add(this._plantsDetTableAdapter, this._plantsDetTableAdapter.Connection);
|
|
this._plantsDetTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._plantsDetTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._plantsDetTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._plantsDetTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._plantsDetTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._utilitiesTableAdapter != null)) {
|
|
revertConnections.Add(this._utilitiesTableAdapter, this._utilitiesTableAdapter.Connection);
|
|
this._utilitiesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._utilitiesTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._utilitiesTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._utilitiesTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._utilitiesTableAdapter.Adapter);
|
|
}
|
|
}
|
|
if ((this._cost2PlantTableAdapter != null)) {
|
|
revertConnections.Add(this._cost2PlantTableAdapter, this._cost2PlantTableAdapter.Connection);
|
|
this._cost2PlantTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
|
|
this._cost2PlantTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
|
|
if (this._cost2PlantTableAdapter.Adapter.AcceptChangesDuringUpdate) {
|
|
this._cost2PlantTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
|
|
adaptersWithAcceptChangesDuringUpdate.Add(this._cost2PlantTableAdapter.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._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._packagDetTableAdapter != null)) {
|
|
this._packagDetTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._packagDetTableAdapter]));
|
|
this._packagDetTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._agentsDetTableAdapter != null)) {
|
|
this._agentsDetTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._agentsDetTableAdapter]));
|
|
this._agentsDetTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._plantsDetTableAdapter != null)) {
|
|
this._plantsDetTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._plantsDetTableAdapter]));
|
|
this._plantsDetTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._utilitiesTableAdapter != null)) {
|
|
this._utilitiesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._utilitiesTableAdapter]));
|
|
this._utilitiesTableAdapter.Transaction = null;
|
|
}
|
|
if ((this._cost2PlantTableAdapter != null)) {
|
|
this._cost2PlantTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._cost2PlantTableAdapter]));
|
|
this._cost2PlantTableAdapter.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 |