//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.33440 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ #pragma warning disable 1591 namespace Saving.Applications.trading.ws_td_sale_scale_ctrl { /// ///Represents a strongly typed in-memory cache of data. /// [global::System.Serializable()] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] [global::System.Xml.Serialization.XmlRootAttribute("DataSet1")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] public partial class DataSet1 : global::System.Data.DataSet { private STSTOCKSLIPDataTable tableSTSTOCKSLIP; private STSTOCKSLIPDETDataTable tableSTSTOCKSLIPDET; private DSSUMDataTable tableDSSUM; private DSSCALEDataTable tableDSSCALE; private global::System.Data.DataRelation relationSYS_C0060258; 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 DataSet1() { 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 DataSet1(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["STSTOCKSLIP"] != null)) { base.Tables.Add(new STSTOCKSLIPDataTable(ds.Tables["STSTOCKSLIP"])); } if ((ds.Tables["STSTOCKSLIPDET"] != null)) { base.Tables.Add(new STSTOCKSLIPDETDataTable(ds.Tables["STSTOCKSLIPDET"])); } if ((ds.Tables["DSSUM"] != null)) { base.Tables.Add(new DSSUMDataTable(ds.Tables["DSSUM"])); } if ((ds.Tables["DSSCALE"] != null)) { base.Tables.Add(new DSSCALEDataTable(ds.Tables["DSSCALE"])); } 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 STSTOCKSLIPDataTable STSTOCKSLIP { get { return this.tableSTSTOCKSLIP; } } [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 STSTOCKSLIPDETDataTable STSTOCKSLIPDET { get { return this.tableSTSTOCKSLIPDET; } } [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 DSSUMDataTable DSSUM { get { return this.tableDSSUM; } } [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 DSSCALEDataTable DSSCALE { get { return this.tableDSSCALE; } } [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() { DataSet1 cln = ((DataSet1)(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["STSTOCKSLIP"] != null)) { base.Tables.Add(new STSTOCKSLIPDataTable(ds.Tables["STSTOCKSLIP"])); } if ((ds.Tables["STSTOCKSLIPDET"] != null)) { base.Tables.Add(new STSTOCKSLIPDETDataTable(ds.Tables["STSTOCKSLIPDET"])); } if ((ds.Tables["DSSUM"] != null)) { base.Tables.Add(new DSSUMDataTable(ds.Tables["DSSUM"])); } if ((ds.Tables["DSSCALE"] != null)) { base.Tables.Add(new DSSCALEDataTable(ds.Tables["DSSCALE"])); } 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.tableSTSTOCKSLIP = ((STSTOCKSLIPDataTable)(base.Tables["STSTOCKSLIP"])); if ((initTable == true)) { if ((this.tableSTSTOCKSLIP != null)) { this.tableSTSTOCKSLIP.InitVars(); } } this.tableSTSTOCKSLIPDET = ((STSTOCKSLIPDETDataTable)(base.Tables["STSTOCKSLIPDET"])); if ((initTable == true)) { if ((this.tableSTSTOCKSLIPDET != null)) { this.tableSTSTOCKSLIPDET.InitVars(); } } this.tableDSSUM = ((DSSUMDataTable)(base.Tables["DSSUM"])); if ((initTable == true)) { if ((this.tableDSSUM != null)) { this.tableDSSUM.InitVars(); } } this.tableDSSCALE = ((DSSCALEDataTable)(base.Tables["DSSCALE"])); if ((initTable == true)) { if ((this.tableDSSCALE != null)) { this.tableDSSCALE.InitVars(); } } this.relationSYS_C0060258 = this.Relations["SYS_C0060258"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.DataSetName = "DataSet1"; this.Prefix = ""; this.Namespace = "http://tempuri.org/DataSet1.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableSTSTOCKSLIP = new STSTOCKSLIPDataTable(); base.Tables.Add(this.tableSTSTOCKSLIP); this.tableSTSTOCKSLIPDET = new STSTOCKSLIPDETDataTable(); base.Tables.Add(this.tableSTSTOCKSLIPDET); this.tableDSSUM = new DSSUMDataTable(); base.Tables.Add(this.tableDSSUM); this.tableDSSCALE = new DSSCALEDataTable(); base.Tables.Add(this.tableDSSCALE); this.relationSYS_C0060258 = new global::System.Data.DataRelation("SYS_C0060258", new global::System.Data.DataColumn[] { this.tableSTSTOCKSLIP.SLIP_NOColumn, this.tableSTSTOCKSLIP.COOP_IDColumn, this.tableSTSTOCKSLIP.STORE_IDColumn}, new global::System.Data.DataColumn[] { this.tableSTSTOCKSLIPDET.SLIP_NOColumn, this.tableSTSTOCKSLIPDET.COOP_IDColumn, this.tableSTSTOCKSLIPDET.STORE_IDColumn}, false); this.Relations.Add(this.relationSYS_C0060258); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeSTSTOCKSLIP() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeSTSTOCKSLIPDET() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeDSSUM() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeDSSCALE() { 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) { DataSet1 ds = new DataSet1(); 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 STSTOCKSLIPRowChangeEventHandler(object sender, STSTOCKSLIPRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void STSTOCKSLIPDETRowChangeEventHandler(object sender, STSTOCKSLIPDETRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void DSSUMRowChangeEventHandler(object sender, DSSUMRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void DSSCALERowChangeEventHandler(object sender, DSSCALERowChangeEvent e); /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class STSTOCKSLIPDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnSLIP_NO; private global::System.Data.DataColumn columnSTORE_ID; private global::System.Data.DataColumn columnTERMINAL_NO; private global::System.Data.DataColumn columnSLIP_DATE; private global::System.Data.DataColumn columnREFDOC_NO; private global::System.Data.DataColumn columnDEBT_NO; private global::System.Data.DataColumn columnSLIPTYPE_CODE; private global::System.Data.DataColumn columnREMARK; private global::System.Data.DataColumn columnDEBT_NAME; private global::System.Data.DataColumn columnDEBTTYPE_CODE; private global::System.Data.DataColumn columnSLIP_AMT; private global::System.Data.DataColumn columnDEBTFROMTYPE_CODE; private global::System.Data.DataColumn columnDISCOUNT_AMT; private global::System.Data.DataColumn columnSLIPNET_AMT; private global::System.Data.DataColumn columnVAT_AMT; private global::System.Data.DataColumn columnRECEIVE_AMT; private global::System.Data.DataColumn columnCHANGE_AMT; private global::System.Data.DataColumn columnREMAIN_AMT; private global::System.Data.DataColumn columnRECEIPTDOC_NO; private global::System.Data.DataColumn columnTAXDOC_NO; private global::System.Data.DataColumn columnDELIVERYDOC_NO; private global::System.Data.DataColumn columnINVOICEDOC_NO; private global::System.Data.DataColumn columnSLIP_STATUS; private global::System.Data.DataColumn columnEXPENSE_CODE; private global::System.Data.DataColumn columnENTRY_ID; private global::System.Data.DataColumn columnENTRY_DATE; private global::System.Data.DataColumn columnPOST_STATUS; private global::System.Data.DataColumn columnVAT_TYPE; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STSTOCKSLIPDataTable() { this.TableName = "STSTOCKSLIP"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal STSTOCKSLIPDataTable(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 STSTOCKSLIPDataTable(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 COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SLIP_NOColumn { get { return this.columnSLIP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn STORE_IDColumn { get { return this.columnSTORE_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TERMINAL_NOColumn { get { return this.columnTERMINAL_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SLIP_DATEColumn { get { return this.columnSLIP_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn REFDOC_NOColumn { get { return this.columnREFDOC_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_NOColumn { get { return this.columnDEBT_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SLIPTYPE_CODEColumn { get { return this.columnSLIPTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn REMARKColumn { get { return this.columnREMARK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_NAMEColumn { get { return this.columnDEBT_NAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTTYPE_CODEColumn { get { return this.columnDEBTTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SLIP_AMTColumn { get { return this.columnSLIP_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTFROMTYPE_CODEColumn { get { return this.columnDEBTFROMTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DISCOUNT_AMTColumn { get { return this.columnDISCOUNT_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SLIPNET_AMTColumn { get { return this.columnSLIPNET_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn VAT_AMTColumn { get { return this.columnVAT_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn RECEIVE_AMTColumn { get { return this.columnRECEIVE_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn CHANGE_AMTColumn { get { return this.columnCHANGE_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn REMAIN_AMTColumn { get { return this.columnREMAIN_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn RECEIPTDOC_NOColumn { get { return this.columnRECEIPTDOC_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TAXDOC_NOColumn { get { return this.columnTAXDOC_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DELIVERYDOC_NOColumn { get { return this.columnDELIVERYDOC_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn INVOICEDOC_NOColumn { get { return this.columnINVOICEDOC_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SLIP_STATUSColumn { get { return this.columnSLIP_STATUS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EXPENSE_CODEColumn { get { return this.columnEXPENSE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ENTRY_IDColumn { get { return this.columnENTRY_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ENTRY_DATEColumn { get { return this.columnENTRY_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn POST_STATUSColumn { get { return this.columnPOST_STATUS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn VAT_TYPEColumn { get { return this.columnVAT_TYPE; } } [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 STSTOCKSLIPRow this[int index] { get { return ((STSTOCKSLIPRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STSTOCKSLIPRowChangeEventHandler STSTOCKSLIPRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STSTOCKSLIPRowChangeEventHandler STSTOCKSLIPRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STSTOCKSLIPRowChangeEventHandler STSTOCKSLIPRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STSTOCKSLIPRowChangeEventHandler STSTOCKSLIPRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddSTSTOCKSLIPRow(STSTOCKSLIPRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STSTOCKSLIPRow AddSTSTOCKSLIPRow( string COOP_ID, string SLIP_NO, string STORE_ID, string TERMINAL_NO, System.DateTime SLIP_DATE, string REFDOC_NO, string DEBT_NO, string SLIPTYPE_CODE, string REMARK, string DEBT_NAME, string DEBTTYPE_CODE, decimal SLIP_AMT, string DEBTFROMTYPE_CODE, decimal DISCOUNT_AMT, decimal SLIPNET_AMT, decimal VAT_AMT, decimal RECEIVE_AMT, decimal CHANGE_AMT, decimal REMAIN_AMT, string RECEIPTDOC_NO, string TAXDOC_NO, string DELIVERYDOC_NO, string INVOICEDOC_NO, string SLIP_STATUS, string EXPENSE_CODE, string ENTRY_ID, System.DateTime ENTRY_DATE, string POST_STATUS, string VAT_TYPE) { STSTOCKSLIPRow rowSTSTOCKSLIPRow = ((STSTOCKSLIPRow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, SLIP_NO, STORE_ID, TERMINAL_NO, SLIP_DATE, REFDOC_NO, DEBT_NO, SLIPTYPE_CODE, REMARK, DEBT_NAME, DEBTTYPE_CODE, SLIP_AMT, DEBTFROMTYPE_CODE, DISCOUNT_AMT, SLIPNET_AMT, VAT_AMT, RECEIVE_AMT, CHANGE_AMT, REMAIN_AMT, RECEIPTDOC_NO, TAXDOC_NO, DELIVERYDOC_NO, INVOICEDOC_NO, SLIP_STATUS, EXPENSE_CODE, ENTRY_ID, ENTRY_DATE, POST_STATUS, VAT_TYPE}; rowSTSTOCKSLIPRow.ItemArray = columnValuesArray; this.Rows.Add(rowSTSTOCKSLIPRow); return rowSTSTOCKSLIPRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STSTOCKSLIPRow FindByCOOP_IDSLIP_NOSTORE_ID(string COOP_ID, string SLIP_NO, string STORE_ID) { return ((STSTOCKSLIPRow)(this.Rows.Find(new object[] { COOP_ID, SLIP_NO, STORE_ID}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { STSTOCKSLIPDataTable cln = ((STSTOCKSLIPDataTable)(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 STSTOCKSLIPDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnSLIP_NO = base.Columns["SLIP_NO"]; this.columnSTORE_ID = base.Columns["STORE_ID"]; this.columnTERMINAL_NO = base.Columns["TERMINAL_NO"]; this.columnSLIP_DATE = base.Columns["SLIP_DATE"]; this.columnREFDOC_NO = base.Columns["REFDOC_NO"]; this.columnDEBT_NO = base.Columns["DEBT_NO"]; this.columnSLIPTYPE_CODE = base.Columns["SLIPTYPE_CODE"]; this.columnREMARK = base.Columns["REMARK"]; this.columnDEBT_NAME = base.Columns["DEBT_NAME"]; this.columnDEBTTYPE_CODE = base.Columns["DEBTTYPE_CODE"]; this.columnSLIP_AMT = base.Columns["SLIP_AMT"]; this.columnDEBTFROMTYPE_CODE = base.Columns["DEBTFROMTYPE_CODE"]; this.columnDISCOUNT_AMT = base.Columns["DISCOUNT_AMT"]; this.columnSLIPNET_AMT = base.Columns["SLIPNET_AMT"]; this.columnVAT_AMT = base.Columns["VAT_AMT"]; this.columnRECEIVE_AMT = base.Columns["RECEIVE_AMT"]; this.columnCHANGE_AMT = base.Columns["CHANGE_AMT"]; this.columnREMAIN_AMT = base.Columns["REMAIN_AMT"]; this.columnRECEIPTDOC_NO = base.Columns["RECEIPTDOC_NO"]; this.columnTAXDOC_NO = base.Columns["TAXDOC_NO"]; this.columnDELIVERYDOC_NO = base.Columns["DELIVERYDOC_NO"]; this.columnINVOICEDOC_NO = base.Columns["INVOICEDOC_NO"]; this.columnSLIP_STATUS = base.Columns["SLIP_STATUS"]; this.columnEXPENSE_CODE = base.Columns["EXPENSE_CODE"]; this.columnENTRY_ID = base.Columns["ENTRY_ID"]; this.columnENTRY_DATE = base.Columns["ENTRY_DATE"]; this.columnPOST_STATUS = base.Columns["POST_STATUS"]; this.columnVAT_TYPE = base.Columns["VAT_TYPE"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnSLIP_NO = new global::System.Data.DataColumn("SLIP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSLIP_NO); this.columnSTORE_ID = new global::System.Data.DataColumn("STORE_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSTORE_ID); this.columnTERMINAL_NO = new global::System.Data.DataColumn("TERMINAL_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTERMINAL_NO); this.columnSLIP_DATE = new global::System.Data.DataColumn("SLIP_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSLIP_DATE); this.columnREFDOC_NO = new global::System.Data.DataColumn("REFDOC_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnREFDOC_NO); this.columnDEBT_NO = new global::System.Data.DataColumn("DEBT_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_NO); this.columnSLIPTYPE_CODE = new global::System.Data.DataColumn("SLIPTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSLIPTYPE_CODE); this.columnREMARK = new global::System.Data.DataColumn("REMARK", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnREMARK); this.columnDEBT_NAME = new global::System.Data.DataColumn("DEBT_NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_NAME); this.columnDEBTTYPE_CODE = new global::System.Data.DataColumn("DEBTTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTTYPE_CODE); this.columnSLIP_AMT = new global::System.Data.DataColumn("SLIP_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSLIP_AMT); this.columnDEBTFROMTYPE_CODE = new global::System.Data.DataColumn("DEBTFROMTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTFROMTYPE_CODE); this.columnDISCOUNT_AMT = new global::System.Data.DataColumn("DISCOUNT_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDISCOUNT_AMT); this.columnSLIPNET_AMT = new global::System.Data.DataColumn("SLIPNET_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSLIPNET_AMT); this.columnVAT_AMT = new global::System.Data.DataColumn("VAT_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnVAT_AMT); this.columnRECEIVE_AMT = new global::System.Data.DataColumn("RECEIVE_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnRECEIVE_AMT); this.columnCHANGE_AMT = new global::System.Data.DataColumn("CHANGE_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCHANGE_AMT); this.columnREMAIN_AMT = new global::System.Data.DataColumn("REMAIN_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnREMAIN_AMT); this.columnRECEIPTDOC_NO = new global::System.Data.DataColumn("RECEIPTDOC_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnRECEIPTDOC_NO); this.columnTAXDOC_NO = new global::System.Data.DataColumn("TAXDOC_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTAXDOC_NO); this.columnDELIVERYDOC_NO = new global::System.Data.DataColumn("DELIVERYDOC_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDELIVERYDOC_NO); this.columnINVOICEDOC_NO = new global::System.Data.DataColumn("INVOICEDOC_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnINVOICEDOC_NO); this.columnSLIP_STATUS = new global::System.Data.DataColumn("SLIP_STATUS", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSLIP_STATUS); this.columnEXPENSE_CODE = new global::System.Data.DataColumn("EXPENSE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEXPENSE_CODE); this.columnENTRY_ID = new global::System.Data.DataColumn("ENTRY_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnENTRY_ID); this.columnENTRY_DATE = new global::System.Data.DataColumn("ENTRY_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnENTRY_DATE); this.columnPOST_STATUS = new global::System.Data.DataColumn("POST_STATUS", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPOST_STATUS); this.columnVAT_TYPE = new global::System.Data.DataColumn("VAT_TYPE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnVAT_TYPE); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnSLIP_NO, this.columnSTORE_ID}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnSLIP_NO.AllowDBNull = false; this.columnSLIP_NO.MaxLength = 20; this.columnSTORE_ID.AllowDBNull = false; this.columnSTORE_ID.MaxLength = 3; this.columnTERMINAL_NO.MaxLength = 3; this.columnREFDOC_NO.MaxLength = 20; this.columnDEBT_NO.MaxLength = 15; this.columnSLIPTYPE_CODE.MaxLength = 3; this.columnREMARK.MaxLength = 100; this.columnDEBT_NAME.MaxLength = 150; this.columnDEBTTYPE_CODE.MaxLength = 3; this.columnDEBTFROMTYPE_CODE.MaxLength = 3; this.columnRECEIPTDOC_NO.MaxLength = 20; this.columnTAXDOC_NO.MaxLength = 20; this.columnDELIVERYDOC_NO.MaxLength = 20; this.columnINVOICEDOC_NO.MaxLength = 20; this.columnSLIP_STATUS.MaxLength = 1; this.columnEXPENSE_CODE.MaxLength = 3; this.columnENTRY_ID.MaxLength = 20; this.columnPOST_STATUS.MaxLength = 1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STSTOCKSLIPRow NewSTSTOCKSLIPRow() { return ((STSTOCKSLIPRow)(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 STSTOCKSLIPRow(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(STSTOCKSLIPRow); } [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.STSTOCKSLIPRowChanged != null)) { this.STSTOCKSLIPRowChanged(this, new STSTOCKSLIPRowChangeEvent(((STSTOCKSLIPRow)(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.STSTOCKSLIPRowChanging != null)) { this.STSTOCKSLIPRowChanging(this, new STSTOCKSLIPRowChangeEvent(((STSTOCKSLIPRow)(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.STSTOCKSLIPRowDeleted != null)) { this.STSTOCKSLIPRowDeleted(this, new STSTOCKSLIPRowChangeEvent(((STSTOCKSLIPRow)(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.STSTOCKSLIPRowDeleting != null)) { this.STSTOCKSLIPRowDeleting(this, new STSTOCKSLIPRowChangeEvent(((STSTOCKSLIPRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveSTSTOCKSLIPRow(STSTOCKSLIPRow 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(); DataSet1 ds = new DataSet1(); 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 = "STSTOCKSLIPDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class STSTOCKSLIPDETDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnSLIP_NO; private global::System.Data.DataColumn columnSTORE_ID; private global::System.Data.DataColumn columnSEQ_NO; private global::System.Data.DataColumn columnITEM_QTY; private global::System.Data.DataColumn columnPRODUCT_NO; private global::System.Data.DataColumn columnITEMTYPE_CODE; private global::System.Data.DataColumn columnPRODUCT_PRICE; private global::System.Data.DataColumn columnDISCOUNT_PERCENT; private global::System.Data.DataColumn columnPRODUCT_COST; private global::System.Data.DataColumn columnDISCOUNT_AMT; private global::System.Data.DataColumn columnITEM_AMT; private global::System.Data.DataColumn columnVAT_AMT; private global::System.Data.DataColumn columnITEMNET_AMT; private global::System.Data.DataColumn columnITEMNOVAT_AMT; private global::System.Data.DataColumn columnLOT_NO; private global::System.Data.DataColumn columnSLIPDET_STATUS; private global::System.Data.DataColumn columnITEM_RETURN_QTY; private global::System.Data.DataColumn columnCOST_AMT; private global::System.Data.DataColumn columnBEFORE_METER; private global::System.Data.DataColumn columnAFTER_METER; private global::System.Data.DataColumn columnPUMP_ID; private global::System.Data.DataColumn columnPRODUCT_DESC; private global::System.Data.DataColumn columnSTART_NO; private global::System.Data.DataColumn columnEND_NO; private global::System.Data.DataColumn columnLOT_QTY; private global::System.Data.DataColumn columnBALANCE_QTY; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STSTOCKSLIPDETDataTable() { this.TableName = "STSTOCKSLIPDET"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal STSTOCKSLIPDETDataTable(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 STSTOCKSLIPDETDataTable(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 COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SLIP_NOColumn { get { return this.columnSLIP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn STORE_IDColumn { get { return this.columnSTORE_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SEQ_NOColumn { get { return this.columnSEQ_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ITEM_QTYColumn { get { return this.columnITEM_QTY; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PRODUCT_NOColumn { get { return this.columnPRODUCT_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ITEMTYPE_CODEColumn { get { return this.columnITEMTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PRODUCT_PRICEColumn { get { return this.columnPRODUCT_PRICE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DISCOUNT_PERCENTColumn { get { return this.columnDISCOUNT_PERCENT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PRODUCT_COSTColumn { get { return this.columnPRODUCT_COST; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DISCOUNT_AMTColumn { get { return this.columnDISCOUNT_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ITEM_AMTColumn { get { return this.columnITEM_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn VAT_AMTColumn { get { return this.columnVAT_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ITEMNET_AMTColumn { get { return this.columnITEMNET_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ITEMNOVAT_AMTColumn { get { return this.columnITEMNOVAT_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn LOT_NOColumn { get { return this.columnLOT_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SLIPDET_STATUSColumn { get { return this.columnSLIPDET_STATUS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ITEM_RETURN_QTYColumn { get { return this.columnITEM_RETURN_QTY; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn COST_AMTColumn { get { return this.columnCOST_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn BEFORE_METERColumn { get { return this.columnBEFORE_METER; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn AFTER_METERColumn { get { return this.columnAFTER_METER; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PUMP_IDColumn { get { return this.columnPUMP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PRODUCT_DESCColumn { get { return this.columnPRODUCT_DESC; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn START_NOColumn { get { return this.columnSTART_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn END_NOColumn { get { return this.columnEND_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn LOT_QTYColumn { get { return this.columnLOT_QTY; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn BALANCE_QTYColumn { get { return this.columnBALANCE_QTY; } } [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 STSTOCKSLIPDETRow this[int index] { get { return ((STSTOCKSLIPDETRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STSTOCKSLIPDETRowChangeEventHandler STSTOCKSLIPDETRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STSTOCKSLIPDETRowChangeEventHandler STSTOCKSLIPDETRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STSTOCKSLIPDETRowChangeEventHandler STSTOCKSLIPDETRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STSTOCKSLIPDETRowChangeEventHandler STSTOCKSLIPDETRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddSTSTOCKSLIPDETRow(STSTOCKSLIPDETRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STSTOCKSLIPDETRow AddSTSTOCKSLIPDETRow( string COOP_ID, string SLIP_NO, string STORE_ID, decimal SEQ_NO, decimal ITEM_QTY, string PRODUCT_NO, string ITEMTYPE_CODE, decimal PRODUCT_PRICE, decimal DISCOUNT_PERCENT, decimal PRODUCT_COST, decimal DISCOUNT_AMT, decimal ITEM_AMT, decimal VAT_AMT, decimal ITEMNET_AMT, decimal ITEMNOVAT_AMT, string LOT_NO, string SLIPDET_STATUS, decimal ITEM_RETURN_QTY, decimal COST_AMT, decimal BEFORE_METER, decimal AFTER_METER, string PUMP_ID, string PRODUCT_DESC, decimal START_NO, decimal END_NO, decimal LOT_QTY, decimal BALANCE_QTY) { STSTOCKSLIPDETRow rowSTSTOCKSLIPDETRow = ((STSTOCKSLIPDETRow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, SLIP_NO, STORE_ID, SEQ_NO, ITEM_QTY, PRODUCT_NO, ITEMTYPE_CODE, PRODUCT_PRICE, DISCOUNT_PERCENT, PRODUCT_COST, DISCOUNT_AMT, ITEM_AMT, VAT_AMT, ITEMNET_AMT, ITEMNOVAT_AMT, LOT_NO, SLIPDET_STATUS, ITEM_RETURN_QTY, COST_AMT, BEFORE_METER, AFTER_METER, PUMP_ID, PRODUCT_DESC, START_NO, END_NO, LOT_QTY, BALANCE_QTY}; rowSTSTOCKSLIPDETRow.ItemArray = columnValuesArray; this.Rows.Add(rowSTSTOCKSLIPDETRow); return rowSTSTOCKSLIPDETRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STSTOCKSLIPDETRow FindByCOOP_IDSLIP_NOSTORE_IDSEQ_NO(string COOP_ID, string SLIP_NO, string STORE_ID, decimal SEQ_NO) { return ((STSTOCKSLIPDETRow)(this.Rows.Find(new object[] { COOP_ID, SLIP_NO, STORE_ID, SEQ_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { STSTOCKSLIPDETDataTable cln = ((STSTOCKSLIPDETDataTable)(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 STSTOCKSLIPDETDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnSLIP_NO = base.Columns["SLIP_NO"]; this.columnSTORE_ID = base.Columns["STORE_ID"]; this.columnSEQ_NO = base.Columns["SEQ_NO"]; this.columnITEM_QTY = base.Columns["ITEM_QTY"]; this.columnPRODUCT_NO = base.Columns["PRODUCT_NO"]; this.columnITEMTYPE_CODE = base.Columns["ITEMTYPE_CODE"]; this.columnPRODUCT_PRICE = base.Columns["PRODUCT_PRICE"]; this.columnDISCOUNT_PERCENT = base.Columns["DISCOUNT_PERCENT"]; this.columnPRODUCT_COST = base.Columns["PRODUCT_COST"]; this.columnDISCOUNT_AMT = base.Columns["DISCOUNT_AMT"]; this.columnITEM_AMT = base.Columns["ITEM_AMT"]; this.columnVAT_AMT = base.Columns["VAT_AMT"]; this.columnITEMNET_AMT = base.Columns["ITEMNET_AMT"]; this.columnITEMNOVAT_AMT = base.Columns["ITEMNOVAT_AMT"]; this.columnLOT_NO = base.Columns["LOT_NO"]; this.columnSLIPDET_STATUS = base.Columns["SLIPDET_STATUS"]; this.columnITEM_RETURN_QTY = base.Columns["ITEM_RETURN_QTY"]; this.columnCOST_AMT = base.Columns["COST_AMT"]; this.columnBEFORE_METER = base.Columns["BEFORE_METER"]; this.columnAFTER_METER = base.Columns["AFTER_METER"]; this.columnPUMP_ID = base.Columns["PUMP_ID"]; this.columnPRODUCT_DESC = base.Columns["PRODUCT_DESC"]; this.columnSTART_NO = base.Columns["START_NO"]; this.columnEND_NO = base.Columns["END_NO"]; this.columnLOT_QTY = base.Columns["LOT_QTY"]; this.columnBALANCE_QTY = base.Columns["BALANCE_QTY"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnSLIP_NO = new global::System.Data.DataColumn("SLIP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSLIP_NO); this.columnSTORE_ID = new global::System.Data.DataColumn("STORE_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSTORE_ID); this.columnSEQ_NO = new global::System.Data.DataColumn("SEQ_NO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSEQ_NO); this.columnITEM_QTY = new global::System.Data.DataColumn("ITEM_QTY", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnITEM_QTY); this.columnPRODUCT_NO = new global::System.Data.DataColumn("PRODUCT_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPRODUCT_NO); this.columnITEMTYPE_CODE = new global::System.Data.DataColumn("ITEMTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnITEMTYPE_CODE); this.columnPRODUCT_PRICE = new global::System.Data.DataColumn("PRODUCT_PRICE", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPRODUCT_PRICE); this.columnDISCOUNT_PERCENT = new global::System.Data.DataColumn("DISCOUNT_PERCENT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDISCOUNT_PERCENT); this.columnPRODUCT_COST = new global::System.Data.DataColumn("PRODUCT_COST", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPRODUCT_COST); this.columnDISCOUNT_AMT = new global::System.Data.DataColumn("DISCOUNT_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDISCOUNT_AMT); this.columnITEM_AMT = new global::System.Data.DataColumn("ITEM_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnITEM_AMT); this.columnVAT_AMT = new global::System.Data.DataColumn("VAT_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnVAT_AMT); this.columnITEMNET_AMT = new global::System.Data.DataColumn("ITEMNET_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnITEMNET_AMT); this.columnITEMNOVAT_AMT = new global::System.Data.DataColumn("ITEMNOVAT_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnITEMNOVAT_AMT); this.columnLOT_NO = new global::System.Data.DataColumn("LOT_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLOT_NO); this.columnSLIPDET_STATUS = new global::System.Data.DataColumn("SLIPDET_STATUS", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSLIPDET_STATUS); this.columnITEM_RETURN_QTY = new global::System.Data.DataColumn("ITEM_RETURN_QTY", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnITEM_RETURN_QTY); this.columnCOST_AMT = new global::System.Data.DataColumn("COST_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOST_AMT); this.columnBEFORE_METER = new global::System.Data.DataColumn("BEFORE_METER", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBEFORE_METER); this.columnAFTER_METER = new global::System.Data.DataColumn("AFTER_METER", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnAFTER_METER); this.columnPUMP_ID = new global::System.Data.DataColumn("PUMP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPUMP_ID); this.columnPRODUCT_DESC = new global::System.Data.DataColumn("PRODUCT_DESC", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPRODUCT_DESC); this.columnSTART_NO = new global::System.Data.DataColumn("START_NO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSTART_NO); this.columnEND_NO = new global::System.Data.DataColumn("END_NO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEND_NO); this.columnLOT_QTY = new global::System.Data.DataColumn("LOT_QTY", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLOT_QTY); this.columnBALANCE_QTY = new global::System.Data.DataColumn("BALANCE_QTY", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBALANCE_QTY); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnSLIP_NO, this.columnSTORE_ID, this.columnSEQ_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnSLIP_NO.AllowDBNull = false; this.columnSLIP_NO.MaxLength = 20; this.columnSTORE_ID.AllowDBNull = false; this.columnSTORE_ID.MaxLength = 3; this.columnSEQ_NO.AllowDBNull = false; this.columnPRODUCT_NO.MaxLength = 15; this.columnITEMTYPE_CODE.MaxLength = 3; this.columnLOT_NO.MaxLength = 15; this.columnSLIPDET_STATUS.MaxLength = 1; this.columnITEM_RETURN_QTY.AllowDBNull = false; this.columnPUMP_ID.MaxLength = 3; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STSTOCKSLIPDETRow NewSTSTOCKSLIPDETRow() { return ((STSTOCKSLIPDETRow)(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 STSTOCKSLIPDETRow(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(STSTOCKSLIPDETRow); } [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.STSTOCKSLIPDETRowChanged != null)) { this.STSTOCKSLIPDETRowChanged(this, new STSTOCKSLIPDETRowChangeEvent(((STSTOCKSLIPDETRow)(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.STSTOCKSLIPDETRowChanging != null)) { this.STSTOCKSLIPDETRowChanging(this, new STSTOCKSLIPDETRowChangeEvent(((STSTOCKSLIPDETRow)(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.STSTOCKSLIPDETRowDeleted != null)) { this.STSTOCKSLIPDETRowDeleted(this, new STSTOCKSLIPDETRowChangeEvent(((STSTOCKSLIPDETRow)(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.STSTOCKSLIPDETRowDeleting != null)) { this.STSTOCKSLIPDETRowDeleting(this, new STSTOCKSLIPDETRowChangeEvent(((STSTOCKSLIPDETRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveSTSTOCKSLIPDETRow(STSTOCKSLIPDETRow 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(); DataSet1 ds = new DataSet1(); 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 = "STSTOCKSLIPDETDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class DSSUMDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnsum_item_qty; private global::System.Data.DataColumn columnsum_item_amt; private global::System.Data.DataColumn columnsum_vat_amt; private global::System.Data.DataColumn columnsum_discount_amt; private global::System.Data.DataColumn columnsum_itemnet_amt; private global::System.Data.DataColumn columnstatus_save; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DSSUMDataTable() { this.TableName = "DSSUM"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal DSSUMDataTable(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 DSSUMDataTable(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 sum_item_qtyColumn { get { return this.columnsum_item_qty; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn sum_item_amtColumn { get { return this.columnsum_item_amt; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn sum_vat_amtColumn { get { return this.columnsum_vat_amt; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn sum_discount_amtColumn { get { return this.columnsum_discount_amt; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn sum_itemnet_amtColumn { get { return this.columnsum_itemnet_amt; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn status_saveColumn { get { return this.columnstatus_save; } } [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 DSSUMRow this[int index] { get { return ((DSSUMRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DSSUMRowChangeEventHandler DSSUMRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DSSUMRowChangeEventHandler DSSUMRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DSSUMRowChangeEventHandler DSSUMRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DSSUMRowChangeEventHandler DSSUMRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddDSSUMRow(DSSUMRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DSSUMRow AddDSSUMRow(decimal sum_item_qty, decimal sum_item_amt, decimal sum_vat_amt, decimal sum_discount_amt, decimal sum_itemnet_amt, string status_save) { DSSUMRow rowDSSUMRow = ((DSSUMRow)(this.NewRow())); object[] columnValuesArray = new object[] { sum_item_qty, sum_item_amt, sum_vat_amt, sum_discount_amt, sum_itemnet_amt, status_save}; rowDSSUMRow.ItemArray = columnValuesArray; this.Rows.Add(rowDSSUMRow); return rowDSSUMRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { DSSUMDataTable cln = ((DSSUMDataTable)(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 DSSUMDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnsum_item_qty = base.Columns["sum_item_qty"]; this.columnsum_item_amt = base.Columns["sum_item_amt"]; this.columnsum_vat_amt = base.Columns["sum_vat_amt"]; this.columnsum_discount_amt = base.Columns["sum_discount_amt"]; this.columnsum_itemnet_amt = base.Columns["sum_itemnet_amt"]; this.columnstatus_save = base.Columns["status_save"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnsum_item_qty = new global::System.Data.DataColumn("sum_item_qty", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnsum_item_qty); this.columnsum_item_amt = new global::System.Data.DataColumn("sum_item_amt", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnsum_item_amt); this.columnsum_vat_amt = new global::System.Data.DataColumn("sum_vat_amt", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnsum_vat_amt); this.columnsum_discount_amt = new global::System.Data.DataColumn("sum_discount_amt", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnsum_discount_amt); this.columnsum_itemnet_amt = new global::System.Data.DataColumn("sum_itemnet_amt", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnsum_itemnet_amt); this.columnstatus_save = new global::System.Data.DataColumn("status_save", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnstatus_save); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DSSUMRow NewDSSUMRow() { return ((DSSUMRow)(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 DSSUMRow(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(DSSUMRow); } [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.DSSUMRowChanged != null)) { this.DSSUMRowChanged(this, new DSSUMRowChangeEvent(((DSSUMRow)(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.DSSUMRowChanging != null)) { this.DSSUMRowChanging(this, new DSSUMRowChangeEvent(((DSSUMRow)(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.DSSUMRowDeleted != null)) { this.DSSUMRowDeleted(this, new DSSUMRowChangeEvent(((DSSUMRow)(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.DSSUMRowDeleting != null)) { this.DSSUMRowDeleting(this, new DSSUMRowChangeEvent(((DSSUMRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveDSSUMRow(DSSUMRow 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(); DataSet1 ds = new DataSet1(); 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 = "DSSUMDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class DSSCALEDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnproduct_no; private global::System.Data.DataColumn columnproduct_desc; private global::System.Data.DataColumn columnscale_in; private global::System.Data.DataColumn columnscale_in_time; private global::System.Data.DataColumn columnscale_out; private global::System.Data.DataColumn columnscale_out_time; private global::System.Data.DataColumn columnscale_balance; private global::System.Data.DataColumn columnde_bag_kg; private global::System.Data.DataColumn columnde_moistness_per; private global::System.Data.DataColumn columnde_moistness_kg; private global::System.Data.DataColumn columnde_adulterant_per; private global::System.Data.DataColumn columnde_adulterant_kg; private global::System.Data.DataColumn columnnet_weight; private global::System.Data.DataColumn columnprice_per_unit; private global::System.Data.DataColumn columnnet_price; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DSSCALEDataTable() { this.TableName = "DSSCALE"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal DSSCALEDataTable(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 DSSCALEDataTable(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 product_noColumn { get { return this.columnproduct_no; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn product_descColumn { get { return this.columnproduct_desc; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn scale_inColumn { get { return this.columnscale_in; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn scale_in_timeColumn { get { return this.columnscale_in_time; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn scale_outColumn { get { return this.columnscale_out; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn scale_out_timeColumn { get { return this.columnscale_out_time; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn scale_balanceColumn { get { return this.columnscale_balance; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn de_bag_kgColumn { get { return this.columnde_bag_kg; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn de_moistness_perColumn { get { return this.columnde_moistness_per; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn de_moistness_kgColumn { get { return this.columnde_moistness_kg; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn de_adulterant_perColumn { get { return this.columnde_adulterant_per; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn de_adulterant_kgColumn { get { return this.columnde_adulterant_kg; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn net_weightColumn { get { return this.columnnet_weight; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn price_per_unitColumn { get { return this.columnprice_per_unit; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn net_priceColumn { get { return this.columnnet_price; } } [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 DSSCALERow this[int index] { get { return ((DSSCALERow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DSSCALERowChangeEventHandler DSSCALERowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DSSCALERowChangeEventHandler DSSCALERowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DSSCALERowChangeEventHandler DSSCALERowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DSSCALERowChangeEventHandler DSSCALERowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddDSSCALERow(DSSCALERow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DSSCALERow AddDSSCALERow(string product_no, string product_desc, decimal scale_in, string scale_in_time, decimal scale_out, string scale_out_time, decimal scale_balance, decimal de_bag_kg, decimal de_moistness_per, decimal de_moistness_kg, decimal de_adulterant_per, decimal de_adulterant_kg, decimal net_weight, decimal price_per_unit, decimal net_price) { DSSCALERow rowDSSCALERow = ((DSSCALERow)(this.NewRow())); object[] columnValuesArray = new object[] { product_no, product_desc, scale_in, scale_in_time, scale_out, scale_out_time, scale_balance, de_bag_kg, de_moistness_per, de_moistness_kg, de_adulterant_per, de_adulterant_kg, net_weight, price_per_unit, net_price}; rowDSSCALERow.ItemArray = columnValuesArray; this.Rows.Add(rowDSSCALERow); return rowDSSCALERow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { DSSCALEDataTable cln = ((DSSCALEDataTable)(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 DSSCALEDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnproduct_no = base.Columns["product_no"]; this.columnproduct_desc = base.Columns["product_desc"]; this.columnscale_in = base.Columns["scale_in"]; this.columnscale_in_time = base.Columns["scale_in_time"]; this.columnscale_out = base.Columns["scale_out"]; this.columnscale_out_time = base.Columns["scale_out_time"]; this.columnscale_balance = base.Columns["scale_balance"]; this.columnde_bag_kg = base.Columns["de_bag_kg"]; this.columnde_moistness_per = base.Columns["de_moistness_per"]; this.columnde_moistness_kg = base.Columns["de_moistness_kg"]; this.columnde_adulterant_per = base.Columns["de_adulterant_per"]; this.columnde_adulterant_kg = base.Columns["de_adulterant_kg"]; this.columnnet_weight = base.Columns["net_weight"]; this.columnprice_per_unit = base.Columns["price_per_unit"]; this.columnnet_price = base.Columns["net_price"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnproduct_no = new global::System.Data.DataColumn("product_no", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnproduct_no); this.columnproduct_desc = new global::System.Data.DataColumn("product_desc", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnproduct_desc); this.columnscale_in = new global::System.Data.DataColumn("scale_in", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnscale_in); this.columnscale_in_time = new global::System.Data.DataColumn("scale_in_time", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnscale_in_time); this.columnscale_out = new global::System.Data.DataColumn("scale_out", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnscale_out); this.columnscale_out_time = new global::System.Data.DataColumn("scale_out_time", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnscale_out_time); this.columnscale_balance = new global::System.Data.DataColumn("scale_balance", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnscale_balance); this.columnde_bag_kg = new global::System.Data.DataColumn("de_bag_kg", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnde_bag_kg); this.columnde_moistness_per = new global::System.Data.DataColumn("de_moistness_per", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnde_moistness_per); this.columnde_moistness_kg = new global::System.Data.DataColumn("de_moistness_kg", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnde_moistness_kg); this.columnde_adulterant_per = new global::System.Data.DataColumn("de_adulterant_per", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnde_adulterant_per); this.columnde_adulterant_kg = new global::System.Data.DataColumn("de_adulterant_kg", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnde_adulterant_kg); this.columnnet_weight = new global::System.Data.DataColumn("net_weight", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnnet_weight); this.columnprice_per_unit = new global::System.Data.DataColumn("price_per_unit", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnprice_per_unit); this.columnnet_price = new global::System.Data.DataColumn("net_price", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnnet_price); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DSSCALERow NewDSSCALERow() { return ((DSSCALERow)(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 DSSCALERow(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(DSSCALERow); } [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.DSSCALERowChanged != null)) { this.DSSCALERowChanged(this, new DSSCALERowChangeEvent(((DSSCALERow)(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.DSSCALERowChanging != null)) { this.DSSCALERowChanging(this, new DSSCALERowChangeEvent(((DSSCALERow)(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.DSSCALERowDeleted != null)) { this.DSSCALERowDeleted(this, new DSSCALERowChangeEvent(((DSSCALERow)(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.DSSCALERowDeleting != null)) { this.DSSCALERowDeleting(this, new DSSCALERowChangeEvent(((DSSCALERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveDSSCALERow(DSSCALERow 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(); DataSet1 ds = new DataSet1(); 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 = "DSSCALEDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents strongly named DataRow class. /// public partial class STSTOCKSLIPRow : global::System.Data.DataRow { private STSTOCKSLIPDataTable tableSTSTOCKSLIP; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal STSTOCKSLIPRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableSTSTOCKSLIP = ((STSTOCKSLIPDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableSTSTOCKSLIP.COOP_IDColumn])); } set { this[this.tableSTSTOCKSLIP.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SLIP_NO { get { return ((string)(this[this.tableSTSTOCKSLIP.SLIP_NOColumn])); } set { this[this.tableSTSTOCKSLIP.SLIP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string STORE_ID { get { return ((string)(this[this.tableSTSTOCKSLIP.STORE_IDColumn])); } set { this[this.tableSTSTOCKSLIP.STORE_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string TERMINAL_NO { get { try { return ((string)(this[this.tableSTSTOCKSLIP.TERMINAL_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TERMINAL_NO\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.TERMINAL_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime SLIP_DATE { get { try { return ((global::System.DateTime)(this[this.tableSTSTOCKSLIP.SLIP_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SLIP_DATE\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.SLIP_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string REFDOC_NO { get { try { return ((string)(this[this.tableSTSTOCKSLIP.REFDOC_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'REFDOC_NO\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.REFDOC_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_NO { get { try { return ((string)(this[this.tableSTSTOCKSLIP.DEBT_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_NO\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.DEBT_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SLIPTYPE_CODE { get { try { return ((string)(this[this.tableSTSTOCKSLIP.SLIPTYPE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SLIPTYPE_CODE\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.SLIPTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string REMARK { get { try { return ((string)(this[this.tableSTSTOCKSLIP.REMARKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'REMARK\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.REMARKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_NAME { get { try { return ((string)(this[this.tableSTSTOCKSLIP.DEBT_NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_NAME\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.DEBT_NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTTYPE_CODE { get { try { return ((string)(this[this.tableSTSTOCKSLIP.DEBTTYPE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTTYPE_CODE\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.DEBTTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SLIP_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIP.SLIP_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SLIP_AMT\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.SLIP_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTFROMTYPE_CODE { get { try { return ((string)(this[this.tableSTSTOCKSLIP.DEBTFROMTYPE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTFROMTYPE_CODE\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.DEBTFROMTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal DISCOUNT_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIP.DISCOUNT_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DISCOUNT_AMT\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.DISCOUNT_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SLIPNET_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIP.SLIPNET_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SLIPNET_AMT\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.SLIPNET_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal VAT_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIP.VAT_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'VAT_AMT\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.VAT_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal RECEIVE_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIP.RECEIVE_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'RECEIVE_AMT\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.RECEIVE_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal CHANGE_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIP.CHANGE_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'CHANGE_AMT\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.CHANGE_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal REMAIN_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIP.REMAIN_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'REMAIN_AMT\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.REMAIN_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string RECEIPTDOC_NO { get { try { return ((string)(this[this.tableSTSTOCKSLIP.RECEIPTDOC_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'RECEIPTDOC_NO\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.RECEIPTDOC_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string TAXDOC_NO { get { try { return ((string)(this[this.tableSTSTOCKSLIP.TAXDOC_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TAXDOC_NO\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.TAXDOC_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DELIVERYDOC_NO { get { try { return ((string)(this[this.tableSTSTOCKSLIP.DELIVERYDOC_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DELIVERYDOC_NO\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.DELIVERYDOC_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string INVOICEDOC_NO { get { try { return ((string)(this[this.tableSTSTOCKSLIP.INVOICEDOC_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'INVOICEDOC_NO\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.INVOICEDOC_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SLIP_STATUS { get { try { return ((string)(this[this.tableSTSTOCKSLIP.SLIP_STATUSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SLIP_STATUS\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.SLIP_STATUSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EXPENSE_CODE { get { try { return ((string)(this[this.tableSTSTOCKSLIP.EXPENSE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EXPENSE_CODE\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.EXPENSE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ENTRY_ID { get { try { return ((string)(this[this.tableSTSTOCKSLIP.ENTRY_IDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ENTRY_ID\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.ENTRY_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime ENTRY_DATE { get { try { return ((global::System.DateTime)(this[this.tableSTSTOCKSLIP.ENTRY_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ENTRY_DATE\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.ENTRY_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string POST_STATUS { get { try { return ((string)(this[this.tableSTSTOCKSLIP.POST_STATUSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'POST_STATUS\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.POST_STATUSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string VAT_TYPE { get { try { return ((string)(this[this.tableSTSTOCKSLIP.VAT_TYPEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'VAT_TYPE\' in table \'STSTOCKSLIP\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIP.VAT_TYPEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTERMINAL_NONull() { return this.IsNull(this.tableSTSTOCKSLIP.TERMINAL_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTERMINAL_NONull() { this[this.tableSTSTOCKSLIP.TERMINAL_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSLIP_DATENull() { return this.IsNull(this.tableSTSTOCKSLIP.SLIP_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSLIP_DATENull() { this[this.tableSTSTOCKSLIP.SLIP_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsREFDOC_NONull() { return this.IsNull(this.tableSTSTOCKSLIP.REFDOC_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetREFDOC_NONull() { this[this.tableSTSTOCKSLIP.REFDOC_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_NONull() { return this.IsNull(this.tableSTSTOCKSLIP.DEBT_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_NONull() { this[this.tableSTSTOCKSLIP.DEBT_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSLIPTYPE_CODENull() { return this.IsNull(this.tableSTSTOCKSLIP.SLIPTYPE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSLIPTYPE_CODENull() { this[this.tableSTSTOCKSLIP.SLIPTYPE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsREMARKNull() { return this.IsNull(this.tableSTSTOCKSLIP.REMARKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetREMARKNull() { this[this.tableSTSTOCKSLIP.REMARKColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_NAMENull() { return this.IsNull(this.tableSTSTOCKSLIP.DEBT_NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_NAMENull() { this[this.tableSTSTOCKSLIP.DEBT_NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTTYPE_CODENull() { return this.IsNull(this.tableSTSTOCKSLIP.DEBTTYPE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTTYPE_CODENull() { this[this.tableSTSTOCKSLIP.DEBTTYPE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSLIP_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIP.SLIP_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSLIP_AMTNull() { this[this.tableSTSTOCKSLIP.SLIP_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTFROMTYPE_CODENull() { return this.IsNull(this.tableSTSTOCKSLIP.DEBTFROMTYPE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTFROMTYPE_CODENull() { this[this.tableSTSTOCKSLIP.DEBTFROMTYPE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDISCOUNT_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIP.DISCOUNT_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDISCOUNT_AMTNull() { this[this.tableSTSTOCKSLIP.DISCOUNT_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSLIPNET_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIP.SLIPNET_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSLIPNET_AMTNull() { this[this.tableSTSTOCKSLIP.SLIPNET_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsVAT_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIP.VAT_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetVAT_AMTNull() { this[this.tableSTSTOCKSLIP.VAT_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsRECEIVE_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIP.RECEIVE_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetRECEIVE_AMTNull() { this[this.tableSTSTOCKSLIP.RECEIVE_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsCHANGE_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIP.CHANGE_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetCHANGE_AMTNull() { this[this.tableSTSTOCKSLIP.CHANGE_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsREMAIN_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIP.REMAIN_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetREMAIN_AMTNull() { this[this.tableSTSTOCKSLIP.REMAIN_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsRECEIPTDOC_NONull() { return this.IsNull(this.tableSTSTOCKSLIP.RECEIPTDOC_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetRECEIPTDOC_NONull() { this[this.tableSTSTOCKSLIP.RECEIPTDOC_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTAXDOC_NONull() { return this.IsNull(this.tableSTSTOCKSLIP.TAXDOC_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTAXDOC_NONull() { this[this.tableSTSTOCKSLIP.TAXDOC_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDELIVERYDOC_NONull() { return this.IsNull(this.tableSTSTOCKSLIP.DELIVERYDOC_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDELIVERYDOC_NONull() { this[this.tableSTSTOCKSLIP.DELIVERYDOC_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsINVOICEDOC_NONull() { return this.IsNull(this.tableSTSTOCKSLIP.INVOICEDOC_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetINVOICEDOC_NONull() { this[this.tableSTSTOCKSLIP.INVOICEDOC_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSLIP_STATUSNull() { return this.IsNull(this.tableSTSTOCKSLIP.SLIP_STATUSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSLIP_STATUSNull() { this[this.tableSTSTOCKSLIP.SLIP_STATUSColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEXPENSE_CODENull() { return this.IsNull(this.tableSTSTOCKSLIP.EXPENSE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEXPENSE_CODENull() { this[this.tableSTSTOCKSLIP.EXPENSE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsENTRY_IDNull() { return this.IsNull(this.tableSTSTOCKSLIP.ENTRY_IDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetENTRY_IDNull() { this[this.tableSTSTOCKSLIP.ENTRY_IDColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsENTRY_DATENull() { return this.IsNull(this.tableSTSTOCKSLIP.ENTRY_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetENTRY_DATENull() { this[this.tableSTSTOCKSLIP.ENTRY_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPOST_STATUSNull() { return this.IsNull(this.tableSTSTOCKSLIP.POST_STATUSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPOST_STATUSNull() { this[this.tableSTSTOCKSLIP.POST_STATUSColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsVAT_TYPENull() { return this.IsNull(this.tableSTSTOCKSLIP.VAT_TYPEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetVAT_TYPENull() { this[this.tableSTSTOCKSLIP.VAT_TYPEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STSTOCKSLIPDETRow[] GetSTSTOCKSLIPDETRows() { if ((this.Table.ChildRelations["SYS_C0060258"] == null)) { return new STSTOCKSLIPDETRow[0]; } else { return ((STSTOCKSLIPDETRow[])(base.GetChildRows(this.Table.ChildRelations["SYS_C0060258"]))); } } } /// ///Represents strongly named DataRow class. /// public partial class STSTOCKSLIPDETRow : global::System.Data.DataRow { private STSTOCKSLIPDETDataTable tableSTSTOCKSLIPDET; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal STSTOCKSLIPDETRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableSTSTOCKSLIPDET = ((STSTOCKSLIPDETDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableSTSTOCKSLIPDET.COOP_IDColumn])); } set { this[this.tableSTSTOCKSLIPDET.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SLIP_NO { get { return ((string)(this[this.tableSTSTOCKSLIPDET.SLIP_NOColumn])); } set { this[this.tableSTSTOCKSLIPDET.SLIP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string STORE_ID { get { return ((string)(this[this.tableSTSTOCKSLIPDET.STORE_IDColumn])); } set { this[this.tableSTSTOCKSLIPDET.STORE_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SEQ_NO { get { return ((decimal)(this[this.tableSTSTOCKSLIPDET.SEQ_NOColumn])); } set { this[this.tableSTSTOCKSLIPDET.SEQ_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal ITEM_QTY { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.ITEM_QTYColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ITEM_QTY\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.ITEM_QTYColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string PRODUCT_NO { get { try { return ((string)(this[this.tableSTSTOCKSLIPDET.PRODUCT_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PRODUCT_NO\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.PRODUCT_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ITEMTYPE_CODE { get { try { return ((string)(this[this.tableSTSTOCKSLIPDET.ITEMTYPE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ITEMTYPE_CODE\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.ITEMTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal PRODUCT_PRICE { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.PRODUCT_PRICEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PRODUCT_PRICE\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.PRODUCT_PRICEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal DISCOUNT_PERCENT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.DISCOUNT_PERCENTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DISCOUNT_PERCENT\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.DISCOUNT_PERCENTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal PRODUCT_COST { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.PRODUCT_COSTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PRODUCT_COST\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.PRODUCT_COSTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal DISCOUNT_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.DISCOUNT_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DISCOUNT_AMT\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.DISCOUNT_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal ITEM_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.ITEM_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ITEM_AMT\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.ITEM_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal VAT_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.VAT_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'VAT_AMT\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.VAT_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal ITEMNET_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.ITEMNET_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ITEMNET_AMT\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.ITEMNET_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal ITEMNOVAT_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.ITEMNOVAT_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ITEMNOVAT_AMT\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.ITEMNOVAT_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string LOT_NO { get { try { return ((string)(this[this.tableSTSTOCKSLIPDET.LOT_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LOT_NO\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.LOT_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SLIPDET_STATUS { get { try { return ((string)(this[this.tableSTSTOCKSLIPDET.SLIPDET_STATUSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SLIPDET_STATUS\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.SLIPDET_STATUSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal ITEM_RETURN_QTY { get { return ((decimal)(this[this.tableSTSTOCKSLIPDET.ITEM_RETURN_QTYColumn])); } set { this[this.tableSTSTOCKSLIPDET.ITEM_RETURN_QTYColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal COST_AMT { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.COST_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'COST_AMT\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.COST_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal BEFORE_METER { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.BEFORE_METERColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BEFORE_METER\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.BEFORE_METERColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal AFTER_METER { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.AFTER_METERColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'AFTER_METER\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.AFTER_METERColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string PUMP_ID { get { try { return ((string)(this[this.tableSTSTOCKSLIPDET.PUMP_IDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PUMP_ID\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.PUMP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string PRODUCT_DESC { get { try { return ((string)(this[this.tableSTSTOCKSLIPDET.PRODUCT_DESCColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PRODUCT_DESC\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.PRODUCT_DESCColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal START_NO { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.START_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'START_NO\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.START_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal END_NO { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.END_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'END_NO\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.END_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal LOT_QTY { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.LOT_QTYColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LOT_QTY\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.LOT_QTYColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal BALANCE_QTY { get { try { return ((decimal)(this[this.tableSTSTOCKSLIPDET.BALANCE_QTYColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BALANCE_QTY\' in table \'STSTOCKSLIPDET\' is DBNull.", e); } } set { this[this.tableSTSTOCKSLIPDET.BALANCE_QTYColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STSTOCKSLIPRow STSTOCKSLIPRowParent { get { return ((STSTOCKSLIPRow)(this.GetParentRow(this.Table.ParentRelations["SYS_C0060258"]))); } set { this.SetParentRow(value, this.Table.ParentRelations["SYS_C0060258"]); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsITEM_QTYNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.ITEM_QTYColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetITEM_QTYNull() { this[this.tableSTSTOCKSLIPDET.ITEM_QTYColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPRODUCT_NONull() { return this.IsNull(this.tableSTSTOCKSLIPDET.PRODUCT_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPRODUCT_NONull() { this[this.tableSTSTOCKSLIPDET.PRODUCT_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsITEMTYPE_CODENull() { return this.IsNull(this.tableSTSTOCKSLIPDET.ITEMTYPE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetITEMTYPE_CODENull() { this[this.tableSTSTOCKSLIPDET.ITEMTYPE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPRODUCT_PRICENull() { return this.IsNull(this.tableSTSTOCKSLIPDET.PRODUCT_PRICEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPRODUCT_PRICENull() { this[this.tableSTSTOCKSLIPDET.PRODUCT_PRICEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDISCOUNT_PERCENTNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.DISCOUNT_PERCENTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDISCOUNT_PERCENTNull() { this[this.tableSTSTOCKSLIPDET.DISCOUNT_PERCENTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPRODUCT_COSTNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.PRODUCT_COSTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPRODUCT_COSTNull() { this[this.tableSTSTOCKSLIPDET.PRODUCT_COSTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDISCOUNT_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.DISCOUNT_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDISCOUNT_AMTNull() { this[this.tableSTSTOCKSLIPDET.DISCOUNT_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsITEM_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.ITEM_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetITEM_AMTNull() { this[this.tableSTSTOCKSLIPDET.ITEM_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsVAT_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.VAT_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetVAT_AMTNull() { this[this.tableSTSTOCKSLIPDET.VAT_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsITEMNET_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.ITEMNET_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetITEMNET_AMTNull() { this[this.tableSTSTOCKSLIPDET.ITEMNET_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsITEMNOVAT_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.ITEMNOVAT_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetITEMNOVAT_AMTNull() { this[this.tableSTSTOCKSLIPDET.ITEMNOVAT_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsLOT_NONull() { return this.IsNull(this.tableSTSTOCKSLIPDET.LOT_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetLOT_NONull() { this[this.tableSTSTOCKSLIPDET.LOT_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSLIPDET_STATUSNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.SLIPDET_STATUSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSLIPDET_STATUSNull() { this[this.tableSTSTOCKSLIPDET.SLIPDET_STATUSColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsCOST_AMTNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.COST_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetCOST_AMTNull() { this[this.tableSTSTOCKSLIPDET.COST_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsBEFORE_METERNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.BEFORE_METERColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetBEFORE_METERNull() { this[this.tableSTSTOCKSLIPDET.BEFORE_METERColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsAFTER_METERNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.AFTER_METERColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetAFTER_METERNull() { this[this.tableSTSTOCKSLIPDET.AFTER_METERColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPUMP_IDNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.PUMP_IDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPUMP_IDNull() { this[this.tableSTSTOCKSLIPDET.PUMP_IDColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPRODUCT_DESCNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.PRODUCT_DESCColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPRODUCT_DESCNull() { this[this.tableSTSTOCKSLIPDET.PRODUCT_DESCColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSTART_NONull() { return this.IsNull(this.tableSTSTOCKSLIPDET.START_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSTART_NONull() { this[this.tableSTSTOCKSLIPDET.START_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEND_NONull() { return this.IsNull(this.tableSTSTOCKSLIPDET.END_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEND_NONull() { this[this.tableSTSTOCKSLIPDET.END_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsLOT_QTYNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.LOT_QTYColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetLOT_QTYNull() { this[this.tableSTSTOCKSLIPDET.LOT_QTYColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsBALANCE_QTYNull() { return this.IsNull(this.tableSTSTOCKSLIPDET.BALANCE_QTYColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetBALANCE_QTYNull() { this[this.tableSTSTOCKSLIPDET.BALANCE_QTYColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class DSSUMRow : global::System.Data.DataRow { private DSSUMDataTable tableDSSUM; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal DSSUMRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableDSSUM = ((DSSUMDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal sum_item_qty { get { try { return ((decimal)(this[this.tableDSSUM.sum_item_qtyColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'sum_item_qty\' in table \'DSSUM\' is DBNull.", e); } } set { this[this.tableDSSUM.sum_item_qtyColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal sum_item_amt { get { try { return ((decimal)(this[this.tableDSSUM.sum_item_amtColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'sum_item_amt\' in table \'DSSUM\' is DBNull.", e); } } set { this[this.tableDSSUM.sum_item_amtColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal sum_vat_amt { get { try { return ((decimal)(this[this.tableDSSUM.sum_vat_amtColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'sum_vat_amt\' in table \'DSSUM\' is DBNull.", e); } } set { this[this.tableDSSUM.sum_vat_amtColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal sum_discount_amt { get { try { return ((decimal)(this[this.tableDSSUM.sum_discount_amtColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'sum_discount_amt\' in table \'DSSUM\' is DBNull.", e); } } set { this[this.tableDSSUM.sum_discount_amtColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal sum_itemnet_amt { get { try { return ((decimal)(this[this.tableDSSUM.sum_itemnet_amtColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'sum_itemnet_amt\' in table \'DSSUM\' is DBNull.", e); } } set { this[this.tableDSSUM.sum_itemnet_amtColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string status_save { get { try { return ((string)(this[this.tableDSSUM.status_saveColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'status_save\' in table \'DSSUM\' is DBNull.", e); } } set { this[this.tableDSSUM.status_saveColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Issum_item_qtyNull() { return this.IsNull(this.tableDSSUM.sum_item_qtyColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setsum_item_qtyNull() { this[this.tableDSSUM.sum_item_qtyColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Issum_item_amtNull() { return this.IsNull(this.tableDSSUM.sum_item_amtColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setsum_item_amtNull() { this[this.tableDSSUM.sum_item_amtColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Issum_vat_amtNull() { return this.IsNull(this.tableDSSUM.sum_vat_amtColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setsum_vat_amtNull() { this[this.tableDSSUM.sum_vat_amtColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Issum_discount_amtNull() { return this.IsNull(this.tableDSSUM.sum_discount_amtColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setsum_discount_amtNull() { this[this.tableDSSUM.sum_discount_amtColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Issum_itemnet_amtNull() { return this.IsNull(this.tableDSSUM.sum_itemnet_amtColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setsum_itemnet_amtNull() { this[this.tableDSSUM.sum_itemnet_amtColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isstatus_saveNull() { return this.IsNull(this.tableDSSUM.status_saveColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setstatus_saveNull() { this[this.tableDSSUM.status_saveColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class DSSCALERow : global::System.Data.DataRow { private DSSCALEDataTable tableDSSCALE; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal DSSCALERow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableDSSCALE = ((DSSCALEDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string product_no { get { try { return ((string)(this[this.tableDSSCALE.product_noColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'product_no\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.product_noColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string product_desc { get { try { return ((string)(this[this.tableDSSCALE.product_descColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'product_desc\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.product_descColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal scale_in { get { try { return ((decimal)(this[this.tableDSSCALE.scale_inColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'scale_in\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.scale_inColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string scale_in_time { get { try { return ((string)(this[this.tableDSSCALE.scale_in_timeColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'scale_in_time\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.scale_in_timeColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal scale_out { get { try { return ((decimal)(this[this.tableDSSCALE.scale_outColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'scale_out\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.scale_outColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string scale_out_time { get { try { return ((string)(this[this.tableDSSCALE.scale_out_timeColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'scale_out_time\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.scale_out_timeColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal scale_balance { get { try { return ((decimal)(this[this.tableDSSCALE.scale_balanceColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'scale_balance\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.scale_balanceColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal de_bag_kg { get { try { return ((decimal)(this[this.tableDSSCALE.de_bag_kgColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'de_bag_kg\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.de_bag_kgColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal de_moistness_per { get { try { return ((decimal)(this[this.tableDSSCALE.de_moistness_perColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'de_moistness_per\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.de_moistness_perColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal de_moistness_kg { get { try { return ((decimal)(this[this.tableDSSCALE.de_moistness_kgColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'de_moistness_kg\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.de_moistness_kgColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal de_adulterant_per { get { try { return ((decimal)(this[this.tableDSSCALE.de_adulterant_perColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'de_adulterant_per\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.de_adulterant_perColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal de_adulterant_kg { get { try { return ((decimal)(this[this.tableDSSCALE.de_adulterant_kgColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'de_adulterant_kg\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.de_adulterant_kgColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal net_weight { get { try { return ((decimal)(this[this.tableDSSCALE.net_weightColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'net_weight\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.net_weightColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal price_per_unit { get { try { return ((decimal)(this[this.tableDSSCALE.price_per_unitColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'price_per_unit\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.price_per_unitColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal net_price { get { try { return ((decimal)(this[this.tableDSSCALE.net_priceColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'net_price\' in table \'DSSCALE\' is DBNull.", e); } } set { this[this.tableDSSCALE.net_priceColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isproduct_noNull() { return this.IsNull(this.tableDSSCALE.product_noColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setproduct_noNull() { this[this.tableDSSCALE.product_noColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isproduct_descNull() { return this.IsNull(this.tableDSSCALE.product_descColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setproduct_descNull() { this[this.tableDSSCALE.product_descColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isscale_inNull() { return this.IsNull(this.tableDSSCALE.scale_inColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setscale_inNull() { this[this.tableDSSCALE.scale_inColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isscale_in_timeNull() { return this.IsNull(this.tableDSSCALE.scale_in_timeColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setscale_in_timeNull() { this[this.tableDSSCALE.scale_in_timeColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isscale_outNull() { return this.IsNull(this.tableDSSCALE.scale_outColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setscale_outNull() { this[this.tableDSSCALE.scale_outColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isscale_out_timeNull() { return this.IsNull(this.tableDSSCALE.scale_out_timeColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setscale_out_timeNull() { this[this.tableDSSCALE.scale_out_timeColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isscale_balanceNull() { return this.IsNull(this.tableDSSCALE.scale_balanceColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setscale_balanceNull() { this[this.tableDSSCALE.scale_balanceColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isde_bag_kgNull() { return this.IsNull(this.tableDSSCALE.de_bag_kgColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setde_bag_kgNull() { this[this.tableDSSCALE.de_bag_kgColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isde_moistness_perNull() { return this.IsNull(this.tableDSSCALE.de_moistness_perColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setde_moistness_perNull() { this[this.tableDSSCALE.de_moistness_perColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isde_moistness_kgNull() { return this.IsNull(this.tableDSSCALE.de_moistness_kgColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setde_moistness_kgNull() { this[this.tableDSSCALE.de_moistness_kgColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isde_adulterant_perNull() { return this.IsNull(this.tableDSSCALE.de_adulterant_perColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setde_adulterant_perNull() { this[this.tableDSSCALE.de_adulterant_perColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isde_adulterant_kgNull() { return this.IsNull(this.tableDSSCALE.de_adulterant_kgColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setde_adulterant_kgNull() { this[this.tableDSSCALE.de_adulterant_kgColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isnet_weightNull() { return this.IsNull(this.tableDSSCALE.net_weightColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setnet_weightNull() { this[this.tableDSSCALE.net_weightColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isprice_per_unitNull() { return this.IsNull(this.tableDSSCALE.price_per_unitColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setprice_per_unitNull() { this[this.tableDSSCALE.price_per_unitColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isnet_priceNull() { return this.IsNull(this.tableDSSCALE.net_priceColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setnet_priceNull() { this[this.tableDSSCALE.net_priceColumn] = global::System.Convert.DBNull; } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class STSTOCKSLIPRowChangeEvent : global::System.EventArgs { private STSTOCKSLIPRow 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 STSTOCKSLIPRowChangeEvent(STSTOCKSLIPRow 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 STSTOCKSLIPRow 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; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class STSTOCKSLIPDETRowChangeEvent : global::System.EventArgs { private STSTOCKSLIPDETRow 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 STSTOCKSLIPDETRowChangeEvent(STSTOCKSLIPDETRow 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 STSTOCKSLIPDETRow 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; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class DSSUMRowChangeEvent : global::System.EventArgs { private DSSUMRow 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 DSSUMRowChangeEvent(DSSUMRow 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 DSSUMRow 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; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class DSSCALERowChangeEvent : global::System.EventArgs { private DSSCALERow 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 DSSCALERowChangeEvent(DSSCALERow 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 DSSCALERow 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 Saving.Applications.trading.ws_td_sale_scale_ctrl.DataSet1TableAdapters { /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class STSTOCKSLIPTableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STSTOCKSLIPTableAdapter() { 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.OracleClient.OracleDataAdapter 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.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(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.OracleClient.OracleTransaction 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.OracleClient.OracleCommand[] 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.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "STSTOCKSLIP"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("SLIP_NO", "SLIP_NO"); tableMapping.ColumnMappings.Add("STORE_ID", "STORE_ID"); tableMapping.ColumnMappings.Add("TERMINAL_NO", "TERMINAL_NO"); tableMapping.ColumnMappings.Add("SLIP_DATE", "SLIP_DATE"); tableMapping.ColumnMappings.Add("REFDOC_NO", "REFDOC_NO"); tableMapping.ColumnMappings.Add("DEBT_NO", "DEBT_NO"); tableMapping.ColumnMappings.Add("SLIPTYPE_CODE", "SLIPTYPE_CODE"); tableMapping.ColumnMappings.Add("REMARK", "REMARK"); tableMapping.ColumnMappings.Add("DEBT_NAME", "DEBT_NAME"); tableMapping.ColumnMappings.Add("DEBTTYPE_CODE", "DEBTTYPE_CODE"); tableMapping.ColumnMappings.Add("SLIP_AMT", "SLIP_AMT"); tableMapping.ColumnMappings.Add("DEBTFROMTYPE_CODE", "DEBTFROMTYPE_CODE"); tableMapping.ColumnMappings.Add("DISCOUNT_AMT", "DISCOUNT_AMT"); tableMapping.ColumnMappings.Add("SLIPNET_AMT", "SLIPNET_AMT"); tableMapping.ColumnMappings.Add("VAT_AMT", "VAT_AMT"); tableMapping.ColumnMappings.Add("RECEIVE_AMT", "RECEIVE_AMT"); tableMapping.ColumnMappings.Add("CHANGE_AMT", "CHANGE_AMT"); tableMapping.ColumnMappings.Add("REMAIN_AMT", "REMAIN_AMT"); tableMapping.ColumnMappings.Add("RECEIPTDOC_NO", "RECEIPTDOC_NO"); tableMapping.ColumnMappings.Add("TAXDOC_NO", "TAXDOC_NO"); tableMapping.ColumnMappings.Add("DELIVERYDOC_NO", "DELIVERYDOC_NO"); tableMapping.ColumnMappings.Add("INVOICEDOC_NO", "INVOICEDOC_NO"); tableMapping.ColumnMappings.Add("SLIP_STATUS", "SLIP_STATUS"); tableMapping.ColumnMappings.Add("EXPENSE_CODE", "EXPENSE_CODE"); tableMapping.ColumnMappings.Add("ENTRY_ID", "ENTRY_ID"); tableMapping.ColumnMappings.Add("ENTRY_DATE", "ENTRY_DATE"); tableMapping.ColumnMappings.Add("POST_STATUS", "POST_STATUS"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM \"STSTOCKSLIP\" WHERE ((\"COOP_ID\" = :Original_COOP_ID) AND (\"SLIP_NO\" =" + " :Original_SLIP_NO) AND (\"STORE_ID\" = :Original_STORE_ID))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SLIP_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SLIP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO ""STSTOCKSLIP"" (""COOP_ID"", ""SLIP_NO"", ""STORE_ID"", ""TERMINAL_NO"", ""SLIP_DATE"", ""REFDOC_NO"", ""DEBT_NO"", ""SLIPTYPE_CODE"", ""REMARK"", ""DEBT_NAME"", ""DEBTTYPE_CODE"", ""SLIP_AMT"", ""DEBTFROMTYPE_CODE"", ""DISCOUNT_AMT"", ""SLIPNET_AMT"", ""VAT_AMT"", ""RECEIVE_AMT"", ""CHANGE_AMT"", ""REMAIN_AMT"", ""RECEIPTDOC_NO"", ""TAXDOC_NO"", ""DELIVERYDOC_NO"", ""INVOICEDOC_NO"", ""SLIP_STATUS"", ""EXPENSE_CODE"", ""ENTRY_ID"", ""ENTRY_DATE"", ""POST_STATUS"") VALUES (:COOP_ID, :SLIP_NO, :STORE_ID, :TERMINAL_NO, :SLIP_DATE, :REFDOC_NO, :DEBT_NO, :SLIPTYPE_CODE, :REMARK, :DEBT_NAME, :DEBTTYPE_CODE, :SLIP_AMT, :DEBTFROMTYPE_CODE, :DISCOUNT_AMT, :SLIPNET_AMT, :VAT_AMT, :RECEIVE_AMT, :CHANGE_AMT, :REMAIN_AMT, :RECEIPTDOC_NO, :TAXDOC_NO, :DELIVERYDOC_NO, :INVOICEDOC_NO, :SLIP_STATUS, :EXPENSE_CODE, :ENTRY_ID, :ENTRY_DATE, :POST_STATUS)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SLIP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TERMINAL_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "TERMINAL_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "SLIP_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REFDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REFDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIPTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SLIPTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REMARK", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REMARK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBT_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SLIP_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTFROMTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTFROMTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DISCOUNT_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DISCOUNT_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIPNET_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SLIPNET_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("VAT_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "VAT_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("RECEIVE_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "RECEIVE_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("CHANGE_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "CHANGE_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REMAIN_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "REMAIN_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("RECEIPTDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "RECEIPTDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TAXDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "TAXDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DELIVERYDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DELIVERYDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("INVOICEDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "INVOICEDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_STATUS", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SLIP_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EXPENSE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EXPENSE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ENTRY_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "ENTRY_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("POST_STATUS", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "POST_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE ""STSTOCKSLIP"" SET ""COOP_ID"" = :COOP_ID, ""SLIP_NO"" = :SLIP_NO, ""STORE_ID"" = :STORE_ID, ""TERMINAL_NO"" = :TERMINAL_NO, ""SLIP_DATE"" = :SLIP_DATE, ""REFDOC_NO"" = :REFDOC_NO, ""DEBT_NO"" = :DEBT_NO, ""SLIPTYPE_CODE"" = :SLIPTYPE_CODE, ""REMARK"" = :REMARK, ""DEBT_NAME"" = :DEBT_NAME, ""DEBTTYPE_CODE"" = :DEBTTYPE_CODE, ""SLIP_AMT"" = :SLIP_AMT, ""DEBTFROMTYPE_CODE"" = :DEBTFROMTYPE_CODE, ""DISCOUNT_AMT"" = :DISCOUNT_AMT, ""SLIPNET_AMT"" = :SLIPNET_AMT, ""VAT_AMT"" = :VAT_AMT, ""RECEIVE_AMT"" = :RECEIVE_AMT, ""CHANGE_AMT"" = :CHANGE_AMT, ""REMAIN_AMT"" = :REMAIN_AMT, ""RECEIPTDOC_NO"" = :RECEIPTDOC_NO, ""TAXDOC_NO"" = :TAXDOC_NO, ""DELIVERYDOC_NO"" = :DELIVERYDOC_NO, ""INVOICEDOC_NO"" = :INVOICEDOC_NO, ""SLIP_STATUS"" = :SLIP_STATUS, ""EXPENSE_CODE"" = :EXPENSE_CODE, ""ENTRY_ID"" = :ENTRY_ID, ""ENTRY_DATE"" = :ENTRY_DATE, ""POST_STATUS"" = :POST_STATUS WHERE ((""COOP_ID"" = :Original_COOP_ID) AND (""SLIP_NO"" = :Original_SLIP_NO) AND (""STORE_ID"" = :Original_STORE_ID))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SLIP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TERMINAL_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "TERMINAL_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "SLIP_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REFDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REFDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIPTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SLIPTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REMARK", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REMARK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBT_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SLIP_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTFROMTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTFROMTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DISCOUNT_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DISCOUNT_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIPNET_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SLIPNET_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("VAT_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "VAT_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("RECEIVE_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "RECEIVE_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("CHANGE_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "CHANGE_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REMAIN_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "REMAIN_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("RECEIPTDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "RECEIPTDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TAXDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "TAXDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DELIVERYDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DELIVERYDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("INVOICEDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "INVOICEDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_STATUS", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SLIP_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EXPENSE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EXPENSE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ENTRY_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "ENTRY_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("POST_STATUS", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "POST_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SLIP_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SLIP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", 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.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString1"].ConnectionString; } [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.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "select * from ststockslip"; 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(DataSet1.STSTOCKSLIPDataTable 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 DataSet1.STSTOCKSLIPDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.STSTOCKSLIPDataTable dataTable = new DataSet1.STSTOCKSLIPDataTable(); 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(DataSet1.STSTOCKSLIPDataTable 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(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "STSTOCKSLIP"); } [global::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_COOP_ID, string Original_SLIP_NO, string Original_STORE_ID) { if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_COOP_ID)); } if ((Original_SLIP_NO == null)) { throw new global::System.ArgumentNullException("Original_SLIP_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_SLIP_NO)); } if ((Original_STORE_ID == null)) { throw new global::System.ArgumentNullException("Original_STORE_ID"); } else { this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_STORE_ID)); } 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 COOP_ID, string SLIP_NO, string STORE_ID, string TERMINAL_NO, global::System.Nullable SLIP_DATE, string REFDOC_NO, string DEBT_NO, string SLIPTYPE_CODE, string REMARK, string DEBT_NAME, string DEBTTYPE_CODE, global::System.Nullable SLIP_AMT, string DEBTFROMTYPE_CODE, global::System.Nullable DISCOUNT_AMT, global::System.Nullable SLIPNET_AMT, global::System.Nullable VAT_AMT, global::System.Nullable RECEIVE_AMT, global::System.Nullable CHANGE_AMT, global::System.Nullable REMAIN_AMT, string RECEIPTDOC_NO, string TAXDOC_NO, string DELIVERYDOC_NO, string INVOICEDOC_NO, string SLIP_STATUS, string EXPENSE_CODE, string ENTRY_ID, global::System.Nullable ENTRY_DATE, string POST_STATUS) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((SLIP_NO == null)) { throw new global::System.ArgumentNullException("SLIP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(SLIP_NO)); } if ((STORE_ID == null)) { throw new global::System.ArgumentNullException("STORE_ID"); } else { this.Adapter.InsertCommand.Parameters[2].Value = ((string)(STORE_ID)); } if ((TERMINAL_NO == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(TERMINAL_NO)); } if ((SLIP_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(SLIP_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } if ((REFDOC_NO == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(REFDOC_NO)); } if ((DEBT_NO == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(DEBT_NO)); } if ((SLIPTYPE_CODE == null)) { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[7].Value = ((string)(SLIPTYPE_CODE)); } if ((REMARK == null)) { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[8].Value = ((string)(REMARK)); } if ((DEBT_NAME == null)) { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[9].Value = ((string)(DEBT_NAME)); } if ((DEBTTYPE_CODE == null)) { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[10].Value = ((string)(DEBTTYPE_CODE)); } if ((SLIP_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[11].Value = ((decimal)(SLIP_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } if ((DEBTFROMTYPE_CODE == null)) { this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[12].Value = ((string)(DEBTFROMTYPE_CODE)); } if ((DISCOUNT_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(DISCOUNT_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; } if ((SLIPNET_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[14].Value = ((decimal)(SLIPNET_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; } if ((VAT_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[15].Value = ((decimal)(VAT_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; } if ((RECEIVE_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[16].Value = ((decimal)(RECEIVE_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; } if ((CHANGE_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[17].Value = ((decimal)(CHANGE_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; } if ((REMAIN_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(REMAIN_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; } if ((RECEIPTDOC_NO == null)) { this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[19].Value = ((string)(RECEIPTDOC_NO)); } if ((TAXDOC_NO == null)) { this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[20].Value = ((string)(TAXDOC_NO)); } if ((DELIVERYDOC_NO == null)) { this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[21].Value = ((string)(DELIVERYDOC_NO)); } if ((INVOICEDOC_NO == null)) { this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[22].Value = ((string)(INVOICEDOC_NO)); } if ((SLIP_STATUS == null)) { this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[23].Value = ((string)(SLIP_STATUS)); } if ((EXPENSE_CODE == null)) { this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[24].Value = ((string)(EXPENSE_CODE)); } if ((ENTRY_ID == null)) { this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[25].Value = ((string)(ENTRY_ID)); } if ((ENTRY_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[26].Value = ((System.DateTime)(ENTRY_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value; } if ((POST_STATUS == null)) { this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[27].Value = ((string)(POST_STATUS)); } 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 COOP_ID, string SLIP_NO, string STORE_ID, string TERMINAL_NO, global::System.Nullable SLIP_DATE, string REFDOC_NO, string DEBT_NO, string SLIPTYPE_CODE, string REMARK, string DEBT_NAME, string DEBTTYPE_CODE, global::System.Nullable SLIP_AMT, string DEBTFROMTYPE_CODE, global::System.Nullable DISCOUNT_AMT, global::System.Nullable SLIPNET_AMT, global::System.Nullable VAT_AMT, global::System.Nullable RECEIVE_AMT, global::System.Nullable CHANGE_AMT, global::System.Nullable REMAIN_AMT, string RECEIPTDOC_NO, string TAXDOC_NO, string DELIVERYDOC_NO, string INVOICEDOC_NO, string SLIP_STATUS, string EXPENSE_CODE, string ENTRY_ID, global::System.Nullable ENTRY_DATE, string POST_STATUS, string Original_COOP_ID, string Original_SLIP_NO, string Original_STORE_ID) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((SLIP_NO == null)) { throw new global::System.ArgumentNullException("SLIP_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(SLIP_NO)); } if ((STORE_ID == null)) { throw new global::System.ArgumentNullException("STORE_ID"); } else { this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(STORE_ID)); } if ((TERMINAL_NO == null)) { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(TERMINAL_NO)); } if ((SLIP_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(SLIP_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } if ((REFDOC_NO == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(REFDOC_NO)); } if ((DEBT_NO == null)) { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(DEBT_NO)); } if ((SLIPTYPE_CODE == null)) { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(SLIPTYPE_CODE)); } if ((REMARK == null)) { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(REMARK)); } if ((DEBT_NAME == null)) { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(DEBT_NAME)); } if ((DEBTTYPE_CODE == null)) { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(DEBTTYPE_CODE)); } if ((SLIP_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(SLIP_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } if ((DEBTFROMTYPE_CODE == null)) { this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(DEBTFROMTYPE_CODE)); } if ((DISCOUNT_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(DISCOUNT_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } if ((SLIPNET_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(SLIPNET_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; } if ((VAT_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[15].Value = ((decimal)(VAT_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; } if ((RECEIVE_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(RECEIVE_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; } if ((CHANGE_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(CHANGE_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; } if ((REMAIN_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(REMAIN_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; } if ((RECEIPTDOC_NO == null)) { this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(RECEIPTDOC_NO)); } if ((TAXDOC_NO == null)) { this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(TAXDOC_NO)); } if ((DELIVERYDOC_NO == null)) { this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(DELIVERYDOC_NO)); } if ((INVOICEDOC_NO == null)) { this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(INVOICEDOC_NO)); } if ((SLIP_STATUS == null)) { this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(SLIP_STATUS)); } if ((EXPENSE_CODE == null)) { this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(EXPENSE_CODE)); } if ((ENTRY_ID == null)) { this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(ENTRY_ID)); } if ((ENTRY_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[26].Value = ((System.DateTime)(ENTRY_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; } if ((POST_STATUS == null)) { this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(POST_STATUS)); } if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_COOP_ID)); } if ((Original_SLIP_NO == null)) { throw new global::System.ArgumentNullException("Original_SLIP_NO"); } else { this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_SLIP_NO)); } if ((Original_STORE_ID == null)) { throw new global::System.ArgumentNullException("Original_STORE_ID"); } else { this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_STORE_ID)); } 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 TERMINAL_NO, global::System.Nullable SLIP_DATE, string REFDOC_NO, string DEBT_NO, string SLIPTYPE_CODE, string REMARK, string DEBT_NAME, string DEBTTYPE_CODE, global::System.Nullable SLIP_AMT, string DEBTFROMTYPE_CODE, global::System.Nullable DISCOUNT_AMT, global::System.Nullable SLIPNET_AMT, global::System.Nullable VAT_AMT, global::System.Nullable RECEIVE_AMT, global::System.Nullable CHANGE_AMT, global::System.Nullable REMAIN_AMT, string RECEIPTDOC_NO, string TAXDOC_NO, string DELIVERYDOC_NO, string INVOICEDOC_NO, string SLIP_STATUS, string EXPENSE_CODE, string ENTRY_ID, global::System.Nullable ENTRY_DATE, string POST_STATUS, string Original_COOP_ID, string Original_SLIP_NO, string Original_STORE_ID) { return this.Update(Original_COOP_ID, Original_SLIP_NO, Original_STORE_ID, TERMINAL_NO, SLIP_DATE, REFDOC_NO, DEBT_NO, SLIPTYPE_CODE, REMARK, DEBT_NAME, DEBTTYPE_CODE, SLIP_AMT, DEBTFROMTYPE_CODE, DISCOUNT_AMT, SLIPNET_AMT, VAT_AMT, RECEIVE_AMT, CHANGE_AMT, REMAIN_AMT, RECEIPTDOC_NO, TAXDOC_NO, DELIVERYDOC_NO, INVOICEDOC_NO, SLIP_STATUS, EXPENSE_CODE, ENTRY_ID, ENTRY_DATE, POST_STATUS, Original_COOP_ID, Original_SLIP_NO, Original_STORE_ID); } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class STSTOCKSLIPDETTableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STSTOCKSLIPDETTableAdapter() { 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.OracleClient.OracleDataAdapter 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.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(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.OracleClient.OracleTransaction 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.OracleClient.OracleCommand[] 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.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "STSTOCKSLIPDET"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("SLIP_NO", "SLIP_NO"); tableMapping.ColumnMappings.Add("STORE_ID", "STORE_ID"); tableMapping.ColumnMappings.Add("SEQ_NO", "SEQ_NO"); tableMapping.ColumnMappings.Add("ITEM_QTY", "ITEM_QTY"); tableMapping.ColumnMappings.Add("PRODUCT_NO", "PRODUCT_NO"); tableMapping.ColumnMappings.Add("ITEMTYPE_CODE", "ITEMTYPE_CODE"); tableMapping.ColumnMappings.Add("PRODUCT_PRICE", "PRODUCT_PRICE"); tableMapping.ColumnMappings.Add("DISCOUNT_PERCENT", "DISCOUNT_PERCENT"); tableMapping.ColumnMappings.Add("PRODUCT_COST", "PRODUCT_COST"); tableMapping.ColumnMappings.Add("DISCOUNT_AMT", "DISCOUNT_AMT"); tableMapping.ColumnMappings.Add("ITEM_AMT", "ITEM_AMT"); tableMapping.ColumnMappings.Add("VAT_AMT", "VAT_AMT"); tableMapping.ColumnMappings.Add("ITEMNET_AMT", "ITEMNET_AMT"); tableMapping.ColumnMappings.Add("ITEMNOVAT_AMT", "ITEMNOVAT_AMT"); tableMapping.ColumnMappings.Add("LOT_NO", "LOT_NO"); tableMapping.ColumnMappings.Add("SLIPDET_STATUS", "SLIPDET_STATUS"); tableMapping.ColumnMappings.Add("ITEM_RETURN_QTY", "ITEM_RETURN_QTY"); tableMapping.ColumnMappings.Add("COST_AMT", "COST_AMT"); tableMapping.ColumnMappings.Add("BEFORE_METER", "BEFORE_METER"); tableMapping.ColumnMappings.Add("AFTER_METER", "AFTER_METER"); tableMapping.ColumnMappings.Add("PUMP_ID", "PUMP_ID"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM \"STSTOCKSLIPDET\" WHERE ((\"COOP_ID\" = :Original_COOP_ID) AND (\"SLIP_NO" + "\" = :Original_SLIP_NO) AND (\"STORE_ID\" = :Original_STORE_ID) AND (\"SEQ_NO\" = :Or" + "iginal_SEQ_NO))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SLIP_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SLIP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO ""STSTOCKSLIPDET"" (""COOP_ID"", ""SLIP_NO"", ""STORE_ID"", ""SEQ_NO"", ""ITEM_QTY"", ""PRODUCT_NO"", ""ITEMTYPE_CODE"", ""PRODUCT_PRICE"", ""DISCOUNT_PERCENT"", ""PRODUCT_COST"", ""DISCOUNT_AMT"", ""ITEM_AMT"", ""VAT_AMT"", ""ITEMNET_AMT"", ""ITEMNOVAT_AMT"", ""LOT_NO"", ""SLIPDET_STATUS"", ""ITEM_RETURN_QTY"", ""COST_AMT"", ""BEFORE_METER"", ""AFTER_METER"", ""PUMP_ID"") VALUES (:COOP_ID, :SLIP_NO, :STORE_ID, :SEQ_NO, :ITEM_QTY, :PRODUCT_NO, :ITEMTYPE_CODE, :PRODUCT_PRICE, :DISCOUNT_PERCENT, :PRODUCT_COST, :DISCOUNT_AMT, :ITEM_AMT, :VAT_AMT, :ITEMNET_AMT, :ITEMNOVAT_AMT, :LOT_NO, :SLIPDET_STATUS, :ITEM_RETURN_QTY, :COST_AMT, :BEFORE_METER, :AFTER_METER, :PUMP_ID)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SLIP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ITEM_QTY", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "ITEM_QTY", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRODUCT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "PRODUCT_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ITEMTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "ITEMTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRODUCT_PRICE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PRODUCT_PRICE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DISCOUNT_PERCENT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DISCOUNT_PERCENT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRODUCT_COST", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PRODUCT_COST", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DISCOUNT_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DISCOUNT_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ITEM_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "ITEM_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("VAT_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "VAT_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ITEMNET_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "ITEMNET_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ITEMNOVAT_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "ITEMNOVAT_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LOT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "LOT_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIPDET_STATUS", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SLIPDET_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ITEM_RETURN_QTY", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "ITEM_RETURN_QTY", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COST_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "COST_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("BEFORE_METER", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "BEFORE_METER", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("AFTER_METER", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "AFTER_METER", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PUMP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "PUMP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE ""STSTOCKSLIPDET"" SET ""COOP_ID"" = :COOP_ID, ""SLIP_NO"" = :SLIP_NO, ""STORE_ID"" = :STORE_ID, ""SEQ_NO"" = :SEQ_NO, ""ITEM_QTY"" = :ITEM_QTY, ""PRODUCT_NO"" = :PRODUCT_NO, ""ITEMTYPE_CODE"" = :ITEMTYPE_CODE, ""PRODUCT_PRICE"" = :PRODUCT_PRICE, ""DISCOUNT_PERCENT"" = :DISCOUNT_PERCENT, ""PRODUCT_COST"" = :PRODUCT_COST, ""DISCOUNT_AMT"" = :DISCOUNT_AMT, ""ITEM_AMT"" = :ITEM_AMT, ""VAT_AMT"" = :VAT_AMT, ""ITEMNET_AMT"" = :ITEMNET_AMT, ""ITEMNOVAT_AMT"" = :ITEMNOVAT_AMT, ""LOT_NO"" = :LOT_NO, ""SLIPDET_STATUS"" = :SLIPDET_STATUS, ""ITEM_RETURN_QTY"" = :ITEM_RETURN_QTY, ""COST_AMT"" = :COST_AMT, ""BEFORE_METER"" = :BEFORE_METER, ""AFTER_METER"" = :AFTER_METER, ""PUMP_ID"" = :PUMP_ID WHERE ((""COOP_ID"" = :Original_COOP_ID) AND (""SLIP_NO"" = :Original_SLIP_NO) AND (""STORE_ID"" = :Original_STORE_ID) AND (""SEQ_NO"" = :Original_SEQ_NO))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SLIP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ITEM_QTY", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "ITEM_QTY", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRODUCT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "PRODUCT_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ITEMTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "ITEMTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRODUCT_PRICE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PRODUCT_PRICE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DISCOUNT_PERCENT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DISCOUNT_PERCENT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRODUCT_COST", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PRODUCT_COST", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DISCOUNT_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DISCOUNT_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ITEM_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "ITEM_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("VAT_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "VAT_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ITEMNET_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "ITEMNET_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ITEMNOVAT_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "ITEMNOVAT_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LOT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "LOT_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIPDET_STATUS", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SLIPDET_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ITEM_RETURN_QTY", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "ITEM_RETURN_QTY", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COST_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "COST_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("BEFORE_METER", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "BEFORE_METER", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("AFTER_METER", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "AFTER_METER", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PUMP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "PUMP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SLIP_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SLIP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", 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.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString1"].ConnectionString; } [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.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = @"SELECT COOP_ID, SLIP_NO, STORE_ID, SEQ_NO, ITEM_QTY, PRODUCT_NO, ITEMTYPE_CODE, PRODUCT_PRICE, DISCOUNT_PERCENT, PRODUCT_COST, DISCOUNT_AMT, ITEM_AMT, VAT_AMT, ITEMNET_AMT, ITEMNOVAT_AMT, LOT_NO, SLIPDET_STATUS, ITEM_RETURN_QTY, COST_AMT, BEFORE_METER, AFTER_METER, PUMP_ID FROM STSTOCKSLIPDET"; 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(DataSet1.STSTOCKSLIPDETDataTable 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 DataSet1.STSTOCKSLIPDETDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.STSTOCKSLIPDETDataTable dataTable = new DataSet1.STSTOCKSLIPDETDataTable(); 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(DataSet1.STSTOCKSLIPDETDataTable 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(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "STSTOCKSLIPDET"); } [global::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_COOP_ID, string Original_SLIP_NO, string Original_STORE_ID, decimal Original_SEQ_NO) { if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_COOP_ID)); } if ((Original_SLIP_NO == null)) { throw new global::System.ArgumentNullException("Original_SLIP_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_SLIP_NO)); } if ((Original_STORE_ID == null)) { throw new global::System.ArgumentNullException("Original_STORE_ID"); } else { this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_STORE_ID)); } this.Adapter.DeleteCommand.Parameters[3].Value = ((decimal)(Original_SEQ_NO)); 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 COOP_ID, string SLIP_NO, string STORE_ID, decimal SEQ_NO, global::System.Nullable ITEM_QTY, string PRODUCT_NO, string ITEMTYPE_CODE, global::System.Nullable PRODUCT_PRICE, global::System.Nullable DISCOUNT_PERCENT, global::System.Nullable PRODUCT_COST, global::System.Nullable DISCOUNT_AMT, global::System.Nullable ITEM_AMT, global::System.Nullable VAT_AMT, global::System.Nullable ITEMNET_AMT, global::System.Nullable ITEMNOVAT_AMT, string LOT_NO, string SLIPDET_STATUS, decimal ITEM_RETURN_QTY, global::System.Nullable COST_AMT, global::System.Nullable BEFORE_METER, global::System.Nullable AFTER_METER, string PUMP_ID) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((SLIP_NO == null)) { throw new global::System.ArgumentNullException("SLIP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(SLIP_NO)); } if ((STORE_ID == null)) { throw new global::System.ArgumentNullException("STORE_ID"); } else { this.Adapter.InsertCommand.Parameters[2].Value = ((string)(STORE_ID)); } this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(SEQ_NO)); if ((ITEM_QTY.HasValue == true)) { this.Adapter.InsertCommand.Parameters[4].Value = ((decimal)(ITEM_QTY.Value)); } else { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } if ((PRODUCT_NO == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(PRODUCT_NO)); } if ((ITEMTYPE_CODE == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(ITEMTYPE_CODE)); } if ((PRODUCT_PRICE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(PRODUCT_PRICE.Value)); } else { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((DISCOUNT_PERCENT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(DISCOUNT_PERCENT.Value)); } else { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } if ((PRODUCT_COST.HasValue == true)) { this.Adapter.InsertCommand.Parameters[9].Value = ((decimal)(PRODUCT_COST.Value)); } else { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } if ((DISCOUNT_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[10].Value = ((decimal)(DISCOUNT_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } if ((ITEM_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[11].Value = ((decimal)(ITEM_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } if ((VAT_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(VAT_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; } if ((ITEMNET_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(ITEMNET_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; } if ((ITEMNOVAT_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[14].Value = ((decimal)(ITEMNOVAT_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; } if ((LOT_NO == null)) { this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[15].Value = ((string)(LOT_NO)); } if ((SLIPDET_STATUS == null)) { this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[16].Value = ((string)(SLIPDET_STATUS)); } this.Adapter.InsertCommand.Parameters[17].Value = ((decimal)(ITEM_RETURN_QTY)); if ((COST_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(COST_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; } if ((BEFORE_METER.HasValue == true)) { this.Adapter.InsertCommand.Parameters[19].Value = ((decimal)(BEFORE_METER.Value)); } else { this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; } if ((AFTER_METER.HasValue == true)) { this.Adapter.InsertCommand.Parameters[20].Value = ((decimal)(AFTER_METER.Value)); } else { this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; } if ((PUMP_ID == null)) { this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[21].Value = ((string)(PUMP_ID)); } 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 COOP_ID, string SLIP_NO, string STORE_ID, decimal SEQ_NO, global::System.Nullable ITEM_QTY, string PRODUCT_NO, string ITEMTYPE_CODE, global::System.Nullable PRODUCT_PRICE, global::System.Nullable DISCOUNT_PERCENT, global::System.Nullable PRODUCT_COST, global::System.Nullable DISCOUNT_AMT, global::System.Nullable ITEM_AMT, global::System.Nullable VAT_AMT, global::System.Nullable ITEMNET_AMT, global::System.Nullable ITEMNOVAT_AMT, string LOT_NO, string SLIPDET_STATUS, decimal ITEM_RETURN_QTY, global::System.Nullable COST_AMT, global::System.Nullable BEFORE_METER, global::System.Nullable AFTER_METER, string PUMP_ID, string Original_COOP_ID, string Original_SLIP_NO, string Original_STORE_ID, decimal Original_SEQ_NO) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((SLIP_NO == null)) { throw new global::System.ArgumentNullException("SLIP_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(SLIP_NO)); } if ((STORE_ID == null)) { throw new global::System.ArgumentNullException("STORE_ID"); } else { this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(STORE_ID)); } this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(SEQ_NO)); if ((ITEM_QTY.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[4].Value = ((decimal)(ITEM_QTY.Value)); } else { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } if ((PRODUCT_NO == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(PRODUCT_NO)); } if ((ITEMTYPE_CODE == null)) { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(ITEMTYPE_CODE)); } if ((PRODUCT_PRICE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(PRODUCT_PRICE.Value)); } else { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((DISCOUNT_PERCENT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(DISCOUNT_PERCENT.Value)); } else { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } if ((PRODUCT_COST.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(PRODUCT_COST.Value)); } else { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } if ((DISCOUNT_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[10].Value = ((decimal)(DISCOUNT_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } if ((ITEM_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(ITEM_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } if ((VAT_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(VAT_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } if ((ITEMNET_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(ITEMNET_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } if ((ITEMNOVAT_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(ITEMNOVAT_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; } if ((LOT_NO == null)) { this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(LOT_NO)); } if ((SLIPDET_STATUS == null)) { this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(SLIPDET_STATUS)); } this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(ITEM_RETURN_QTY)); if ((COST_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(COST_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; } if ((BEFORE_METER.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[19].Value = ((decimal)(BEFORE_METER.Value)); } else { this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; } if ((AFTER_METER.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[20].Value = ((decimal)(AFTER_METER.Value)); } else { this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; } if ((PUMP_ID == null)) { this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(PUMP_ID)); } if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_COOP_ID)); } if ((Original_SLIP_NO == null)) { throw new global::System.ArgumentNullException("Original_SLIP_NO"); } else { this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_SLIP_NO)); } if ((Original_STORE_ID == null)) { throw new global::System.ArgumentNullException("Original_STORE_ID"); } else { this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_STORE_ID)); } this.Adapter.UpdateCommand.Parameters[25].Value = ((decimal)(Original_SEQ_NO)); 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( global::System.Nullable ITEM_QTY, string PRODUCT_NO, string ITEMTYPE_CODE, global::System.Nullable PRODUCT_PRICE, global::System.Nullable DISCOUNT_PERCENT, global::System.Nullable PRODUCT_COST, global::System.Nullable DISCOUNT_AMT, global::System.Nullable ITEM_AMT, global::System.Nullable VAT_AMT, global::System.Nullable ITEMNET_AMT, global::System.Nullable ITEMNOVAT_AMT, string LOT_NO, string SLIPDET_STATUS, decimal ITEM_RETURN_QTY, global::System.Nullable COST_AMT, global::System.Nullable BEFORE_METER, global::System.Nullable AFTER_METER, string PUMP_ID, string Original_COOP_ID, string Original_SLIP_NO, string Original_STORE_ID, decimal Original_SEQ_NO) { return this.Update(Original_COOP_ID, Original_SLIP_NO, Original_STORE_ID, Original_SEQ_NO, ITEM_QTY, PRODUCT_NO, ITEMTYPE_CODE, PRODUCT_PRICE, DISCOUNT_PERCENT, PRODUCT_COST, DISCOUNT_AMT, ITEM_AMT, VAT_AMT, ITEMNET_AMT, ITEMNOVAT_AMT, LOT_NO, SLIPDET_STATUS, ITEM_RETURN_QTY, COST_AMT, BEFORE_METER, AFTER_METER, PUMP_ID, Original_COOP_ID, Original_SLIP_NO, Original_STORE_ID, Original_SEQ_NO); } } /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// [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 STSTOCKSLIPTableAdapter _sTSTOCKSLIPTableAdapter; private STSTOCKSLIPDETTableAdapter _sTSTOCKSLIPDETTableAdapter; 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 STSTOCKSLIPTableAdapter STSTOCKSLIPTableAdapter { get { return this._sTSTOCKSLIPTableAdapter; } set { this._sTSTOCKSLIPTableAdapter = 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 STSTOCKSLIPDETTableAdapter STSTOCKSLIPDETTableAdapter { get { return this._sTSTOCKSLIPDETTableAdapter; } set { this._sTSTOCKSLIPDETTableAdapter = 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._sTSTOCKSLIPTableAdapter != null) && (this._sTSTOCKSLIPTableAdapter.Connection != null))) { return this._sTSTOCKSLIPTableAdapter.Connection; } if (((this._sTSTOCKSLIPDETTableAdapter != null) && (this._sTSTOCKSLIPDETTableAdapter.Connection != null))) { return this._sTSTOCKSLIPDETTableAdapter.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._sTSTOCKSLIPTableAdapter != null)) { count = (count + 1); } if ((this._sTSTOCKSLIPDETTableAdapter != null)) { count = (count + 1); } return count; } } /// ///Update rows in top-down order. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateUpdatedRows(DataSet1 dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { int result = 0; if ((this._sTSTOCKSLIPTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.STSTOCKSLIP.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._sTSTOCKSLIPTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._sTSTOCKSLIPDETTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.STSTOCKSLIPDET.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._sTSTOCKSLIPDETTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } return result; } /// ///Insert rows in top-down order. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateInsertedRows(DataSet1 dataSet, global::System.Collections.Generic.List allAddedRows) { int result = 0; if ((this._sTSTOCKSLIPTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.STSTOCKSLIP.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._sTSTOCKSLIPTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._sTSTOCKSLIPDETTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.STSTOCKSLIPDET.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._sTSTOCKSLIPDETTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } return result; } /// ///Delete rows in bottom-up order. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateDeletedRows(DataSet1 dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; if ((this._sTSTOCKSLIPDETTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.STSTOCKSLIPDET.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._sTSTOCKSLIPDETTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._sTSTOCKSLIPTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.STSTOCKSLIP.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._sTSTOCKSLIPTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } return result; } /// ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first /// [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 allAddedRows) { if (((updatedRows == null) || (updatedRows.Length < 1))) { return updatedRows; } if (((allAddedRows == null) || (allAddedRows.Count < 1))) { return updatedRows; } global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); 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(); } /// ///Update all changes to the dataset. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public virtual int UpdateAll(DataSet1 dataSet) { if ((dataSet == null)) { throw new global::System.ArgumentNullException("dataSet"); } if ((dataSet.HasChanges() == false)) { return 0; } if (((this._sTSTOCKSLIPTableAdapter != null) && (this.MatchTableAdapterConnection(this._sTSTOCKSLIPTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._sTSTOCKSLIPDETTableAdapter != null) && (this.MatchTableAdapterConnection(this._sTSTOCKSLIPDETTableAdapter.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 allChangedRows = new global::System.Collections.Generic.List(); global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); 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._sTSTOCKSLIPTableAdapter != null)) { revertConnections.Add(this._sTSTOCKSLIPTableAdapter, this._sTSTOCKSLIPTableAdapter.Connection); this._sTSTOCKSLIPTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._sTSTOCKSLIPTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._sTSTOCKSLIPTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._sTSTOCKSLIPTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._sTSTOCKSLIPTableAdapter.Adapter); } } if ((this._sTSTOCKSLIPDETTableAdapter != null)) { revertConnections.Add(this._sTSTOCKSLIPDETTableAdapter, this._sTSTOCKSLIPDETTableAdapter.Connection); this._sTSTOCKSLIPDETTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._sTSTOCKSLIPDETTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._sTSTOCKSLIPDETTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._sTSTOCKSLIPDETTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._sTSTOCKSLIPDETTableAdapter.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._sTSTOCKSLIPTableAdapter != null)) { this._sTSTOCKSLIPTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._sTSTOCKSLIPTableAdapter])); this._sTSTOCKSLIPTableAdapter.Transaction = null; } if ((this._sTSTOCKSLIPDETTableAdapter != null)) { this._sTSTOCKSLIPDETTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._sTSTOCKSLIPDETTableAdapter])); this._sTSTOCKSLIPDETTableAdapter.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(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; } /// ///Update Order Option /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public enum UpdateOrderOption { InsertUpdateDelete = 0, UpdateInsertDelete = 1, } /// ///Used to sort self-referenced table's rows /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { 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 traversedRows = new global::System.Collections.Generic.Dictionary(); 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