..
This commit is contained in:
82
SubProject/FEQ0000/dsPurchase.Designer.cs
generated
82
SubProject/FEQ0000/dsPurchase.Designer.cs
generated
@@ -349,6 +349,8 @@ namespace FEQ0000 {
|
||||
|
||||
private global::System.Data.DataColumn columnplace;
|
||||
|
||||
private global::System.Data.DataColumn columninqty;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public PurchaseDataTable() {
|
||||
@@ -662,6 +664,14 @@ namespace FEQ0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn inqtyColumn {
|
||||
get {
|
||||
return this.columninqty;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -733,7 +743,8 @@ namespace FEQ0000 {
|
||||
string gcode,
|
||||
string receiveName,
|
||||
string requestName,
|
||||
string place) {
|
||||
string place,
|
||||
int inqty) {
|
||||
PurchaseRow rowPurchaseRow = ((PurchaseRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -770,7 +781,8 @@ namespace FEQ0000 {
|
||||
gcode,
|
||||
receiveName,
|
||||
requestName,
|
||||
place};
|
||||
place,
|
||||
inqty};
|
||||
rowPurchaseRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowPurchaseRow);
|
||||
return rowPurchaseRow;
|
||||
@@ -835,6 +847,7 @@ namespace FEQ0000 {
|
||||
this.columnreceiveName = base.Columns["receiveName"];
|
||||
this.columnrequestName = base.Columns["requestName"];
|
||||
this.columnplace = base.Columns["place"];
|
||||
this.columninqty = base.Columns["inqty"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -910,6 +923,8 @@ namespace FEQ0000 {
|
||||
base.Columns.Add(this.columnrequestName);
|
||||
this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnplace);
|
||||
this.columninqty = new global::System.Data.DataColumn("inqty", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columninqty);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidx}, true));
|
||||
this.columnidx.AutoIncrement = true;
|
||||
@@ -1628,6 +1643,22 @@ namespace FEQ0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public int inqty {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tablePurchase.inqtyColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'inqty\' 열의 값이 DBNull입니다.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tablePurchase.inqtyColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IspdateNull() {
|
||||
@@ -1999,6 +2030,18 @@ namespace FEQ0000 {
|
||||
public void SetplaceNull() {
|
||||
this[this.tablePurchase.placeColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public bool IsinqtyNull() {
|
||||
return this.IsNull(this.tablePurchase.inqtyColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetinqtyNull() {
|
||||
this[this.tablePurchase.inqtyColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -2195,6 +2238,7 @@ namespace FEQ0000.dsPurchaseTableAdapters {
|
||||
tableMapping.ColumnMappings.Add("receiveName", "receiveName");
|
||||
tableMapping.ColumnMappings.Add("requestName", "requestName");
|
||||
tableMapping.ColumnMappings.Add("place", "place");
|
||||
tableMapping.ColumnMappings.Add("inqty", "inqty");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.DeleteCommand.Connection = this.Connection;
|
||||
@@ -2205,8 +2249,8 @@ namespace FEQ0000.dsPurchaseTableAdapters {
|
||||
this._adapter.InsertCommand.Connection = this.Connection;
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO Purchase
|
||||
(pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate,
|
||||
import, pumidx, isdel, bigo, manuproc, orderno, gcode, place)
|
||||
VALUES (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc,@orderno,@gcode,@place);
|
||||
import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty)
|
||||
VALUES (@pdate,@state,@process,@receive,@sc,@request,@sid,@pumname,@pumscale,@pumunit,@pumqty,@pumprice,@pumamt,@supply,@supplyidx,@project,@projectidx,@asset,@edate,@indate,@po,@dept,@wuid,@wdate,@import,@pumidx,@isdel,@bigo,@manuproc,@orderno,@gcode,@place,@inqty);
|
||||
SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC, idx DESC";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -2241,14 +2285,15 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale,
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inqty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.UpdateCommand.Connection = this.Connection;
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE Purchase
|
||||
SET pdate = @pdate, state = @state, process = @process, receive = @receive, sc = @sc, request = @request, sid = @sid, pumname = @pumname, pumscale = @pumscale, pumunit = @pumunit,
|
||||
pumqty = @pumqty, pumprice = @pumprice, pumamt = @pumamt, supply = @supply, supplyidx = @supplyidx, project = @project, projectidx = @projectidx, asset = @asset, edate = @edate,
|
||||
indate = @indate, po = @po, dept = @dept, wuid = @wuid, wdate = @wdate, import = @import, pumidx = @pumidx, isdel = @isdel, bigo = @bigo, manuproc = @manuproc,
|
||||
orderno = @orderno, place = @place
|
||||
WHERE (idx = @Original_idx);
|
||||
orderno = @orderno, place = @place, inqty = @inqty
|
||||
WHERE (idx = @Original_idx);
|
||||
SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo FROM Purchase WHERE (idx = @idx) ORDER BY pdate DESC, idx DESC";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -2282,6 +2327,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale,
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manuproc", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "manuproc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@inqty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "inqty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
}
|
||||
@@ -2300,7 +2346,7 @@ SELECT idx, pdate, state, process, receive, sc, request, sid, pumname, pumscale,
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = @"SELECT idx, pdate, state, process, receive, dbo.getUserName(receive) AS receiveName, sc, request, dbo.getUserName(request) AS requestName, sid, pumname, pumscale, pumunit, pumqty,
|
||||
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place
|
||||
pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, wuid, wdate, import, pumidx, isdel, bigo, manuproc, orderno, gcode, place, inqty
|
||||
FROM Purchase
|
||||
WHERE (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
|
||||
ORDER BY pdate DESC, idx DESC";
|
||||
@@ -2327,7 +2373,7 @@ ORDER BY pdate DESC, idx DESC";
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = @"SELECT idx, asset, bigo, dept, edate, import, indate, isdel, manuproc, orderno, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive,
|
||||
request, sc, sid, state, supply, supplyidx, wdate, wuid, dbo.getUserName(receive) AS receiveName, dbo.getUserName(request) AS requestName, gcode, place
|
||||
request, sc, sid, state, supply, supplyidx, wdate, wuid, dbo.getUserName(receive) AS receiveName, dbo.getUserName(request) AS requestName, gcode, place, inqty
|
||||
FROM Purchase
|
||||
WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
|
||||
ORDER BY pdate DESC, idx DESC";
|
||||
@@ -2520,7 +2566,8 @@ ORDER BY pdate DESC, idx DESC";
|
||||
string manuproc,
|
||||
string orderno,
|
||||
string gcode,
|
||||
string place) {
|
||||
string place,
|
||||
global::System.Nullable<int> inqty) {
|
||||
if ((pdate == null)) {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -2708,6 +2755,12 @@ ORDER BY pdate DESC, idx DESC";
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[31].Value = ((string)(place));
|
||||
}
|
||||
if ((inqty.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[32].Value = ((int)(inqty.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[32].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -2760,6 +2813,7 @@ ORDER BY pdate DESC, idx DESC";
|
||||
string manuproc,
|
||||
string orderno,
|
||||
string place,
|
||||
global::System.Nullable<int> inqty,
|
||||
int Original_idx,
|
||||
int idx) {
|
||||
if ((pdate == null)) {
|
||||
@@ -2943,8 +2997,14 @@ ORDER BY pdate DESC, idx DESC";
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(place));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_idx));
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(idx));
|
||||
if ((inqty.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(inqty.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(Original_idx));
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(idx));
|
||||
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)) {
|
||||
|
||||
Reference in New Issue
Block a user