xtract.labours.sql 692 B

123456789101112131415161718192021222324252627282930313233343536
  1. SET QUOTED_IDENTIFIER ON
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. CREATE VIEW [xtract].[labours] AS
  6. SELECT [client_db]
  7. , [order_number]
  8. -- , [order_position]
  9. -- , [order_position_line]
  10. -- , [subsidiary]
  11. -- , [is_invoiced]
  12. , [invoice_type]
  13. , [invoice_number]
  14. -- , [employee_no]
  15. , [mechanic_no]
  16. -- , [labour_operation_id]
  17. -- , [is_nominal]
  18. , [time_units]
  19. , [net_price_in_order]
  20. -- , [rebate_percent]
  21. -- , [goodwill_percent]
  22. , [charge_type]
  23. -- , [text_line]
  24. -- , [usage_value]
  25. -- , [negative_flag]
  26. , [labour_type]
  27. FROM [LOCOSOFT].[dbo].[labours]
  28. GO
  29. SET QUOTED_IDENTIFIER OFF
  30. GO
  31. SET ANSI_NULLS OFF
  32. GO
  33. GO