xtract.Service_Line.sql 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE VIEW [xtract].[Service_Line] AS
  6. SELECT [timestamp]
  7. , [Document Type]
  8. , [Document No_]
  9. , [Line No_]
  10. -- , [Sell-to Customer No_]
  11. -- , [Type]
  12. -- , [No_]
  13. -- , [Location Code]
  14. -- , [Posting Group]
  15. -- , [Quantity Disc_ Code]
  16. -- , [Order Date]
  17. -- , [Description]
  18. -- , [Description 2]
  19. -- , [Unit of Measure]
  20. -- , [Quantity]
  21. -- , [Outstanding Quantity]
  22. -- , [Qty_ to Invoice]
  23. -- , [Qty_ to Ship]
  24. -- , [Unit Price]
  25. -- , [Unit Cost (LCY)]
  26. -- , [VAT _]
  27. -- , [Quantity Disc_ _]
  28. -- , [Line Discount _]
  29. -- , [Line Discount Amount]
  30. , [Amount]
  31. -- , [Amount Including VAT]
  32. -- , [Gross Weight]
  33. -- , [Net Weight]
  34. -- , [Units per Parcel]
  35. -- , [Unit Volume]
  36. -- , [Appl_-to Item Entry]
  37. -- , [Department Code]
  38. -- , [Make Code]
  39. -- , [Price Group Code]
  40. -- , [Allow Quantity Disc_]
  41. -- , [Serial No_]
  42. -- , [Cust__Item Disc_ _]
  43. -- , [Outstanding Amount]
  44. -- , [Qty_ Shipped Not Invoiced]
  45. -- , [Shipped Not Invoiced]
  46. -- , [Quantity Shipped]
  47. -- , [Quantity Invoiced]
  48. -- , [Profit _]
  49. -- , [Bill-to Customer No_]
  50. -- , [Gen_ Bus_ Posting Group]
  51. -- , [Gen_ Prod_ Posting Group]
  52. -- , [VAT Calculation Type]
  53. -- , [Transaction Type]
  54. -- , [Transport Method]
  55. -- , [Attached to Line No_]
  56. -- , [Exit Point]
  57. -- , [Area]
  58. -- , [Transaction Specification]
  59. -- , [Tax Area Code]
  60. -- , [Tax Liable]
  61. -- , [Tax Group Code]
  62. -- , [VAT Bus_ Posting Group]
  63. -- , [VAT Prod_ Posting Group]
  64. -- , [Currency Code]
  65. -- , [Outstanding Amount (LCY)]
  66. -- , [Shipped Not Invoiced (LCY)]
  67. -- , [Reserved Quantity]
  68. -- , [Reserve]
  69. -- , [VAT Base Amount]
  70. -- , [Unit Cost]
  71. -- , [System-Created Entry]
  72. -- , [Activity Creation]
  73. -- , [Appointment Line]
  74. -- , [Option Code]
  75. -- , [Dimension Set ID]
  76. -- , [Last Changed]
  77. -- , [Virtual Record]
  78. -- , [Book No_]
  79. -- , [Variant Code]
  80. -- , [Bin Code]
  81. -- , [Qty_ per Unit of Measure]
  82. -- , [Planned]
  83. -- , [Unit of Measure Code]
  84. -- , [Quantity (Base)]
  85. -- , [Outstanding Qty_ (Base)]
  86. -- , [Qty_ to Invoice (Base)]
  87. -- , [Qty_ to Ship (Base)]
  88. -- , [Qty_ Shipped Not Invd_ (Base)]
  89. -- , [Qty_ Shipped (Base)]
  90. -- , [Qty_ Invoiced (Base)]
  91. -- , [Reserved Qty_ (Base)]
  92. -- , [Appl_-from Item Entry]
  93. -- , [Qty_ Invoiced (Hour)]
  94. -- , [No Service Surcharge]
  95. -- , [Service Job No_]
  96. -- , [Standard Time]
  97. -- , [Qty_ per Hour]
  98. -- , [Qty_ (Hour)]
  99. -- , [Outstanding Qty_ (Hour)]
  100. -- , [Qty_ Rcd_ Not Invoiced (Hour)]
  101. -- , [Qty_ Shipped (Hour)]
  102. -- , [Package No_]
  103. -- , [Data Make Code]
  104. -- , [Vehicle Appointment Code]
  105. -- , [Next Appointment on]
  106. -- , [Next Appointment at Mileage]
  107. -- , [Additional Item]
  108. -- , [Quantity Multiplier]
  109. -- , [Package Version No_]
  110. -- , [No Charge]
  111. -- , [Allow Discount]
  112. -- , [Exch_ Parts Tax Base]
  113. -- , [Exch_ Parts Tax _]
  114. -- , [Exch_ Parts Tax Amount]
  115. -- , [Exch_ Parts VAT _]
  116. -- , [Service Posting Group]
  117. -- , [Sales Department Code]
  118. -- , [Fixed Price]
  119. -- , [Standard Time Type]
  120. -- , [Fair Deal]
  121. -- , [Text Line Link]
  122. -- , [Surcharge Code]
  123. -- , [Post with Book No_]
  124. -- , [Sending Required]
  125. -- , [Suppress in Order]
  126. -- , [Purchase Receipt]
  127. -- , [Purch_ Rcpt_ Line]
  128. -- , [Find No_]
  129. -- , [Dimension Change]
  130. -- , [Value Increasing Measure]
  131. -- , [Inventory Posting Group Type]
  132. -- , [Inventory Posting Group]
  133. -- , [Shelf_Bin No_]
  134. -- , [Sales Branch Code]
  135. -- , [Coded Part Type]
  136. -- , [Line Document Status]
  137. -- , [Process Type]
  138. -- , [Availability Entry No_]
  139. -- , [Next Appoint_ at Running Time]
  140. -- , [VAT Difference Amount]
  141. -- , [Manual VAT Amount]
  142. -- , [VAT Amount]
  143. -- , [Calculated VAT Amount]
  144. -- , [Original Amount]
  145. -- , [Original Amount Incl_ VAT]
  146. -- , [Req_ Worksheet Name]
  147. -- , [Disable for Requisition]
  148. -- , [Labor Standard Time Type]
  149. -- , [Open Autom_ Stock Info_ Page]
  150. -- , [Blocked]
  151. -- , [Serv_ Contract Type]
  152. -- , [VAT Identifier]
  153. -- , [Has Fixed Price]
  154. -- , [EU Tire Data Code]
  155. -- , [Resource No_]
  156. -- , [Pickup Date]
  157. -- , [Availability]
  158. -- , [Autom_ Rounding Disc_ _]
  159. -- , [Autom_ Rounding Disc_ Amount]
  160. , [Client_DB]
  161. FROM [GC_TRANSIT_ARI].[import].[Service_Line]
  162. GO
  163. SET QUOTED_IDENTIFIER OFF
  164. GO
  165. SET ANSI_NULLS OFF
  166. GO
  167. GO