纽威
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

610 lines
53 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <?xml version="1.0" encoding="utf-8"?><Database Name="ICS_WMS_NW" Class="FramDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
  2. <Connection Mode="AppSettings" ConnectionString="Data Source=192.168.1.218;Initial Catalog=ICS_WMS_NW;Persist Security Info=True;User ID=sa" SettingsObjectName="ICSSoft.Frame.Data.Entity.Properties.Settings" SettingsPropertyName="ICS_WMS_NWConnectionString1" Provider="System.Data.SqlClient" />
  3. <Table Name="dbo.ICSInventory" Member="ICSInventory">
  4. <Type Name="ICSInventory">
  5. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  6. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  7. <Column Name="InvName" Type="System.String" DbType="NVarChar(500) NOT NULL" CanBeNull="false" />
  8. <Column Name="InvDesc" Type="System.String" DbType="NVarChar(500)" CanBeNull="true" />
  9. <Column Name="InvStd" Type="System.String" DbType="NVarChar(500)" CanBeNull="true" />
  10. <Column Name="InvUnit" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  11. <Column Name="AmountUnit" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  12. <Column Name="ClassCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  13. <Column Name="ClassName" Type="System.String" DbType="NVarChar(80) NOT NULL" CanBeNull="false" />
  14. <Column Name="InvRate" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  15. <Column Name="InvVersion" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  16. <Column Name="InvBrand" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  17. <Column Name="InvIQC" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
  18. <Column Name="InvFQC" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
  19. <Column Name="EffectiveEnable" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
  20. <Column Name="EffectiveDays" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  21. <Column Name="BatchEnable" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
  22. <Column Name="LotEnable" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
  23. <Column Name="PrintEnable" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
  24. <Column Name="WHUser" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  25. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  26. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  27. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  28. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  29. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  30. </Type>
  31. </Table>
  32. <Table Name="dbo.ICSExtension" Member="ICSExtension">
  33. <Type Name="ICSExtension">
  34. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  35. <Column Name="Colspan" Type="System.String" DbType="NVarChar(500) NOT NULL" CanBeNull="false" />
  36. <Column Name="ProjectCode" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  37. <Column Name="BatchCode" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  38. <Column Name="Version" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  39. <Column Name="Brand" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  40. <Column Name="cFree1" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  41. <Column Name="cFree2" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  42. <Column Name="cFree3" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  43. <Column Name="cFree4" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  44. <Column Name="cFree5" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  45. <Column Name="cFree6" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  46. <Column Name="cFree7" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  47. <Column Name="cFree8" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  48. <Column Name="cFree9" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  49. <Column Name="cFree10" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  50. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  51. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  52. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  53. <Column Name="WorkPoint" Type="System.String" DbType="VarChar(50) NOT NULL" CanBeNull="false" />
  54. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  55. <Column Name="EATTRIBUTE2" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  56. <Column Name="EATTRIBUTE3" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  57. <Column Name="EATTRIBUTE4" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  58. <Column Name="EATTRIBUTE5" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  59. </Type>
  60. </Table>
  61. <Table Name="dbo.ICSMOApply" Member="ICSMOApply">
  62. <Type Name="ICSMOApply">
  63. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  64. <Column Name="ApplyCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  65. <Column Name="Sequence" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  66. <Column Name="SourceCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  67. <Column Name="SourceSequence" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  68. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  69. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  70. <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  71. <Column Name="IssueQuantity" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  72. <Column Name="WHCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  73. <Column Name="Type" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  74. <Column Name="Status" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  75. <Column Name="CreatePerson" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  76. <Column Name="CreateDateTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  77. <Column Name="ApplyID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  78. <Column Name="ApplyDetailID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  79. <Column Name="ExtensionID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  80. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  81. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  82. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  83. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  84. <Column Name="EATTRIBUTE" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  85. <Column Name="OrderNumber" Type="System.String" DbType="NVarChar(12)" CanBeNull="true" />
  86. <Column Name="Sets" Type="System.Decimal" DbType="Decimal(4,0)" CanBeNull="true" />
  87. <Column Name="OrderInvCode" Type="System.String" DbType="NVarChar(18)" CanBeNull="true" />
  88. <Column Name="OrderInvDescribe" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  89. <Column Name="BillType" Type="System.String" DbType="NVarChar(1)" CanBeNull="true" />
  90. <Column Name="Remarks" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  91. <Column Name="Desks" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  92. <Column Name="DispatchNumber" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  93. <Column Name="DispatcherName" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  94. <Column Name="ReceiverNumber" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  95. <Column Name="ReceiverName" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  96. <Column Name="Urgency" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  97. <Column Name="NeedDate" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  98. <Column Name="NeedTime" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  99. <Column Name="RemarksTerm" Type="System.String" DbType="NVarChar(120)" CanBeNull="true" />
  100. <Column Name="TextNumber" Type="System.String" DbType="NVarChar(7)" CanBeNull="true" />
  101. <Column Name="InvDescribe" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  102. <Column Name="Unit" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  103. <Column Name="StockIndicator" Type="System.String" DbType="NVarChar(1)" CanBeNull="true" />
  104. <Column Name="IsSerialNumber" Type="System.String" DbType="NVarChar(4)" CanBeNull="true" />
  105. <Column Name="SAPSequence" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  106. </Type>
  107. </Table>
  108. <Table Name="dbo.ICSMOApplyNeg" Member="ICSMOApplyNeg">
  109. <Type Name="ICSMOApplyNeg">
  110. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  111. <Column Name="ApplyNegCode" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  112. <Column Name="Status" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  113. <Column Name="Type" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  114. <Column Name="Memo" Type="System.String" DbType="NVarChar(1000)" CanBeNull="true" />
  115. <Column Name="CreatePerson" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  116. <Column Name="CreateDateTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  117. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  118. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  119. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  120. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  121. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  122. </Type>
  123. </Table>
  124. <Table Name="dbo.ICSMOApplyNegDetail" Member="ICSMOApplyNegDetail">
  125. <Type Name="ICSMOApplyNegDetail">
  126. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  127. <Column Name="ApplyNegCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  128. <Column Name="Sequence" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  129. <Column Name="SourceDetailID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  130. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  131. <Column Name="WHCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  132. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  133. <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  134. <Column Name="IssueNegQuantity" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  135. <Column Name="ExtensionID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  136. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  137. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  138. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  139. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  140. <Column Name="EATTRIBUTE" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  141. <Column Name="SAPSequence" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  142. </Type>
  143. </Table>
  144. <Table Name="dbo.ICSTransfer" Member="ICSTransfer">
  145. <Type Name="ICSTransfer">
  146. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  147. <Column Name="TransferNO" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  148. <Column Name="Sequence" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  149. <Column Name="FromWarehouseCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  150. <Column Name="FromLocationCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  151. <Column Name="ToWarehouseCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  152. <Column Name="ToLocationCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  153. <Column Name="Status" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  154. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  155. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  156. <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  157. <Column Name="TransferQuantity" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  158. <Column Name="Type" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  159. <Column Name="Memo" Type="System.String" DbType="NVarChar(1000)" CanBeNull="true" />
  160. <Column Name="CreatePerson" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  161. <Column Name="CreateDateTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  162. <Column Name="TransferID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  163. <Column Name="TransferDetailID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  164. <Column Name="ExtensionID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  165. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  166. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  167. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  168. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  169. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  170. <Column Name="OrderType" Type="System.String" DbType="NVarChar(2)" CanBeNull="true" />
  171. <Column Name="TypeDescribe" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  172. <Column Name="Remarks" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  173. <Column Name="PersonNumber" Type="System.String" DbType="NVarChar(10)" CanBeNull="true" />
  174. <Column Name="InvDescribe" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  175. <Column Name="Unit" Type="System.String" DbType="NVarChar(10)" CanBeNull="true" />
  176. <Column Name="StockIndicator" Type="System.String" DbType="NVarChar(1)" CanBeNull="true" />
  177. <Column Name="ReceiveInvCode" Type="System.String" DbType="NVarChar(18)" CanBeNull="true" />
  178. <Column Name="ReceiveInvDescribe" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  179. <Column Name="ReceiveStock" Type="System.String" DbType="NVarChar(1)" CanBeNull="true" />
  180. <Column Name="ReceiveSales" Type="System.String" DbType="NVarChar(10)" CanBeNull="true" />
  181. <Column Name="ReceiveSequence" Type="System.String" DbType="NVarChar(10)" CanBeNull="true" />
  182. <Column Name="Remark2" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  183. <Column Name="IsSerialNumber" Type="System.String" DbType="NVarChar(4)" CanBeNull="true" />
  184. <Column Name="SAPSequence" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  185. </Type>
  186. </Table>
  187. <Table Name="dbo.ICSMTDOC" Member="ICSMTDOC">
  188. <Type Name="ICSMTDOC">
  189. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  190. <Column Name="MTDOCCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  191. <Column Name="DepCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  192. <Column Name="WHCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  193. <Column Name="Sequence" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  194. <Column Name="INVCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  195. <Column Name="SOCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  196. <Column Name="SOSequence" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  197. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,3) NOT NULL" CanBeNull="false" />
  198. <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  199. <Column Name="MTDOCQuantity" Type="System.Decimal" DbType="Decimal(18,2)" CanBeNull="true" />
  200. <Column Name="MTDOCType" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  201. <Column Name="Memo" Type="System.String" DbType="NVarChar(500)" CanBeNull="true" />
  202. <Column Name="Status" Type="System.String" DbType="NVarChar(10) NOT NULL" CanBeNull="false" />
  203. <Column Name="CreatePerson" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  204. <Column Name="CreateDateTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  205. <Column Name="MTDOCID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  206. <Column Name="MTDOCDetailID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  207. <Column Name="ExtensionID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  208. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  209. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  210. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  211. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  212. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  213. <Column Name="SAPSequence" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  214. </Type>
  215. </Table>
  216. <Table Name="dbo.ICSManufactureReceive" Member="ICSManufactureReceive">
  217. <Type Name="ICSManufactureReceive">
  218. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  219. <Column Name="RCVCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  220. <Column Name="Sequence" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  221. <Column Name="SourceCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  222. <Column Name="SourceSequence" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  223. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  224. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  225. <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  226. <Column Name="RCVQuantity" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  227. <Column Name="WHCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  228. <Column Name="Type" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  229. <Column Name="Status" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  230. <Column Name="CreatePerson" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  231. <Column Name="CreateDateTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  232. <Column Name="RCVID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  233. <Column Name="RCVDetailID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  234. <Column Name="ExtensionID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  235. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  236. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  237. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  238. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  239. <Column Name="EATTRIBUTE" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  240. <Column Name="InvDescribe" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  241. <Column Name="OrderNumber" Type="System.String" DbType="NVarChar(12)" CanBeNull="true" />
  242. <Column Name="OrderInvCode" Type="System.String" DbType="NVarChar(18)" CanBeNull="true" />
  243. <Column Name="OrderInvDescribe" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  244. <Column Name="BillType" Type="System.String" DbType="NVarChar(1)" CanBeNull="true" />
  245. <Column Name="Remarks" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  246. <Column Name="Unit" Type="System.String" DbType="NVarChar(10)" CanBeNull="true" />
  247. <Column Name="StockIndicator" Type="System.String" DbType="NVarChar(1)" CanBeNull="true" />
  248. <Column Name="RemarksTerm" Type="System.String" DbType="NVarChar(120)" CanBeNull="true" />
  249. <Column Name="IsSerialNumber" Type="System.String" DbType="NVarChar(4)" CanBeNull="true" />
  250. <Column Name="SAPSequence" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  251. </Type>
  252. </Table>
  253. <Table Name="dbo.ICSSDN" Member="ICSSDN">
  254. <Type Name="ICSSDN">
  255. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  256. <Column Name="SDNCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  257. <Column Name="Sequence" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  258. <Column Name="SOCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  259. <Column Name="SOSequence" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  260. <Column Name="CusCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  261. <Column Name="CusName" Type="System.String" DbType="NVarChar(500) NOT NULL" CanBeNull="false" />
  262. <Column Name="Type" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  263. <Column Name="ArriveDate" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  264. <Column Name="WHCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  265. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  266. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  267. <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  268. <Column Name="SDNQuantity" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  269. <Column Name="CreatePerson" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  270. <Column Name="CreateDateTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  271. <Column Name="Status" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  272. <Column Name="SDNID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  273. <Column Name="SDNDetailID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  274. <Column Name="ExtensionID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  275. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  276. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  277. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  278. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  279. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  280. <Column Name="Points" Type="System.String" DbType="NVarChar(4)" CanBeNull="true" />
  281. <Column Name="DeliveryType" Type="System.String" DbType="NVarChar(4)" CanBeNull="true" />
  282. <Column Name="DeliveryDescribe" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  283. <Column Name="InvDescribe" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  284. <Column Name="OtherDescribe" Type="System.String" DbType="NVarChar(80)" CanBeNull="true" />
  285. <Column Name="SalesUnit" Type="System.String" DbType="NVarChar(10)" CanBeNull="true" />
  286. <Column Name="StockIndicator" Type="System.String" DbType="NVarChar(1)" CanBeNull="true" />
  287. <Column Name="IsSerialNumber" Type="System.String" DbType="NVarChar(4)" CanBeNull="true" />
  288. <Column Name="SAPSequence" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  289. </Type>
  290. </Table>
  291. <Table Name="dbo.ICSInventoryLotDetail" Member="ICSInventoryLotDetail">
  292. <Type Name="ICSInventoryLotDetail">
  293. <Column Name="LotNo" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  294. <Column Name="TransCode" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  295. <Column Name="TransSequence" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  296. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  297. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  298. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  299. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  300. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  301. </Type>
  302. </Table>
  303. <Table Name="dbo.ICSWareHouseLotInfoLog" Member="ICSWareHouseLotInfoLog">
  304. <Type Name="ICSWareHouseLotInfoLog">
  305. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  306. <Column Name="Identification" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  307. <Column Name="TransCode" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  308. <Column Name="TransSequence" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  309. <Column Name="LotNo" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  310. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  311. <Column Name="FromWarehouseCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  312. <Column Name="FromLocationCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  313. <Column Name="ToWarehouseCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  314. <Column Name="ToLocationCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  315. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  316. <Column Name="Memo" Type="System.String" DbType="NVarChar(1000)" CanBeNull="true" />
  317. <Column Name="Lock" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
  318. <Column Name="TransType" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  319. <Column Name="BusinessCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  320. <Column Name="ERPUpload" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
  321. <Column Name="ERPID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  322. <Column Name="ERPDetailID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  323. <Column Name="ERPCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  324. <Column Name="ERPSequence" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  325. <Column Name="LogID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  326. <Column Name="MergeID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  327. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  328. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  329. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime2(7)" CanBeNull="true" />
  330. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  331. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  332. <Column Name="EATTRIBUTE2" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  333. <Column Name="EATTRIBUTE3" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  334. </Type>
  335. </Table>
  336. <Table Name="dbo.ICSInventoryLot" Member="ICSInventoryLot">
  337. <Type Name="ICSInventoryLot">
  338. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  339. <Column Name="LotNo" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  340. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  341. <Column Name="ProductDate" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  342. <Column Name="ExpirationDate" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  343. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  344. <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  345. <Column Name="ExtensionID" Type="System.String" DbType="NVarChar(100)" CanBeNull="true" />
  346. <Column Name="Type" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  347. <Column Name="PrintTimes" Type="System.Int32" DbType="Int" CanBeNull="true" />
  348. <Column Name="LastPrintUser" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  349. <Column Name="LastPrintTime" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
  350. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  351. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  352. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  353. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  354. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  355. </Type>
  356. </Table>
  357. <Table Name="dbo.ICSWareHouseLotInfo" Member="ICSWareHouseLotInfo">
  358. <Type Name="ICSWareHouseLotInfo">
  359. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  360. <Column Name="LotNo" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  361. <Column Name="WarehouseCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  362. <Column Name="LocationCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  363. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  364. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  365. <Column Name="InDate" Type="System.DateTime" DbType="DateTime2(7)" CanBeNull="true" />
  366. <Column Name="LockQuantity" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  367. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  368. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  369. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime2(7)" CanBeNull="true" />
  370. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  371. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  372. </Type>
  373. </Table>
  374. <Table Name="dbo.ICSLocation" Member="ICSLocation">
  375. <Type Name="ICSLocation">
  376. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  377. <Column Name="LocationCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  378. <Column Name="LocationName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  379. <Column Name="WHID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  380. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  381. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  382. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  383. <Column Name="WorkPoint" Type="System.String" DbType="VarChar(50) NOT NULL" CanBeNull="false" />
  384. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  385. <Column Name="Region" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  386. <Column Name="Row" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  387. <Column Name="GoodsShelf " Member="GoodsShelf" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  388. <Column Name="Tier" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  389. <Column Name="Grid" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  390. </Type>
  391. </Table>
  392. <Table Name="dbo.ICSWarehouse" Member="ICSWarehouse">
  393. <Type Name="ICSWarehouse">
  394. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  395. <Column Name="WarehouseCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  396. <Column Name="WarehouseName" Type="System.String" DbType="NVarChar(100) NOT NULL" CanBeNull="false" />
  397. <Column Name="Enable" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
  398. <Column Name="BatchEnable" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
  399. <Column Name="Asset" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
  400. <Column Name="Proxy" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
  401. <Column Name="InCost" Type="System.Boolean" DbType="Bit NOT NULL" CanBeNull="false" />
  402. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  403. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  404. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  405. <Column Name="WorkPoint" Type="System.String" DbType="VarChar(50) NOT NULL" CanBeNull="false" />
  406. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  407. </Type>
  408. </Table>
  409. <Table Name="dbo.ICSOtherOut" Member="ICSOtherOut">
  410. <Type Name="ICSOtherOut">
  411. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  412. <Column Name="OutCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  413. <Column Name="WHCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  414. <Column Name="Sequence" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  415. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  416. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,3) NOT NULL" CanBeNull="false" />
  417. <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  418. <Column Name="OutQuantity" Type="System.Decimal" DbType="Decimal(18,2)" CanBeNull="true" />
  419. <Column Name="Status" Type="System.String" DbType="NVarChar(10) NOT NULL" CanBeNull="false" />
  420. <Column Name="CreatePerson" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  421. <Column Name="CreateDateTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  422. <Column Name="OutID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  423. <Column Name="OutDetailID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  424. <Column Name="TransferID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  425. <Column Name="TransferDetailID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  426. <Column Name="ExtensionID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  427. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  428. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  429. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  430. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  431. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  432. <Column Name="OrderType" Type="System.String" DbType="NVarChar(2)" CanBeNull="true" />
  433. <Column Name="TypeDescribe" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  434. <Column Name="CostCenter" Type="System.String" DbType="NVarChar(10)" CanBeNull="true" />
  435. <Column Name="Remarks" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  436. <Column Name="PersonNumber" Type="System.String" DbType="NVarChar(10)" CanBeNull="true" />
  437. <Column Name="InvDescribe" Type="System.String" DbType="NVarChar(18)" CanBeNull="true" />
  438. <Column Name="Unit" Type="System.String" DbType="NVarChar(10)" CanBeNull="true" />
  439. <Column Name="StockIndicator" Type="System.String" DbType="NVarChar(1)" CanBeNull="true" />
  440. <Column Name="IsSerialNumber" Type="System.String" DbType="NVarChar(4)" CanBeNull="true" />
  441. <Column Name="SAPSequence" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  442. </Type>
  443. </Table>
  444. <Table Name="dbo.ICSOtherIn" Member="ICSOtherIn">
  445. <Type Name="ICSOtherIn">
  446. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  447. <Column Name="InCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  448. <Column Name="WHCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  449. <Column Name="Sequence" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  450. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  451. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,3) NOT NULL" CanBeNull="false" />
  452. <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  453. <Column Name="InQuantity" Type="System.Decimal" DbType="Decimal(18,2)" CanBeNull="true" />
  454. <Column Name="Status" Type="System.String" DbType="NVarChar(10) NOT NULL" CanBeNull="false" />
  455. <Column Name="CreatePerson" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  456. <Column Name="CreateDateTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  457. <Column Name="InID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  458. <Column Name="InDetailID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  459. <Column Name="TransferID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  460. <Column Name="TransferDetailID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  461. <Column Name="ExtensionID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  462. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  463. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  464. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  465. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  466. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  467. <Column Name="OrderType" Type="System.String" DbType="NVarChar(2)" CanBeNull="true" />
  468. <Column Name="TypeDescribe" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  469. <Column Name="CostCenter" Type="System.String" DbType="NVarChar(10)" CanBeNull="true" />
  470. <Column Name="Remarks" Type="System.String" DbType="NVarChar(40)" CanBeNull="true" />
  471. <Column Name="PersonNumber" Type="System.String" DbType="NVarChar(10)" CanBeNull="true" />
  472. <Column Name="InvDescribe" Type="System.String" DbType="NVarChar(18)" CanBeNull="true" />
  473. <Column Name="Unit" Type="System.String" DbType="NVarChar(10)" CanBeNull="true" />
  474. <Column Name="StockIndicator" Type="System.String" DbType="NVarChar(1)" CanBeNull="true" />
  475. <Column Name="IsSerialNumber" Type="System.String" DbType="NVarChar(4)" CanBeNull="true" />
  476. <Column Name="SAPSequence" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  477. </Type>
  478. </Table>
  479. <Table Name="dbo.ICSDeliveryNotice" Member="ICSDeliveryNotice">
  480. <Type Name="ICSDeliveryNotice">
  481. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  482. <Column Name="DNCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  483. <Column Name="Sequence" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  484. <Column Name="VenCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  485. <Column Name="DepCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  486. <Column Name="DNType" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  487. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  488. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  489. <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  490. <Column Name="RCVQuantity" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  491. <Column Name="UnitPrice" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  492. <Column Name="Currency" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  493. <Column Name="Status" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  494. <Column Name="CreatePerson" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  495. <Column Name="CreateDateTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  496. <Column Name="POID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  497. <Column Name="PODetailID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  498. <Column Name="DNID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  499. <Column Name="DNDetailID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  500. <Column Name="ExtensionID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  501. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  502. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  503. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  504. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  505. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  506. <Column Name="ASNCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  507. <Column Name="WHCode" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  508. <Column Name="InspectionType" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  509. <Column Name="InvoDescribe" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  510. <Column Name="Unity" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  511. <Column Name="StockIndicator" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  512. <Column Name="DepositArea" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  513. <Column Name="SAPSequence" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  514. </Type>
  515. </Table>
  516. <Table Name="dbo.ICSOApply" Member="ICSOApply">
  517. <Type Name="ICSOApply">
  518. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  519. <Column Name="ApplyCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  520. <Column Name="Sequence" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  521. <Column Name="SourceCode" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  522. <Column Name="SourceSequence" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  523. <Column Name="InvCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  524. <Column Name="Quantity" Type="System.Decimal" DbType="Decimal(18,6) NOT NULL" CanBeNull="false" />
  525. <Column Name="Amount" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  526. <Column Name="IssueQuantity" Type="System.Decimal" DbType="Decimal(18,6)" CanBeNull="true" />
  527. <Column Name="WHCode" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  528. <Column Name="Type" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  529. <Column Name="Status" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  530. <Column Name="CreatePerson" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  531. <Column Name="CreateDateTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  532. <Column Name="ApplyID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  533. <Column Name="ApplyDetailID" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  534. <Column Name="ExtensionID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  535. <Column Name="MUSER" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  536. <Column Name="MUSERName" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  537. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  538. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  539. <Column Name="EATTRIBUTE" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  540. <Column Name="SAPSequence" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  541. </Type>
  542. </Table>
  543. <Table Name="dbo.ICSInventoryDetail" Member="ICSInventoryDetail">
  544. <Type Name="ICSInventoryDetail">
  545. <Column Name="ID" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
  546. <Column Name="INVCode" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  547. <Column Name="WHCode" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  548. <Column Name="LocationCode" Type="System.String" DbType="NVarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  549. <Column Name="WorkPoint" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  550. <Column Name="MUSER" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  551. <Column Name="MUSERNAME" Type="System.String" DbType="NVarChar(20)" CanBeNull="true" />
  552. <Column Name="MTIME" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
  553. <Column Name="EATTRIBUTE1" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  554. <Column Name="EATTRIBUTE2" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  555. <Column Name="EATTRIBUTE3" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  556. <Column Name="EATTRIBUTE4" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  557. <Column Name="EATTRIBUTE5" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  558. <Column Name="EATTRIBUTE6" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  559. <Column Name="EATTRIBUTE7" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  560. <Column Name="EATTRIBUTE8" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  561. <Column Name="EATTRIBUTE9" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  562. <Column Name="EATTRIBUTE10" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
  563. </Type>
  564. </Table>
  565. <Table Name="dbo.Sys_SRM_Items" Member="Sys_SRM_Items">
  566. <Type Name="Sys_SRM_Items">
  567. <Column Name="F_Id" Type="System.String" DbType="VarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  568. <Column Name="F_ParentId" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  569. <Column Name="F_EnCode" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  570. <Column Name="F_FullName" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  571. <Column Name="F_IsTree" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
  572. <Column Name="F_Layers" Type="System.Int32" DbType="Int" CanBeNull="true" />
  573. <Column Name="F_SortCode" Type="System.Int32" DbType="Int" CanBeNull="true" />
  574. <Column Name="F_DeleteMark" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
  575. <Column Name="F_EnabledMark" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
  576. <Column Name="F_Description" Type="System.String" DbType="VarChar(500)" CanBeNull="true" />
  577. <Column Name="F_CreatorTime" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
  578. <Column Name="F_CreatorUserId" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  579. <Column Name="F_LastModifyTime" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
  580. <Column Name="F_LastModifyUserId" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  581. <Column Name="F_DeleteTime" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
  582. <Column Name="F_DeleteUserId" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  583. </Type>
  584. </Table>
  585. <Table Name="dbo.Sys_SRM_ItemsDetail" Member="Sys_SRM_ItemsDetail">
  586. <Type Name="Sys_SRM_ItemsDetail">
  587. <Column Name="F_Id" Type="System.String" DbType="VarChar(50) NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
  588. <Column Name="F_ItemId" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  589. <Column Name="F_ParentId" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  590. <Column Name="F_ItemCode" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  591. <Column Name="F_ItemName" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  592. <Column Name="F_SimpleSpelling" Type="System.String" DbType="VarChar(500)" CanBeNull="true" />
  593. <Column Name="F_IsDefault" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
  594. <Column Name="F_Layers" Type="System.Int32" DbType="Int" CanBeNull="true" />
  595. <Column Name="F_SortCode" Type="System.Int32" DbType="Int" CanBeNull="true" />
  596. <Column Name="F_DeleteMark" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
  597. <Column Name="F_EnabledMark" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
  598. <Column Name="F_Description" Type="System.String" DbType="VarChar(500)" CanBeNull="true" />
  599. <Column Name="F_CreatorTime" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
  600. <Column Name="F_CreatorUserId" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  601. <Column Name="F_LastModifyTime" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
  602. <Column Name="F_LastModifyUserId" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  603. <Column Name="F_DeleteTime" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
  604. <Column Name="F_DeleteUserId" Type="System.String" DbType="VarChar(50)" CanBeNull="true" />
  605. <Column Name="F_Define1" Type="System.String" DbType="VarChar(150)" CanBeNull="true" />
  606. <Column Name="F_Define2" Type="System.String" DbType="VarChar(150)" CanBeNull="true" />
  607. <Column Name="F_Define3" Type="System.String" DbType="VarChar(150)" CanBeNull="true" />
  608. <Column Name="F_Define4" Type="System.String" DbType="VarChar(150)" CanBeNull="true" />
  609. </Type>
  610. </Table>
  611. </Database>