xtract.Service_Ledger_Entry.sql 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE VIEW [xtract].[Service_Ledger_Entry] AS
  6. SELECT [timestamp]
  7. , [Entry No_]
  8. , [Order No_]
  9. , [Posting Date]
  10. , [Document No_]
  11. , [Type]
  12. , [No_]
  13. -- , [Description]
  14. -- , [Quantity]
  15. -- , [Direct Unit Cost]
  16. -- , [Unit Cost]
  17. -- , [Total Cost]
  18. -- , [Unit Price]
  19. , [Total Price]
  20. -- , [Unit of Measure Code]
  21. -- , [Res_ Efficiency Level _]
  22. -- , [Location Code]
  23. -- , [Chargeable]
  24. -- , [Resource Type]
  25. -- , [Service Posting Group]
  26. -- , [Department Code]
  27. -- , [Make Code]
  28. -- , [Work Type Code]
  29. -- , [Price Group Code]
  30. -- , [User ID]
  31. -- , [Source Code]
  32. -- , [Serial No_]
  33. -- , [Related to Budget]
  34. -- , [Amt_ to Post to G_L]
  35. -- , [Amt_ Posted to G_L]
  36. -- , [Amt_ to Recognize]
  37. -- , [Amt_ Recognized]
  38. -- , [Entry Type]
  39. -- , [Positive]
  40. , [Qty_ Evaluated]
  41. -- , [Journal Batch Name]
  42. -- , [Reason Code]
  43. -- , [Transaction Type]
  44. -- , [Transport Method]
  45. -- , [Country Code]
  46. -- , [Gen_ Bus_ Posting Group]
  47. , [Gen_ Prod_ Posting Group]
  48. -- , [Entry_Exit Point]
  49. -- , [Document Date]
  50. -- , [External Document No_]
  51. -- , [Area]
  52. -- , [Transaction Specification]
  53. -- , [No_ Series]
  54. -- , [Add_-Curr_ Total Cost]
  55. -- , [Add_-Currency Total Price]
  56. -- , [Add_-Curr_ Amount to Recognize]
  57. -- , [Add_-Curr_ Amt_ to Post to G_L]
  58. -- , [Add_-Curr_ Amount Recognized]
  59. -- , [Add_-Curr_ Amt_ Posted to G_L]
  60. -- , [Corrected]
  61. -- , [Dimension Set ID]
  62. -- , [Book No_]
  63. -- , [Variant Code]
  64. -- , [Bin Code]
  65. -- , [Qty_ per Unit of Measure]
  66. -- , [Quantity (Base)]
  67. -- , [Time Type]
  68. -- , [Service Job No_]
  69. -- , [Assoc_ Entry]
  70. -- , [Vehicle Type]
  71. -- , [Package No_]
  72. -- , [Sales Department Code]
  73. -- , [WIP Posting]
  74. -- , [Closed]
  75. -- , [VIN]
  76. -- , [Assoc_ Vehicle Entry No_]
  77. -- , [Data Make Code]
  78. -- , [Qty_ per Hour]
  79. -- , [Qty_ (Hour)]
  80. -- , [Item Group Code]
  81. -- , [Document Type]
  82. -- , [Vehicle Type Code]
  83. -- , [Vehicle Category Code]
  84. -- , [Vehicle Status]
  85. -- , [Branch Book No_]
  86. -- , [Market Segment Code]
  87. -- , [Main Group Code]
  88. -- , [Subgroup Code]
  89. -- , [Line Group Code]
  90. -- , [Customer Group Code]
  91. -- , [Charging Group No_]
  92. -- , [Standard Time]
  93. -- , [Standard Time Type]
  94. -- , [Source Type]
  95. -- , [Source No_]
  96. -- , [Source No_ (Payment)]
  97. -- , [Main Customer]
  98. -- , [Order Line No_]
  99. -- , [Time From]
  100. -- , [Time Until]
  101. -- , [Internal Charged]
  102. -- , [Branch Code]
  103. -- , [Standard Time (Hours)]
  104. -- , [Order Completed]
  105. -- , [Value Increasing Measure]
  106. -- , [Time Clock Entry No_]
  107. -- , [Inventory Posting Group Type]
  108. -- , [Inventory Posting Group]
  109. -- , [Option Code]
  110. -- , [Sales Branch Code]
  111. -- , [Posting Date (last Invoice)]
  112. -- , [Open]
  113. -- , [Closed by Entry No_]
  114. -- , [Closed at Date]
  115. -- , [Closed by Quantity]
  116. -- , [Open Quantity]
  117. -- , [Int_ Customer Portion _]
  118. -- , [Int_ Chargeable Amount]
  119. -- , [Amount Internally (Add_ Curr_)]
  120. -- , [Int_ Charged Amount]
  121. -- , [Add_-Curr_ Int_ Charged Amount]
  122. -- , [Labor Standard Time Type]
  123. -- , [Salesperson__Purch_ Code]
  124. -- , [Service Advisor No_]
  125. -- , [Employee No_]
  126. -- , [Task Type Code]
  127. -- , [License No_]
  128. -- , [Mileage]
  129. -- , [Running Time]
  130. , [Discount Amount]
  131. -- , [Package Version No_]
  132. -- , [Creation Date]
  133. -- , [Creation Time]
  134. -- , [Res_ Assignm_ Posted]
  135. -- , [Cust_ Split Portion _]
  136. , [Client_DB]
  137. FROM [GC_TRANSIT_ARI].[import].[Service_Ledger_Entry]
  138. GO
  139. SET QUOTED_IDENTIFIER OFF
  140. GO
  141. SET ANSI_NULLS OFF
  142. GO
  143. GO