Default FTE to 100% in case there is no position provided
This commit is contained in:
@@ -63,7 +63,7 @@ joined_data AS (
|
|||||||
COALESCE(d.path::ltree, d2.path::ltree) AS employment_department_path,
|
COALESCE(d.path::ltree, d2.path::ltree) AS employment_department_path,
|
||||||
NULL::VARCHAR(254) AS email,
|
NULL::VARCHAR(254) AS email,
|
||||||
NULL::DATE AS employment_earliest_retirement_date,
|
NULL::DATE AS employment_earliest_retirement_date,
|
||||||
ROUND(p.fte_utilized_by_employee_in_this_position * 100)::INTEGER AS employment_fte_percentage,
|
COALESCE(ROUND(p.fte_utilized_by_employee_in_this_position * 100)::INTEGER, 100) AS employment_fte_percentage,
|
||||||
NULL::INTEGER AS salary_hay_grade,
|
NULL::INTEGER AS salary_hay_grade,
|
||||||
NULL::VARCHAR(3) AS salary_currency,
|
NULL::VARCHAR(3) AS salary_currency,
|
||||||
NULL::INTEGER AS salary_yearly_gross_fixed,
|
NULL::INTEGER AS salary_yearly_gross_fixed,
|
||||||
|
|||||||
Reference in New Issue
Block a user