재고관리 추가 품명에 바코드 추가(김정만)

This commit is contained in:
chi
2023-09-14 09:46:14 +09:00
parent a6be8ad5d3
commit 5a7b57eab2
17 changed files with 1818 additions and 1548 deletions

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
// 지정되도록 할 수 있습니다. // 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("23.09.11.1330")] [assembly: AssemblyVersion("23.09.14.0950")]
[assembly: AssemblyFileVersion("23.09.11.1330")] [assembly: AssemblyFileVersion("23.09.14.0950")]

View File

@@ -185,7 +185,7 @@ namespace FBS0000
//var yjanh = qta.WorkUserJan_YesterDay_Time(FCOMMON.info.Login.gcode, dr.uid, fistdate, dr.sdate.ToShortDateString(), dr.idx.ToString("000000")); //var yjanh = qta.WorkUserJan_YesterDay_Time(FCOMMON.info.Login.gcode, dr.uid, fistdate, dr.sdate.ToShortDateString(), dr.idx.ToString("000000"));
var jand = yjand + dr.termDr - dr.term; var jand = yjand + dr.termDr - dr.term;
//var janh = yjanh + dr.DrTime - dr.CrTime; //var janh = yjanh + dr.DrTime - dr.CrTime;
//this.fpSpread1.ActiveSheet.Cells[i, col_yjand].Value = yjand; this.fpSpread1.ActiveSheet.Cells[i, col_jand].Value = jand;
//this.fpSpread1.ActiveSheet.Cells[i, col_yjanh].Value = yjanh; //this.fpSpread1.ActiveSheet.Cells[i, col_yjanh].Value = yjanh;
if (dr.extidx > 0 && string.IsNullOrEmpty(dr.extcate) == false) if (dr.extidx > 0 && string.IsNullOrEmpty(dr.extcate) == false)

File diff suppressed because it is too large Load Diff

View File

@@ -320,196 +320,196 @@ WHERE (idx = @Original_idx)</CommandText>
</DataSource> </DataSource>
</xs:appinfo> </xs:appinfo>
</xs:annotation> </xs:annotation>
<xs:element name="DSInventory" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSInventory" msprop:Generator_UserDSName="DSInventory"> <xs:element name="DSInventory" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_UserDSName="DSInventory" msprop:Generator_DataSetName="DSInventory">
<xs:complexType> <xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Inventory" msprop:Generator_TableClassName="InventoryDataTable" msprop:Generator_TableVarName="tableInventory" msprop:Generator_RowChangedName="InventoryRowChanged" msprop:Generator_TablePropName="Inventory" msprop:Generator_RowDeletingName="InventoryRowDeleting" msprop:Generator_RowChangingName="InventoryRowChanging" msprop:Generator_RowEvHandlerName="InventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryRowDeleted" msprop:Generator_RowClassName="InventoryRow" msprop:Generator_UserTableName="Inventory" msprop:Generator_RowEvArgName="InventoryRowChangeEvent"> <xs:element name="Inventory" msprop:Generator_RowEvHandlerName="InventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryRowDeleted" msprop:Generator_RowDeletingName="InventoryRowDeleting" msprop:Generator_RowEvArgName="InventoryRowChangeEvent" msprop:Generator_TablePropName="Inventory" msprop:Generator_RowChangedName="InventoryRowChanged" msprop:Generator_RowChangingName="InventoryRowChanging" msprop:Generator_TableClassName="InventoryDataTable" msprop:Generator_RowClassName="InventoryRow" msprop:Generator_TableVarName="tableInventory" msprop:Generator_UserTableName="Inventory">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_UserColumnName="idx" type="xs:int" />
<xs:element name="gcode" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode"> <xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="pdate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0"> <xs:element name="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_UserColumnName="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="invtype" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="invtype" msprop:Generator_ColumnVarNameInTable="columninvtype" msprop:Generator_ColumnPropNameInTable="invtypeColumn" msprop:Generator_UserColumnName="invtype" minOccurs="0"> <xs:element name="invtype" msprop:Generator_ColumnPropNameInTable="invtypeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="invtype" msprop:Generator_UserColumnName="invtype" msprop:Generator_ColumnVarNameInTable="columninvtype" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="uid" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" minOccurs="0"> <xs:element name="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_UserColumnName="uid" msprop:Generator_ColumnVarNameInTable="columnuid" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="itemName" msdata:ReadOnly="true" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="itemName" msprop:Generator_ColumnVarNameInTable="columnitemName" msprop:Generator_ColumnPropNameInTable="itemNameColumn" msprop:Generator_UserColumnName="itemName" minOccurs="0"> <xs:element name="itemName" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="itemNameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="itemName" msprop:Generator_UserColumnName="itemName" msprop:Generator_ColumnVarNameInTable="columnitemName" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="200" /> <xs:maxLength value="200" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="itemModel" msdata:ReadOnly="true" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="itemModel" msprop:Generator_ColumnVarNameInTable="columnitemModel" msprop:Generator_ColumnPropNameInTable="itemModelColumn" msprop:Generator_UserColumnName="itemModel" minOccurs="0"> <xs:element name="itemModel" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="itemModelColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="itemModel" msprop:Generator_UserColumnName="itemModel" msprop:Generator_ColumnVarNameInTable="columnitemModel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="200" /> <xs:maxLength value="200" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="serial" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_ColumnVarNameInTable="columnserial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_UserColumnName="serial" minOccurs="0"> <xs:element name="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_UserColumnName="serial" msprop:Generator_ColumnVarNameInTable="columnserial" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="dr_qty" msprop:Generator_ColumnVarNameInTable="columndr_qty" msprop:Generator_ColumnPropNameInRow="dr_qty" msprop:Generator_ColumnPropNameInTable="dr_qtyColumn" msprop:Generator_UserColumnName="dr_qty" type="xs:int" minOccurs="0" /> <xs:element name="dr_qty" msprop:Generator_ColumnPropNameInRow="dr_qty" msprop:Generator_ColumnPropNameInTable="dr_qtyColumn" msprop:Generator_ColumnVarNameInTable="columndr_qty" msprop:Generator_UserColumnName="dr_qty" type="xs:int" minOccurs="0" />
<xs:element name="dr_amt" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="dr_amt" msprop:Generator_ColumnVarNameInTable="columndr_amt" msprop:Generator_ColumnPropNameInTable="dr_amtColumn" msprop:Generator_UserColumnName="dr_amt" type="xs:decimal" minOccurs="0" /> <xs:element name="dr_amt" msprop:Generator_ColumnPropNameInTable="dr_amtColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="dr_amt" msprop:Generator_UserColumnName="dr_amt" msprop:Generator_ColumnVarNameInTable="columndr_amt" type="xs:decimal" minOccurs="0" />
<xs:element name="cr_qty" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="cr_qty" msprop:Generator_ColumnVarNameInTable="columncr_qty" msprop:Generator_ColumnPropNameInTable="cr_qtyColumn" msprop:Generator_UserColumnName="cr_qty" type="xs:int" minOccurs="0" /> <xs:element name="cr_qty" msprop:Generator_ColumnPropNameInTable="cr_qtyColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="cr_qty" msprop:Generator_UserColumnName="cr_qty" msprop:Generator_ColumnVarNameInTable="columncr_qty" type="xs:int" minOccurs="0" />
<xs:element name="cr_amt" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="cr_amt" msprop:Generator_ColumnVarNameInTable="columncr_amt" msprop:Generator_ColumnPropNameInTable="cr_amtColumn" msprop:Generator_UserColumnName="cr_amt" type="xs:decimal" minOccurs="0" /> <xs:element name="cr_amt" msprop:Generator_ColumnPropNameInTable="cr_amtColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="cr_amt" msprop:Generator_UserColumnName="cr_amt" msprop:Generator_ColumnVarNameInTable="columncr_amt" type="xs:decimal" minOccurs="0" />
<xs:element name="place" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="place" msprop:Generator_ColumnVarNameInTable="columnplace" msprop:Generator_ColumnPropNameInTable="placeColumn" msprop:Generator_UserColumnName="place" minOccurs="0"> <xs:element name="place" msprop:Generator_ColumnPropNameInTable="placeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="place" msprop:Generator_UserColumnName="place" msprop:Generator_ColumnVarNameInTable="columnplace" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="100" /> <xs:maxLength value="100" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0"> <xs:element name="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_UserColumnName="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="255" /> <xs:maxLength value="255" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="project" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_UserColumnName="project" type="xs:int" minOccurs="0" /> <xs:element name="project" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_UserColumnName="project" type="xs:int" minOccurs="0" />
<xs:element name="projectName" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="projectName" msprop:Generator_ColumnVarNameInTable="columnprojectName" msprop:Generator_ColumnPropNameInTable="projectNameColumn" msprop:Generator_UserColumnName="projectName" minOccurs="0"> <xs:element name="projectName" msprop:Generator_ColumnPropNameInTable="projectNameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="projectName" msprop:Generator_UserColumnName="projectName" msprop:Generator_ColumnVarNameInTable="columnprojectName" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="255" /> <xs:maxLength value="255" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid"> <xs:element name="wuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_UserColumnName="wuid">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
<xs:element name="item" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="item" msprop:Generator_ColumnVarNameInTable="columnitem" msprop:Generator_ColumnPropNameInTable="itemColumn" msprop:Generator_UserColumnName="item" type="xs:int" minOccurs="0" /> <xs:element name="item" msprop:Generator_ColumnPropNameInTable="itemColumn" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="item" msprop:Generator_UserColumnName="item" msprop:Generator_ColumnVarNameInTable="columnitem" type="xs:int" minOccurs="0" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="vInventory" msprop:Generator_TableClassName="vInventoryDataTable" msprop:Generator_TableVarName="tablevInventory" msprop:Generator_RowChangedName="vInventoryRowChanged" msprop:Generator_TablePropName="vInventory" msprop:Generator_RowDeletingName="vInventoryRowDeleting" msprop:Generator_RowChangingName="vInventoryRowChanging" msprop:Generator_RowEvHandlerName="vInventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="vInventoryRowDeleted" msprop:Generator_RowClassName="vInventoryRow" msprop:Generator_UserTableName="vInventory" msprop:Generator_RowEvArgName="vInventoryRowChangeEvent"> <xs:element name="vInventory" msprop:Generator_RowEvHandlerName="vInventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="vInventoryRowDeleted" msprop:Generator_RowDeletingName="vInventoryRowDeleting" msprop:Generator_RowEvArgName="vInventoryRowChangeEvent" msprop:Generator_TablePropName="vInventory" msprop:Generator_RowChangedName="vInventoryRowChanged" msprop:Generator_RowChangingName="vInventoryRowChanging" msprop:Generator_TableClassName="vInventoryDataTable" msprop:Generator_RowClassName="vInventoryRow" msprop:Generator_TableVarName="tablevInventory" msprop:Generator_UserTableName="vInventory">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_UserColumnName="idx" type="xs:int" />
<xs:element name="gcode" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode"> <xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="pdate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0"> <xs:element name="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_UserColumnName="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="invtype" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="invtype" msprop:Generator_ColumnVarNameInTable="columninvtype" msprop:Generator_ColumnPropNameInTable="invtypeColumn" msprop:Generator_UserColumnName="invtype" minOccurs="0"> <xs:element name="invtype" msprop:Generator_ColumnPropNameInTable="invtypeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="invtype" msprop:Generator_UserColumnName="invtype" msprop:Generator_ColumnVarNameInTable="columninvtype" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="uid" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" minOccurs="0"> <xs:element name="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_UserColumnName="uid" msprop:Generator_ColumnVarNameInTable="columnuid" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="userName" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="userName" msprop:Generator_ColumnVarNameInTable="columnuserName" msprop:Generator_ColumnPropNameInTable="userNameColumn" msprop:Generator_UserColumnName="userName" minOccurs="0"> <xs:element name="userName" msprop:Generator_ColumnPropNameInTable="userNameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="userName" msprop:Generator_UserColumnName="userName" msprop:Generator_ColumnVarNameInTable="columnuserName" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="200" /> <xs:maxLength value="200" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="item" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="item" msprop:Generator_ColumnVarNameInTable="columnitem" msprop:Generator_ColumnPropNameInTable="itemColumn" msprop:Generator_UserColumnName="item" type="xs:int" minOccurs="0" /> <xs:element name="item" msprop:Generator_ColumnPropNameInTable="itemColumn" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="item" msprop:Generator_UserColumnName="item" msprop:Generator_ColumnVarNameInTable="columnitem" type="xs:int" minOccurs="0" />
<xs:element name="serial" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_ColumnVarNameInTable="columnserial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_UserColumnName="serial" minOccurs="0"> <xs:element name="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_UserColumnName="serial" msprop:Generator_ColumnVarNameInTable="columnserial" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="dr_qty" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="dr_qty" msprop:Generator_ColumnVarNameInTable="columndr_qty" msprop:Generator_ColumnPropNameInTable="dr_qtyColumn" msprop:Generator_UserColumnName="dr_qty" type="xs:int" minOccurs="0" /> <xs:element name="dr_qty" msprop:Generator_ColumnPropNameInTable="dr_qtyColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="dr_qty" msprop:Generator_UserColumnName="dr_qty" msprop:Generator_ColumnVarNameInTable="columndr_qty" type="xs:int" minOccurs="0" />
<xs:element name="dr_amt" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="dr_amt" msprop:Generator_ColumnVarNameInTable="columndr_amt" msprop:Generator_ColumnPropNameInTable="dr_amtColumn" msprop:Generator_UserColumnName="dr_amt" type="xs:decimal" minOccurs="0" /> <xs:element name="dr_amt" msprop:Generator_ColumnPropNameInTable="dr_amtColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="dr_amt" msprop:Generator_UserColumnName="dr_amt" msprop:Generator_ColumnVarNameInTable="columndr_amt" type="xs:decimal" minOccurs="0" />
<xs:element name="cr_qty" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="cr_qty" msprop:Generator_ColumnVarNameInTable="columncr_qty" msprop:Generator_ColumnPropNameInTable="cr_qtyColumn" msprop:Generator_UserColumnName="cr_qty" type="xs:int" minOccurs="0" /> <xs:element name="cr_qty" msprop:Generator_ColumnPropNameInTable="cr_qtyColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="cr_qty" msprop:Generator_UserColumnName="cr_qty" msprop:Generator_ColumnVarNameInTable="columncr_qty" type="xs:int" minOccurs="0" />
<xs:element name="cr_amt" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="cr_amt" msprop:Generator_ColumnVarNameInTable="columncr_amt" msprop:Generator_ColumnPropNameInTable="cr_amtColumn" msprop:Generator_UserColumnName="cr_amt" type="xs:decimal" minOccurs="0" /> <xs:element name="cr_amt" msprop:Generator_ColumnPropNameInTable="cr_amtColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="cr_amt" msprop:Generator_UserColumnName="cr_amt" msprop:Generator_ColumnVarNameInTable="columncr_amt" type="xs:decimal" minOccurs="0" />
<xs:element name="place" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="place" msprop:Generator_ColumnVarNameInTable="columnplace" msprop:Generator_ColumnPropNameInTable="placeColumn" msprop:Generator_UserColumnName="place" minOccurs="0"> <xs:element name="place" msprop:Generator_ColumnPropNameInTable="placeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="place" msprop:Generator_UserColumnName="place" msprop:Generator_ColumnVarNameInTable="columnplace" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="100" /> <xs:maxLength value="100" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0"> <xs:element name="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_UserColumnName="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="255" /> <xs:maxLength value="255" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="itemName" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="itemName" msprop:Generator_ColumnVarNameInTable="columnitemName" msprop:Generator_ColumnPropNameInTable="itemNameColumn" msprop:Generator_UserColumnName="itemName" minOccurs="0"> <xs:element name="itemName" msprop:Generator_ColumnPropNameInTable="itemNameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="itemName" msprop:Generator_UserColumnName="itemName" msprop:Generator_ColumnVarNameInTable="columnitemName" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="200" /> <xs:maxLength value="200" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="itemModel" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="itemModel" msprop:Generator_ColumnVarNameInTable="columnitemModel" msprop:Generator_ColumnPropNameInTable="itemModelColumn" msprop:Generator_UserColumnName="itemModel" minOccurs="0"> <xs:element name="itemModel" msprop:Generator_ColumnPropNameInTable="itemModelColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="itemModel" msprop:Generator_UserColumnName="itemModel" msprop:Generator_ColumnVarNameInTable="columnitemModel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="200" /> <xs:maxLength value="200" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="project" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnVarNameInTable="columnproject" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_UserColumnName="project" type="xs:int" minOccurs="0" /> <xs:element name="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_UserColumnName="project" msprop:Generator_ColumnVarNameInTable="columnproject" type="xs:int" minOccurs="0" />
<xs:element name="projectName" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="projectName" msprop:Generator_ColumnVarNameInTable="columnprojectName" msprop:Generator_ColumnPropNameInTable="projectNameColumn" msprop:Generator_UserColumnName="projectName" minOccurs="0"> <xs:element name="projectName" msprop:Generator_ColumnPropNameInTable="projectNameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="projectName" msprop:Generator_UserColumnName="projectName" msprop:Generator_ColumnVarNameInTable="columnprojectName" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="255" /> <xs:maxLength value="255" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wuid" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid"> <xs:element name="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
<xs:element name="sid" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_ColumnVarNameInTable="columnsid" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:Generator_UserColumnName="sid" minOccurs="0"> <xs:element name="sid" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_UserColumnName="sid" msprop:Generator_ColumnVarNameInTable="columnsid" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />

View File

@@ -62,11 +62,12 @@ namespace FCM0000
Application.DoEvents(); Application.DoEvents();
//보관소 목록업데이트 //보관소 목록업데이트
var PlaceList = FCOMMON.DBM.getCodeList("50");
var PlaceList = FCOMMON.DBM.GetItemStorageList();
cmbPlace.Items.Clear(); cmbPlace.Items.Clear();
cmbPlace.Items.Add("--전체--"); cmbPlace.Items.Add("--전체--");
foreach (var item in PlaceList) foreach (var item in PlaceList)
cmbPlace.Items.Add(item.Value); cmbPlace.Items.Add(item);
cmbPlace.SelectedIndex = 0; cmbPlace.SelectedIndex = 0;

View File

@@ -50,10 +50,10 @@ namespace FCM0000
} }
//보관소 목록업데이트 //보관소 목록업데이트
var PlaceList = FCOMMON.DBM.getCodeList("50"); var PlaceList = FCOMMON.DBM.GetItemStorageList();
cmbPlace.Items.Clear(); cmbPlace.Items.Clear();
foreach (var item in PlaceList) foreach (var item in PlaceList)
cmbPlace.Items.Add(item.Value); cmbPlace.Items.Add(item);
//사현재사용자의 데이터를 찾는다. //사현재사용자의 데이터를 찾는다.

View File

@@ -38,6 +38,8 @@
System.Windows.Forms.Label label1; System.Windows.Forms.Label label1;
System.Windows.Forms.Label label2; System.Windows.Forms.Label label2;
System.Windows.Forms.Label label3; System.Windows.Forms.Label label3;
System.Windows.Forms.Label label4;
System.Windows.Forms.Label label5;
this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter();
this.tbName = new System.Windows.Forms.TextBox(); this.tbName = new System.Windows.Forms.TextBox();
this.tbSid = new System.Windows.Forms.TextBox(); this.tbSid = new System.Windows.Forms.TextBox();
@@ -53,6 +55,8 @@
this.tbPriceD = new System.Windows.Forms.TextBox(); this.tbPriceD = new System.Windows.Forms.TextBox();
this.tbStorage = new System.Windows.Forms.TextBox(); this.tbStorage = new System.Windows.Forms.TextBox();
this.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox1 = new System.Windows.Forms.CheckBox();
this.tbCate = new System.Windows.Forms.TextBox();
this.tbBarcode = new System.Windows.Forms.TextBox();
nameLabel = new System.Windows.Forms.Label(); nameLabel = new System.Windows.Forms.Label();
sidLabel = new System.Windows.Forms.Label(); sidLabel = new System.Windows.Forms.Label();
modelLabel = new System.Windows.Forms.Label(); modelLabel = new System.Windows.Forms.Label();
@@ -63,6 +67,8 @@
label1 = new System.Windows.Forms.Label(); label1 = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label(); label2 = new System.Windows.Forms.Label();
label3 = new System.Windows.Forms.Label(); label3 = new System.Windows.Forms.Label();
label4 = new System.Windows.Forms.Label();
label5 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
@@ -119,7 +125,7 @@
// memoLabel // memoLabel
// //
memoLabel.AutoSize = true; memoLabel.AutoSize = true;
memoLabel.Location = new System.Drawing.Point(52, 360); memoLabel.Location = new System.Drawing.Point(52, 403);
memoLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); memoLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
memoLabel.Name = "memoLabel"; memoLabel.Name = "memoLabel";
memoLabel.Size = new System.Drawing.Size(55, 30); memoLabel.Size = new System.Drawing.Size(55, 30);
@@ -150,7 +156,7 @@
// //
label2.AutoSize = true; label2.AutoSize = true;
label2.ForeColor = System.Drawing.Color.Blue; label2.ForeColor = System.Drawing.Color.Blue;
label2.Location = new System.Drawing.Point(363, 225); label2.Location = new System.Drawing.Point(387, 225);
label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
label2.Name = "label2"; label2.Name = "label2";
label2.Size = new System.Drawing.Size(25, 30); label2.Size = new System.Drawing.Size(25, 30);
@@ -160,12 +166,12 @@
// label3 // label3
// //
label3.AutoSize = true; label3.AutoSize = true;
label3.Location = new System.Drawing.Point(3, 269); label3.Location = new System.Drawing.Point(31, 269);
label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
label3.Name = "label3"; label3.Name = "label3";
label3.Size = new System.Drawing.Size(104, 30); label3.Size = new System.Drawing.Size(76, 30);
label3.TabIndex = 15; label3.TabIndex = 15;
label3.Text = "STORAGE"; label3.Text = "보관소";
// //
// ta // ta
// //
@@ -217,7 +223,7 @@
// //
// tbMemo // tbMemo
// //
this.tbMemo.Location = new System.Drawing.Point(111, 353); this.tbMemo.Location = new System.Drawing.Point(111, 396);
this.tbMemo.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbMemo.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbMemo.Name = "tbMemo"; this.tbMemo.Name = "tbMemo";
this.tbMemo.Size = new System.Drawing.Size(546, 35); this.tbMemo.Size = new System.Drawing.Size(546, 35);
@@ -257,7 +263,7 @@
// //
// btOK // btOK
// //
this.btOK.Location = new System.Drawing.Point(111, 399); this.btOK.Location = new System.Drawing.Point(111, 442);
this.btOK.Name = "btOK"; this.btOK.Name = "btOK";
this.btOK.Size = new System.Drawing.Size(546, 66); this.btOK.Size = new System.Drawing.Size(546, 66);
this.btOK.TabIndex = 22; this.btOK.TabIndex = 22;
@@ -273,10 +279,10 @@
// tbPriceD // tbPriceD
// //
this.tbPriceD.ForeColor = System.Drawing.Color.Blue; this.tbPriceD.ForeColor = System.Drawing.Color.Blue;
this.tbPriceD.Location = new System.Drawing.Point(398, 223); this.tbPriceD.Location = new System.Drawing.Point(416, 223);
this.tbPriceD.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbPriceD.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbPriceD.Name = "tbPriceD"; this.tbPriceD.Name = "tbPriceD";
this.tbPriceD.Size = new System.Drawing.Size(259, 35); this.tbPriceD.Size = new System.Drawing.Size(241, 35);
this.tbPriceD.TabIndex = 14; this.tbPriceD.TabIndex = 14;
this.tbPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
@@ -285,7 +291,7 @@
this.tbStorage.Location = new System.Drawing.Point(111, 267); this.tbStorage.Location = new System.Drawing.Point(111, 267);
this.tbStorage.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); this.tbStorage.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbStorage.Name = "tbStorage"; this.tbStorage.Name = "tbStorage";
this.tbStorage.Size = new System.Drawing.Size(546, 35); this.tbStorage.Size = new System.Drawing.Size(241, 35);
this.tbStorage.TabIndex = 16; this.tbStorage.TabIndex = 16;
this.tbStorage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbStorage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
@@ -300,11 +306,53 @@
this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.UseVisualStyleBackColor = true;
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
// //
// label4
//
label4.AutoSize = true;
label4.Location = new System.Drawing.Point(357, 268);
label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
label4.Name = "label4";
label4.Size = new System.Drawing.Size(55, 30);
label4.TabIndex = 23;
label4.Text = "분류";
//
// tbCate
//
this.tbCate.Location = new System.Drawing.Point(416, 266);
this.tbCate.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbCate.Name = "tbCate";
this.tbCate.Size = new System.Drawing.Size(241, 35);
this.tbCate.TabIndex = 24;
this.tbCate.Text = "--";
this.tbCate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// label5
//
label5.AutoSize = true;
label5.Location = new System.Drawing.Point(31, 358);
label5.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
label5.Name = "label5";
label5.Size = new System.Drawing.Size(76, 30);
label5.TabIndex = 25;
label5.Text = "바코드";
//
// tbBarcode
//
this.tbBarcode.Location = new System.Drawing.Point(111, 355);
this.tbBarcode.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8);
this.tbBarcode.Name = "tbBarcode";
this.tbBarcode.Size = new System.Drawing.Size(546, 35);
this.tbBarcode.TabIndex = 26;
//
// fItemAdd // fItemAdd
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F); this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(669, 477); this.ClientSize = new System.Drawing.Size(669, 518);
this.Controls.Add(label5);
this.Controls.Add(this.tbBarcode);
this.Controls.Add(label4);
this.Controls.Add(this.tbCate);
this.Controls.Add(this.checkBox1); this.Controls.Add(this.checkBox1);
this.Controls.Add(label3); this.Controls.Add(label3);
this.Controls.Add(this.tbStorage); this.Controls.Add(this.tbStorage);
@@ -359,5 +407,7 @@
public System.Windows.Forms.TextBox tbPriceD; public System.Windows.Forms.TextBox tbPriceD;
public System.Windows.Forms.TextBox tbStorage; public System.Windows.Forms.TextBox tbStorage;
private System.Windows.Forms.CheckBox checkBox1; private System.Windows.Forms.CheckBox checkBox1;
public System.Windows.Forms.TextBox tbCate;
public System.Windows.Forms.TextBox tbBarcode;
} }
} }

View File

@@ -108,9 +108,9 @@ namespace FCM0000.Item
newdr.supply = tbSupply.Text.Trim(); newdr.supply = tbSupply.Text.Trim();
newdr.supplyidx = int.Parse(tbSupplyIdx.Text.Trim()); newdr.supplyidx = int.Parse(tbSupplyIdx.Text.Trim());
newdr.memo = tbMemo.Text.Trim(); newdr.memo = tbMemo.Text.Trim();
newdr.cate = "--"; newdr.cate = tbCate.Text.Trim();
newdr.Storage = tbStorage.Text.Trim(); newdr.Storage = tbStorage.Text.Trim();
newdr.barcode = tbBarcode.Text.Trim();
//21711 //21711
if (tbPriceD.Text.isEmpty() == false) if (tbPriceD.Text.isEmpty() == false)

View File

@@ -153,4 +153,10 @@
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<metadata name="label4.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label5.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root> </root>

View File

@@ -233,6 +233,7 @@
// //
this.bindingNavigatorPositionItem.AccessibleName = "위치"; this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AutoSize = false; this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0"; this.bindingNavigatorPositionItem.Text = "0";
@@ -288,6 +289,7 @@
// tbFind // tbFind
// //
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.tbFind.Name = "tbFind"; this.tbFind.Name = "tbFind";
this.tbFind.Size = new System.Drawing.Size(100, 37); this.tbFind.Size = new System.Drawing.Size(100, 37);
this.tbFind.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbFind.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
@@ -471,6 +473,7 @@
// tbSearch // tbSearch
// //
this.tbSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tbSearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbSearch.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.tbSearch.Name = "tbSearch"; this.tbSearch.Name = "tbSearch";
this.tbSearch.Size = new System.Drawing.Size(100, 37); this.tbSearch.Size = new System.Drawing.Size(100, 37);
this.tbSearch.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbSearch.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
@@ -802,6 +805,7 @@
this.fpSpread1_Sheet1.AutoGenerateColumns = false; this.fpSpread1_Sheet1.AutoGenerateColumns = false;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "숨김"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "숨김";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "보관소";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "분류"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "분류";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "품명"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "품명";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "SID#"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "SID#";
@@ -833,6 +837,7 @@
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1; this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Storage"; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Storage";
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Label = "보관소";
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Width = 79F; this.fpSpread1_Sheet1.Columns.Get(2).Width = 79F;
this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));

View File

@@ -171,7 +171,7 @@ namespace FCM0000
} }
else else
{ {
string filter = "isnull(name,'') like '%{0}%' or isnull(sid,'') like '%{0}%' or isnull(model,'') like '%{0}%' or isnull(supply,'') like '%{0}%'"; string filter = "isnull(storage,'') like '%{0}%' or isnull(cate,'') like '%{0}%' or isnull(name,'') like '%{0}%' or isnull(sid,'') like '%{0}%' or isnull(model,'') like '%{0}%' or isnull(supply,'') like '%{0}%'";
filter = string.Format(filter, search); filter = string.Format(filter, search);
try try
{ {

View File

@@ -159,7 +159,7 @@
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 wgAADsIBFShKgAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
@@ -170,7 +170,7 @@
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w wgAADsIBFShKgAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
@@ -179,7 +179,7 @@
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 wgAADsIBFShKgAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII= oAc0QjgAAAAASUVORK5CYII=
@@ -188,7 +188,7 @@
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// wgAADsIBFShKgAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
@@ -222,20 +222,20 @@
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALzSURBVEhLtVZbTxNBFCZeYrxEjY8++OI1Jr6YCOFF0f9g YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALzSURBVEhLtVZbTxNBFCZeYrxEjY8++KKiMfHFRAgviv4H
1D/gkxqNIWKimRjECG3Z1hbair1AWaA01KXb3eVSCVLo7lITMEBbAsrNBDAxwSdIhKw9zTQxZqA7sP2S o/4Bn9RoDBETzcQgRmjLtrbQVuwFygKloSzd7i6XioRCd7d9ACO0EFBuJtQHE3yCRMja00wTYwa6A9sv
L5OdPfN9mXNmzm6JEXhiCR5+bnZfetXQcRNGeMavjMftzs79TEB87BcVKTSSXowllzeG535rMMKzJzvP +TLZ2TPflzln5uyWGYGnluDRF2b35dfN3bdghGf8ynjc6ek5yATEJ35RkUITmZVYcm1zfPG3BiM8e3Lz
tEYfIYT24SV7R11zuNzfo8pq5ufm11+ath3VzOqmV5ATb5oj5Xjp7sEEpHuR5LdFktF2DMuZBSsr3sUS TEf0MULoAF6yfzS2hav8A6qsZn5uffmlaTtRzWS3vIKceNsWqcJL9w4mIN2PpL6tkIx2YlieXbay4j0s
9DB5I9c4dXqeJF6I4dHZH3XsLnYONYX0kkT1EtJOXXM4SIVqWohKenUTDhyW1AefIPeQxGjpFxQJSxbG QQ+TN3KdU+eWSOLFGE4u/Ghk97BzqCmklySql5B26prDQSpW02JU0tktOHBYUh98gjxAEqOlX1AkLFkc
U1PL0XA8tUQSoiVcNd33vLL2w8VPX1Y2SEK05MaW1ytrveex9M5AjW23hufWiEK0jH9f05C9vQJL74wq z0ztx8Px9CpJiJZw1XTf85qGj5c+pbKbJCFa9k2ubdQ0eC9i6d2BWjpvjy+uE4VoGf++riF7VzWW3h21
8/sL3WMr6yQhWsKOqyxN57D0zkDIfQRqQxKiZVcivUDVy6H3koRo6ZMUAUvqA9w/6L0kMb1U5lb/WFuE 5g/l3GR2gyRES9hxraX1ApbeHQi5j0FtSEK07E1klql6OfRekhAtfZIiYEl9gPsHvZckppfKYvaPtV14
B1hSH6DjeKS9dS6fKI9Qd67sggNmX3d/tzJNFC1EbnR2ibpXP7TZDtW3cDyfmNCCsaQWGZ0him9H+Dox iCX1ATqOR9pf5/KJ8gR158otOGT29Q/3K3NE0WLkkgur1L36kc12pKmd4/nEVy0YS2mR5DxRfCfC14np
7cIdLKcPcKJN/o8SL09ooprS+MSkVufj4h4+IUPvJRnlCTWF9Jo8XBmW0wfE+E5mdxqPypM5UxjNXq4X Eu5iOX2AE23y90m8/FUT1bTGJ6a1Rh8X9/AJGXovyahAqCmk1+ThKrGcPiDGdzq303hUns6bwmj2coOQ
MgC1ggPnlRQRrgjcT/gDgTEsp+ehJ8NBoq+ppemUnRWGospUzlSQp7T6AN9HuoMwB00GOdsrYNz1Pxey AagVHDivpIhwReB+wh8IjGE5swQ9GQ4SfU0trWfsrDAWVWbypoI8ozUF+CHSHYQ5aDLI2VUN457/uZC9
t522twmqmDdVpzQrGx1CDscxHGI8qm3+s46gMC5kDcEUzK2tkSRkAIcYjxpn4LIz2DuZM8ztNKU5WGEc 86y9U1DFgqk6o1nZ6BhyOE7gEONRZ/OfdwSFKSFnCKZgbu2IpCADOMR41DsDV5zBwem8YX6nac3BClOQ
MoBDjMdrV8dVVyiWypsCnSFpDFmbz+AQ41Htar3u6uqf+c80lf18XcAhxuPZW/eJxlBs+l/TpnAs/cIe ARxiPN64uq+5QrF0wRToDEmTyNp2DocYjzpXxw1X7/D8f6bp3OerHIcYj+fv3KdaQrG5f01bw7HMS3vw
vIJDioOXjKcsNPB5K2/qye4cvWNL8evi4b7bfZAJ8IOdA4Nb7q6+TE0DewO/Kj7AHFn8pcgWOI6nioyS Kg4pDV4xnsrQyOh2wdST2zl6z1bg16XDA7f7MBPgR3tGPm+7e4dm65vZm/hV6QHmyOKvQLbASTxVYpSV
kr/Li1oqyqt7QQAAAABJRU5ErkJggg== /QX6FFoSwKXPwAAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
@@ -282,25 +282,25 @@
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQkSURBVEhLtVftT1NXHL5xLu5PUJclLm6+fd9m4ge/LmrG YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQmSURBVEhLtVftT1NXHL7xJfNPcDMmGhXnvk9N9mFfjRoR
UExFoay0Sn1FoVIFycWqSHuBVldExCoVaH1DDSqFYgNIW1qqAroMAbUFFV/iKODcN+36XM6hV6hK5fok xVQmFEurVDflxUoHSC5WRdoLtNMiMtYJA1rdRA0ihWIDjLa01AmoGRaUFqbMLRsFfPnmap/LOfQK1dFx
J73J7zm/p+fl93KYWLF27fmvftt9Ze6a3IZfVuc2LIvLqf9uOds0k5jFhYRtXCArcnNbSrscu0zd/TtN 9yQnvcnvOb+n5+X3cphYsWfPj4t3HL/x0e6C1k27Clo/i89vWfk5276EmMWFhG2Lk5W6uMMV/fYs08BI
PUOsuffd/prBUFb5X/8lahwrCFUcSNimefIjPuueM33/6OqCIc42PGkcvPwitF7TuIpMmT6kOpdKZe59 psk3zlb7/jnZMBbKqXrwKklj30qo4kDCtq+Sf+O1fP3D0N+65mCIs07MGaev/xH6QtO2nUxZOKQ6p0pV
wtmiC9IxUViqbXWkH+8KTBxJBc6BNbm2OEKbDJxhqs5dllc9+EYogBVnWftHtpfdc282dlgVhvZyhcFr M/iEs0YXpGO2sFTbZc+42B+YPZKLHaO7C6zxhDYXOMM0nauysH7spVAAK86xjEweqbzvOmTstSgMPVUK
2mjw1CawN34m05mtpV0NwnkYqorA82TOlUwo0QHR/Fr/WzpJVzccUpsfPE0t8pZJ8hsXENoHMVk4GJIW g8d0wOBuTGRvbyTTmS8r+luF8zBU1YFnKZwzhVCiA6JFjcOv6SRd80RIXfPoaVqpp1JS1BZHaO/EXOFg
ttUSc3Rge4Ur1V4fCqUd9bUkcS3fE8onEW3FmdU9b1IKXDsI5X3gIo2daURUrm+/9Ov2ulmEMiVQYbU1 SFrS3UjM0YHtFa5Ue2s8lH7O25nMda4mlH9FtBVn1z98mVrsPEoobwMXafpMI6Jyfc+1LUeaPyCUeYEK
ECy4NjQurqroHoi6AIXBc5ZeJGxv2p+3mmMVBSCMM00qaJUrjR1uKgyfimJfJaGNYYPGsRAhQ0k401i2 qy2BYHHT+Iy4qnpgNOoCFAb3ZXqRsL3p5+90xCoKQBhnmlzcJVcae11UGD4VZd5aQpvGPo19PUKGknCm
V4gNh53NSZxrHb5/1zQvhi/qV1Xx6Hmixv4jTwRknJujcYpfWbH3ODHFjDi1bR755KHQe09FQjLsO5yI sWyvEPvOOjqSOedefO/UdGyAL+pXVT38LEljW8cTARnn4mic4ldW5rlITDEjXm1dRT55KPSe7yMhGfYd
iIlhkJHov8qx+EdXC//VNIFIyLL4R6j/zSWddt6AuEUapIYdpZ0u3iAith2766H+ocXn9pXZV7/da340 TkTExDDISPRf5Zv9U7uE/2qBQCTkmP2T1P+h8j4bb0DcIg1Sw9GKPidvEBFfXbjnpv6hxef2bXk3V+TW
TA1K452zhC8alEfvnKP+95r9wygyTDxrX7q/pm88YaTqfWWELxrgk/pHcYnPti9lUN7yanq/qPBGQ/sJ DE9Qg9J49zLhiwblubtXqP/cGv8EigyTwNo2n2wYnEkYaXpvJeGLBvik/lFcEvJsmxmUt8IG3/8qfMDQ
6j/vYu/b+Ny6n/itFh5+mtEn/laXdFyg/lFSV6iuzWY2bbr1tfBy4SIQvmgQXq6M8vt+XGjeoDzWcYMa 8y31X3jV9zqhoPlTfquFh59u9Iq/1eW9P1H/KKlbVU3LmYMH7ywVXi5cBMIXDcLLlV310I8LzRuUF3pv
siyBETHDKZFtWpRj6R+l/reUdjYSU/jwCz2FwiBH0BMTj4lJIRbIi70nhclJyrm0xMQwCfscCzMrH76k U0OOOTApZjglse0f55tHpqj/wxV9bcQUPvwSd4kwyBH0xMRjdlKIBfIyz3fC5CTlnFpiYpjEE/b1x2of
/wppLuHQzSWwIf0hDfLEGIGWSV3Z84z6zah6+Cohv/4HYh6DXO+1IpFTUrhIuBIPN0t3V/UNIvET2pQR /0n/FdJc4pmfP4EN6Q9pkCfGCLRM6lrf79Rvdt3jvxKLWtYS8zTkeo8FiZySwkXCmXS2Q3q8bmgMiZ/Q
ThLfwEfEZxDVroqYI5DoHPN3nf77MRVGSVNbAkF8xyoMUZneU4vSSv1lnu4ekIQ7UkJ5HylapzKvxv+a 5o1wklgGHxGfQVS7OmKOQKKzr8m69OtvVBglTW0OBPEdqzBEZXp3I0or9Xfs0sCoJNyREsrbSNU6lIUN
kumIRRjbqzTedgpF2YsP/pUWtqYTSnSkFLVdjVy0qQtLNPbF8iKvCWcqPDK0USmc8+PVLlnbIsGZCkUx /ueUTEcswthepfEXh1CUvfrohbSkK4NQoiO1tPtm5KLNX1iisW2Ql3pMOFPhkaGNSuUc7692KdpOCc5U
hMJo7NDgodFDw6cs6TyHON1nCYzS20sHVgrR8biNBrSeaEGjtaZoWQmNQSuLllYoMHkEQ6rwmSbrWneS KIohFEZjhwYPjR4aPmV53xXE6QlzYIreXjqwUojOxG00oPVECxqtNUXLSmgMWlm0tEKBuSMYUoXPNEXX
adPHx4SxYoSMTN9e/cGL9LnAcwXPFjxfUGmQe9NN3QFkvz+4Nq3kgGM+oYoLFHE81PBgQ2WLz7bNYVl2 lUmmLRzvE8aKETIyfU/9Oy/SfwWeK3i24PmCSoPcm2EaCCD77ee6tZJT9jWEKi5QxPFQw4MNlS0hz/oh
BjFPEQzzP4+4884nkdwlAAAAAElFTkSuQmCC y7KLiHmeYJg3K9Pzwe23JNkAAAAASUVORK5CYII=
</value> </value>
</data> </data>
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -345,18 +345,18 @@
<data name="toolStripButton9.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton9.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKQSURBVDhPzZLbSltBGIX3GxT6GB4uJAYRRY2IgheiICoa YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKQSURBVDhPzZLbSptBFIX/Nyj0MTxcSAwiihoRBS9EQVQ0
cjIxB9SgqIgEo9SoeAyJOZukNI2goAiVpooUL6xREInSmNgqtH2DUij0Qr/O3pS+QjuwmL2ZWetf6/9H 5GRiDqhBUREJRqlR8RgSczZJaRpBQREqTRUpXlijIBKlMbFVaPsGpVDohX6d/6f0FdqBxczArLXX2nuk
+j9WKBTyrK+vZ5eWlnILCwvXbrf7dnJy8n5kZOTr0NDQt4mJifvFxUXvn+tSb2+vqrOz87nyE4lEnoXD /2OFQiHP+vp6dmlpKbewsHDtdrtvJycn70dGRr4ODQ19m5iYuF9cXPT+eS719vaqOjs7nyuXSCTyLBwO
YS4uLjg/P+fs7IzT01Nifje/vrzmx3sNHpcdv9/H4OCgTqvVfhdA4Kmvr08tiQqf9/b2uLm5YX9/n1Qq c3Fxwfn5OWdnZ5yenhLzu/n15TU/3mvwuOz4/T4GBwd1Wq32uwACT319fWpJVPi8t7fHzc0N+/v7pFIp
RTKZJJPJIAsnEglOTk7Y2dlhdHQUu92Ow+HAarXS0dFRlIQqx8fHbG1tKfvDwwPFYpF8Ps/l5aUiODc3 kskkmUwGWTiRSHBycsLOzg6jo6PY7XYcDgdWq5WOjo6iJFQ5Pj5ma2tL2R8eHigWi+TzeS4vLxXBubk5
h4jJwcEB8Xic1dVVRCQaGhqQZEWZfHR0RCb7CXv0I7pgHq1Af+iaV28+EAwGEf1Adiq7stlszM7OUldX REwODg6Ix+Osrq4iItHQ0IAkK8rko6MjMtlP2KMf0QXzaAX6Q9e8evOBYDCI6AeyU9mVzWZjdnaWuro6
hyRbicViFAoFHIJsitwyECtg3ixgEN/9oRy7u7vodDq2t7fx+Xzo9XpcLhc1NTVIFouFjY0NcrkcupAg JNlKLBajUCjgEGRT5JaBWAHzZgGDOPeHcuzu7qLT6dje3sbn86HX63G5XNTU1CBZLBY2NjbI5XLoQoIc
x+9wJO+wJ+6wxIrow7ek02m6urqUOMvLy3R3dzM+Pk51dTWSyWRibW2NbDarCFhEZZnseHmHNV7EFC0o v8ORvMOeuMMSK6IP35JOp+nq6lLiLC8v093dzfj4ONXV1Ugmk4m1tTWy2awiYBGVZbLj5R3WeBFTtKA4
Dtvb25WGejwe2traGB4epqqqCslgMCBmz+HhIeZgDmO0iHVTQJAHxG6LXrGyskJrayvRaJSZmRlaWlqU bG9vVxrq8Xhoa2tjeHiYqqoqJIPBgJg9h4eHmIM5jNEi1k0BQR4Quy16xcrKCq2trUSjUWZmZmhpaVGm
aajVaiQ52/T0tGItkH4nRK4wREV20Qdb5IoX/hRi3mg0GgKBgJK9sbERs9mMSqVCkvM4nU5lrlNTU4pd oVarkeRs09PTirVA+p0QucIQFdlFH2yRK174U4h5o9FoCAQCSvbGxkbMZjMqlQpJzuN0OpW5Tk1NKXbl
udN+v5/5+Xl6enqUcckEr9fL2NgYRqMR8RqpqKhAEnac5eXlP4Wdx+bm5qempialWn19PbW1tVRWVj6J Tvv9fubn5+np6VHGJRO8Xi9jY2MYjUbEb6SiogJJ2HGWlZX9FHYem5ubn5qampRq9fX11NbWUllZ+VRe
88eysrLH0tLSvygpKZHxVnnO/3BJ0m/JH9HCt9NfZQAAAABJRU5ErkJggg== Xv4o3jyWlpb+RUlJiYy3ynf+h0uSfgPG6NG/cSKM/gAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<metadata name="taPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="taPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View File

@@ -42,6 +42,7 @@
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
this.bn = new System.Windows.Forms.BindingNavigator(this.components); this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bs = new System.Windows.Forms.BindingSource(this.components); this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new FCM0000.dsMSSQL(); this.dsMSSQL = new FCM0000.dsMSSQL();
@@ -77,8 +78,8 @@
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
manuLabel = new System.Windows.Forms.Label(); manuLabel = new System.Windows.Forms.Label();
memoLabel = new System.Windows.Forms.Label(); memoLabel = new System.Windows.Forms.Label();
priceLabel = new System.Windows.Forms.Label(); priceLabel = new System.Windows.Forms.Label();
@@ -517,58 +518,6 @@
this.resetToolStripMenuItem.Text = "초기화"; this.resetToolStripMenuItem.Text = "초기화";
this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click); this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
// //
// fpSpread1_Sheet1
//
this.fpSpread1_Sheet1.Reset();
this.fpSpread1_Sheet1.SheetName = "Sheet1";
// Formulas and custom names must be loaded with R1C1 reference style
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
this.fpSpread1_Sheet1.ColumnCount = 6;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "품명";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "모델";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "SID";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "공급";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 27F;
numberCellType1.DecimalPlaces = 0;
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType1.MaximumValue = 2147483647D;
numberCellType1.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX";
this.fpSpread1_Sheet1.Columns.Get(0).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(0).Width = 99F;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "name";
this.fpSpread1_Sheet1.Columns.Get(1).Label = "품명";
this.fpSpread1_Sheet1.Columns.Get(1).Width = 154F;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "model";
this.fpSpread1_Sheet1.Columns.Get(2).Label = "모델";
this.fpSpread1_Sheet1.Columns.Get(2).Width = 154F;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "sid";
this.fpSpread1_Sheet1.Columns.Get(3).Label = "SID";
this.fpSpread1_Sheet1.Columns.Get(3).Width = 154F;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "supply";
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Label = "공급";
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Width = 133F;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "Storage";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// label3 // label3
// //
this.label3.Dock = System.Windows.Forms.DockStyle.Bottom; this.label3.Dock = System.Windows.Forms.DockStyle.Bottom;
@@ -581,6 +530,66 @@
this.label3.Text = "\"(품명,모델,SID)을 검색 한 후 없는 경우 \'품목추가\' 버튼을 이용해서 추가 하시기 바랍니다\""; this.label3.Text = "\"(품명,모델,SID)을 검색 한 후 없는 경우 \'품목추가\' 버튼을 이용해서 추가 하시기 바랍니다\"";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// fpSpread1_Sheet1
//
this.fpSpread1_Sheet1.Reset();
this.fpSpread1_Sheet1.SheetName = "Sheet1";
// Formulas and custom names must be loaded with R1C1 reference style
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
this.fpSpread1_Sheet1.ColumnCount = 7;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "IDX";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "분류";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "품명";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "모델";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "SID";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "공급";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "보관소";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 27F;
numberCellType1.DecimalPlaces = 0;
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType1.MaximumValue = 2147483647D;
numberCellType1.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
this.fpSpread1_Sheet1.Columns.Get(0).Label = "IDX";
this.fpSpread1_Sheet1.Columns.Get(0).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(0).Width = 99F;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "cate";
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Label = "분류";
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "name";
this.fpSpread1_Sheet1.Columns.Get(2).Label = "품명";
this.fpSpread1_Sheet1.Columns.Get(2).Width = 154F;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "model";
this.fpSpread1_Sheet1.Columns.Get(3).Label = "모델";
this.fpSpread1_Sheet1.Columns.Get(3).Width = 154F;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "sid";
this.fpSpread1_Sheet1.Columns.Get(4).Label = "SID";
this.fpSpread1_Sheet1.Columns.Get(4).Width = 154F;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "supply";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Label = "공급";
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Width = 133F;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "Storage";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).Label = "보관소";
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// fLovItem // fLovItem
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -646,7 +655,7 @@
private System.Windows.Forms.ToolStripTextBox tbFind; private System.Windows.Forms.ToolStripTextBox tbFind;
private System.Windows.Forms.ToolStripButton btAdd; private System.Windows.Forms.ToolStripButton btAdd;
private System.Windows.Forms.TextBox textBox4; private System.Windows.Forms.TextBox textBox4;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label3;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
} }
} }

View File

@@ -148,7 +148,7 @@
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 wQAADsEBuJFr7QAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
@@ -159,7 +159,7 @@
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w wQAADsEBuJFr7QAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
@@ -168,7 +168,7 @@
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 wQAADsEBuJFr7QAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII= oAc0QjgAAAAASUVORK5CYII=
@@ -177,7 +177,7 @@
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// wQAADsEBuJFr7QAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
@@ -230,19 +230,19 @@
<data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALBSURBVGhD7Zk7bxQxEMdPvApKHhWPL4FApDqJIrrc+s5e YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALASURBVGhD7Zk7bxQxEMdPvApKHhWPL4FApDrRRJdb39kr
KScQ9HwFIprrAn1AEFFShdzaUh40FHwGEHwAHhUQaqCBmb1JY43Jzj6cW2l/0l+KdOPx/zZrezzX6+jo 5QSCnq9ARHNdoA8IIkqqkFtbyoOGgs8Agg/AowJCDTQwszdprDHZ2YdzK+1P+kuRbjz+32Ztj+d6HR0d
qM7k1eSksmYpcfqhcjpLMvNRzcxP5dSfXPD30JoP+WcQM8rSm9Pp9AQNPz6001fA+GPQV+XMX5lGX+DL 1Zm8mpxU1iwlTj9UTmdJZj6qmfmpnPqTC/4eWvMh/wxiRll6czqdnqDhx4d2+goYfwz6qpz5K9PoC3yZ
PBpk6WVKF4/B1upFlY03++7Wb95ccWGOodPP1I66QOmbBV6Du/D0DjgzVbTiVn4kWXqHpqmfa5v3TyfW R4MsvUzp4jHYWr2osvFm3936zZsrLswxdPqZ2lEXKH2zwGtwF57eAWemilbcyo8kS+/QNPVzbfP+6cSa
vOAmr1Mwx3Oci6atB/j3nk3c+DU3YSOyZh/npOmrkT/5mOYPZc0b2N3OkI3yxHhtQsLFTTbKAYvqHpc4 F9zkdQrmeI5z0bT1AP/es4kbv+YmbETW7OOcNH018icf0/yhrHkDu9sZslGeGK9NSLi4yUY5YFHd4xLH
rvRtsiPDWHN+eWa+80ljCna8Mlss7vN8wviC1/gp2SoGno5VDykfLqaoci876irZO5q8PGASSeTDxUiE lb5NdmQYa84vz8x3PmlMwY5XZovFfZ5PGF/wGj8lW8XA07HqIeXDxRRV7mVHXSV7R5OXB0wiiXy4GImw
ZQfZ+z9YZGGdwiWRyIeLEQnqLSwayWYYCFxiEwjlw8VIBWvhBtkMMy+J+QQS+XAxYlmzRjbDQJBlBwvl 7CB7/weLLKxTuCQS+XAxIkG9hUUj2QwDgUtsAqF8uBipYC3cIJth5iUxn0AiHy5GLGvWyGYYCLLsYKF8
w8WIZc022Qwzv3gwg4Xy4WLEmpn3ZDOMpFSuCy43JzxYyWYYyf5fF1xuVi/NL7IZpvVfoPWvUPsXcdu3 uBixrNkmm2HmFw9msFA+XIxYM/OebIaRlMp1weXmhAcr2Qwj2f/rgsvN6qX5RTbDtP4LtP4Vav8ibvs2
0UU+yOCC84BshsGmEzdYKh8uRqwsvU42w2AxN9w2n9kEAvlwMRINrPlUuJuHpSuXRCIfLkYmvU72jmbR usgHGVxwHpDNMNh04gZL5cPFiJWl18lmGCzmhtvmM5tAIB8uRqKBNZ8Kd/OwdOWSSOTDxcik18ne0Sza
LjS4/ye7ySWyV4y83cclOxbpDbJVnOWt1XOLcKnHlmPpvin2KrmkMZXYdEJ2yoG9Si5xDMFm8oRslAfv hQb3/2Q3uUT2ipG3+7hkxyK9QbaKs7y1em4RLvXYcizdN8VeJZc0phKbTshOObBXySWOIdhMnpCN8uA9
ocPMOG6CZqX3+m/7p8hGNbDRCsf4Pj9R/UrceLe25u4h2OSNsTPha1Pbk+fAXmUzu9P4W+UFWxTsm2K7 dJgZx03QrPRe/23/FNmoBjZa4Rjf5yeqX4kb79bW3D0Em7wxdiZ8bWp78hzYq2xmdxp/q7xgi4J9U2z3
Dw8Y3oxAeQ69gds2pY8Hno5YdpSpneZj9Lr4hG0CLLKw6QQLfQ1rdrx44M0Oy5F5STI6gIvSO/wMS2Ks 4QHDmxEoz6E3cNum9PHA0xHLjjK103yMXhefsE2ARRY2nWChr2HNjhcPvNlhOTIvSUYHcFF6h59hSYxV
KhfiZ9aOjtbT6/0Dz7VqLlxZexkAAAAASUVORK5CYII= 5UL8zNrR0Xp6vX8om2ol18otAAAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View File

@@ -671,6 +671,8 @@ namespace FCM0000 {
private global::System.Data.DataColumn columnStorage; private global::System.Data.DataColumn columnStorage;
private global::System.Data.DataColumn columnbarcode;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public ItemsDataTable() { public ItemsDataTable() {
@@ -872,6 +874,14 @@ namespace FCM0000 {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public global::System.Data.DataColumn barcodeColumn {
get {
return this.columnbarcode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.Browsable(false)]
@@ -929,7 +939,8 @@ namespace FCM0000 {
string import, string import,
string gcode, string gcode,
decimal priceD, decimal priceD,
string Storage) { string Storage,
string barcode) {
ItemsRow rowItemsRow = ((ItemsRow)(this.NewRow())); ItemsRow rowItemsRow = ((ItemsRow)(this.NewRow()));
object[] columnValuesArray = new object[] { object[] columnValuesArray = new object[] {
null, null,
@@ -952,7 +963,8 @@ namespace FCM0000 {
import, import,
gcode, gcode,
priceD, priceD,
Storage}; Storage,
barcode};
rowItemsRow.ItemArray = columnValuesArray; rowItemsRow.ItemArray = columnValuesArray;
this.Rows.Add(rowItemsRow); this.Rows.Add(rowItemsRow);
return rowItemsRow; return rowItemsRow;
@@ -1003,6 +1015,7 @@ namespace FCM0000 {
this.columngcode = base.Columns["gcode"]; this.columngcode = base.Columns["gcode"];
this.columnpriceD = base.Columns["priceD"]; this.columnpriceD = base.Columns["priceD"];
this.columnStorage = base.Columns["Storage"]; this.columnStorage = base.Columns["Storage"];
this.columnbarcode = base.Columns["barcode"];
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1050,6 +1063,8 @@ namespace FCM0000 {
base.Columns.Add(this.columnpriceD); base.Columns.Add(this.columnpriceD);
this.columnStorage = new global::System.Data.DataColumn("Storage", typeof(string), null, global::System.Data.MappingType.Element); this.columnStorage = new global::System.Data.DataColumn("Storage", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStorage); base.Columns.Add(this.columnStorage);
this.columnbarcode = new global::System.Data.DataColumn("barcode", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnbarcode);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true)); this.columnidx}, true));
this.columnidx.AutoIncrement = true; this.columnidx.AutoIncrement = true;
@@ -1074,6 +1089,7 @@ namespace FCM0000 {
this.columnimport.MaxLength = 1; this.columnimport.MaxLength = 1;
this.columngcode.MaxLength = 10; this.columngcode.MaxLength = 10;
this.columnStorage.MaxLength = 20; this.columnStorage.MaxLength = 20;
this.columnbarcode.MaxLength = 50;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -6324,6 +6340,22 @@ namespace FCM0000 {
} }
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string barcode {
get {
if (this.IsbarcodeNull()) {
return string.Empty;
}
else {
return ((string)(this[this.tableItems.barcodeColumn]));
}
}
set {
this[this.tableItems.barcodeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IsnameNull() { public bool IsnameNull() {
@@ -6539,6 +6571,18 @@ namespace FCM0000 {
public void SetStorageNull() { public void SetStorageNull() {
this[this.tableItems.StorageColumn] = global::System.Convert.DBNull; this[this.tableItems.StorageColumn] = global::System.Convert.DBNull;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public bool IsbarcodeNull() {
return this.IsNull(this.tableItems.barcodeColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public void SetbarcodeNull() {
this[this.tableItems.barcodeColumn] = global::System.Convert.DBNull;
}
} }
/// <summary> /// <summary>
@@ -10743,6 +10787,7 @@ namespace FCM0000.dsMSSQLTableAdapters {
tableMapping.ColumnMappings.Add("gcode", "gcode"); tableMapping.ColumnMappings.Add("gcode", "gcode");
tableMapping.ColumnMappings.Add("priceD", "priceD"); tableMapping.ColumnMappings.Add("priceD", "priceD");
tableMapping.ColumnMappings.Add("Storage", "Storage"); tableMapping.ColumnMappings.Add("Storage", "Storage");
tableMapping.ColumnMappings.Add("barcode", "barcode");
this._adapter.TableMappings.Add(tableMapping); this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.Connection = this.Connection;
@@ -10765,7 +10810,8 @@ namespace FCM0000.dsMSSQLTableAdapters {
"port)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcod" + "port)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcod" +
"e)) AND ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_pric" + "e)) AND ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_pric" +
"eD)) AND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_" + "eD)) AND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_" +
"Storage)))"; "Storage)) AND ((@IsNull_barcode = 1 AND [barcode] IS NULL) OR ([barcode] = @Orig" +
"inal_barcode)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -10806,10 +10852,12 @@ namespace FCM0000.dsMSSQLTableAdapters {
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Storage", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Storage", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_barcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "barcode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_barcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "barcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [Items] ([name], [sid], [model], [manu], [supply], [price], [memo], [wuid], [wdate], [cate], [supplyidx], [scale], [unit], [disable], [bparam1], [iparam1], [import], [gcode], [priceD], [Storage]) VALUES (@name, @sid, @model, @manu, @supply, @price, @memo, @wuid, @wdate, @cate, @supplyidx, @scale, @unit, @disable, @bparam1, @iparam1, @import, @gcode, @priceD, @Storage); this._adapter.InsertCommand.CommandText = @"INSERT INTO [Items] ([name], [sid], [model], [manu], [supply], [price], [memo], [wuid], [wdate], [cate], [supplyidx], [scale], [unit], [disable], [bparam1], [iparam1], [import], [gcode], [priceD], [Storage], [barcode]) VALUES (@name, @sid, @model, @manu, @supply, @price, @memo, @wuid, @wdate, @cate, @supplyidx, @scale, @unit, @disable, @bparam1, @iparam1, @import, @gcode, @priceD, @Storage, @barcode);
SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx"; SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage, barcode FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -10831,35 +10879,37 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, 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("@gcode", global::System.Data.SqlDbType.VarChar, 0, 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("@priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@barcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "barcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE [Items] SET [name] = @name, [sid] = @sid, [model] = @model, [manu] = @manu" + this._adapter.UpdateCommand.CommandText = "UPDATE [Items] SET [name] = @name, [sid] = @sid, [model] = @model, [manu] = @manu" +
", [supply] = @supply, [price] = @price, [memo] = @memo, [wuid] = @wuid, [wdate] " + ", [supply] = @supply, [price] = @price, [memo] = @memo, [wuid] = @wuid, [wdate] " +
"= @wdate, [cate] = @cate, [supplyidx] = @supplyidx, [scale] = @scale, [unit] = @" + "= @wdate, [cate] = @cate, [supplyidx] = @supplyidx, [scale] = @scale, [unit] = @" +
"unit, [disable] = @disable, [bparam1] = @bparam1, [iparam1] = @iparam1, [import]" + "unit, [disable] = @disable, [bparam1] = @bparam1, [iparam1] = @iparam1, [import]" +
" = @import, [gcode] = @gcode, [priceD] = @priceD, [Storage] = @Storage WHERE (([" + " = @import, [gcode] = @gcode, [priceD] = @priceD, [Storage] = @Storage, [barcode" +
"idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @O" + "] = @barcode WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS" +
"riginal_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_si" + " NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR" +
"d)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model))" + " ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([mode" +
" AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((" + "l] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @" +
"@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND (" + "Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @O" +
"(@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@I" + "riginal_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Ori" +
"sNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @" + "ginal_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_" +
"Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate]" + "memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNu" +
" IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_supplyidx = 1 AND [supplyi" + "ll_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_supp" +
"dx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_scale = 1 AND" + "lyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND (" +
" [scale] IS NULL) OR ([scale] = @Original_scale)) AND ((@IsNull_unit = 1 AND [un" + "(@IsNull_scale = 1 AND [scale] IS NULL) OR ([scale] = @Original_scale)) AND ((@I" +
"it] IS NULL) OR ([unit] = @Original_unit)) AND ((@IsNull_disable = 1 AND [disabl" + "sNull_unit = 1 AND [unit] IS NULL) OR ([unit] = @Original_unit)) AND ((@IsNull_d" +
"e] IS NULL) OR ([disable] = @Original_disable)) AND ((@IsNull_bparam1 = 1 AND [b" + "isable = 1 AND [disable] IS NULL) OR ([disable] = @Original_disable)) AND ((@IsN" +
"param1] IS NULL) OR ([bparam1] = @Original_bparam1)) AND ((@IsNull_iparam1 = 1 A" + "ull_bparam1 = 1 AND [bparam1] IS NULL) OR ([bparam1] = @Original_bparam1)) AND (" +
"ND [iparam1] IS NULL) OR ([iparam1] = @Original_iparam1)) AND ((@IsNull_import =" + "(@IsNull_iparam1 = 1 AND [iparam1] IS NULL) OR ([iparam1] = @Original_iparam1)) " +
" 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_gcode =" + "AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import))" +
" 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_priceD = 1" + " AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AN" +
" AND [priceD] IS NULL) OR ([priceD] = @Original_priceD)) AND ((@IsNull_Storage =" + "D ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_priceD)) A" +
" 1 AND [Storage] IS NULL) OR ([Storage] = @Original_Storage)));\r\nSELECT idx, nam" + "ND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_Storag" +
"e, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, u" + "e)) AND ((@IsNull_barcode = 1 AND [barcode] IS NULL) OR ([barcode] = @Original_b" +
"nit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE " + "arcode)));\r\nSELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate" +
"(idx = @idx) ORDER BY cate, name, idx"; ", cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD" +
", Storage, barcode FROM Items WHERE (idx = @idx) ORDER BY cate, name, idx";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -10881,6 +10931,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@barcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "barcode", 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, 0, 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("@Original_idx", global::System.Data.SqlDbType.Int, 0, 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("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -10920,6 +10971,8 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_priceD", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Storage", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Storage", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Storage", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Storage", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_barcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "barcode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_barcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "barcode", 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.Current, 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.Current, false, null, "", "", ""));
} }
@@ -10933,12 +10986,12 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitCommandCollection() { private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[11]; this._commandCollection = new global::System.Data.SqlClient.SqlCommand[12];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp" + this._commandCollection[0].CommandText = "SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp" +
"lyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage\r\nF" + "lyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage, b" +
"ROM Items\r\nWHERE (gcode = @gcode)\r\nORDER BY cate, name, idx"; "arcode\r\nFROM Items\r\nWHERE (gcode = @gcode)\r\nORDER BY cate, name, idx";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].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._commandCollection[0].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._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
@@ -10963,7 +11016,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection; this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage this._commandCollection[4].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
FROM Items FROM Items
WHERE (sid IN WHERE (sid IN
(SELECT sid (SELECT sid
@@ -10976,7 +11029,7 @@ ORDER BY sid, name, idx";
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection; this._commandCollection[5].Connection = this.Connection;
this._commandCollection[5].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage this._commandCollection[5].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
FROM Items FROM Items
WHERE (gcode = @code) AND (ISNULL(cate, N'') LIKE @cate) AND (ISNULL(name, N'') LIKE @search OR WHERE (gcode = @code) AND (ISNULL(cate, N'') LIKE @cate) AND (ISNULL(name, N'') LIKE @search OR
ISNULL(model, N'') LIKE @search OR ISNULL(model, N'') LIKE @search OR
@@ -10989,11 +11042,14 @@ ORDER BY name, idx";
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[6].Connection = this.Connection; this._commandCollection[6].Connection = this.Connection;
this._commandCollection[6].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage this._commandCollection[6].CommandText = @"SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
FROM Items FROM Items
WHERE (ISNULL(name, N'') LIKE @search OR WHERE (ISNULL(name, N'') LIKE @search OR
ISNULL(sid, N'') LIKE @search OR ISNULL(sid, N'') LIKE @search OR
ISNULL(manu, N'') LIKE @search OR ISNULL(manu, N'') LIKE @search OR
ISNULL(barcode, N'') LIKE @search OR
ISNULL(Storage, N'') LIKE @search OR
ISNULL(cate, N'') LIKE @search OR
ISNULL(supply, N'') LIKE @search OR ISNULL(supply, N'') LIKE @search OR
ISNULL(model, N'') LIKE @search OR ISNULL(model, N'') LIKE @search OR
ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode)
@@ -11003,12 +11059,15 @@ ORDER BY name, idx";
this._commandCollection[6].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._commandCollection[6].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._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[7].Connection = this.Connection; this._commandCollection[7].Connection = this.Connection;
this._commandCollection[7].CommandText = @"SELECT Storage, bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, priceD, scale, sid, supply, supplyidx, unit, wdate, wuid this._commandCollection[7].CommandText = @"SELECT Storage, barcode, bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, priceD, scale, sid, supply, supplyidx, unit, wdate, wuid
FROM Items FROM Items
WHERE (ISNULL(name, N'') LIKE @search OR WHERE (ISNULL(name, N'') LIKE @search OR
ISNULL(sid, N'') LIKE @search OR ISNULL(sid, N'') LIKE @search OR
ISNULL(manu, N'') LIKE @search OR ISNULL(manu, N'') LIKE @search OR
ISNULL(supply, N'') LIKE @search OR ISNULL(supply, N'') LIKE @search OR
ISNULL(barcode, N'') LIKE @search OR
ISNULL(Storage, N'') LIKE @search OR
ISNULL(cate, N'') LIKE @search OR
ISNULL(model, N'') LIKE @search OR ISNULL(model, N'') LIKE @search OR
ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) AND (ISNULL(disable, 0) = 0) ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) AND (ISNULL(disable, 0) = 0)
ORDER BY name, idx"; ORDER BY name, idx";
@@ -11017,30 +11076,36 @@ ORDER BY name, idx";
this._commandCollection[7].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._commandCollection[7].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._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[8].Connection = this.Connection; this._commandCollection[8].Connection = this.Connection;
this._commandCollection[8].CommandText = "SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, n" + this._commandCollection[8].CommandText = "SELECT Storage\r\nFROM Items\r\nWHERE (gcode = @gcode) AND (ISNULL(disable, 0) " +
"ame, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage\r\nF" + "= 0) AND (ISNULL(Storage, \'\') <> \'\')\r\nGROUP BY Storage\r\nORDER BY Storage";
"ROM Items\r\nWHERE (idx = @idx)";
this._commandCollection[8].CommandType = global::System.Data.CommandType.Text; this._commandCollection[8].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[8].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.Current, false, null, "", "", "")); this._commandCollection[8].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._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[9].Connection = this.Connection; this._commandCollection[9].Connection = this.Connection;
this._commandCollection[9].CommandText = "SELECT ISNULL(idx, - 1) AS Expr1\r\nFROM Items\r\nWHERE (gcode = @gcode) AND (I" + this._commandCollection[9].CommandText = "SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, n" +
"SNULL(name, N\'\') = @name) AND (ISNULL(model, N\'\') = @model)"; "ame, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, b" +
"arcode\r\nFROM Items\r\nWHERE (idx = @idx)";
this._commandCollection[9].CommandType = global::System.Data.CommandType.Text; this._commandCollection[9].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[9].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._commandCollection[9].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.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[10].Connection = this.Connection; this._commandCollection[10].Connection = this.Connection;
this._commandCollection[10].CommandText = "dbo.UpdateItem"; this._commandCollection[10].CommandText = "SELECT ISNULL(idx, - 1) AS Expr1\r\nFROM Items\r\nWHERE (gcode = @gcode) AND (I" +
this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure; "SNULL(name, N\'\') = @name) AND (ISNULL(model, N\'\') = @model)";
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[10].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[11].Connection = this.Connection;
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[11].CommandText = "dbo.UpdateItem";
this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -11283,12 +11348,48 @@ ORDER BY name, idx";
return dataTable; return dataTable;
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
public virtual int FillStorageList(dsMSSQL.ItemsDataTable dataTable, string gcode) {
this.Adapter.SelectCommand = this.CommandCollection[8];
if ((gcode == null)) {
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
}
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", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual dsMSSQL.ItemsDataTable GetStorageList(string gcode) {
this.Adapter.SelectCommand = this.CommandCollection[8];
if ((gcode == null)) {
this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
}
dsMSSQL.ItemsDataTable dataTable = new dsMSSQL.ItemsDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual dsMSSQL.ItemsDataTable GetbyIDX(int idx) { public virtual dsMSSQL.ItemsDataTable GetbyIDX(int idx) {
this.Adapter.SelectCommand = this.CommandCollection[8]; this.Adapter.SelectCommand = this.CommandCollection[9];
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx)); this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx));
dsMSSQL.ItemsDataTable dataTable = new dsMSSQL.ItemsDataTable(); dsMSSQL.ItemsDataTable dataTable = new dsMSSQL.ItemsDataTable();
this.Adapter.Fill(dataTable); this.Adapter.Fill(dataTable);
@@ -11349,7 +11450,8 @@ ORDER BY name, idx";
string Original_import, string Original_import,
string Original_gcode, string Original_gcode,
global::System.Nullable<decimal> Original_priceD, global::System.Nullable<decimal> Original_priceD,
string Original_Storage) { string Original_Storage,
string Original_barcode) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx)); this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_name == null)) { if ((Original_name == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -11502,6 +11604,14 @@ ORDER BY name, idx";
this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[38].Value = ((string)(Original_Storage)); this.Adapter.DeleteCommand.Parameters[38].Value = ((string)(Original_Storage));
} }
if ((Original_barcode == null)) {
this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[40].Value = ((string)(Original_barcode));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) { != global::System.Data.ConnectionState.Open)) {
@@ -11542,7 +11652,8 @@ ORDER BY name, idx";
string import, string import,
string gcode, string gcode,
global::System.Nullable<decimal> priceD, global::System.Nullable<decimal> priceD,
string Storage) { string Storage,
string barcode) {
if ((name == null)) { if ((name == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
} }
@@ -11658,6 +11769,12 @@ ORDER BY name, idx";
else { else {
this.Adapter.InsertCommand.Parameters[19].Value = ((string)(Storage)); this.Adapter.InsertCommand.Parameters[19].Value = ((string)(Storage));
} }
if ((barcode == null)) {
this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[20].Value = ((string)(barcode));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) { != global::System.Data.ConnectionState.Open)) {
@@ -11699,6 +11816,7 @@ ORDER BY name, idx";
string gcode, string gcode,
global::System.Nullable<decimal> priceD, global::System.Nullable<decimal> priceD,
string Storage, string Storage,
string barcode,
int Original_idx, int Original_idx,
string Original_name, string Original_name,
string Original_sid, string Original_sid,
@@ -11720,6 +11838,7 @@ ORDER BY name, idx";
string Original_gcode, string Original_gcode,
global::System.Nullable<decimal> Original_priceD, global::System.Nullable<decimal> Original_priceD,
string Original_Storage, string Original_Storage,
string Original_barcode,
int idx) { int idx) {
if ((name == null)) { if ((name == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -11836,159 +11955,173 @@ ORDER BY name, idx";
else { else {
this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Storage)); this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Storage));
} }
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_idx)); if ((barcode == null)) {
if ((Original_name == null)) { this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(barcode));
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_name)); }
this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(Original_idx));
if ((Original_name == null)) {
this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_name));
} }
if ((Original_sid == null)) { if ((Original_sid == null)) {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_sid)); this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_sid));
} }
if ((Original_model == null)) { if ((Original_model == null)) {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_model)); this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_model));
} }
if ((Original_manu == null)) { if ((Original_manu == null)) {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_manu)); this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_manu));
} }
if ((Original_supply == null)) { if ((Original_supply == null)) {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_supply)); this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_supply));
} }
if ((Original_price.HasValue == true)) { if ((Original_price.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[32].Value = ((decimal)(Original_price.Value)); this.Adapter.UpdateCommand.Parameters[33].Value = ((decimal)(Original_price.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
} }
if ((Original_memo == null)) { if ((Original_memo == null)) {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_memo)); this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_memo));
} }
if ((Original_wuid == null)) { if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid"); throw new global::System.ArgumentNullException("Original_wuid");
} }
else { else {
this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_wuid)); this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_wuid));
} }
this.Adapter.UpdateCommand.Parameters[36].Value = ((System.DateTime)(Original_wdate)); this.Adapter.UpdateCommand.Parameters[37].Value = ((System.DateTime)(Original_wdate));
if ((Original_cate == null)) { if ((Original_cate == null)) {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_cate)); this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_cate));
} }
if ((Original_supplyidx.HasValue == true)) { if ((Original_supplyidx.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[40].Value = ((int)(Original_supplyidx.Value)); this.Adapter.UpdateCommand.Parameters[41].Value = ((int)(Original_supplyidx.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
} }
if ((Original_scale.HasValue == true)) { if ((Original_scale.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[42].Value = ((double)(Original_scale.Value)); this.Adapter.UpdateCommand.Parameters[43].Value = ((double)(Original_scale.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
} }
if ((Original_unit == null)) { if ((Original_unit == null)) {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_unit)); this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_unit));
} }
if ((Original_disable.HasValue == true)) { if ((Original_disable.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[46].Value = ((bool)(Original_disable.Value)); this.Adapter.UpdateCommand.Parameters[47].Value = ((bool)(Original_disable.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
} }
if ((Original_bparam1.HasValue == true)) { if ((Original_bparam1.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[48].Value = ((bool)(Original_bparam1.Value)); this.Adapter.UpdateCommand.Parameters[49].Value = ((bool)(Original_bparam1.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
} }
if ((Original_iparam1.HasValue == true)) { if ((Original_iparam1.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[50].Value = ((int)(Original_iparam1.Value)); this.Adapter.UpdateCommand.Parameters[51].Value = ((int)(Original_iparam1.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
} }
if ((Original_import == null)) { if ((Original_import == null)) {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_import)); this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(Original_import));
} }
if ((Original_gcode == null)) { if ((Original_gcode == null)) {
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_gcode)); this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(Original_gcode));
} }
if ((Original_priceD.HasValue == true)) { if ((Original_priceD.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[56].Value = ((decimal)(Original_priceD.Value)); this.Adapter.UpdateCommand.Parameters[57].Value = ((decimal)(Original_priceD.Value));
} }
else { else {
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
} }
if ((Original_Storage == null)) { if ((Original_Storage == null)) {
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value; this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
} }
else { else {
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(Original_Storage)); this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(Original_Storage));
} }
this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(idx)); if ((Original_barcode == null)) {
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(Original_barcode));
}
this.Adapter.UpdateCommand.Parameters[62].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) { != global::System.Data.ConnectionState.Open)) {
@@ -12030,6 +12163,7 @@ ORDER BY name, idx";
string gcode, string gcode,
global::System.Nullable<decimal> priceD, global::System.Nullable<decimal> priceD,
string Storage, string Storage,
string barcode,
int Original_idx, int Original_idx,
string Original_name, string Original_name,
string Original_sid, string Original_sid,
@@ -12050,8 +12184,9 @@ ORDER BY name, idx";
string Original_import, string Original_import,
string Original_gcode, string Original_gcode,
global::System.Nullable<decimal> Original_priceD, global::System.Nullable<decimal> Original_priceD,
string Original_Storage) { string Original_Storage,
return this.Update(name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage, Original_idx, Original_name, Original_sid, Original_model, Original_manu, Original_supply, Original_price, Original_memo, Original_wuid, Original_wdate, Original_cate, Original_supplyidx, Original_scale, Original_unit, Original_disable, Original_bparam1, Original_iparam1, Original_import, Original_gcode, Original_priceD, Original_Storage, Original_idx); string Original_barcode) {
return this.Update(name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage, barcode, Original_idx, Original_name, Original_sid, Original_model, Original_manu, Original_supply, Original_price, Original_memo, Original_wuid, Original_wdate, Original_cate, Original_supplyidx, Original_scale, Original_unit, Original_disable, Original_bparam1, Original_iparam1, Original_import, Original_gcode, Original_priceD, Original_Storage, Original_barcode, Original_idx);
} }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12172,7 +12307,7 @@ ORDER BY name, idx";
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual global::System.Nullable<int> ReadIDX(string gcode, string name, string model) { public virtual global::System.Nullable<int> ReadIDX(string gcode, string name, string model) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
if ((gcode == null)) { if ((gcode == null)) {
command.Parameters[0].Value = global::System.DBNull.Value; command.Parameters[0].Value = global::System.DBNull.Value;
} }
@@ -12218,7 +12353,7 @@ ORDER BY name, idx";
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int UpdateItem(string gcode, string sid, string name, string cate, global::System.Nullable<bool> disable, string unit) { public virtual int UpdateItem(string gcode, string sid, string name, string cate, global::System.Nullable<bool> disable, string unit) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10]; global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11];
if ((gcode == null)) { if ((gcode == null)) {
command.Parameters[1].Value = global::System.DBNull.Value; command.Parameters[1].Value = global::System.DBNull.Value;
} }

View File

@@ -12,7 +12,7 @@
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"> <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand> <DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Items] WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_scale = 1 AND [scale] IS NULL) OR ([scale] = @Original_scale)) AND ((@IsNull_unit = 1 AND [unit] IS NULL) OR ([unit] = @Original_unit)) AND ((@IsNull_disable = 1 AND [disable] IS NULL) OR ([disable] = @Original_disable)) AND ((@IsNull_bparam1 = 1 AND [bparam1] IS NULL) OR ([bparam1] = @Original_bparam1)) AND ((@IsNull_iparam1 = 1 AND [iparam1] IS NULL) OR ([iparam1] = @Original_iparam1)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_priceD)) AND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_Storage)))</CommandText> <CommandText>DELETE FROM [Items] WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_scale = 1 AND [scale] IS NULL) OR ([scale] = @Original_scale)) AND ((@IsNull_unit = 1 AND [unit] IS NULL) OR ([unit] = @Original_unit)) AND ((@IsNull_disable = 1 AND [disable] IS NULL) OR ([disable] = @Original_disable)) AND ((@IsNull_bparam1 = 1 AND [bparam1] IS NULL) OR ([bparam1] = @Original_bparam1)) AND ((@IsNull_iparam1 = 1 AND [iparam1] IS NULL) OR ([iparam1] = @Original_iparam1)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_priceD)) AND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_Storage)) AND ((@IsNull_barcode = 1 AND [barcode] IS NULL) OR ([barcode] = @Original_barcode)))</CommandText>
<Parameters> <Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -53,13 +53,15 @@
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Storage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="true" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Storage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Storage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Storage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_barcode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="barcode" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_barcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="barcode" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters> </Parameters>
</DbCommand> </DbCommand>
</DeleteCommand> </DeleteCommand>
<InsertCommand> <InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Items] ([name], [sid], [model], [manu], [supply], [price], [memo], [wuid], [wdate], [cate], [supplyidx], [scale], [unit], [disable], [bparam1], [iparam1], [import], [gcode], [priceD], [Storage]) VALUES (@name, @sid, @model, @manu, @supply, @price, @memo, @wuid, @wdate, @cate, @supplyidx, @scale, @unit, @disable, @bparam1, @iparam1, @import, @gcode, @priceD, @Storage); <CommandText>INSERT INTO [Items] ([name], [sid], [model], [manu], [supply], [price], [memo], [wuid], [wdate], [cate], [supplyidx], [scale], [unit], [disable], [bparam1], [iparam1], [import], [gcode], [priceD], [Storage], [barcode]) VALUES (@name, @sid, @model, @manu, @supply, @price, @memo, @wuid, @wdate, @cate, @supplyidx, @scale, @unit, @disable, @bparam1, @iparam1, @import, @gcode, @priceD, @Storage, @barcode);
SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx</CommandText> SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage, barcode FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx</CommandText>
<Parameters> <Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -81,12 +83,13 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Storage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Storage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@barcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters> </Parameters>
</DbCommand> </DbCommand>
</InsertCommand> </InsertCommand>
<SelectCommand> <SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage <CommandText>SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage, barcode
FROM Items FROM Items
WHERE (gcode = @gcode) WHERE (gcode = @gcode)
ORDER BY cate, name, idx</CommandText> ORDER BY cate, name, idx</CommandText>
@@ -97,8 +100,8 @@ ORDER BY cate, name, idx</CommandText>
</SelectCommand> </SelectCommand>
<UpdateCommand> <UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false"> <DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Items] SET [name] = @name, [sid] = @sid, [model] = @model, [manu] = @manu, [supply] = @supply, [price] = @price, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [cate] = @cate, [supplyidx] = @supplyidx, [scale] = @scale, [unit] = @unit, [disable] = @disable, [bparam1] = @bparam1, [iparam1] = @iparam1, [import] = @import, [gcode] = @gcode, [priceD] = @priceD, [Storage] = @Storage WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_scale = 1 AND [scale] IS NULL) OR ([scale] = @Original_scale)) AND ((@IsNull_unit = 1 AND [unit] IS NULL) OR ([unit] = @Original_unit)) AND ((@IsNull_disable = 1 AND [disable] IS NULL) OR ([disable] = @Original_disable)) AND ((@IsNull_bparam1 = 1 AND [bparam1] IS NULL) OR ([bparam1] = @Original_bparam1)) AND ((@IsNull_iparam1 = 1 AND [iparam1] IS NULL) OR ([iparam1] = @Original_iparam1)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_priceD)) AND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_Storage))); <CommandText>UPDATE [Items] SET [name] = @name, [sid] = @sid, [model] = @model, [manu] = @manu, [supply] = @supply, [price] = @price, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [cate] = @cate, [supplyidx] = @supplyidx, [scale] = @scale, [unit] = @unit, [disable] = @disable, [bparam1] = @bparam1, [iparam1] = @iparam1, [import] = @import, [gcode] = @gcode, [priceD] = @priceD, [Storage] = @Storage, [barcode] = @barcode WHERE (([idx] = @Original_idx) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_manu = 1 AND [manu] IS NULL) OR ([manu] = @Original_manu)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_price = 1 AND [price] IS NULL) OR ([price] = @Original_price)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND ((@IsNull_scale = 1 AND [scale] IS NULL) OR ([scale] = @Original_scale)) AND ((@IsNull_unit = 1 AND [unit] IS NULL) OR ([unit] = @Original_unit)) AND ((@IsNull_disable = 1 AND [disable] IS NULL) OR ([disable] = @Original_disable)) AND ((@IsNull_bparam1 = 1 AND [bparam1] IS NULL) OR ([bparam1] = @Original_bparam1)) AND ((@IsNull_iparam1 = 1 AND [iparam1] IS NULL) OR ([iparam1] = @Original_iparam1)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_priceD = 1 AND [priceD] IS NULL) OR ([priceD] = @Original_priceD)) AND ((@IsNull_Storage = 1 AND [Storage] IS NULL) OR ([Storage] = @Original_Storage)) AND ((@IsNull_barcode = 1 AND [barcode] IS NULL) OR ([barcode] = @Original_barcode)));
SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage FROM Items WHERE (idx = @idx) ORDER BY cate, name, idx</CommandText> SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD, Storage, barcode FROM Items WHERE (idx = @idx) ORDER BY cate, name, idx</CommandText>
<Parameters> <Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -120,6 +123,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Storage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="false" SourceVersion="Current" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Storage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@barcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="barcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -159,6 +163,8 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_priceD" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="priceD" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Storage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="true" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Storage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Storage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="false" SourceVersion="Original" /> <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Storage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Storage" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_barcode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="barcode" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_barcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="barcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Items" 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="EE.dbo.Items" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters> </Parameters>
</DbCommand> </DbCommand>
@@ -187,6 +193,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp
<Mapping SourceColumn="gcode" DataSetColumn="gcode" /> <Mapping SourceColumn="gcode" DataSetColumn="gcode" />
<Mapping SourceColumn="priceD" DataSetColumn="priceD" /> <Mapping SourceColumn="priceD" DataSetColumn="priceD" />
<Mapping SourceColumn="Storage" DataSetColumn="Storage" /> <Mapping SourceColumn="Storage" DataSetColumn="Storage" />
<Mapping SourceColumn="barcode" DataSetColumn="barcode" />
</Mappings> </Mappings>
<Sources> <Sources>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport"> <DbSource ConnectionRef="gwcs (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteImport" Modifier="Public" Name="DeleteImport" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteImport">
@@ -237,7 +244,7 @@ where gcode = @gcode and sid = @sid and isnull(sid,'') &lt;&gt; ''</CommandText>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDupCheck" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDupCheck" GeneratorSourceName="FillDupCheck" GetMethodModifier="Public" GetMethodName="GetDupCheck" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDupCheck" UserSourceName="FillDupCheck"> <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDupCheck" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDupCheck" GeneratorSourceName="FillDupCheck" GetMethodModifier="Public" GetMethodName="GetDupCheck" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDupCheck" UserSourceName="FillDupCheck">
<SelectCommand> <SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true"> <DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage <CommandText>SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
FROM Items FROM Items
WHERE (sid IN WHERE (sid IN
(SELECT sid (SELECT sid
@@ -255,7 +262,7 @@ ORDER BY sid, name, idx</CommandText>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillNoImage" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetNoImage" GeneratorSourceName="FillNoImage" GetMethodModifier="Public" GetMethodName="GetNoImage" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetNoImage" UserSourceName="FillNoImage"> <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillNoImage" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetNoImage" GeneratorSourceName="FillNoImage" GetMethodModifier="Public" GetMethodName="GetNoImage" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetNoImage" UserSourceName="FillNoImage">
<SelectCommand> <SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true"> <DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage <CommandText>SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
FROM Items FROM Items
WHERE (gcode = @code) AND (ISNULL(cate, N'') LIKE @cate) AND (ISNULL(name, N'') LIKE @search OR WHERE (gcode = @code) AND (ISNULL(cate, N'') LIKE @cate) AND (ISNULL(name, N'') LIKE @search OR
ISNULL(model, N'') LIKE @search OR ISNULL(model, N'') LIKE @search OR
@@ -273,11 +280,14 @@ ORDER BY name, idx</CommandText>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch"> <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearch" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearch" GeneratorSourceName="FillSearch" GetMethodModifier="Public" GetMethodName="GetSearch" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearch" UserSourceName="FillSearch">
<SelectCommand> <SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true"> <DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage <CommandText>SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
FROM Items FROM Items
WHERE (ISNULL(name, N'') LIKE @search OR WHERE (ISNULL(name, N'') LIKE @search OR
ISNULL(sid, N'') LIKE @search OR ISNULL(sid, N'') LIKE @search OR
ISNULL(manu, N'') LIKE @search OR ISNULL(manu, N'') LIKE @search OR
ISNULL(barcode, N'') LIKE @search OR
ISNULL(Storage, N'') LIKE @search OR
ISNULL(cate, N'') LIKE @search OR
ISNULL(supply, N'') LIKE @search OR ISNULL(supply, N'') LIKE @search OR
ISNULL(model, N'') LIKE @search OR ISNULL(model, N'') LIKE @search OR
ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode)
@@ -292,12 +302,15 @@ ORDER BY name, idx</CommandText>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearchNoDisable" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearchNoDisable" GeneratorSourceName="FillSearchNoDisable" GetMethodModifier="Public" GetMethodName="GetSearchNoDisable" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearchNoDisable" UserSourceName="FillSearchNoDisable"> <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillSearchNoDisable" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetSearchNoDisable" GeneratorSourceName="FillSearchNoDisable" GetMethodModifier="Public" GetMethodName="GetSearchNoDisable" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetSearchNoDisable" UserSourceName="FillSearchNoDisable">
<SelectCommand> <SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true"> <DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT Storage, bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, priceD, scale, sid, supply, supplyidx, unit, wdate, wuid <CommandText>SELECT Storage, barcode, bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, priceD, scale, sid, supply, supplyidx, unit, wdate, wuid
FROM Items FROM Items
WHERE (ISNULL(name, N'') LIKE @search OR WHERE (ISNULL(name, N'') LIKE @search OR
ISNULL(sid, N'') LIKE @search OR ISNULL(sid, N'') LIKE @search OR
ISNULL(manu, N'') LIKE @search OR ISNULL(manu, N'') LIKE @search OR
ISNULL(supply, N'') LIKE @search OR ISNULL(supply, N'') LIKE @search OR
ISNULL(barcode, N'') LIKE @search OR
ISNULL(Storage, N'') LIKE @search OR
ISNULL(cate, N'') LIKE @search OR
ISNULL(model, N'') LIKE @search OR ISNULL(model, N'') LIKE @search OR
ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) AND (ISNULL(disable, 0) = 0) ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode) AND (ISNULL(disable, 0) = 0)
ORDER BY name, idx</CommandText> ORDER BY name, idx</CommandText>
@@ -308,10 +321,24 @@ ORDER BY name, idx</CommandText>
</DbCommand> </DbCommand>
</SelectCommand> </SelectCommand>
</DbSource> </DbSource>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Items" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillStorageList" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetStorageList" GeneratorSourceName="FillStorageList" GetMethodModifier="Public" GetMethodName="GetStorageList" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetStorageList" UserSourceName="FillStorageList">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT Storage
FROM Items
WHERE (gcode = @gcode) AND (ISNULL(disable, 0) = 0) AND (ISNULL(Storage, '') &lt;&gt; '')
GROUP BY Storage
ORDER BY Storage</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetbyIDX" GetMethodModifier="Public" GetMethodName="GetbyIDX" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyIDX" UserSourceName="GetbyIDX"> <DbSource ConnectionRef="gwcs (Settings)" DbObjectName="GroupWare.dbo.Items" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetbyIDX" GetMethodModifier="Public" GetMethodName="GetbyIDX" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetbyIDX" UserSourceName="GetbyIDX">
<SelectCommand> <SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true"> <DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage <CommandText>SELECT bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD, Storage, barcode
FROM Items FROM Items
WHERE (idx = @idx)</CommandText> WHERE (idx = @idx)</CommandText>
<Parameters> <Parameters>
@@ -1752,7 +1779,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
<xs:element name="Items" msprop:Generator_RowEvHandlerName="ItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemsRowDeleted" msprop:Generator_RowDeletingName="ItemsRowDeleting" msprop:Generator_RowEvArgName="ItemsRowChangeEvent" msprop:Generator_TablePropName="Items" msprop:Generator_RowChangedName="ItemsRowChanged" msprop:Generator_UserTableName="Items" msprop:Generator_RowChangingName="ItemsRowChanging" msprop:Generator_RowClassName="ItemsRow" msprop:Generator_TableClassName="ItemsDataTable" msprop:Generator_TableVarName="tableItems"> <xs:element name="Items" msprop:Generator_RowEvHandlerName="ItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemsRowDeleted" msprop:Generator_RowDeletingName="ItemsRowDeleting" msprop:Generator_RowEvArgName="ItemsRowChangeEvent" msprop:Generator_TablePropName="Items" msprop:Generator_RowChangedName="ItemsRowChanged" msprop:Generator_UserTableName="Items" msprop:Generator_RowChangingName="ItemsRowChanging" msprop:Generator_RowClassName="ItemsRow" msprop:Generator_TableClassName="ItemsDataTable" msprop:Generator_TableVarName="tableItems">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_UserColumnName="name" msprop:Generator_ColumnVarNameInTable="columnname" minOccurs="0"> <xs:element name="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_UserColumnName="name" msprop:Generator_ColumnVarNameInTable="columnname" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -1802,7 +1829,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
<xs:element name="price" msprop:Generator_ColumnPropNameInTable="priceColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="price" msprop:Generator_UserColumnName="price" msprop:Generator_ColumnVarNameInTable="columnprice" type="xs:decimal" minOccurs="0" /> <xs:element name="price" msprop:Generator_ColumnPropNameInTable="priceColumn" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="price" msprop:Generator_UserColumnName="price" msprop:Generator_ColumnVarNameInTable="columnprice" type="xs:decimal" minOccurs="0" />
<xs:element name="cate" msprop:Generator_ColumnPropNameInTable="cateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="cate" msprop:Generator_UserColumnName="cate" msprop:Generator_ColumnVarNameInTable="columncate" minOccurs="0"> <xs:element name="cate" msprop:Generator_ColumnPropNameInTable="cateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="cate" msprop:Generator_UserColumnName="cate" msprop:Generator_ColumnVarNameInTable="columncate" minOccurs="0">
<xs:simpleType> <xs:simpleType>
@@ -1820,10 +1847,10 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="disable" msprop:Generator_UserColumnName="disable" msprop:Generator_ColumnPropNameInTable="disableColumn" msprop:Generator_ColumnPropNameInRow="disable" msprop:Generator_ColumnVarNameInTable="columndisable" type="xs:boolean" minOccurs="0" /> <xs:element name="disable" msprop:Generator_ColumnPropNameInTable="disableColumn" msprop:Generator_ColumnPropNameInRow="disable" msprop:Generator_UserColumnName="disable" msprop:Generator_ColumnVarNameInTable="columndisable" type="xs:boolean" minOccurs="0" />
<xs:element name="bparam1" msprop:Generator_UserColumnName="bparam1" msprop:Generator_ColumnPropNameInTable="bparam1Column" msprop:Generator_ColumnPropNameInRow="bparam1" msprop:Generator_ColumnVarNameInTable="columnbparam1" type="xs:boolean" minOccurs="0" /> <xs:element name="bparam1" msprop:Generator_ColumnPropNameInTable="bparam1Column" msprop:Generator_ColumnPropNameInRow="bparam1" msprop:Generator_UserColumnName="bparam1" msprop:Generator_ColumnVarNameInTable="columnbparam1" type="xs:boolean" minOccurs="0" />
<xs:element name="iparam1" msprop:Generator_UserColumnName="iparam1" msprop:Generator_ColumnPropNameInTable="iparam1Column" msprop:Generator_ColumnPropNameInRow="iparam1" msprop:Generator_ColumnVarNameInTable="columniparam1" type="xs:int" minOccurs="0" /> <xs:element name="iparam1" msprop:Generator_ColumnPropNameInTable="iparam1Column" msprop:Generator_ColumnPropNameInRow="iparam1" msprop:Generator_UserColumnName="iparam1" msprop:Generator_ColumnVarNameInTable="columniparam1" type="xs:int" minOccurs="0" />
<xs:element name="import" msprop:Generator_UserColumnName="import" msprop:Generator_ColumnPropNameInTable="importColumn" msprop:Generator_ColumnPropNameInRow="import" msprop:Generator_ColumnVarNameInTable="columnimport" minOccurs="0"> <xs:element name="import" msprop:Generator_ColumnPropNameInTable="importColumn" msprop:Generator_ColumnPropNameInRow="import" msprop:Generator_UserColumnName="import" msprop:Generator_ColumnVarNameInTable="columnimport" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="1" /> <xs:maxLength value="1" />
@@ -1837,7 +1864,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="priceD" msprop:Generator_UserColumnName="priceD" msprop:Generator_ColumnPropNameInTable="priceDColumn" msprop:Generator_ColumnPropNameInRow="priceD" msprop:Generator_ColumnVarNameInTable="columnpriceD" type="xs:decimal" minOccurs="0" /> <xs:element name="priceD" msprop:Generator_ColumnPropNameInTable="priceDColumn" msprop:Generator_ColumnPropNameInRow="priceD" msprop:Generator_UserColumnName="priceD" msprop:Generator_ColumnVarNameInTable="columnpriceD" type="xs:decimal" minOccurs="0" />
<xs:element name="Storage" msprop:Generator_ColumnPropNameInTable="StorageColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Storage" msprop:Generator_UserColumnName="Storage" msprop:Generator_ColumnVarNameInTable="columnStorage" minOccurs="0"> <xs:element name="Storage" msprop:Generator_ColumnPropNameInTable="StorageColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Storage" msprop:Generator_UserColumnName="Storage" msprop:Generator_ColumnVarNameInTable="columnStorage" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -1845,51 +1872,58 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="barcode" msprop:Generator_ColumnPropNameInTable="barcodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="barcode" msprop:Generator_UserColumnName="barcode" msprop:Generator_ColumnVarNameInTable="columnbarcode" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="Common" msprop:Generator_RowEvHandlerName="CommonRowChangeEventHandler" msprop:Generator_RowDeletedName="CommonRowDeleted" msprop:Generator_RowDeletingName="CommonRowDeleting" msprop:Generator_RowEvArgName="CommonRowChangeEvent" msprop:Generator_TablePropName="Common" msprop:Generator_RowChangedName="CommonRowChanged" msprop:Generator_UserTableName="Common" msprop:Generator_RowChangingName="CommonRowChanging" msprop:Generator_RowClassName="CommonRow" msprop:Generator_TableClassName="CommonDataTable" msprop:Generator_TableVarName="tableCommon"> <xs:element name="Common" msprop:Generator_RowEvHandlerName="CommonRowChangeEventHandler" msprop:Generator_RowDeletedName="CommonRowDeleted" msprop:Generator_RowDeletingName="CommonRowDeleting" msprop:Generator_RowEvArgName="CommonRowChangeEvent" msprop:Generator_TablePropName="Common" msprop:Generator_RowChangedName="CommonRowChanged" msprop:Generator_UserTableName="Common" msprop:Generator_RowChangingName="CommonRowChanging" msprop:Generator_RowClassName="CommonRow" msprop:Generator_TableClassName="CommonDataTable" msprop:Generator_TableVarName="tableCommon">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="grp" msprop:Generator_UserColumnName="grp" msprop:Generator_ColumnPropNameInTable="grpColumn" msprop:Generator_ColumnPropNameInRow="grp" msprop:Generator_ColumnVarNameInTable="columngrp" minOccurs="0"> <xs:element name="grp" msprop:Generator_ColumnPropNameInTable="grpColumn" msprop:Generator_ColumnPropNameInRow="grp" msprop:Generator_UserColumnName="grp" msprop:Generator_ColumnVarNameInTable="columngrp" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="code" msprop:Generator_UserColumnName="code" msprop:Generator_ColumnPropNameInTable="codeColumn" msprop:Generator_ColumnPropNameInRow="code" msprop:Generator_ColumnVarNameInTable="columncode" minOccurs="0"> <xs:element name="code" msprop:Generator_ColumnPropNameInTable="codeColumn" msprop:Generator_ColumnPropNameInRow="code" msprop:Generator_UserColumnName="code" msprop:Generator_ColumnVarNameInTable="columncode" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="svalue" msprop:Generator_UserColumnName="svalue" msprop:Generator_ColumnPropNameInTable="svalueColumn" msprop:Generator_ColumnPropNameInRow="svalue" msprop:Generator_ColumnVarNameInTable="columnsvalue" minOccurs="0"> <xs:element name="svalue" msprop:Generator_ColumnPropNameInTable="svalueColumn" msprop:Generator_ColumnPropNameInRow="svalue" msprop:Generator_UserColumnName="svalue" msprop:Generator_ColumnVarNameInTable="columnsvalue" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="32767" /> <xs:maxLength value="32767" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="ivalue" msprop:Generator_UserColumnName="ivalue" msprop:Generator_ColumnPropNameInTable="ivalueColumn" msprop:Generator_ColumnPropNameInRow="ivalue" msprop:Generator_ColumnVarNameInTable="columnivalue" type="xs:int" minOccurs="0" /> <xs:element name="ivalue" msprop:Generator_ColumnPropNameInTable="ivalueColumn" msprop:Generator_ColumnPropNameInRow="ivalue" msprop:Generator_UserColumnName="ivalue" msprop:Generator_ColumnVarNameInTable="columnivalue" type="xs:int" minOccurs="0" />
<xs:element name="fvalue" msprop:Generator_UserColumnName="fvalue" msprop:Generator_ColumnPropNameInTable="fvalueColumn" msprop:Generator_ColumnPropNameInRow="fvalue" msprop:Generator_ColumnVarNameInTable="columnfvalue" type="xs:double" minOccurs="0" /> <xs:element name="fvalue" msprop:Generator_ColumnPropNameInTable="fvalueColumn" msprop:Generator_ColumnPropNameInRow="fvalue" msprop:Generator_UserColumnName="fvalue" msprop:Generator_ColumnVarNameInTable="columnfvalue" type="xs:double" minOccurs="0" />
<xs:element name="memo" msprop:Generator_UserColumnName="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" minOccurs="0"> <xs:element name="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_UserColumnName="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="32767" /> <xs:maxLength value="32767" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid"> <xs:element name="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
<xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode"> <xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -1903,9 +1937,9 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
<xs:element name="Board" msprop:Generator_RowEvHandlerName="BoardRowChangeEventHandler" msprop:Generator_RowDeletedName="BoardRowDeleted" msprop:Generator_RowDeletingName="BoardRowDeleting" msprop:Generator_RowEvArgName="BoardRowChangeEvent" msprop:Generator_TablePropName="Board" msprop:Generator_RowChangedName="BoardRowChanged" msprop:Generator_UserTableName="Board" msprop:Generator_RowChangingName="BoardRowChanging" msprop:Generator_RowClassName="BoardRow" msprop:Generator_TableClassName="BoardDataTable" msprop:Generator_TableVarName="tableBoard"> <xs:element name="Board" msprop:Generator_RowEvHandlerName="BoardRowChangeEventHandler" msprop:Generator_RowDeletedName="BoardRowDeleted" msprop:Generator_RowDeletingName="BoardRowDeleting" msprop:Generator_RowEvArgName="BoardRowChangeEvent" msprop:Generator_TablePropName="Board" msprop:Generator_RowChangedName="BoardRowChanged" msprop:Generator_UserTableName="Board" msprop:Generator_RowChangingName="BoardRowChanging" msprop:Generator_RowClassName="BoardRow" msprop:Generator_TableClassName="BoardDataTable" msprop:Generator_TableVarName="tableBoard">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="bidx" msprop:Generator_UserColumnName="bidx" msprop:Generator_ColumnPropNameInTable="bidxColumn" msprop:Generator_ColumnPropNameInRow="bidx" msprop:Generator_ColumnVarNameInTable="columnbidx" type="xs:int" minOccurs="0" /> <xs:element name="bidx" msprop:Generator_ColumnPropNameInTable="bidxColumn" msprop:Generator_ColumnPropNameInRow="bidx" msprop:Generator_UserColumnName="bidx" msprop:Generator_ColumnVarNameInTable="columnbidx" type="xs:int" minOccurs="0" />
<xs:element name="header" msprop:Generator_UserColumnName="header" msprop:Generator_ColumnPropNameInTable="headerColumn" msprop:Generator_ColumnPropNameInRow="header" msprop:Generator_ColumnVarNameInTable="columnheader" type="xs:boolean" minOccurs="0" /> <xs:element name="header" msprop:Generator_ColumnPropNameInTable="headerColumn" msprop:Generator_ColumnPropNameInRow="header" msprop:Generator_UserColumnName="header" msprop:Generator_ColumnVarNameInTable="columnheader" type="xs:boolean" minOccurs="0" />
<xs:element name="cate" msprop:Generator_ColumnPropNameInTable="cateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="cate" msprop:Generator_UserColumnName="cate" msprop:Generator_ColumnVarNameInTable="columncate" minOccurs="0"> <xs:element name="cate" msprop:Generator_ColumnPropNameInTable="cateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="cate" msprop:Generator_UserColumnName="cate" msprop:Generator_ColumnVarNameInTable="columncate" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -1948,15 +1982,15 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid"> <xs:element name="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
<xs:element name="project" msprop:Generator_UserColumnName="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnVarNameInTable="columnproject" type="xs:int" minOccurs="0" /> <xs:element name="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_UserColumnName="project" msprop:Generator_ColumnVarNameInTable="columnproject" type="xs:int" minOccurs="0" />
<xs:element name="pidx" msprop:Generator_ColumnPropNameInTable="pidxColumn" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="pidx" msprop:Generator_UserColumnName="pidx" msprop:Generator_ColumnVarNameInTable="columnpidx" type="xs:int" minOccurs="0" /> <xs:element name="pidx" msprop:Generator_ColumnPropNameInTable="pidxColumn" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="pidx" msprop:Generator_UserColumnName="pidx" msprop:Generator_ColumnVarNameInTable="columnpidx" type="xs:int" minOccurs="0" />
<xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode"> <xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode">
<xs:simpleType> <xs:simpleType>
@@ -1986,7 +2020,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
<xs:element name="RequestItem" msprop:Generator_RowEvHandlerName="RequestItemRowChangeEventHandler" msprop:Generator_RowDeletedName="RequestItemRowDeleted" msprop:Generator_RowDeletingName="RequestItemRowDeleting" msprop:Generator_RowEvArgName="RequestItemRowChangeEvent" msprop:Generator_TablePropName="RequestItem" msprop:Generator_RowChangedName="RequestItemRowChanged" msprop:Generator_UserTableName="RequestItem" msprop:Generator_RowChangingName="RequestItemRowChanging" msprop:Generator_RowClassName="RequestItemRow" msprop:Generator_TableClassName="RequestItemDataTable" msprop:Generator_TableVarName="tableRequestItem"> <xs:element name="RequestItem" msprop:Generator_RowEvHandlerName="RequestItemRowChangeEventHandler" msprop:Generator_RowDeletedName="RequestItemRowDeleted" msprop:Generator_RowDeletingName="RequestItemRowDeleting" msprop:Generator_RowEvArgName="RequestItemRowChangeEvent" msprop:Generator_TablePropName="RequestItem" msprop:Generator_RowChangedName="RequestItemRowChanged" msprop:Generator_UserTableName="RequestItem" msprop:Generator_RowChangingName="RequestItemRowChanging" msprop:Generator_RowClassName="RequestItemRow" msprop:Generator_TableClassName="RequestItemDataTable" msprop:Generator_TableVarName="tableRequestItem">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="tolist" msprop:Generator_ColumnPropNameInTable="tolistColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="tolist" msprop:Generator_UserColumnName="tolist" msprop:Generator_ColumnVarNameInTable="columntolist" minOccurs="0"> <xs:element name="tolist" msprop:Generator_ColumnPropNameInTable="tolistColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="tolist" msprop:Generator_UserColumnName="tolist" msprop:Generator_ColumnVarNameInTable="columntolist" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2029,7 +2063,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="qty" msprop:Generator_UserColumnName="qty" msprop:Generator_ColumnPropNameInTable="qtyColumn" msprop:Generator_ColumnPropNameInRow="qty" msprop:Generator_ColumnVarNameInTable="columnqty" type="xs:int" minOccurs="0" /> <xs:element name="qty" msprop:Generator_ColumnPropNameInTable="qtyColumn" msprop:Generator_ColumnPropNameInRow="qty" msprop:Generator_UserColumnName="qty" msprop:Generator_ColumnVarNameInTable="columnqty" type="xs:int" minOccurs="0" />
<xs:element name="remark" msprop:Generator_ColumnPropNameInTable="remarkColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="remark" msprop:Generator_UserColumnName="remark" msprop:Generator_ColumnVarNameInTable="columnremark" minOccurs="0"> <xs:element name="remark" msprop:Generator_ColumnPropNameInTable="remarkColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="remark" msprop:Generator_UserColumnName="remark" msprop:Generator_ColumnVarNameInTable="columnremark" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2037,17 +2071,17 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid"> <xs:element name="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
<xs:element name="pdate" msprop:Generator_UserColumnName="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" type="xs:dateTime" minOccurs="0" /> <xs:element name="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_UserColumnName="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" type="xs:dateTime" minOccurs="0" />
<xs:element name="bMail" msprop:Generator_UserColumnName="bMail" msprop:Generator_ColumnPropNameInTable="bMailColumn" msprop:Generator_ColumnPropNameInRow="bMail" msprop:Generator_ColumnVarNameInTable="columnbMail" type="xs:boolean" minOccurs="0" /> <xs:element name="bMail" msprop:Generator_ColumnPropNameInTable="bMailColumn" msprop:Generator_ColumnPropNameInRow="bMail" msprop:Generator_UserColumnName="bMail" msprop:Generator_ColumnVarNameInTable="columnbMail" type="xs:boolean" minOccurs="0" />
<xs:element name="project" msprop:Generator_UserColumnName="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnVarNameInTable="columnproject" type="xs:int" minOccurs="0" /> <xs:element name="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_UserColumnName="project" msprop:Generator_ColumnVarNameInTable="columnproject" type="xs:int" minOccurs="0" />
<xs:element name="model" msprop:Generator_ColumnPropNameInTable="modelColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="model" msprop:Generator_UserColumnName="model" msprop:Generator_ColumnVarNameInTable="columnmodel" minOccurs="0"> <xs:element name="model" msprop:Generator_ColumnPropNameInTable="modelColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="model" msprop:Generator_UserColumnName="model" msprop:Generator_ColumnVarNameInTable="columnmodel" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2075,7 +2109,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
<xs:element name="Customs" msprop:Generator_RowEvHandlerName="CustomsRowChangeEventHandler" msprop:Generator_RowDeletedName="CustomsRowDeleted" msprop:Generator_RowDeletingName="CustomsRowDeleting" msprop:Generator_RowEvArgName="CustomsRowChangeEvent" msprop:Generator_TablePropName="Customs" msprop:Generator_RowChangedName="CustomsRowChanged" msprop:Generator_UserTableName="Customs" msprop:Generator_RowChangingName="CustomsRowChanging" msprop:Generator_RowClassName="CustomsRow" msprop:Generator_TableClassName="CustomsDataTable" msprop:Generator_TableVarName="tableCustoms"> <xs:element name="Customs" msprop:Generator_RowEvHandlerName="CustomsRowChangeEventHandler" msprop:Generator_RowDeletedName="CustomsRowDeleted" msprop:Generator_RowDeletingName="CustomsRowDeleting" msprop:Generator_RowEvArgName="CustomsRowChangeEvent" msprop:Generator_TablePropName="Customs" msprop:Generator_RowChangedName="CustomsRowChanged" msprop:Generator_UserTableName="Customs" msprop:Generator_RowChangingName="CustomsRowChanging" msprop:Generator_RowClassName="CustomsRow" msprop:Generator_TableClassName="CustomsDataTable" msprop:Generator_TableVarName="tableCustoms">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="grp" msprop:Generator_ColumnPropNameInTable="grpColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="grp" msprop:Generator_UserColumnName="grp" msprop:Generator_ColumnVarNameInTable="columngrp" minOccurs="0"> <xs:element name="grp" msprop:Generator_ColumnPropNameInTable="grpColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="grp" msprop:Generator_UserColumnName="grp" msprop:Generator_ColumnVarNameInTable="columngrp" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2125,7 +2159,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
<xs:element name="owner" msprop:Generator_ColumnPropNameInTable="ownerColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="owner" msprop:Generator_UserColumnName="owner" msprop:Generator_ColumnVarNameInTable="columnowner" minOccurs="0"> <xs:element name="owner" msprop:Generator_ColumnPropNameInTable="ownerColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="owner" msprop:Generator_UserColumnName="owner" msprop:Generator_ColumnVarNameInTable="columnowner" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2188,7 +2222,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
<xs:element name="Staff" msprop:Generator_RowEvHandlerName="StaffRowChangeEventHandler" msprop:Generator_RowDeletedName="StaffRowDeleted" msprop:Generator_RowDeletingName="StaffRowDeleting" msprop:Generator_RowEvArgName="StaffRowChangeEvent" msprop:Generator_TablePropName="Staff" msprop:Generator_RowChangedName="StaffRowChanged" msprop:Generator_UserTableName="Staff" msprop:Generator_RowChangingName="StaffRowChanging" msprop:Generator_RowClassName="StaffRow" msprop:Generator_TableClassName="StaffDataTable" msprop:Generator_TableVarName="tableStaff"> <xs:element name="Staff" msprop:Generator_RowEvHandlerName="StaffRowChangeEventHandler" msprop:Generator_RowDeletedName="StaffRowDeleted" msprop:Generator_RowDeletingName="StaffRowDeleting" msprop:Generator_RowEvArgName="StaffRowChangeEvent" msprop:Generator_TablePropName="Staff" msprop:Generator_RowChangedName="StaffRowChanged" msprop:Generator_UserTableName="Staff" msprop:Generator_RowChangingName="StaffRowChanging" msprop:Generator_RowClassName="StaffRow" msprop:Generator_TableClassName="StaffDataTable" msprop:Generator_TableVarName="tableStaff">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="cid" msprop:Generator_ColumnPropNameInTable="cidColumn" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="cid" msprop:Generator_UserColumnName="cid" msprop:Generator_ColumnVarNameInTable="columncid" type="xs:int" minOccurs="0" /> <xs:element name="cid" msprop:Generator_ColumnPropNameInTable="cidColumn" msprop:nullValue="-1" msprop:Generator_ColumnPropNameInRow="cid" msprop:Generator_UserColumnName="cid" msprop:Generator_ColumnVarNameInTable="columncid" type="xs:int" minOccurs="0" />
<xs:element name="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_UserColumnName="name" msprop:Generator_ColumnVarNameInTable="columnname" minOccurs="0"> <xs:element name="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_UserColumnName="name" msprop:Generator_ColumnVarNameInTable="columnname" minOccurs="0">
<xs:simpleType> <xs:simpleType>
@@ -2232,14 +2266,14 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid"> <xs:element name="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
<xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode"> <xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2253,7 +2287,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
<xs:element name="Purchase" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowClassName="PurchaseRow" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase"> <xs:element name="Purchase" msprop:Generator_RowEvHandlerName="PurchaseRowChangeEventHandler" msprop:Generator_RowDeletedName="PurchaseRowDeleted" msprop:Generator_RowDeletingName="PurchaseRowDeleting" msprop:Generator_RowEvArgName="PurchaseRowChangeEvent" msprop:Generator_TablePropName="Purchase" msprop:Generator_RowChangedName="PurchaseRowChanged" msprop:Generator_UserTableName="Purchase" msprop:Generator_RowChangingName="PurchaseRowChanging" msprop:Generator_RowClassName="PurchaseRow" msprop:Generator_TableClassName="PurchaseDataTable" msprop:Generator_TableVarName="tablePurchase">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_UserColumnName="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" minOccurs="0"> <xs:element name="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_UserColumnName="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2310,7 +2344,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="pumidx" msprop:Generator_UserColumnName="pumidx" msprop:Generator_ColumnPropNameInTable="pumidxColumn" msprop:Generator_ColumnPropNameInRow="pumidx" msprop:Generator_ColumnVarNameInTable="columnpumidx" type="xs:int" minOccurs="0" /> <xs:element name="pumidx" msprop:Generator_ColumnPropNameInTable="pumidxColumn" msprop:Generator_ColumnPropNameInRow="pumidx" msprop:Generator_UserColumnName="pumidx" msprop:Generator_ColumnVarNameInTable="columnpumidx" type="xs:int" minOccurs="0" />
<xs:element name="pumscale" msprop:Generator_ColumnPropNameInTable="pumscaleColumn" msprop:nullValue="" msprop:Generator_ColumnPropNameInRow="pumscale" msprop:Generator_UserColumnName="pumscale" msprop:Generator_ColumnVarNameInTable="columnpumscale" minOccurs="0"> <xs:element name="pumscale" msprop:Generator_ColumnPropNameInTable="pumscaleColumn" msprop:nullValue="" msprop:Generator_ColumnPropNameInRow="pumscale" msprop:Generator_UserColumnName="pumscale" msprop:Generator_ColumnVarNameInTable="columnpumscale" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2379,19 +2413,19 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="import" msprop:Generator_UserColumnName="import" msprop:Generator_ColumnPropNameInTable="importColumn" msprop:Generator_ColumnPropNameInRow="import" msprop:Generator_ColumnVarNameInTable="columnimport" type="xs:boolean" minOccurs="0" /> <xs:element name="import" msprop:Generator_ColumnPropNameInTable="importColumn" msprop:Generator_ColumnPropNameInRow="import" msprop:Generator_UserColumnName="import" msprop:Generator_ColumnVarNameInTable="columnimport" type="xs:boolean" minOccurs="0" />
<xs:element name="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid"> <xs:element name="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="Projects" msprop:Generator_RowClassName="ProjectsRow" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent" msprop:Generator_TablePropName="Projects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_UserTableName="Projects" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects"> <xs:element name="Projects" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent" msprop:Generator_TablePropName="Projects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_UserTableName="Projects" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowClassName="ProjectsRow" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="ddate" msprop:Generator_ColumnPropNameInTable="ddateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ddate" msprop:Generator_UserColumnName="ddate" msprop:Generator_ColumnVarNameInTable="columnddate" minOccurs="0"> <xs:element name="ddate" msprop:Generator_ColumnPropNameInTable="ddateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="ddate" msprop:Generator_UserColumnName="ddate" msprop:Generator_ColumnVarNameInTable="columnddate" minOccurs="0">
@@ -2408,7 +2442,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_UserColumnName="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" minOccurs="0"> <xs:element name="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_UserColumnName="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2472,7 +2506,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
<xs:element name="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid"> <xs:element name="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2480,14 +2514,14 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnVarNameInTable="columngcode"> <xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="isdel" msprop:Generator_UserColumnName="isdel" msprop:Generator_ColumnPropNameInTable="isdelColumn" msprop:Generator_ColumnPropNameInRow="isdel" msprop:Generator_ColumnVarNameInTable="columnisdel" type="xs:boolean" minOccurs="0" /> <xs:element name="isdel" msprop:Generator_ColumnPropNameInTable="isdelColumn" msprop:Generator_ColumnPropNameInRow="isdel" msprop:Generator_UserColumnName="isdel" msprop:Generator_ColumnVarNameInTable="columnisdel" type="xs:boolean" minOccurs="0" />
<xs:element name="category" msprop:Generator_ColumnPropNameInTable="categoryColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="category" msprop:Generator_UserColumnName="category" msprop:Generator_ColumnVarNameInTable="columncategory" minOccurs="0"> <xs:element name="category" msprop:Generator_ColumnPropNameInTable="categoryColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="category" msprop:Generator_UserColumnName="category" msprop:Generator_ColumnVarNameInTable="columncategory" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2512,10 +2546,10 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="HolidayLIst" msprop:Generator_RowClassName="HolidayLIstRow" msprop:Generator_RowEvHandlerName="HolidayLIstRowChangeEventHandler" msprop:Generator_RowDeletedName="HolidayLIstRowDeleted" msprop:Generator_RowDeletingName="HolidayLIstRowDeleting" msprop:Generator_RowEvArgName="HolidayLIstRowChangeEvent" msprop:Generator_TablePropName="HolidayLIst" msprop:Generator_RowChangedName="HolidayLIstRowChanged" msprop:Generator_UserTableName="HolidayLIst" msprop:Generator_RowChangingName="HolidayLIstRowChanging" msprop:Generator_TableClassName="HolidayLIstDataTable" msprop:Generator_TableVarName="tableHolidayLIst"> <xs:element name="HolidayLIst" msprop:Generator_RowEvHandlerName="HolidayLIstRowChangeEventHandler" msprop:Generator_RowDeletedName="HolidayLIstRowDeleted" msprop:Generator_RowDeletingName="HolidayLIstRowDeleting" msprop:Generator_RowEvArgName="HolidayLIstRowChangeEvent" msprop:Generator_TablePropName="HolidayLIst" msprop:Generator_RowChangedName="HolidayLIstRowChanged" msprop:Generator_UserTableName="HolidayLIst" msprop:Generator_RowChangingName="HolidayLIstRowChanging" msprop:Generator_RowClassName="HolidayLIstRow" msprop:Generator_TableClassName="HolidayLIstDataTable" msprop:Generator_TableVarName="tableHolidayLIst">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_UserColumnName="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" minOccurs="0"> <xs:element name="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_UserColumnName="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2531,98 +2565,98 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid"> <xs:element name="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="InventoryUser" msprop:Generator_RowClassName="InventoryUserRow" msprop:Generator_RowEvHandlerName="InventoryUserRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryUserRowDeleted" msprop:Generator_RowDeletingName="InventoryUserRowDeleting" msprop:Generator_RowEvArgName="InventoryUserRowChangeEvent" msprop:Generator_TablePropName="InventoryUser" msprop:Generator_RowChangedName="InventoryUserRowChanged" msprop:Generator_UserTableName="InventoryUser" msprop:Generator_RowChangingName="InventoryUserRowChanging" msprop:Generator_TableClassName="InventoryUserDataTable" msprop:Generator_TableVarName="tableInventoryUser"> <xs:element name="InventoryUser" msprop:Generator_RowEvHandlerName="InventoryUserRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryUserRowDeleted" msprop:Generator_RowDeletingName="InventoryUserRowDeleting" msprop:Generator_RowEvArgName="InventoryUserRowChangeEvent" msprop:Generator_TablePropName="InventoryUser" msprop:Generator_RowChangedName="InventoryUserRowChanged" msprop:Generator_UserTableName="InventoryUser" msprop:Generator_RowChangingName="InventoryUserRowChanging" msprop:Generator_RowClassName="InventoryUserRow" msprop:Generator_TableClassName="InventoryUserDataTable" msprop:Generator_TableVarName="tableInventoryUser">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="pdate" msprop:Generator_UserColumnName="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" minOccurs="0"> <xs:element name="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_UserColumnName="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="10" /> <xs:maxLength value="10" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="invtype" msprop:Generator_UserColumnName="invtype" msprop:Generator_ColumnPropNameInTable="invtypeColumn" msprop:Generator_ColumnPropNameInRow="invtype" msprop:Generator_ColumnVarNameInTable="columninvtype" minOccurs="0"> <xs:element name="invtype" msprop:Generator_ColumnPropNameInTable="invtypeColumn" msprop:Generator_ColumnPropNameInRow="invtype" msprop:Generator_UserColumnName="invtype" msprop:Generator_ColumnVarNameInTable="columninvtype" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="2" /> <xs:maxLength value="2" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="uid" msprop:Generator_UserColumnName="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnVarNameInTable="columnuid" minOccurs="0"> <xs:element name="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_UserColumnName="uid" msprop:Generator_ColumnVarNameInTable="columnuid" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="item" msprop:Generator_UserColumnName="item" msprop:Generator_ColumnPropNameInTable="itemColumn" msprop:Generator_ColumnPropNameInRow="item" msprop:Generator_ColumnVarNameInTable="columnitem" type="xs:int" minOccurs="0" /> <xs:element name="item" msprop:Generator_ColumnPropNameInTable="itemColumn" msprop:Generator_ColumnPropNameInRow="item" msprop:Generator_UserColumnName="item" msprop:Generator_ColumnVarNameInTable="columnitem" type="xs:int" minOccurs="0" />
<xs:element name="ItemName" msprop:Generator_UserColumnName="ItemName" msprop:Generator_ColumnPropNameInTable="ItemNameColumn" msprop:Generator_ColumnPropNameInRow="ItemName" msprop:Generator_ColumnVarNameInTable="columnItemName" minOccurs="0"> <xs:element name="ItemName" msprop:Generator_ColumnPropNameInTable="ItemNameColumn" msprop:Generator_ColumnPropNameInRow="ItemName" msprop:Generator_UserColumnName="ItemName" msprop:Generator_ColumnVarNameInTable="columnItemName" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="200" /> <xs:maxLength value="200" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="serial" msprop:Generator_UserColumnName="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_ColumnVarNameInTable="columnserial" minOccurs="0"> <xs:element name="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_UserColumnName="serial" msprop:Generator_ColumnVarNameInTable="columnserial" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="50" /> <xs:maxLength value="50" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="dr_qty" msprop:Generator_UserColumnName="dr_qty" msprop:Generator_ColumnPropNameInTable="dr_qtyColumn" msprop:Generator_ColumnPropNameInRow="dr_qty" msprop:Generator_ColumnVarNameInTable="columndr_qty" type="xs:int" minOccurs="0" /> <xs:element name="dr_qty" msprop:Generator_ColumnPropNameInTable="dr_qtyColumn" msprop:Generator_ColumnPropNameInRow="dr_qty" msprop:Generator_UserColumnName="dr_qty" msprop:Generator_ColumnVarNameInTable="columndr_qty" type="xs:int" minOccurs="0" />
<xs:element name="dr_amt" msprop:Generator_UserColumnName="dr_amt" msprop:Generator_ColumnPropNameInTable="dr_amtColumn" msprop:Generator_ColumnPropNameInRow="dr_amt" msprop:Generator_ColumnVarNameInTable="columndr_amt" type="xs:decimal" minOccurs="0" /> <xs:element name="dr_amt" msprop:Generator_ColumnPropNameInTable="dr_amtColumn" msprop:Generator_ColumnPropNameInRow="dr_amt" msprop:Generator_UserColumnName="dr_amt" msprop:Generator_ColumnVarNameInTable="columndr_amt" type="xs:decimal" minOccurs="0" />
<xs:element name="cr_qty" msprop:Generator_UserColumnName="cr_qty" msprop:Generator_ColumnPropNameInTable="cr_qtyColumn" msprop:Generator_ColumnPropNameInRow="cr_qty" msprop:Generator_ColumnVarNameInTable="columncr_qty" type="xs:int" minOccurs="0" /> <xs:element name="cr_qty" msprop:Generator_ColumnPropNameInTable="cr_qtyColumn" msprop:Generator_ColumnPropNameInRow="cr_qty" msprop:Generator_UserColumnName="cr_qty" msprop:Generator_ColumnVarNameInTable="columncr_qty" type="xs:int" minOccurs="0" />
<xs:element name="cr_amt" msprop:Generator_UserColumnName="cr_amt" msprop:Generator_ColumnPropNameInTable="cr_amtColumn" msprop:Generator_ColumnPropNameInRow="cr_amt" msprop:Generator_ColumnVarNameInTable="columncr_amt" type="xs:decimal" minOccurs="0" /> <xs:element name="cr_amt" msprop:Generator_ColumnPropNameInTable="cr_amtColumn" msprop:Generator_ColumnPropNameInRow="cr_amt" msprop:Generator_UserColumnName="cr_amt" msprop:Generator_ColumnVarNameInTable="columncr_amt" type="xs:decimal" minOccurs="0" />
<xs:element name="memo" msprop:Generator_UserColumnName="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" minOccurs="0"> <xs:element name="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_UserColumnName="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="255" /> <xs:maxLength value="255" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="project" msprop:Generator_UserColumnName="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_ColumnVarNameInTable="columnproject" type="xs:int" minOccurs="0" /> <xs:element name="project" msprop:Generator_ColumnPropNameInTable="projectColumn" msprop:Generator_ColumnPropNameInRow="project" msprop:Generator_UserColumnName="project" msprop:Generator_ColumnVarNameInTable="columnproject" type="xs:int" minOccurs="0" />
<xs:element name="projectName" msprop:Generator_UserColumnName="projectName" msprop:Generator_ColumnPropNameInTable="projectNameColumn" msprop:Generator_ColumnPropNameInRow="projectName" msprop:Generator_ColumnVarNameInTable="columnprojectName" minOccurs="0"> <xs:element name="projectName" msprop:Generator_ColumnPropNameInTable="projectNameColumn" msprop:Generator_ColumnPropNameInRow="projectName" msprop:Generator_UserColumnName="projectName" msprop:Generator_ColumnVarNameInTable="columnprojectName" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="255" /> <xs:maxLength value="255" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="place" msprop:Generator_UserColumnName="place" msprop:Generator_ColumnPropNameInTable="placeColumn" msprop:Generator_ColumnPropNameInRow="place" msprop:Generator_ColumnVarNameInTable="columnplace" minOccurs="0"> <xs:element name="place" msprop:Generator_ColumnPropNameInTable="placeColumn" msprop:Generator_ColumnPropNameInRow="place" msprop:Generator_UserColumnName="place" msprop:Generator_ColumnVarNameInTable="columnplace" minOccurs="0">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="100" /> <xs:maxLength value="100" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid"> <xs:element name="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="EETGW_DocuForm" msprop:Generator_RowClassName="EETGW_DocuFormRow" msprop:Generator_RowEvHandlerName="EETGW_DocuFormRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_DocuFormRowDeleted" msprop:Generator_RowDeletingName="EETGW_DocuFormRowDeleting" msprop:Generator_RowEvArgName="EETGW_DocuFormRowChangeEvent" msprop:Generator_TablePropName="EETGW_DocuForm" msprop:Generator_RowChangedName="EETGW_DocuFormRowChanged" msprop:Generator_UserTableName="EETGW_DocuForm" msprop:Generator_RowChangingName="EETGW_DocuFormRowChanging" msprop:Generator_TableClassName="EETGW_DocuFormDataTable" msprop:Generator_TableVarName="tableEETGW_DocuForm"> <xs:element name="EETGW_DocuForm" msprop:Generator_RowEvHandlerName="EETGW_DocuFormRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_DocuFormRowDeleted" msprop:Generator_RowDeletingName="EETGW_DocuFormRowDeleting" msprop:Generator_RowEvArgName="EETGW_DocuFormRowChangeEvent" msprop:Generator_TablePropName="EETGW_DocuForm" msprop:Generator_RowChangedName="EETGW_DocuFormRowChanged" msprop:Generator_UserTableName="EETGW_DocuForm" msprop:Generator_RowChangingName="EETGW_DocuFormRowChanging" msprop:Generator_RowClassName="EETGW_DocuFormRow" msprop:Generator_TableClassName="EETGW_DocuFormDataTable" msprop:Generator_TableVarName="tableEETGW_DocuForm">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" /> <xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_UserColumnName="idx" msprop:Generator_ColumnVarNameInTable="columnidx" type="xs:int" />
<xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode"> <xs:element name="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_UserColumnName="gcode" msprop:Generator_ColumnVarNameInTable="columngcode">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
@@ -2651,14 +2685,14 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid"> <xs:element name="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_UserColumnName="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid">
<xs:simpleType> <xs:simpleType>
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:maxLength value="20" /> <xs:maxLength value="20" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
</xs:element> </xs:element>
<xs:element name="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" /> <xs:element name="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_UserColumnName="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" type="xs:dateTime" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Data.SqlClient; using System.Data.SqlClient;
using System.Windows.Forms;
namespace FCOMMON namespace FCOMMON
{ {
@@ -31,6 +32,35 @@ namespace FCOMMON
public int qty; public int qty;
} }
public static List<string> GetItemStorageList()
{
var cn = getCn();
cn.Open();
List<string> retval = new List<string>();
var sql = "SELECT Storage FROM Items WHERE(gcode = @gcode) AND(ISNULL(disable, 0) = 0) AND(ISNULL(Storage, '') <> '') GROUP BY Storage ORDER BY Storage";
var cmd = new SqlCommand(sql, cn);
cmd.Parameters.Add("gcode", System.Data.SqlDbType.VarChar).Value = FCOMMON.info.Login.gcode;
try
{
var rdr = cmd.ExecuteReader();
while(rdr.Read())
{
retval.Add(rdr[0].ToString());
}
}
catch
{
}
cn.Close();
cn.Dispose();
return retval;
}
public static byte[] getImagByteArray(System.Drawing.Image img) public static byte[] getImagByteArray(System.Drawing.Image img)
{ {
if (img == null || img.Width < 1 || img.Height < 1) return null; if (img == null || img.Width < 1 || img.Height < 1) return null;