Employee_List.iqd 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. COGNOS QUERY
  2. STRUCTURE,1,1
  3. DATABASE,Locosoft_GC
  4. DATASOURCENAME,C:\GlobalCube\System\LOCOSOFT\IQD\Zeit\Employee_List.imr
  5. TITLE,Employee_List.imr
  6. BEGIN SQL
  7. select T1."employee_number" as c1,
  8. RSUM(T1."employee_number") as c2,
  9. T1."validity_date" as c3,
  10. T1."is_latest_record" as c4,
  11. T1."subsidiary" as c5,
  12. RSUM(T1."subsidiary") as c6,
  13. T1."has_constant_salary" as c7,
  14. T1."name" as c8,
  15. T1."initials" as c9,
  16. T1."customer_number" as c10,
  17. RSUM(T1."customer_number") as c11,
  18. T1."mechanic_number" as c12,
  19. RSUM(T1."mechanic_number") as c13,
  20. T1."salesman_number" as c14,
  21. RSUM(T1."salesman_number") as c15,
  22. T1."is_business_executive" as c16,
  23. T1."is_master_craftsman" as c17,
  24. T1."employment_date" as c18,
  25. T1."termination_date" as c19,
  26. T1."leave_date" as c20,
  27. T1."is_flextime" as c21,
  28. RSUM(T1."is_flextime") as c22,
  29. T1."break_time_registration" as c23,
  30. T1."productivity_factor" as c24,
  31. RSUM(T1."productivity_factor") as c25,
  32. '1' as c26,
  33. '' as c27
  34. from "dbo"."employees" T1
  35. END SQL
  36. COLUMN,0,Employee Number
  37. COLUMN,1,Summe (Employee Number) Nr.1
  38. COLUMN,2,Validity Date
  39. COLUMN,3,Is Latest Record
  40. COLUMN,4,Subsidiary
  41. COLUMN,5,Summe (Subsidiary) Nr.1
  42. COLUMN,6,Has Constant Salary
  43. COLUMN,7,Name
  44. COLUMN,8,Initials
  45. COLUMN,9,Customer Number
  46. COLUMN,10,Summe (Customer Number) Nr.1
  47. COLUMN,11,Mechanic Number
  48. COLUMN,12,Summe (Mechanic Number) Nr.1
  49. COLUMN,13,Salesman Number
  50. COLUMN,14,Summe (Salesman Number) Nr.1
  51. COLUMN,15,Is Business Executive
  52. COLUMN,16,Is Master Craftsman
  53. COLUMN,17,Employment Date
  54. COLUMN,18,Termination Date
  55. COLUMN,19,Leave Date
  56. COLUMN,20,Is Flextime
  57. COLUMN,21,Summe (Is Flextime) Nr.1
  58. COLUMN,22,Break Time Registration
  59. COLUMN,23,Productivity Factor
  60. COLUMN,24,Summe (Productivity Factor) Nr.1
  61. COLUMN,25,Client_DB
  62. COLUMN,26,Department