xtract.Item.sql 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE VIEW [xtract].[Item] AS
  6. SELECT [timestamp]
  7. , [No_]
  8. -- , [No_ 2]
  9. , [Description]
  10. -- , [Search Description]
  11. -- , [Description 2]
  12. -- , [Class]
  13. -- , [Base Unit of Measure]
  14. -- , [Price Unit Conversion]
  15. -- , [Inventory Posting Group]
  16. -- , [Shelf No_]
  17. -- , [Sales Qty_ Disc_ Code]
  18. -- , [Cust__Item Disc_ Gr_]
  19. -- , [Allow Invoice Disc_]
  20. -- , [Statistics Group]
  21. -- , [Commission Group]
  22. -- , [Unit Price]
  23. -- , [Price_Profit Calculation]
  24. -- , [Profit _]
  25. -- , [Costing Method]
  26. -- , [Unit Cost]
  27. -- , [Standard Cost]
  28. -- , [Last Direct Cost]
  29. -- , [Average Cost]
  30. -- , [Minimum Unit Price]
  31. -- , [Indirect Cost _]
  32. -- , [Cost is Adjusted]
  33. -- , [Vendor No_]
  34. -- , [Vendor Item No_]
  35. -- , [Lead Time Calculation]
  36. -- , [Reorder Point]
  37. -- , [Maximum Inventory]
  38. -- , [Reorder Quantity]
  39. -- , [Alternative Item No_]
  40. -- , [Unit List Price]
  41. -- , [Duty Due _]
  42. -- , [Duty Code]
  43. -- , [Gross Weight]
  44. -- , [Net Weight]
  45. -- , [Units per Parcel]
  46. -- , [Unit Volume]
  47. -- , [Durability]
  48. -- , [Freight Type]
  49. -- , [Tariff No_]
  50. -- , [Duty Unit Conversion]
  51. -- , [Country Purchased Code]
  52. -- , [Budget Quantity]
  53. -- , [Budgeted Amount]
  54. -- , [Budget Profit]
  55. -- , [Blocked]
  56. -- , [Last Date Modified]
  57. -- , [Price Includes VAT]
  58. -- , [VAT Bus_ Posting Gr_ (Price)]
  59. -- , [Gen_ Prod_ Posting Group]
  60. -- , [Picture]
  61. -- , [Country of Origin Code]
  62. -- , [Automatic Ext_ Texts]
  63. -- , [No_ Series]
  64. -- , [Tax Group Code]
  65. -- , [VAT Prod_ Posting Group]
  66. -- , [Reserve]
  67. -- , [Average Cost (Add_ Curr_)]
  68. -- , [Global Dimension 1 Code]
  69. -- , [Stockout Warning]
  70. -- , [Prevent Negative Inventory]
  71. -- , [Application Wksh_ User ID]
  72. -- , [Low-Level Code]
  73. -- , [Lot Size]
  74. -- , [Serial Nos_]
  75. -- , [Last Unit Cost Calc_ Date]
  76. -- , [Material Cost per Unit]
  77. -- , [Labor Cost per Unit]
  78. -- , [Indirect Cost per Unit]
  79. -- , [Scrap _]
  80. -- , [Requisition Method Code]
  81. -- , [Inventory Value Zero]
  82. -- , [Combine No_ of Cycles]
  83. -- , [Minimum Order Quantity]
  84. -- , [Maximum Order Quantity]
  85. -- , [Inventory Buffer Quantity]
  86. -- , [Order Multiple]
  87. -- , [Safety Lead Time]
  88. -- , [Posting Method]
  89. -- , [Requisition System]
  90. -- , [Rounding Precision]
  91. -- , [Sales Unit of Measure Code]
  92. -- , [Purch_ Unit of Measure Code]
  93. -- , [Reorder Cycle]
  94. -- , [No Inventory Tracking]
  95. -- , [List Price (LCY)]
  96. -- , [Item Group Code]
  97. -- , [Manual Price Calculation]
  98. -- , [Unit Price incl_ VAT]
  99. -- , [Deposit for Main Item]
  100. -- , [Item Type]
  101. -- , [Make Code]
  102. -- , [Vehicle Type Code]
  103. -- , [Vehicle Category Code]
  104. -- , [Emissions Test Category Code]
  105. -- , [Engine Code]
  106. -- , [Model Code]
  107. -- , [Warranty Percentage]
  108. -- , [Valid-From Date]
  109. -- , [Engine Type Code]
  110. -- , [Transmission Type Code]
  111. -- , [Cylinder Capacity (ccm)]
  112. -- , [No_ of Cylinders]
  113. -- , [Power (kW)]
  114. -- , [Power (hp)]
  115. -- , [Tires]
  116. -- , [Empty Weight (kg)]
  117. -- , [Total Weight (kg)]
  118. -- , [Roof Load (kg)]
  119. -- , [Trailer Load (kg)]
  120. -- , [Trailer Tongue Load (kg)]
  121. -- , [4WD]
  122. -- , [No_ of Axles]
  123. -- , [Wheelbase (mm)]
  124. -- , [Front Axle Load (kg)]
  125. -- , [Rear Axle Load (kg)]
  126. -- , [Market Segment Code]
  127. -- , [No_ of Doors]
  128. -- , [Vehicle Type]
  129. -- , [Minimum Purchase Qty_ (Base)]
  130. -- , [Manufacturer Req_ Status]
  131. -- , [Requisition Status]
  132. -- , [Requisition Group]
  133. -- , [Manual Requisition]
  134. -- , [Blocked Qty_]
  135. -- , [Main Group Code]
  136. -- , [Subgroup Code]
  137. -- , [Line Group Code]
  138. -- , [Labor Type]
  139. -- , [Replacement Status]
  140. -- , [Old Replacement Status]
  141. -- , [Update Description]
  142. -- , [Allow Discount]
  143. -- , [List Price incl_ VAT (LCY)]
  144. -- , [Labor Charging Code]
  145. -- , [Rpl_ Status Reset User ID]
  146. -- , [Rpl_ Status Reset Date]
  147. -- , [Sending Required]
  148. -- , [Option Class]
  149. -- , [No Service Surcharge]
  150. -- , [Last Time Modified]
  151. -- , [Creation Date]
  152. -- , [Creation Time]
  153. -- , [Deposit Validity in Days]
  154. -- , [Print Options]
  155. -- , [Print Unit Price]
  156. -- , [Valid-To Date]
  157. -- , [Not Available for New Sales]
  158. -- , [Coded Part Type]
  159. -- , [Model Year]
  160. -- , [Top Speed]
  161. -- , [Acceleration]
  162. -- , [Desc_ Trans_ to Vehicle Option]
  163. -- , [Last Landed Unit Cost]
  164. -- , [Duty Due Amount]
  165. -- , [Freight _]
  166. -- , [Freight Amount]
  167. -- , [Supply Req_ Worksheet Template]
  168. -- , [Ext_ Warehouse Inventory]
  169. -- , [ABC Code]
  170. -- , [Pick Release Code]
  171. -- , [Special Waste]
  172. -- , [Special Waste Group Code]
  173. -- , [Dangerous Goods Indicator]
  174. -- , [Dangerous Goods Code]
  175. -- , [No_ of Seats]
  176. -- , [Dangerous Goods Class]
  177. -- , [UN No_]
  178. -- , [Seasonal Factor]
  179. -- , [Manual Requisition from Date]
  180. -- , [Min_ Packaging Qty_ (Base)]
  181. -- , [Replenishment Flag Code]
  182. -- , [Manufacturer Line Count]
  183. -- , [Manufacturer Req_ from Date]
  184. -- , [Bulk Pack Quantity (Base)]
  185. -- , [Manufacturer Req_ Remark]
  186. -- , [Update Alternative Parts Prio_]
  187. -- , [Original Part]
  188. -- , [Quality]
  189. -- , [Proposal for Alternative Part]
  190. -- , [Manufacturer No_]
  191. -- , [Select Unit Price]
  192. -- , [Accept posting group from Veh_]
  193. -- , [e-Part]
  194. -- , [Bonus Code]
  195. -- , [Ship Proposal Transfer Prio]
  196. -- , [Check of Serial No_]
  197. -- , [National Tariff No_]
  198. -- , [Parts Category]
  199. -- , [Parts Family]
  200. -- , [Container Package Qty_ (Base)]
  201. -- , [Distribution Code]
  202. -- , [Maximum Inventory Limit]
  203. -- , [Manuf_ Replacement Status]
  204. -- , [Emission Standard Code]
  205. -- , [Diesel Particulate Filter]
  206. -- , [Template Code]
  207. -- , [Tire Item]
  208. -- , [EU Tire Data Code]
  209. -- , [Inverse Item No_]
  210. -- , [Drive]
  211. -- , [Engine Speed Rate Output]
  212. -- , [Maximum Torque]
  213. -- , [Axle -3 Load (kg)]
  214. -- , [Axle -4 Load (kg)]
  215. -- , [Length (mm)]
  216. -- , [Width (mm)]
  217. -- , [Height (mm)]
  218. -- , [Common Item No_]
  219. , [Client_DB]
  220. FROM [GC_TRANSIT_ARI].[import].[Item]
  221. GO
  222. SET QUOTED_IDENTIFIER OFF
  223. GO
  224. SET ANSI_NULLS OFF
  225. GO
  226. GO