아이오맵 내보내기 양식 변경, cr 구매요청시 담당자 그룹 입력하도록 함 데이터베잇 option3 필드 사용

This commit is contained in:
chi
2021-12-13 10:16:52 +09:00
parent f8c03784e6
commit 19525c71b6
13 changed files with 880 additions and 691 deletions

View File

@@ -6545,6 +6545,8 @@ namespace FPJ0000 {
private global::System.Data.DataColumn columncrdue;
private global::System.Data.DataColumn columnuserGroupName;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public ProjectPartStatusDataTable() {
@@ -6890,6 +6892,14 @@ namespace FPJ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn userGroupNameColumn {
get {
return this.columnuserGroupName;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -6965,7 +6975,8 @@ namespace FPJ0000 {
int qtyin,
bool bbuy,
bool bconfirm,
string crdue) {
string crdue,
string userGroupName) {
ProjectPartStatusRow rowProjectPartStatusRow = ((ProjectPartStatusRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
gcode,
@@ -7006,7 +7017,8 @@ namespace FPJ0000 {
qtyin,
bbuy,
bconfirm,
crdue};
crdue,
userGroupName};
rowProjectPartStatusRow.ItemArray = columnValuesArray;
this.Rows.Add(rowProjectPartStatusRow);
return rowProjectPartStatusRow;
@@ -7075,6 +7087,7 @@ namespace FPJ0000 {
this.columnbbuy = base.Columns["bbuy"];
this.columnbconfirm = base.Columns["bconfirm"];
this.columncrdue = base.Columns["crdue"];
this.columnuserGroupName = base.Columns["userGroupName"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -7162,6 +7175,8 @@ namespace FPJ0000 {
base.Columns.Add(this.columnbconfirm);
this.columncrdue = new global::System.Data.DataColumn("crdue", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columncrdue);
this.columnuserGroupName = new global::System.Data.DataColumn("userGroupName", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnuserGroupName);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columngcode.AllowDBNull = false;
@@ -7195,6 +7210,8 @@ namespace FPJ0000 {
this.columnwdate.AllowDBNull = false;
this.columnqtyjago.MaxLength = 50;
this.columncrdue.MaxLength = 10;
this.columnuserGroupName.ReadOnly = true;
this.columnuserGroupName.MaxLength = 200;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -16840,6 +16857,22 @@ namespace FPJ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string userGroupName {
get {
if (this.IsuserGroupNameNull()) {
return string.Empty;
}
else {
return ((string)(this[this.tableProjectPartStatus.userGroupNameColumn]));
}
}
set {
this[this.tableProjectPartStatus.userGroupNameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IspdateNull() {
@@ -17259,6 +17292,18 @@ namespace FPJ0000 {
public void SetcrdueNull() {
this[this.tableProjectPartStatus.crdueColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsuserGroupNameNull() {
return this.IsNull(this.tableProjectPartStatus.userGroupNameColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetuserGroupNameNull() {
this[this.tableProjectPartStatus.userGroupNameColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -30252,6 +30297,7 @@ ORDER BY pdate";
tableMapping.ColumnMappings.Add("bbuy", "bbuy");
tableMapping.ColumnMappings.Add("bconfirm", "bconfirm");
tableMapping.ColumnMappings.Add("crdue", "crdue");
tableMapping.ColumnMappings.Add("userGroupName", "userGroupName");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
@@ -30300,7 +30346,8 @@ WHERE (idx = @idx)";
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT gcode, pdate, status, name, userManager, orderno, path, idx, no, Project, ItemGroup, ItemModel, ItemUnit, ItemName, ItemSid, ItemSupply, ItemSupplyidx, ItemManu, Item, option1, option2,
option3, qty, qtyn, price, amt, amtn, jago, remark, memo, wuid, wdate, import, qtyjago, qtybuy, qtyin, bbuy, bconfirm, crdue
option3, qty, qtyn, price, amt, amtn, jago, remark, memo, wuid, wdate, import, qtyjago, qtybuy, qtyin, bbuy, bconfirm, crdue, dbo.getPorojectgGroupUserName(Project, option3)
AS userGroupName
FROM vProjectPartPurchase
WHERE (gcode = @gcode)
ORDER BY ISNULL(bbuy, 0), ISNULL(bconfirm, 0), ISNULL(userManager, ''), ISNULL(Project, 0)";
@@ -30309,7 +30356,8 @@ ORDER BY ISNULL(bbuy, 0), ISNULL(bconfirm, 0), ISNULL(userManager, ''), ISNULL(P
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = @"SELECT gcode, pdate, status, name, userManager, orderno, path, idx, no, Project, ItemGroup, ItemModel, ItemUnit, ItemName, ItemSid, ItemSupply, ItemSupplyidx, ItemManu, Item, option1, option2,
option3, qty, qtyn, price, amt, amtn, jago, remark, memo, wuid, wdate, import, qtyjago, qtybuy, qtyin, bbuy, bconfirm, crdue
option3, qty, qtyn, price, amt, amtn, jago, remark, memo, wuid, wdate, import, qtyjago, qtybuy, qtyin, bbuy, bconfirm, crdue, dbo.getPorojectgGroupUserName(Project, option3)
AS userGroupName
FROM vProjectPartPurchase
WHERE (gcode = @gcode) AND (idx = @idx)";
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;