xtract.Value_Entry.sql 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE VIEW [xtract].[Value_Entry] AS
  6. SELECT [timestamp]
  7. -- , [Entry No_]
  8. -- , [Item No_]
  9. -- , [Posting Date]
  10. -- , [Item Ledger Entry Type]
  11. -- , [Source No_]
  12. , [Document No_]
  13. -- , [Description]
  14. -- , [Location Code]
  15. -- , [Inventory Posting Group]
  16. -- , [Source Posting Group]
  17. -- , [Item Ledger Entry No_]
  18. -- , [Valued Quantity]
  19. -- , [Item Ledger Entry Quantity]
  20. , [Invoiced Quantity]
  21. -- , [Cost per Unit]
  22. -- , [Amount]
  23. -- , [Salespers__Purch_ Code]
  24. -- , [Discount Amount]
  25. -- , [User ID]
  26. -- , [Source Code]
  27. -- , [Applies-to Entry]
  28. -- , [Global Dimension 1 Code]
  29. -- , [Global Dimension 2 Code]
  30. -- , [Source Type]
  31. -- , [Adjusted Cost]
  32. -- , [Cost Posted to G_L]
  33. -- , [Reason Code]
  34. -- , [Drop Shipment]
  35. -- , [Journal Batch Name]
  36. -- , [Gen_ Bus_ Posting Group]
  37. -- , [Gen_ Prod_ Posting Group]
  38. -- , [Document Date]
  39. -- , [External Document No_]
  40. -- , [Adjusted Cost (ACY)]
  41. -- , [Cost Posted to G_L (ACY)]
  42. -- , [Cost per Unit (ACY)]
  43. -- , [Document Line No_]
  44. -- , [Order Line No_]
  45. -- , [Expected Cost]
  46. -- , [Item Charge No_]
  47. -- , [Valued by Average Cost]
  48. -- , [Partial Revaluation]
  49. -- , [Inventoriable]
  50. -- , [Valuation Date]
  51. -- , [Entry Type]
  52. -- , [Variance Type]
  53. -- , [G_L Entry No_ (Account)]
  54. -- , [G_L Entry No_ (Bal_ Account)]
  55. -- , [Dimension Set ID]
  56. -- , [Book No_]
  57. -- , [Prod_ Order No_]
  58. -- , [Variant Code]
  59. -- , [Bin Code]
  60. -- , [Adjustment]
  61. -- , [Capacity Ledger Entry No_]
  62. -- , [Type]
  63. -- , [No_]
  64. -- , [Prod_ Order Line No_]
  65. -- , [Return Reason Code]
  66. , [Item Type]
  67. -- , [Invoice Discount]
  68. -- , [Quantity Discount]
  69. -- , [Sales Discount]
  70. -- , [Sales Surcharge]
  71. -- , [Main Area]
  72. -- , [Source No_ (Payment)]
  73. -- , [Order No_]
  74. -- , [Deposit Item]
  75. -- , [Branch Code]
  76. -- , [Creation Date]
  77. -- , [Creation Time]
  78. -- , [VIN]
  79. -- , [Split Amount]
  80. -- , [Split Amount (ACY)]
  81. -- , [Division Code]
  82. -- , [ABC Rank]
  83. -- , [Purch__Sales Order Type]
  84. -- , [Purch__Sales Order No_]
  85. -- , [Factory No_]
  86. -- , [Int_ Customer Portion _]
  87. -- , [Vehicle Status]
  88. -- , [Salesperson Code 2]
  89. , [Client_DB]
  90. FROM [GC_TRANSIT_ARI].[import].[Value_Entry]
  91. GO
  92. SET QUOTED_IDENTIFIER OFF
  93. GO
  94. SET ANSI_NULLS OFF
  95. GO
  96. GO