구매내역 색상 및 필터 정렬 기능 추가, 삭제시 데이터 숨김처리하게

This commit is contained in:
chikyun.kim
2018-12-13 09:29:48 +09:00
parent 1c72ca913a
commit 9cf98cd0d4
21 changed files with 728 additions and 662 deletions

View File

@@ -5547,7 +5547,7 @@ namespace FCM0000 {
this.columnedate.MaxLength = 10;
this.columnindate.MaxLength = 10;
this.columnpo.MaxLength = 50;
this.columndept.MaxLength = 50;
this.columndept.MaxLength = 500;
this.columnwuid.AllowDBNull = false;
this.columnwuid.MaxLength = 20;
this.columnwdate.AllowDBNull = false;
@@ -17745,7 +17745,7 @@ SELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname,
this._commandCollection[0].CommandText = @"SELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate,
po, dept, import, wuid, wdate
FROM Purchase
WHERE (state <> 'Cancled') AND (pumidx = @pumidx)
WHERE (state <> 'Cancled') AND (pumidx = @pumidx) AND (ISNULL(isdel, 0) = 0)
ORDER BY pdate DESC";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -17754,7 +17754,7 @@ ORDER BY pdate DESC";
this._commandCollection[1].CommandText = @"SELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate,
po, dept, import, wuid, wdate
FROM Purchase
WHERE (ISNULL(indate, '') <> '') AND (pumidx = @pumidx)
WHERE (ISNULL(indate, '') <> '') AND (pumidx = @pumidx) AND (ISNULL(isdel, 0) = 0)
ORDER BY indate DESC";
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));

View File

@@ -1408,11 +1408,11 @@ SELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname,
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate,
po, dept, import, wuid, wdate
FROM Purchase
WHERE (state &lt;&gt; 'Cancled') AND (pumidx = @pumidx)
WHERE (state &lt;&gt; 'Cancled') AND (pumidx = @pumidx) AND (ISNULL(isdel, 0) = 0)
ORDER BY pdate DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="pumidx" ColumnName="pumidx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pumidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -1497,7 +1497,7 @@ SELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname,
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -1539,7 +1539,7 @@ SELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname,
<CommandText>SELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate,
po, dept, import, wuid, wdate
FROM Purchase
WHERE (ISNULL(indate, '') &lt;&gt; '') AND (pumidx = @pumidx)
WHERE (ISNULL(indate, '') &lt;&gt; '') AND (pumidx = @pumidx) AND (ISNULL(isdel, 0) = 0)
ORDER BY indate DESC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="pumidx" ColumnName="pumidx" DataSourceName="GroupWare.dbo.Purchase" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pumidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="pumidx" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -2398,7 +2398,7 @@ WHERE (supplyidx = @idx)</CommandText>
<xs:element name="dept" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="dept" msprop:Generator_ColumnVarNameInTable="columndept" msprop:Generator_ColumnPropNameInTable="deptColumn" msprop:Generator_UserColumnName="dept" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>