|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
<VUE name="RH000009" label="RH. Détail [DICT.RH.SALARIE#2]"
|
|
|
database="iCTI"
|
|
|
swf="*CTI_view1"
|
|
|
globals="RH_globals.XML"
|
|
|
componentsFile="RH_components.XML"
|
|
|
softCode="iCTI_rh"
|
|
|
dboptimizer="RH_dboptimizer.XML"
|
|
|
helpDokuWIkiDir="rh:vues:recherche_par_criteres" helpDokuWIkiFile="rh000009" helpFile="">
|
|
|
<CACHE cachable="false" />
|
|
|
<title><![CDATA[=
|
|
|
|
|
|
var toReturn = 'Détail [DICT.RH.SALARIE#2] : ';
|
|
|
|
|
|
switch (VIEW.ACTION_AFFICHAGE) {
|
|
|
case 'MESSAGE' :
|
|
|
toReturn += 'aucun résultat pour "[EVAL return utf8_decode('[MATRICULE]'); EVAL]"';
|
|
|
break;
|
|
|
case 'AFFICHER' :
|
|
|
toReturn += VIEW.SALARIE_TEXTE + ' (' + VIEW.SALARIE_CODE + ')';
|
|
|
break;
|
|
|
case 'LISTER' :
|
|
|
toReturn += 'sélectionnez un salarié dans la liste';
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
return toReturn;
|
|
|
|
|
|
]]></title>
|
|
|
<VIEWPROPERTIES>
|
|
|
<PROPERTY dataLink="VIEWPROPERTIES" nameField="name" valueField="value"/>
|
|
|
</VIEWPROPERTIES>
|
|
|
<SELECTIONS label="[DICT.RH.SALARIE] à détailler">
|
|
|
<GROUP>
|
|
|
<FIELD name="MATRICULE" label="Matricule ou nom" UI="text" default="" />
|
|
|
</GROUP>
|
|
|
<GROUP>
|
|
|
<FIELD name="SALARIE_ID" label="id [DICT.RH.SALARIE#2]" UI="number" default="0" enabled="false" visible="false"/>
|
|
|
</GROUP>
|
|
|
<GROUP>
|
|
|
<FIELD name="CONTRAT_ID" label="ou id contrat" UI="number" default="0" enabled="false" visible="false"/>
|
|
|
</GROUP>
|
|
|
</SELECTIONS>
|
|
|
<QUERIES>
|
|
|
<QUERY label="Fiche [DICT.RH.SALARIE]">
|
|
|
<SQL>
|
|
|
<select><![CDATA[
|
|
|
-- Ajout de la partie SAE
|
|
|
-- Récupération de toutes les informations SAE par rapports aux contrats du salarié
|
|
|
DROP TABLE IF EXISTS sae_contrats
|
|
|
;
|
|
|
|
|
|
CREATE TEMP TABLE sae_contrats AS
|
|
|
SELECT
|
|
|
annee,
|
|
|
mois_activite_debut_id,
|
|
|
mois_activite_fin_id,
|
|
|
salarie_id,
|
|
|
contrat_code, -- On se base sur le numéro de contrat car les contrat_id dans les tables SAE ne correspondent pas au salarié
|
|
|
-- contrat_id,
|
|
|
groupe_discipline_texte,
|
|
|
qualification_texte,
|
|
|
filiere_texte
|
|
|
FROM rh.p_sae_contrats
|
|
|
WHERE salarie_id = [VIEW.SALARIE_ID]
|
|
|
;
|
|
|
|
|
|
-- Vérification de la présence de SAE sur l'environnement
|
|
|
DROP TABLE IF EXISTS sae_active
|
|
|
;
|
|
|
|
|
|
CREATE TEMP TABLE sae_active AS
|
|
|
SELECT EXISTS (
|
|
|
SELECT *
|
|
|
FROM information_schema.tables
|
|
|
WHERE table_schema = 'ssae'
|
|
|
) AS module_active
|
|
|
;
|
|
|
|
|
|
-- Dernières informations SAE du salarié
|
|
|
DROP TABLE IF EXISTS sae_dernieres_infos
|
|
|
;
|
|
|
|
|
|
CREATE TEMP TABLE sae_dernieres_infos AS
|
|
|
SELECT
|
|
|
salarie_id,
|
|
|
groupe_discipline_texte,
|
|
|
qualification_texte,
|
|
|
filiere_texte
|
|
|
FROM sae_contrats
|
|
|
ORDER BY mois_activite_fin_id DESC
|
|
|
LIMIT 1
|
|
|
;
|
|
|
|
|
|
-- Récupération des données standards du salarié
|
|
|
SELECT
|
|
|
v_salaries_1.finess,
|
|
|
v_salaries_1.salarie_id,
|
|
|
v_salaries_1.salarie_code || CASE WHEN v_salaries_1.salarie_fusionne_id <> 0 THEN ' (fusionné vers ' || v_salaries_fusionnes_1.salarie_code || ')' ELSE '' END AS matricule,
|
|
|
v_salaries_1.salarie_texte,
|
|
|
v_salaries_1.date_naissance,
|
|
|
v_salaries_1.sexe_code,
|
|
|
COALESCE(v_salaries_1.nir_code, 'Non renseigné'),
|
|
|
date_part('year', age(v_salaries_1.date_naissance)) AS age,
|
|
|
v_salaries_1.situation_famille_texte,
|
|
|
v_salaries_1.nationalite_texte,
|
|
|
v_salaries_1.code_postal_code || ' ' || v_salaries_1.code_postal_texte,
|
|
|
v_salaries_1.date_anciennete,
|
|
|
v_salaries_1.date_entree_ets,
|
|
|
CASE WHEN v_salaries_1.date_sortie_ets != '20991231' THEN v_salaries_1.date_sortie_ets ELSE null END,
|
|
|
(SELECT replace(round(max(anciennete_jours) / 365.25, 2), '.', ',') FROM rh.v_contrats_1 WHERE v_contrats_1.salarie_id = v_salaries_1.salarie_id)||' ans' AS anciennete,
|
|
|
(SELECT replace(round(max(anciennete_reprise_jours) / 365.25, 2), '.', ',') FROM rh.v_contrats_1 WHERE v_contrats_1.salarie_id = v_salaries_1.salarie_id)||' ans' AS anciennete_reprise,
|
|
|
v_salaries_1.date_debut_contrat,
|
|
|
CASE WHEN v_salaries_1.date_fin_contrat != '20991231' THEN v_salaries_1.date_fin_contrat ELSE null END,
|
|
|
v_salaries_1.type_contrat_code || ' ' || v_salaries_1.type_contrat_texte,
|
|
|
v_salaries_1.motif_debut_code || ' ' || v_salaries_1.motif_debut_texte,
|
|
|
CASE WHEN v_salaries_1.motif_fin_id <> 0 THEN v_salaries_1.motif_fin_code || ' ' || v_salaries_1.motif_fin_texte ELSE '' END,
|
|
|
v_salaries_1.qualification_code || ' ' || v_salaries_1.qualification_texte,
|
|
|
v_salaries_1.service_code || ' ' || v_salaries_1.service_texte,
|
|
|
v_salaries_1.specialite_code || ' ' || v_salaries_1.specialite_texte,
|
|
|
v_salaries_1.type_temps_travail_code || ' ' || v_salaries_1.type_temps_travail_texte || CASE WHEN v_salaries_1.type_horaire_id <> 0 THEN ' (' || v_salaries_1.type_horaire_texte || ')' ELSE '' END,
|
|
|
v_salaries_1.categorie_socio_professionnelle_code || ' ' || v_salaries_1.categorie_socio_professionnelle_texte,
|
|
|
v_salaries_1.statut_code || ' ' || v_salaries_1.statut_texte,
|
|
|
v_salaries_1.code_emploi_code || ' ' || v_salaries_1.code_emploi_texte,
|
|
|
v_salaries_1.groupe_cotisant_code || ' ' || v_salaries_1.groupe_cotisant_texte,
|
|
|
v_salaries_1.grille_code || ' ' || v_salaries_1.grille_groupe_code,
|
|
|
v_salaries_1.societe_interim_code || ' ' || v_salaries_1.societe_interim_texte,
|
|
|
v_salaries_1.entreprise_texte,
|
|
|
v_salaries_1.unite_fonctionnelle_code || ' ' || v_salaries_1.unite_fonctionnelle_texte,
|
|
|
v_salaries_1.lettre_budgetaire_code || ' ' || v_salaries_1.lettre_budgetaire_texte,
|
|
|
v_salaries_1.commission_paritaire_code || ' ' || v_salaries_1.commission_paritaire_texte,
|
|
|
v_salaries_1.compte_salarie_code || ' ' || v_salaries_1.compte_salarie_texte,
|
|
|
v_salaries_1.categorie_conge_code || ' ' || v_salaries_1.categorie_conge_texte,
|
|
|
v_salaries_1.filiere_code || ' ' || v_salaries_1.filiere_texte,
|
|
|
v_salaries_1.cadre_emploi_code || ' ' || v_salaries_1.cadre_emploi_texte,
|
|
|
v_salaries_1.categorie_statutaire_code || ' ' || v_salaries_1.categorie_statutaire_texte,
|
|
|
'Non renseigné' AS rqth,
|
|
|
CASE
|
|
|
WHEN (SELECT module_active FROM sae_active) -- Si module activé
|
|
|
THEN COALESCE(sae_dernieres_infos.groupe_discipline_texte, 'Pas de donnée')
|
|
|
ELSE 'Module SAE non activé'
|
|
|
END,
|
|
|
CASE
|
|
|
WHEN (SELECT module_active FROM sae_active) -- Si module activé
|
|
|
THEN COALESCE(sae_dernieres_infos.qualification_texte, 'Pas de donnée')
|
|
|
ELSE 'Module SAE non activé'
|
|
|
END,
|
|
|
CASE
|
|
|
WHEN (SELECT module_active FROM sae_active) -- Si module activé
|
|
|
THEN COALESCE(sae_dernieres_infos.filiere_texte, 'Pas de donnée')
|
|
|
ELSE 'Module SAE non activé'
|
|
|
END
|
|
|
FROM rh.v_salaries_1
|
|
|
LEFT JOIN rh.v_salaries_1 AS v_salaries_fusionnes_1 ON v_salaries_1.salarie_fusionne_id = v_salaries_fusionnes_1.salarie_id
|
|
|
LEFT JOIN sae_dernieres_infos ON sae_dernieres_infos.salarie_id = v_salaries_1.salarie_id
|
|
|
WHERE v_salaries_1.salarie_id = [VIEW.SALARIE_ID]
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="FIN"/>
|
|
|
<FIELD name="SALARIE_ID"/>
|
|
|
<FIELD name="SALARIE_CODE"/>
|
|
|
<FIELD name="SALARIE_TEXTE" /><!-- ifHideNames="Non autorisé" -->
|
|
|
<FIELD name="DATE_NAISSANCE"/>
|
|
|
<FIELD name="SEXE"/>
|
|
|
<FIELD name="NIR"/>
|
|
|
<FIELD name="AGE"/>
|
|
|
<FIELD name="SITUATION_FAMILIALE"/>
|
|
|
<FIELD name="NATIONALITE"/>
|
|
|
<FIELD name="CODE_POSTAL"/>
|
|
|
<FIELD name="DATE_ANCIENNETE"/>
|
|
|
<FIELD name="DATE_ENTREE_ETS"/>
|
|
|
<FIELD name="DATE_SORTIE_ETS"/>
|
|
|
<FIELD name="ANC"/>
|
|
|
<FIELD name="ANCREP"/>
|
|
|
<FIELD name="DATE_DEBUT_CONTRAT"/>
|
|
|
<FIELD name="DATE_FIN_CONTRAT"/>
|
|
|
<FIELD name="TYPE_CONTRAT"/>
|
|
|
<FIELD name="MOTIF_DEBUT"/>
|
|
|
<FIELD name="MOTIF_FIN"/>
|
|
|
<FIELD name="QUALIFICATION"/>
|
|
|
<FIELD name="SERVICE"/>
|
|
|
<FIELD name="SPECIALITE"/>
|
|
|
<FIELD name="TYPE_TEMPS_TRAVAIL"/>
|
|
|
<FIELD name="CATEGORIE_SOCIO"/>
|
|
|
<FIELD name="STATUT"/>
|
|
|
<FIELD name="CODE_EMPLOI"/>
|
|
|
<FIELD name="GROUPE_COTISANT"/>
|
|
|
<FIELD name="GRILLE"/>
|
|
|
<FIELD name="SOCIETE_INTERIM"/>
|
|
|
<FIELD name="ENTREPRISE"/>
|
|
|
<FIELD name="UNITE_FONCTIONNELLE"/>
|
|
|
<FIELD name="LETTRE_BUDGETAIRE"/>
|
|
|
<FIELD name="COMMISSION_PARITAIRE"/>
|
|
|
<FIELD name="COMPTE_IMPUTATION"/>
|
|
|
<FIELD name="CATEGORIE_CONGE"/>
|
|
|
<FIELD name="FILIERE"/>
|
|
|
<FIELD name="CADRE_EMPLOI"/>
|
|
|
<FIELD name="CATEGORIE_STATUTAIRE"/>
|
|
|
<FIELD name="RQTH"/>
|
|
|
<FIELD name="SAE_GROUPE_DISCIPLINE"/>
|
|
|
<FIELD name="SAE_QUALIFICATION"/>
|
|
|
<FIELD name="SAE_FILIERE"/>
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY label="Contrats">
|
|
|
<SQL optimizer="V_CNT_X" optimizer2="V_ALL_X">
|
|
|
<select><![CDATA[
|
|
|
|
|
|
drop table if exists w_tmp
|
|
|
;
|
|
|
|
|
|
create temp table w_tmp as
|
|
|
select
|
|
|
salarie_id,
|
|
|
contrat_mois_id,
|
|
|
rhp_profil_id as profil_id,
|
|
|
case when lag(rhp_profil_id, 1) over (partition by salarie_id order by date_debut_activite) = rhp_profil_id then null else contrat_mois_id end as rupture,
|
|
|
rank() over (partition by salarie_id order by date_debut_activite)
|
|
|
FROM #V_CNT_X##V_ALL_X#
|
|
|
JOIN rh.t_divers ON 1=1
|
|
|
AND t_divers.code = 'DERNIER_IMPORT'
|
|
|
WHERE 1=1
|
|
|
and salarie_id = [VIEW.SALARIE_ID]
|
|
|
and est_hors_periode = 0
|
|
|
;
|
|
|
|
|
|
WITH RECURSIVE rec(salarie_id, contrat_mois_id, profil_id, rupture, rank) AS (
|
|
|
select salarie_id, contrat_mois_id, profil_id, rupture, rank
|
|
|
from w_tmp
|
|
|
where rank = 1
|
|
|
union all
|
|
|
select w_tmp.salarie_id, w_tmp.contrat_mois_id, w_tmp.profil_id, case when w_tmp.rupture is null then rec.rupture else w_tmp.rupture end, w_tmp.rank
|
|
|
from w_tmp
|
|
|
join rec on w_tmp.rank = rec.rank +1
|
|
|
)
|
|
|
UPDATE w_tmp
|
|
|
SET rupture = rec.rupture
|
|
|
FROM rec
|
|
|
WHERE 1=1
|
|
|
AND w_tmp.contrat_mois_id = rec.contrat_mois_id
|
|
|
AND w_tmp.rupture IS NULL
|
|
|
;
|
|
|
|
|
|
SELECT
|
|
|
1,
|
|
|
v_contrats_1.contrat_id,
|
|
|
v_contrats_1.contrat_code::text,
|
|
|
date_debut_contrat,
|
|
|
CASE WHEN date_fin_contrat < '20991231' THEN date_fin_contrat ELSE null END,
|
|
|
duree,
|
|
|
anciennete_jours / 365.25,
|
|
|
anciennete_reprise_jours / 365.25,
|
|
|
type_contrat_code || ' ' || type_contrat_texte,
|
|
|
CASE WHEN motif_debut_id <> 0 THEN motif_debut_code || ' ' || motif_debut_texte ELSE '' END,
|
|
|
CASE WHEN motif_fin_id <> 0 THEN motif_fin_code || ' ' || motif_fin_texte ELSE '' END,
|
|
|
qualification_code || ' ' || v_contrats_1.qualification_texte,
|
|
|
service_code || ' ' || service_texte,
|
|
|
specialite_code || ' ' || specialite_texte,
|
|
|
type_temps_travail_code || ' ' || type_temps_travail_texte || ' (' || type_horaire_texte || ')',
|
|
|
categorie_socio_professionnelle_code || ' ' || categorie_socio_professionnelle_texte,
|
|
|
statut_code || ' ' || statut_texte,
|
|
|
code_emploi_code || ' ' || code_emploi_texte,
|
|
|
grille_code || ' ' || grille_groupe_code,
|
|
|
groupe_cotisant_code || ' ' || groupe_cotisant_texte,
|
|
|
etablissement_code || ' ' || etablissement_texte,
|
|
|
unite_fonctionnelle_code || ' ' || unite_fonctionnelle_texte,
|
|
|
lettre_budgetaire_code || ' ' || lettre_budgetaire_texte,
|
|
|
commission_paritaire_code || ' ' || commission_paritaire_texte,
|
|
|
compte_salarie_code || ' ' || compte_salarie_texte,
|
|
|
categorie_conge_code || ' ' || categorie_conge_texte,
|
|
|
filiere_code || ' ' || v_contrats_1.filiere_texte,
|
|
|
cadre_emploi_code || ' ' || cadre_emploi_texte,
|
|
|
categorie_statutaire_code || ' ' || categorie_statutaire_texte,
|
|
|
section_analytique_paie_code || ' ' || section_analytique_paie_texte,
|
|
|
section_analytique_code || ' ' || section_analytique_texte,
|
|
|
CASE
|
|
|
WHEN (SELECT module_active FROM sae_active) -- Si module activé
|
|
|
THEN COALESCE(sae_contrats.groupe_discipline_texte, 'Pas de donnée')
|
|
|
ELSE 'Module SAE non activé'
|
|
|
END,
|
|
|
CASE
|
|
|
WHEN (SELECT module_active FROM sae_active) -- Si module activé
|
|
|
THEN COALESCE(sae_contrats.qualification_texte, 'Pas de donnée')
|
|
|
ELSE 'Module SAE non activé'
|
|
|
END,
|
|
|
CASE
|
|
|
WHEN (SELECT module_active FROM sae_active) -- Si module activé
|
|
|
THEN COALESCE(sae_contrats.filiere_texte, 'Pas de donnée')
|
|
|
ELSE 'Module SAE non activé'
|
|
|
END
|
|
|
FROM rh.v_contrats_1
|
|
|
LEFT JOIN sae_contrats ON sae_contrats.salarie_id = v_contrats_1.salarie_id AND sae_contrats.contrat_code = v_contrats_1.contrat_code
|
|
|
WHERE v_contrats_1.salarie_id = [VIEW.SALARIE_ID]
|
|
|
UNION ALL
|
|
|
SELECT
|
|
|
2,
|
|
|
rupture,
|
|
|
v_rh_view_1.contrat_code::text,
|
|
|
CASE WHEN rank() over (partition by v_rh_view_1.salarie_id order by min(date_debut_activite)) = 1
|
|
|
THEN date_debut_contrat
|
|
|
ELSE min(greatest(date_debut_contrat, date_debut_activite)) END,
|
|
|
CASE WHEN rank() over (partition by v_rh_view_1.salarie_id order by min(date_debut_activite)) = count(max(v_rh_view_1.contrat_mois_id)) over (partition by v_rh_view_1.salarie_id)
|
|
|
THEN CASE WHEN date_fin_contrat = '20991231'::date THEN NULL ELSE date_fin_contrat END
|
|
|
ELSE max(least(date_fin_contrat, date_fin_activite)) END,
|
|
|
(max(least(date_fin_contrat, date_fin_activite))
|
|
|
- CASE WHEN rank() over (partition by v_rh_view_1.salarie_id order by min(date_debut_activite)) = 1
|
|
|
THEN date_debut_contrat
|
|
|
ELSE min(greatest(date_debut_contrat, date_debut_activite)) END)::numeric
|
|
|
+ 1::numeric AS duree,
|
|
|
max(anciennete_jours / 365.25),
|
|
|
max(anciennete_reprise_jours / 365.25),
|
|
|
type_contrat_code || ' ' || type_contrat_texte AS typ_contrat,
|
|
|
CASE WHEN motif_debut_id <> 0 THEN motif_debut_code || ' ' || motif_debut_texte ELSE '' END,
|
|
|
CASE WHEN motif_fin_id <> 0 THEN motif_fin_code || ' ' || motif_fin_texte ELSE '' END,
|
|
|
qualification_code || ' ' || qualification_texte,
|
|
|
service_code || ' ' || service_texte,
|
|
|
specialite_code || ' ' || specialite_texte,
|
|
|
type_temps_travail_code || ' ' || type_temps_travail_texte || ' (' || type_horaire_texte || ')',
|
|
|
categorie_socio_professionnelle_code || ' ' || categorie_socio_professionnelle_texte,
|
|
|
statut_code || ' ' || statut_texte,
|
|
|
code_emploi_code || ' ' || code_emploi_texte,
|
|
|
grille_code || ' ' || grille_groupe_code,
|
|
|
groupe_cotisant_code || ' ' || groupe_cotisant_texte,
|
|
|
etablissement_code || ' ' || etablissement_texte,
|
|
|
unite_fonctionnelle_code || ' ' || unite_fonctionnelle_texte,
|
|
|
lettre_budgetaire_code || ' ' || lettre_budgetaire_texte,
|
|
|
commission_paritaire_code || ' ' || commission_paritaire_texte,
|
|
|
compte_salarie_code || ' ' || compte_salarie_texte,
|
|
|
categorie_conge_code || ' ' || categorie_conge_texte,
|
|
|
filiere_code || ' ' || filiere_texte,
|
|
|
cadre_emploi_code || ' ' || cadre_emploi_texte,
|
|
|
categorie_statutaire_code || ' ' || categorie_statutaire_texte,
|
|
|
section_analytique_paie_code || ' ' || section_analytique_paie_texte,
|
|
|
section_analytique_code || ' ' || section_analytique_texte,
|
|
|
''::text,
|
|
|
''::text,
|
|
|
''::text
|
|
|
FROM #V_CNT_X##V_ALL_X#
|
|
|
JOIN rh.t_divers ON 1=1 AND t_divers.code = 'MOIS_EN_COURS'
|
|
|
JOIN w_tmp ON w_tmp.contrat_mois_id = v_rh_view_1.contrat_mois_id
|
|
|
WHERE 1=1
|
|
|
AND est_hors_periode = 0
|
|
|
GROUP BY 1,2,3,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, valeur_date, v_rh_view_1.salarie_id, contrat_id, date_debut_contrat, date_fin_contrat
|
|
|
ORDER BY 1, 4 DESC
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="CHPLEVEL"/>
|
|
|
<FIELD name="CONTRAT_ID"/>
|
|
|
<FIELD name="CONTRAT_CODE"/>
|
|
|
<FIELD name="DATE_DEBUT_CONTRAT"/>
|
|
|
<FIELD name="DATE_FIN_CONTRAT"/>
|
|
|
<FIELD name="DUREE"/>
|
|
|
<FIELD name="ANC"/>
|
|
|
<FIELD name="ANCREP"/>
|
|
|
<FIELD name="TYPE_CONTRAT"/>
|
|
|
<FIELD name="MOTIF_DEBUT"/>
|
|
|
<FIELD name="MOTIF_FIN"/>
|
|
|
<FIELD name="QUALIFICATION"/>
|
|
|
<FIELD name="SERVICE"/>
|
|
|
<FIELD name="SPECIALITE"/>
|
|
|
<FIELD name="TYPE_TEMPS_TRAVAIL"/>
|
|
|
<FIELD name="CATEGORIE_SOCIO"/>
|
|
|
<FIELD name="STATUT"/>
|
|
|
<FIELD name="CODE_EMPLOI"/>
|
|
|
<FIELD name="GRILLE"/>
|
|
|
<FIELD name="GROUPE_COTISANT"/>
|
|
|
<FIELD name="ETABLISSEMENT"/>
|
|
|
<FIELD name="UNITE_FONCTIONNELLE"/>
|
|
|
<FIELD name="LETTRE_BUDGETAIRE"/>
|
|
|
<FIELD name="COMMISSION_PARITAIRE"/>
|
|
|
<FIELD name="COMPTE_IMPUTATION"/>
|
|
|
<FIELD name="CATEGORIE_CONGE"/>
|
|
|
<FIELD name="FILIERE"/>
|
|
|
<FIELD name="CADRE_EMPLOI"/>
|
|
|
<FIELD name="CATEGORIE_STATUTAIRE"/>
|
|
|
<FIELD name="SECTION_ANA_PAIE"/>
|
|
|
<FIELD name="SECTION_ANA_COMPTA"/>
|
|
|
<FIELD name="SAE_GROUPE_DISCIPLINE"/>
|
|
|
<FIELD name="SAE_QUALIFICATION"/>
|
|
|
<FIELD name="SAE_FILIERE"/>
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY label="Paie">
|
|
|
<SQL optimizer="V_HP_X" optimizer2="V_ALL_X">
|
|
|
<select><![CDATA[
|
|
|
|
|
|
DROP TABLE IF EXISTS w_rh9
|
|
|
;
|
|
|
|
|
|
CREATE TEMP TABLE w_rh9 AS
|
|
|
SELECT
|
|
|
max(contrat_mois_id) AS contrat_mois_id,
|
|
|
max(contrat_id) AS contrat_id,
|
|
|
'- '||max(contrat_code) AS contrat_code,
|
|
|
mois_paie_id,
|
|
|
date_paie,
|
|
|
date_debut_paie,
|
|
|
date_fin_paie,
|
|
|
SUM(v_rh_view_1.heures_contrat) AS heures_contrat,
|
|
|
SUM(v_rh_view_1.heures_payees) AS heures_payees,
|
|
|
SUM(v_rh_view_1.heures_travaillees) AS heures_travaillees,
|
|
|
SUM(v_rh_view_1.etp_contrat) AS etp_contrat,
|
|
|
SUM(v_rh_view_1.etp_paye) AS etp_paye,
|
|
|
SUM(v_rh_view_1.etp_travaille) AS etp_travaille,
|
|
|
SUM(v_rh_view_1.montant_brut) AS montant_brut,
|
|
|
SUM(v_rh_view_1.montant_avantage_nature) AS montant_avantage_nature,
|
|
|
SUM(v_rh_view_1.montant_frais_imposables) AS montant_frais_imposables,
|
|
|
SUM(v_rh_view_1.montant_cotisation_salarie) AS montant_cotisation_salarie,
|
|
|
SUM(v_rh_view_1.montant_od_net_salarie) AS montant_od_net_salarie,
|
|
|
SUM(v_rh_view_1.montant_od_net_patronale) AS montant_od_net_patronale,
|
|
|
SUM(v_rh_view_1.montant_cotisation_patronale) AS montant_cotisation_patronale,
|
|
|
SUM(v_rh_view_1.montant_net_imposable_salarie) AS montant_net_imposable_salarie,
|
|
|
SUM(v_rh_view_1.montant_net_a_payer_salarie) AS montant_net_a_payer_salarie,
|
|
|
SUM(v_rh_view_1.montant_masse_salariale) AS montant_masse_salariale,
|
|
|
0 - SUM(v_rh_view_1.montant_cotisation_salarie) AS montant_cotisation_salarie_n,
|
|
|
0 - SUM(v_rh_view_1.montant_od_net_salarie) AS montant_od_net_salarie_n,
|
|
|
base.cti_group_concat(DISTINCT
|
|
|
CASE
|
|
|
WHEN section_analytique_id = 0 THEN 'N/R'
|
|
|
ELSE CASE WHEN ratio = 1 THEN '100' ELSE replace(round(ratio * 100, 2), '.', ',') END || '% ' || section_analytique_code
|
|
|
END),
|
|
|
MAX(salarie_id) as salarie_id
|
|
|
FROM #V_HP_X##V_ALL_X#
|
|
|
WHERE salarie_id = [VIEW.SALARIE_ID]
|
|
|
group by 4,5,6,7
|
|
|
;
|
|
|
|
|
|
|
|
|
SELECT
|
|
|
2,
|
|
|
*
|
|
|
FROM w_rh9
|
|
|
UNION ALL
|
|
|
SELECT
|
|
|
1,
|
|
|
null,
|
|
|
null,
|
|
|
base.cti_to_french(to_char(to_date(mois_paie_id, 'YYYYMM'), 'mon'))||' '||substr(mois_paie_id, 1, 4),
|
|
|
mois_paie_id,
|
|
|
null,
|
|
|
min(date_debut_paie),
|
|
|
max(date_fin_paie),
|
|
|
SUM(heures_contrat),
|
|
|
SUM(heures_payees),
|
|
|
SUM(heures_travaillees),
|
|
|
SUM(etp_contrat),
|
|
|
SUM(etp_paye),
|
|
|
SUM(etp_travaille),
|
|
|
SUM(montant_brut),
|
|
|
SUM(montant_avantage_nature),
|
|
|
SUM(montant_frais_imposables),
|
|
|
SUM(montant_cotisation_salarie),
|
|
|
SUM(montant_od_net_salarie),
|
|
|
SUM(montant_od_net_patronale),
|
|
|
SUM(montant_cotisation_patronale),
|
|
|
SUM(montant_net_imposable_salarie),
|
|
|
SUM(montant_net_a_payer_salarie),
|
|
|
SUM(montant_masse_salariale),
|
|
|
SUM(montant_cotisation_salarie_n),
|
|
|
SUM(montant_od_net_salarie_n),
|
|
|
null,
|
|
|
MAX(salarie_id) as salarie_id
|
|
|
FROM w_rh9
|
|
|
GROUP BY 1,mois_paie_id
|
|
|
ORDER BY mois_paie_id desc, 1, date_paie DESC, contrat_code DESC
|
|
|
;
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="CHPLEVEL" />
|
|
|
<FIELD name="OID" />
|
|
|
<FIELD name="CONTRAT_ID"/>
|
|
|
<FIELD name="CONTRAT_CODE"/>
|
|
|
<FIELD name="MOIS_PAIE"/>
|
|
|
<FIELD name="DATE_PAIE"/>
|
|
|
<FIELD name="DATE_DEBUT"/>
|
|
|
<FIELD name="DATE_FIN"/>
|
|
|
<FIELD name="NHEC" />
|
|
|
<FIELD name="NHEU" />
|
|
|
<FIELD name="NHTR" />
|
|
|
<FIELD name="NETC" />
|
|
|
<FIELD name="NETP" />
|
|
|
<FIELD name="NETPT" />
|
|
|
<FIELD name="MBRU" />
|
|
|
<FIELD name="MANA" />
|
|
|
<FIELD name="MFIM" />
|
|
|
<FIELD name="MCOS" />
|
|
|
<FIELD name="MODS" />
|
|
|
<FIELD name="MODP" />
|
|
|
<FIELD name="MCOP" />
|
|
|
<FIELD name="MNEI" />
|
|
|
<FIELD name="MNEP" />
|
|
|
<FIELD name="MBRP" />
|
|
|
<FIELD name="MNCOS" />
|
|
|
<FIELD name="MNODS" />
|
|
|
<FIELD name="VENTIL" />
|
|
|
<FIELD name="ISAL" />
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY label="Arrets">
|
|
|
<SQL optimizer="V_AT_X" optimizer2="V_ALL_X">
|
|
|
<select><![CDATA[
|
|
|
|
|
|
SELECT
|
|
|
v_rh_view_1.arret_travail_id,
|
|
|
SUM(nb_jours_arret),
|
|
|
SUM(v_rh_view_1.nb_heures_arret),
|
|
|
v_rh_view_1.salarie_id::text,
|
|
|
v_rh_view_1.date_debut_arret,
|
|
|
CASE WHEN v_rh_view_1.date_fin_arret < '20991231' THEN v_rh_view_1.date_fin_arret ELSE NULL END::text as date_fin_arret,
|
|
|
CASE WHEN every(nb_reprise_apres_arret = 1) THEN date_reprise_apres_arret ELSE null END,
|
|
|
(base.cti_last(ARRAY[v_rh_view_1.date_fin_arret::text, (motif_arret_code || ' ' || motif_arret_texte)::text]))[2],
|
|
|
(base.cti_last(ARRAY[v_rh_view_1.date_fin_arret::text, (precision_motif_arret_code || ' ' || precision_motif_arret_texte)::text]))[2]
|
|
|
FROM #V_AT_X##V_ALL_X#
|
|
|
WHERE v_rh_view_1.salarie_id = [VIEW.SALARIE_ID]
|
|
|
GROUP BY 1,4,5,6,date_reprise_apres_arret
|
|
|
ORDER BY 5 DESC
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="ARRET_ID" />
|
|
|
<FIELD name="NJOU" />
|
|
|
<FIELD name="NHRE" />
|
|
|
<FIELD name="SALARIE_ID" />
|
|
|
<FIELD name="DDEB" />
|
|
|
<FIELD name="DFIN" />
|
|
|
<FIELD name="DREP" />
|
|
|
<FIELD name="MOT" />
|
|
|
<FIELD name="MOP" />
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY label="Visites">
|
|
|
<SQL optimizer="V_VIS_X" optimizer2="V_ALL_X">
|
|
|
<select><![CDATA[
|
|
|
|
|
|
SELECT
|
|
|
v_rh_view_1.visite_id,
|
|
|
v_rh_view_1.salarie_id::text,
|
|
|
v_rh_view_1.date_visite,
|
|
|
motif_visite_texte
|
|
|
FROM #V_VIS_X##V_ALL_X#
|
|
|
WHERE v_rh_view_1.salarie_id = [VIEW.SALARIE_ID]
|
|
|
GROUP BY 1,2,3,4
|
|
|
ORDER BY 3 DESC
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="VISITE_ID" />
|
|
|
<FIELD name="SALARIE_VIS_ID" />
|
|
|
<FIELD name="D_VIS" />
|
|
|
<FIELD name="MOT_VIS" />
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY label="Accidents">
|
|
|
<SQL optimizer="V_ACC_X" optimizer2="V_ALL_X">
|
|
|
<select><![CDATA[
|
|
|
|
|
|
SELECT
|
|
|
v_rh_view_1.accident_travail_id,
|
|
|
v_rh_view_1.salarie_id::text,
|
|
|
v_rh_view_1.date_accident_travail,
|
|
|
accident_circonstance_texte,
|
|
|
accident_lieu_texte,
|
|
|
accident_nature_texte,
|
|
|
accident_siege_texte
|
|
|
FROM #V_ACC_X##V_ALL_X#
|
|
|
WHERE v_rh_view_1.salarie_id = [VIEW.SALARIE_ID]
|
|
|
GROUP BY 1,2,3,4,5,6,7
|
|
|
ORDER BY 3 DESC
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="ACCIDENT_ID" />
|
|
|
<FIELD name="SALARIE_ACC_ID" />
|
|
|
<FIELD name="D_ACC" />
|
|
|
<FIELD name="C_ACC" />
|
|
|
<FIELD name="L_ACC" />
|
|
|
<FIELD name="N_ACC" />
|
|
|
<FIELD name="S_ACC" />
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY label="Formations">
|
|
|
<SQL optimizer="V_FOR_X" optimizer2="V_ALL_X">
|
|
|
<select><![CDATA[
|
|
|
|
|
|
SELECT
|
|
|
v_rh_view_1.formation_id,
|
|
|
v_rh_view_1.salarie_id::text,
|
|
|
liste_formation_code::text,
|
|
|
liste_formation_texte::text,
|
|
|
CASE WHEN v_rh_view_1.formation_date = '2099-12-31' THEN ''
|
|
|
ELSE to_char(v_rh_view_1.formation_date, 'DD-MM-YYYY')
|
|
|
END,
|
|
|
CASE WHEN v_rh_view_1.formation_date = '2099-12-31' THEN ''
|
|
|
ELSE v_rh_view_1.nb_heures::text
|
|
|
END,
|
|
|
v_rh_view_1.organisateur
|
|
|
FROM #V_FOR_X##V_ALL_X#
|
|
|
WHERE v_rh_view_1.salarie_id = [VIEW.SALARIE_ID]
|
|
|
GROUP BY 1,2,3,4,5,6,7
|
|
|
ORDER BY 3 DESC
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="FORMATION_ID" />
|
|
|
<FIELD name="SALARIE_FOR_ID" />
|
|
|
<FIELD name="C_FOR" />
|
|
|
<FIELD name="T_FOR" />
|
|
|
<FIELD name="D_FOR" />
|
|
|
<FIELD name="NB_HR" />
|
|
|
<FIELD name="N_ORG" />
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY label="Handicap">
|
|
|
<SQL optimizer="">
|
|
|
<select><![CDATA[
|
|
|
SELECT
|
|
|
taux_incapacite,
|
|
|
date_effet,
|
|
|
categorie_cotorep,
|
|
|
taux_ipp,
|
|
|
date_echeance,
|
|
|
CASE WHEN rqth = '1' THEN 'oui'
|
|
|
WHEN rqth = '0' THEN 'non' ELSE '' END as rqth,
|
|
|
CASE WHEN beneficiaire_aah = '1' THEN 'oui'
|
|
|
WHEN beneficiaire_aah = '0' THEN 'non' ELSE 'Non renseigné' END as beneficiaire_aah,
|
|
|
CASE WHEN carte_invalidite = '1' THEN 'oui'
|
|
|
WHEN carte_invalidite = '0' THEN 'non' ELSE 'Non renseigné' END as carte_invalidite,
|
|
|
CASE WHEN maladie_p_at = '1' THEN 'oui'
|
|
|
WHEN maladie_p_at = '0' THEN 'non' ELSE 'Non renseigné' END as maladie_p_at,
|
|
|
CASE WHEN invalide_pensionne = '1' THEN 'oui'
|
|
|
WHEN invalide_pensionne = '0' THEN 'non' ELSE 'Non renseigné' END as invalide_pensionne,
|
|
|
CASE WHEN mutile_guerre = '1' THEN 'oui'
|
|
|
WHEN mutile_guerre = '0' THEN 'non' ELSE 'Non renseigné' END as mutile_guerre,
|
|
|
CASE WHEN assimile_mutile_guerre = '1' THEN 'oui'
|
|
|
WHEN assimile_mutile_guerre = '0' THEN 'non' ELSE 'Non renseigné' END as assimile_mutile_guerre,
|
|
|
CASE WHEN pompier_volontaire = '1' THEN 'oui'
|
|
|
WHEN pompier_volontaire = '0' THEN 'non' ELSE 'Non renseigné' END as pompier_volontaire,
|
|
|
CASE WHEN unite_age_26_51 = '1' THEN 'oui'
|
|
|
WHEN unite_age_26_51 = '0' THEN 'non' ELSE 'Non renseigné' END as unite_age_26_51,
|
|
|
CASE WHEN lourd_handicap = '1' THEN 'oui'
|
|
|
WHEN lourd_handicap = '0' THEN 'non' ELSE 'Non renseigné' END as lourd_handicap,
|
|
|
CASE WHEN emb_1er_handicap = '1' THEN 'oui'
|
|
|
WHEN emb_1er_handicap = '0' THEN 'non' ELSE 'Non renseigné' END as emb_1er_handicap,
|
|
|
CASE WHEN emb_chom_long = '1' THEN 'oui'
|
|
|
WHEN emb_chom_long = '0' THEN 'non' ELSE 'Non renseigné' END as emb_chom_long,
|
|
|
CASE WHEN emb_ea_cdtd_esat = '1' THEN 'oui'
|
|
|
WHEN emb_ea_cdtd_esat = '0' THEN 'non' ELSE 'Non renseigné' END as emb_ea_cdtd_esat,
|
|
|
CASE WHEN annee_embauche > 0 THEN annee_embauche::text ELSE 'Non renseigné' END
|
|
|
FROM rh.v_handicap_1
|
|
|
WHERE salarie_id = [VIEW.SALARIE_ID]
|
|
|
GROUP BY 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="H_TAUX_INCAPATICE"/>
|
|
|
<FIELD name="H_DATE_EFFET"/>
|
|
|
<FIELD name="H_CATEGORIE_COTOREP"/>
|
|
|
<FIELD name="H_TAUX_IPP"/>
|
|
|
<FIELD name="H_DATE_ECHEANCE"/>
|
|
|
<FIELD name="H_RQTH"/>
|
|
|
<FIELD name="H_BENEFICIAIRE_AAH"/>
|
|
|
<FIELD name="H_CARTE_INVALIDITE"/>
|
|
|
<FIELD name="H_MALADIE_P_AT"/>
|
|
|
<FIELD name="H_INVALIDE_PENSIONNE"/>
|
|
|
<FIELD name="H_MUTILE_GUERRE"/>
|
|
|
<FIELD name="H_ASSIMILE_MUTILE_GUERRE"/>
|
|
|
<FIELD name="H_POMPIER_VOLONTAIRE"/>
|
|
|
<FIELD name="H_UNITE_AGE_26_51"/>
|
|
|
<FIELD name="H_LOURD_HANDICAP"/>
|
|
|
<FIELD name="H_EMB_1ER_HANDICAP"/>
|
|
|
<FIELD name="H_EMB_CHOM_LONG"/>
|
|
|
<FIELD name="H_EMB_EA_CDTD_ESAT"/>
|
|
|
<FIELD name="H_ANNEE_EMBAUCHE"/>
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY label="Liste">
|
|
|
<SQL optimizer="">
|
|
|
<select><![CDATA[
|
|
|
SELECT
|
|
|
oid,
|
|
|
matricule,
|
|
|
prenom,
|
|
|
nom,
|
|
|
nom_naissance,
|
|
|
nom_complet,
|
|
|
entreprise_texte
|
|
|
FROM w_tmp_list_sal
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="SALARIE_LIST_ID"/>
|
|
|
<FIELD name="SALARIE_LIST_MATRICULE"/>
|
|
|
<FIELD name="SALARIE_LIST_PRENOM"/>
|
|
|
<FIELD name="SALARIE_LIST_NOM"/>
|
|
|
<FIELD name="SALARIE_LIST_JF"/>
|
|
|
<FIELD name="SALARIE_LIST_NOMCOMPLET"/>
|
|
|
<FIELD name="SALARIE_LIST_ENT"/>
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY label="Message">
|
|
|
<SQL optimizer="">
|
|
|
<select><![CDATA[
|
|
|
SELECT 'Aucun résultat pour "[MATRICULE]". Veuillez modifier le filtre.'
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="MESSAGE_ALERT"/>
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY label="Controles expert">
|
|
|
<SQL>
|
|
|
<select><![CDATA[
|
|
|
SELECT
|
|
|
v_expert_controle_1.date_signalement,
|
|
|
v_expert_controle_1.expert_controle_code,
|
|
|
v_expert_controle_1.expert_controle_texte,
|
|
|
v_expert_controle_1.expert_controle_gravite_texte,
|
|
|
v_expert_controle_1.justificatif
|
|
|
FROM rh.v_expert_controle_1
|
|
|
WHERE salarie_id = [VIEW.SALARIE_ID]
|
|
|
ORDER BY 1 DESC
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="CXDS"/>
|
|
|
<FIELD name="CXC"/>
|
|
|
<FIELD name="CXT"/>
|
|
|
<FIELD name="CXG"/>
|
|
|
<FIELD name="CXJ"/>
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY label="Planning">
|
|
|
<SQL optimizer="V_PLA_X" optimizer2="V_ALL_X">
|
|
|
<select><![CDATA[
|
|
|
|
|
|
DROP TABLE IF EXISTS w_rh10;
|
|
|
|
|
|
CREATE TEMP TABLE w_rh10 AS
|
|
|
SELECT
|
|
|
base.cti_to_french(to_char(to_date(mois_activite_code, 'YYYYMM'), 'mon'))||' '||substr(mois_activite_id, 1, 4) as mois,
|
|
|
mois_activite_code,
|
|
|
planning_service_source_code,
|
|
|
MIN(date_debut_activite) AS date_debut,
|
|
|
MAX(date_fin_activite) AS date_fin,
|
|
|
SUM(temps_du_initial) AS temps_du_init,
|
|
|
SUM(temps_du) AS temps,
|
|
|
SUM(temps_valide) AS temps_val,
|
|
|
SUM(temps_absence) AS temps_abs
|
|
|
FROM rh.v_planning_mouvement_1
|
|
|
JOIN rh.v_planning_service_2 ON v_planning_service_2.planning_service_source_id = v_planning_mouvement_1.rhp_planning_service_id
|
|
|
WHERE salarie_id = [VIEW.SALARIE_ID]
|
|
|
GROUP BY 1,2,3
|
|
|
ORDER BY mois_activite_code desc
|
|
|
;
|
|
|
|
|
|
SELECT
|
|
|
2,
|
|
|
*
|
|
|
FROM w_rh10
|
|
|
UNION ALL
|
|
|
SELECT
|
|
|
1,
|
|
|
null,
|
|
|
mois_activite_code,
|
|
|
mois,
|
|
|
MIN(date_debut),
|
|
|
MAX(date_fin),
|
|
|
SUM(temps_du_init),
|
|
|
SUM(temps),
|
|
|
SUM(temps_val),
|
|
|
SUM(temps_abs)
|
|
|
FROM w_rh10
|
|
|
GROUP BY 1,2,3,4
|
|
|
ORDER BY mois_activite_code desc,1
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="CHPLEVEL" />
|
|
|
<FIELD name="OID" />
|
|
|
<FIELD name="MOIS_ACTIVITE" />
|
|
|
<FIELD name="MOIS_TEXTE" />
|
|
|
<FIELD name="DATE_DEBUT" />
|
|
|
<FIELD name="DATE_FIN"/>
|
|
|
<FIELD name="TEMPS_INIT"/>
|
|
|
<FIELD name="TEMPS_DU"/>
|
|
|
<FIELD name="TEMPS_VAL"/>
|
|
|
<FIELD name="TEMPS_ABS"/>
|
|
|
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
<QUERY type="propertiesLink" name="VIEWPROPERTIES" forSelections="false">
|
|
|
<SQL>
|
|
|
<select><![CDATA[
|
|
|
|
|
|
DROP TABLE IF EXISTS w_tmp_list_sal
|
|
|
;
|
|
|
CREATE TEMP TABLE w_tmp_list_sal AS
|
|
|
SELECT
|
|
|
v_salaries_1.salarie_id AS oid,
|
|
|
v_salaries_1.salarie_code || CASE WHEN v_salaries_1.salarie_fusionne_id <> 0 THEN '(f)' ELSE '' END AS matricule,
|
|
|
v_salaries_1.prenom,
|
|
|
v_salaries_1.nom,
|
|
|
v_salaries_1.nom_naissance,
|
|
|
v_salaries_1.entreprise_texte,
|
|
|
v_salaries_1.nom || ' ' ||
|
|
|
v_salaries_1.prenom ||
|
|
|
CASE WHEN v_salaries_1.nom_naissance <> '' AND v_salaries_1.nom_naissance <> v_salaries_1.nom THEN ' née ' || v_salaries_1.nom_naissance ELSE '' END ||
|
|
|
CASE WHEN v_salaries_1.salarie_fusionne_id <> 0 THEN ' (Fusionné sur ' || v_salaries_fusionnes_1.salarie_code || ')' ELSE '' END
|
|
|
AS nom_complet
|
|
|
FROM rh.v_salaries_1
|
|
|
LEFT JOIN rh.v_salaries_1 v_salaries_fusionnes_1 ON v_salaries_1.salarie_fusionne_id = v_salaries_fusionnes_1.salarie_id
|
|
|
WHERE 1!=1
|
|
|
-- Recherche selon le matricule/nom (MATRICULE)
|
|
|
OR (1=1
|
|
|
AND '[MATRICULE]' <> ''
|
|
|
AND (1!=1
|
|
|
OR v_salaries_1.salarie_code ilike '%[MATRICULE]%'
|
|
|
OR translate(v_salaries_1.nom,'ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') ilike ('%' || translate('[EVAL return utf8_decode('[MATRICULE]'); EVAL]','ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') || '%')
|
|
|
OR translate(v_salaries_1.prenom,'ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') ilike ('%' || translate('[EVAL return utf8_decode('[MATRICULE]'); EVAL]','ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') || '%')
|
|
|
OR translate(v_salaries_1.nom_naissance,'ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') ilike ('%' || translate('[EVAL return utf8_decode('[MATRICULE]'); EVAL]','ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') || '%')
|
|
|
))
|
|
|
OR (1=1
|
|
|
AND '[MATRICULE]' <> ''
|
|
|
AND (1!=1
|
|
|
OR v_salaries_fusionnes_1.salarie_code ilike '%[MATRICULE]%'
|
|
|
OR translate(v_salaries_fusionnes_1.nom,'ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') ilike ('%' || translate('[EVAL return utf8_decode('[MATRICULE]'); EVAL]','ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') || '%')
|
|
|
OR translate(v_salaries_fusionnes_1.prenom,'ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') ilike ('%' || translate('[EVAL return utf8_decode('[MATRICULE]'); EVAL]','ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') || '%')
|
|
|
OR translate(v_salaries_fusionnes_1.nom_naissance,'ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') ilike ('%' || translate('[EVAL return utf8_decode('[MATRICULE]'); EVAL]','ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') || '%')
|
|
|
))
|
|
|
OR (1=1
|
|
|
AND '[MATRICULE]' <> ''
|
|
|
AND v_salaries_1.salarie_id IN
|
|
|
(SELECT v_salaries_fusionnes_2.salarie_fusionne_id
|
|
|
FROM rh.v_salaries_1 v_salaries_fusionnes_2
|
|
|
WHERE
|
|
|
1!=1
|
|
|
OR v_salaries_fusionnes_2.salarie_code ilike '%[MATRICULE]%'
|
|
|
OR translate(v_salaries_fusionnes_2.nom,'ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') ilike ('%' || translate('[EVAL return utf8_decode('[MATRICULE]'); EVAL]','ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') || '%')
|
|
|
OR translate(v_salaries_fusionnes_2.prenom,'ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') ilike ('%' || translate('[EVAL return utf8_decode('[MATRICULE]'); EVAL]','ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') || '%')
|
|
|
OR translate(v_salaries_fusionnes_2.nom_naissance,'ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') ilike ('%' || translate('[EVAL return utf8_decode('[MATRICULE]'); EVAL]','ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ','AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn') || '%')
|
|
|
))
|
|
|
-- Recherche selon l'id du salarié (SALARIE_ID)
|
|
|
OR (1=1
|
|
|
AND '[MATRICULE]' = ''
|
|
|
AND '[SALARIE_ID]' = v_salaries_1.salarie_id::text
|
|
|
AND '[SALARIE_ID]' <> ''
|
|
|
AND '[SALARIE_ID]' <> '0')
|
|
|
-- Recherche selon l'oid du contrat (CONTRAT_ID)
|
|
|
OR (1=1
|
|
|
AND v_salaries_1.salarie_id IN (SELECT salarie_id FROM rh.v_contrats_1 WHERE contrat_id::text = '[CONTRAT_ID]')
|
|
|
AND '[MATRICULE]' = ''
|
|
|
AND (1!=1
|
|
|
OR '[SALARIE_ID]' = ''
|
|
|
OR '[SALARIE_ID]' = '0'))
|
|
|
ORDER BY lpad(v_salaries_1.salarie_code, 50, ' ')
|
|
|
;
|
|
|
|
|
|
SELECT
|
|
|
'SALARIE_ID',
|
|
|
coalesce(max(oid), 0)::text
|
|
|
FROM w_tmp_list_sal
|
|
|
UNION ALL
|
|
|
SELECT
|
|
|
'ACTION_AFFICHAGE',
|
|
|
CASE
|
|
|
WHEN count(*) = 0 THEN 'MESSAGE'
|
|
|
WHEN count(*) = 1 THEN 'AFFICHER'
|
|
|
WHEN count(*) > 1 THEN 'LISTER'
|
|
|
END
|
|
|
FROM w_tmp_list_sal
|
|
|
;
|
|
|
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="name"/>
|
|
|
<FIELD name="value"/>
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
<SQL>
|
|
|
<select><![CDATA[
|
|
|
SELECT 'SALARIE_CODE', matricule FROM rh.p_salaries WHERE oid = to_number('[VIEW.SALARIE_ID]', '99999999999')
|
|
|
UNION ALL
|
|
|
SELECT 'SALARIE_TEXTE', prenom||' '||nom FROM rh.p_salaries WHERE oid = to_number('[VIEW.SALARIE_ID]', '99999999999')
|
|
|
]]></select>
|
|
|
<FIELDS>
|
|
|
<FIELD name="name"/>
|
|
|
<FIELD name="value"/>
|
|
|
</FIELDS>
|
|
|
</SQL>
|
|
|
</QUERY>
|
|
|
</QUERIES>
|
|
|
<PRESENTATION>
|
|
|
<VIEWLINKS>
|
|
|
<VIEWLINK label="Détail rubriques" shortLabel="Détail rubriques" view="RH000012.XML" visible="= TAB == Paie3" componentName="" >
|
|
|
<ARGS name="ALL" >
|
|
|
<value><![CDATA[
|
|
|
|
|
|
LINKVARIABLES['CONTRAT_MOIS_ID'] = ROW.OID;
|
|
|
LINKVARIABLES['LNK_MOIS_PAIE'] = ROW.MOIS_PAIE;
|
|
|
LINKVARIABLES['SALARIE_ID'] = ROW.ISAL;
|
|
|
|
|
|
return 'OK';
|
|
|
|
|
|
]]></value>
|
|
|
</ARGS>
|
|
|
</VIEWLINK>
|
|
|
<VIEWLINK label="Détail [DICT.RH.SALARIE#2]" shortLabel="Détail [DICT.RH.SALARIE#1]" view="RH000009.XML" visible="= TAB == Salarié0 && VIEW.ACTION_AFFICHAGE == 'LISTER'" componentName="" >
|
|
|
<ARGS name="ALL" >
|
|
|
<value><![CDATA[
|
|
|
|
|
|
LINKVARIABLES['MATRICULE'] = '';
|
|
|
LINKVARIABLES['SALARIE_ID'] = ROW.SALARIE_LIST_ID;
|
|
|
|
|
|
return 'OK';
|
|
|
|
|
|
]]></value>
|
|
|
</ARGS>
|
|
|
</VIEWLINK>
|
|
|
</VIEWLINKS>
|
|
|
<ONGLET label="Liste" queryNumber="8" newPage="true" visibleCondition="VIEW.ACTION_AFFICHAGE == 'LISTER'">
|
|
|
<DATAGRID title="" total="false" headerHeight="20" rowHeight="20">
|
|
|
<COLUMN dataField="SALARIE_LIST_ID" type="Number" visible="false" headerText="Oid" />
|
|
|
<COLUMN dataField="SALARIE_LIST_MATRICULE" type="Char" visible="true" headerText="Matricule" width="100" textAlign="center"/>
|
|
|
<COLUMNx dataField="SALARIE_LIST_PRENOM" type="Char" visible="true" headerText="Prénom" width="200" />
|
|
|
<COLUMN dataField="SALARIE_LIST_NOMCOMPLET" type="Char" visible="true" headerText="Nom, prénom" minWidth="200" />
|
|
|
<COLUMNx dataField="SALARIE_LIST_JF" type="Char" visible="true" headerText="Nom jeune fille" width="200" />
|
|
|
<COLUMN dataField="SALARIE_LIST_ENT" type="Char" visible="true" headerText="Entreprise" width="200" />
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET label="Message" queryNumber="9" newPage="true" visibleCondition="VIEW.ACTION_AFFICHAGE == 'MESSAGE'">
|
|
|
<DATAGRID title="" total="false" headerHeight="20" rowHeight="20">
|
|
|
<COLUMN dataField="MESSAGE_ALERT" type="Char" visible="true" headerText="Message" minWidth="200"/>
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET label="[DICT.RH.SALARIE]" visibleCondition="VIEW.ACTION_AFFICHAGE == 'AFFICHER'">
|
|
|
<DATAGRID title="" total="false" showHeaders="false" rowHeight="20" multiLine="true" headerHeight="18">
|
|
|
<ROWSTYLE name="fontSize" value="11"/>
|
|
|
<ROWSTYLE name="backgroundColor" value="0xffd393" condition="ROW.KEY == 'CHA'"/>
|
|
|
<ROWSTYLE name="fontWeight" value="bold" condition="ROW.KEY == 'CHA'"/>
|
|
|
<COLUMN dataField="KEY" visible="false" textAlign="left"/>
|
|
|
<COLUMN dataField="LABEL" visible="true" width="220" textAlign="left">
|
|
|
<CELLSTYLE name="paddingLeft" value="30" condition="ROW.KEY == 'PAD'"/>
|
|
|
<CELLSTYLE name="paddingLeft" value="40" condition="ROW.KEY == 'PAD2'"/>
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="VAL" visible="true" minWidth="400" textAlign="left">
|
|
|
<CELLSTYLE name="fontWeight" value="bold" condition="ROW.KEY == '1'"/>
|
|
|
<CELLSTYLE name="fontWeight" value="bold" condition="ROW.KEY == '2'"/>
|
|
|
<CELLSTYLE name="paddingLeft" value="10" condition="ROW.KEY == 'PAD2'"/>
|
|
|
</COLUMN>
|
|
|
<LINE label="Identifiation du salarié" key="CHA" />
|
|
|
<LINE label="Matricule" key="1">
|
|
|
<COLUMN dataField="SALARIE_CODE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Nom / Prénom" key="1">
|
|
|
<COLUMN dataField="SALARIE_TEXTE" type="Char" outputFormat="#" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="NIR" key="3">
|
|
|
<COLUMN dataField="NIR" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Date de naissance" key="3">
|
|
|
<COLUMN dataField="DATE_NAISSANCE" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD MMM YYYY" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Age" key="4">
|
|
|
<COLUMN dataField="AGE" type="Number" outputFormat="0 an(s)" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Sexe" key="3">
|
|
|
<COLUMN dataField="SEXE" type="Char" toDataField="VAL" visible="true" textAlign="right">
|
|
|
<CELLSTYLE name="paddingLeft" value="10" />
|
|
|
<CELLSTYLE name="cellIndicator" value="femme, 12,left middle , 0xEB76B1" condition="ROW.SEXE == 'F'" />
|
|
|
<CELLSTYLE name="cellIndicator" value="homme, 12, left middle, 0x75a0eb" condition="ROW.SEXE == 'M'" />
|
|
|
<CELLSTYLE name="cellIndicator" value="rectangle, 10, left middle, 0x666666" condition="ROW.SEXE != 'F' && ROW.SEXE != 'M'" />
|
|
|
</COLUMN>
|
|
|
</LINE>
|
|
|
<LINE label="Situation familiale" key="4">
|
|
|
<COLUMN dataField="SITUATION_FAMILIALE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Nationalité" key="4">
|
|
|
<COLUMN dataField="NATIONALITE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Code postal" key="4">
|
|
|
<COLUMN dataField="CODE_POSTAL" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="RQTH" key="4">
|
|
|
<COLUMN dataField="RQTH" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Historique du salarié" key="CHA" />
|
|
|
<LINE label="Entreprise" key="1">
|
|
|
<COLUMN dataField="ENTREPRISE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Date ancienneté" key="4">
|
|
|
<COLUMN dataField="DATE_ANCIENNETE" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD MMM YYYY" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Date entrée Ets." key="4">
|
|
|
<COLUMN dataField="DATE_ENTREE_ETS" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD MMM YYYY" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Date sortie Ets." key="4">
|
|
|
<COLUMN dataField="DATE_SORTIE_ETS" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD MMM YYYY" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Ancienneté Etablissement" key="4">
|
|
|
<COLUMN dataField="ANC" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Ancienneté Reprise" key="4">
|
|
|
<COLUMN dataField="ANCREP" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Classification SAE" key="CHA" />
|
|
|
<LINE label="Groupe de discipline" key="4">
|
|
|
<COLUMN dataField="SAE_GROUPE_DISCIPLINE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Qualification" key="4">
|
|
|
<COLUMN dataField="SAE_QUALIFICATION" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Filière" key="4">
|
|
|
<COLUMN dataField="SAE_FILIERE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Dernier contrat" key="CHA" />
|
|
|
<LINE label="Date début [DICT.RH.CONTRAT#2]" key="PAD">
|
|
|
<COLUMN dataField="DATE_DEBUT_CONTRAT" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD MMM YYYY" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Date fin [DICT.RH.CONTRAT#2]" key="PAD">
|
|
|
<COLUMN dataField="DATE_FIN_CONTRAT" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD MMM YYYY" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="[DICT.RH.MOTIF_DEBUT#1]" key="PAD" >
|
|
|
<COLUMN dataField="MOTIF_DEBUT" type="Char" toDataField="VAL" visibleCondition="ENV.RHPROVIDER != 'shspub'" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="[DICT.RH.MOTIF_FIN#1]" key="PAD" >
|
|
|
<COLUMN dataField="MOTIF_FIN" type="Char" toDataField="VAL" visibleCondition="ENV.RHPROVIDER != 'shspub'" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Qualification" key="PAD" >
|
|
|
<COLUMN dataField="QUALIFICATION" type="Char" toDataField="VAL" visibleCondition="ENV.RHPROVIDER != 'shspub'" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Spécialité" key="PAD" >
|
|
|
<COLUMN dataField="SPECIALITE" type="Char" toDataField="VAL" visibleCondition="ENV.RHPROVIDER != 'shspub'" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="[DICT.RH.SERVICE#1]" key="PAD">
|
|
|
<COLUMN dataField="SERVICE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Unité Fonctionelle" key="PAD" >
|
|
|
<COLUMN dataField="UNITE_FONCTIONNELLE" type="Char" toDataField="VAL" visibleCondition="ENV.RHPROVIDER == 'shspub'" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="[DICT.RH.TYPE_CONTRAT#1]" key="PAD">
|
|
|
<COLUMN dataField="TYPE_CONTRAT" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="[DICT.RH.TYPE_TEMPS_TRAVAIL#1]" key="PAD">
|
|
|
<COLUMN dataField="TYPE_TEMPS_TRAVAIL" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="[DICT.RH.STATUT#1]" key="PAD">
|
|
|
<COLUMN dataField="STATUT" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Catégorie statutaire" key="PAD" >
|
|
|
<COLUMN dataField="CATEGORIE_STATUTAIRE" type="Char" toDataField="VAL" visibleCondition="ENV.RHPROVIDER == 'shspub'" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Filière" key="PAD" >
|
|
|
<COLUMN dataField="FILIERE" type="Char" toDataField="VAL" visibleCondition="ENV.RHPROVIDER == 'shspub'" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Cadre d'emploi" key="PAD" >
|
|
|
<COLUMN dataField="CADRE_EMPLOI" type="Char" toDataField="VAL" visibleCondition="ENV.RHPROVIDER == 'shspub'" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="[DICT.RH.GRILLE#1]/[DICT.RH.GROUPE_GRILLE#1]" key="PAD">
|
|
|
<COLUMN dataField="GRILLE" type="Char" outputFormat="0" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="[DICT.RH.CATEGORIE_SOC_PRO#1]" key="PAD">
|
|
|
<COLUMN dataField="CATEGORIE_SOCIO" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Commission Paritaire" key="PAD" >
|
|
|
<COLUMN dataField="COMMISSION_PARITAIRE" type="Char" toDataField="VAL" visibleCondition="ENV.RHPROVIDER == 'shspub'" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Catégorie de congés" key="PAD" >
|
|
|
<COLUMN dataField="CATEGORIE_CONGE" type="Char" toDataField="VAL" visibleCondition="ENV.RHPROVIDER == 'shspub'" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="[DICT.RH.CODE_EMPLOI#1]" key="PAD">
|
|
|
<COLUMN dataField="CODE_EMPLOI" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="[DICT.RH.GROUPE_COTISANT#1]" key="PAD">
|
|
|
<COLUMN dataField="GROUPE_COTISANT" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Lettre Budgétaire" key="PAD" >
|
|
|
<COLUMN dataField="LETTRE_BUDGETAIRE" type="Char" toDataField="VAL" visibleCondition="ENV.RHPROVIDER == 'shspub'" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Compte d'imputation" key="PAD" >
|
|
|
<COLUMN dataField="COMPTE_IMPUTATION" type="Char" toDataField="VAL" visibleCondition="ENV.RHPROVIDER == 'shspub'" textAlign="left" />
|
|
|
</LINE>
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET label="[DICT.RH.CONTRAT#3]" queryNumber="1" newPage="true" visibleCondition="VIEW.ACTION_AFFICHAGE == 'AFFICHER'">
|
|
|
<SELECTIONS>
|
|
|
<GROUP>
|
|
|
<FIELD name="AFF_CONTRAT" label="Affichage" UI="combo" updateEachTime="true" localSelection="true" default="g">
|
|
|
<OPTION label="Résumé" data="g"/>
|
|
|
<OPTION label="Détaillé" data="d"/>
|
|
|
</FIELD>
|
|
|
</GROUP>
|
|
|
</SELECTIONS>
|
|
|
<INPUTSELECTION condition="(SELECT.AFF_CONTRAT == 'd' && ROW.CHPLEVEL == '2') || (SELECT.AFF_CONTRAT == 'g' && ROW.CHPLEVEL == '1')"/>
|
|
|
<DATAGRID title="" total="false" headerHeight="36" rowHeight="36">
|
|
|
<COLUMN dataField="CHPLEVEL" visible="false" textAlign="left"/>
|
|
|
<COLUMN dataField="CONTRAT_CODE" type="Char" visible="true" headerText="Code" minWidth="50" />
|
|
|
<COLUMN dataField="DATE_DEBUT_CONTRAT" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date début" width="80" textAlign="left"/>
|
|
|
<COLUMN dataField="DATE_FIN_CONTRAT" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date fin" width="80" textAlign="left"/>
|
|
|
<COLUMN dataField="DUREE" type="Number" outputFormat="#" visible="true" headerText="Durée" description="Durée du contrat en jours." width="60" textAlign="left"/>
|
|
|
<COLUMN dataField="ANC" type="Number" outputFormat="#,00" visible="true" headerText="Ancienneté Etablissement" description="Ancienneté Etablissement à fin de [DICT.RH.ARRET_TRAVAIL_COURT#2] ou aujourd'hui si en cours." width="80" textAlign="left"/>
|
|
|
<COLUMN dataField="ANCREP" type="Number" outputFormat="#,00" visible="true" headerText="Ancienneté Reprise" description="Ancienneté Reprise à fin de [DICT.RH.ARRET_TRAVAIL_COURT#2] ou aujourd'hui si en cours." width="80" textAlign="left"/>
|
|
|
<!-- Dimensions -->
|
|
|
<COLUMN dataField="TYPE_CONTRAT" type="Char" visible="true" headerText="[DICT.RH.TYPE_CONTRAT#1]" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="MOTIF_DEBUT" type="Char" visibleCondition="ENV.RHPROVIDER != 'shspub' && SELECT.AFF_CONTRAT == 'd'" headerText="[DICT.RH.MOTIF_DEBUT#1]" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="MOTIF_FIN" type="Char" visibleCondition="ENV.RHPROVIDER != 'shspub' && SELECT.AFF_CONTRAT == 'd'" headerText="Motif fin" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="STATUT" type="Char" visible="true" headerText="[DICT.RH.STATUT#1]" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="GRILLE" type="Char" visible="true" headerText="[DICT.RH.GRILLE#1]/[DICT.RH.GROUPE_GRILLE#1]" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="GROUPE_COTISANT" type="Char" visible="true" headerText="[DICT.RH.GROUPE_COTISANT#1]" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="TYPE_TEMPS_TRAVAIL" type="Char" visible="true" headerText="[DICT.RH.TYPE_TEMPS_TRAVAIL#1]/horaire" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="QUALIFICATION" type="Char" visibleCondition="ENV.RHPROVIDER != 'shspub'" headerText="Qualification" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="CATEGORIE_SOCIO" type="Char" visibleCondition="ENV.RHPROVIDER != 'shspub' && SELECT.AFF_CONTRAT == 'd'" headerText="[DICT.RH.CATEGORIE_SOC_PRO#S1]" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="CODE_EMPLOI" type="Char" visibleCondition="ENV.RHPROVIDER != 'shspub' && SELECT.AFF_CONTRAT == 'd'" headerText="[DICT.RH.CODE_EMPLOI#1]" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="ETABLISSEMENT" type="Char" visible="true" headerText="Etab." width="100" />
|
|
|
<COLUMN dataField="SERVICE" type="Char" visible="true" headerText="[DICT.RH.SERVICE#1]" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="SPECIALITE" type="Char" visibleCondition="ENV.RHPROVIDER != 'shspub'" headerText="Spécialité" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="SECTION_ANA_COMPTA" type="Char" visible="true" headerText="Sect. Ana. Cmpt." width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="SECTION_ANA_PAIE" type="Char" visible="true" headerText="Sect. Ana. Paie" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="SAE_GROUPE_DISCIPLINE" type="Char" visible="true" headerText="SAE - Groupe discipline" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="SAE_QUALIFICATION" type="Char" visible="true" headerText="SAE - Qualification" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="SAE_FILIERE" type="Char" visible="true" headerText="SAE - Filière" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="UNITE_FONCTIONNELLE" type="Char" visibleCondition="ENV.RHPROVIDER == 'shspub'" headerText="Unité Fct." width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="LETTRE_BUDGETAIRE" type="Char" visibleCondition="ENV.RHPROVIDER == 'shspub'" headerText="Lettre Budgt." width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="COMMISSION_PARITAIRE" type="Char" visibleCondition="ENV.RHPROVIDER == 'shspub'" headerText="Grp. Comm. Par." width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="COMPTE_IMPUTATION" type="Char" visibleCondition="ENV.RHPROVIDER == 'shspub'" headerText="Compte d'imp." width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="CATEGORIE_CONGE" type="Char" visibleCondition="ENV.RHPROVIDER == 'shspub'" headerText="Cat. congé" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="FILIERE" type="Char" visibleCondition="ENV.RHPROVIDER == 'shspub'" headerText="Filière" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="CADRE_EMPLOI" type="Char" visibleCondition="ENV.RHPROVIDER == 'shspub'" headerText="Cadre d'emploi" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="CATEGORIE_STATUTAIRE" type="Char" visibleCondition="ENV.RHPROVIDER == 'shspub'" headerText="Cat. statutaire" width="100" textAlign="left"/>
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET label="[DICT.RH.ARRET_TRAVAIL#3]" queryNumber="3" newPage="true" visibleCondition="VIEW.ACTION_AFFICHAGE == 'AFFICHER'">
|
|
|
<DATAGRID title="" total="false" headerHeight="24">
|
|
|
<COLUMN dataField="ARRET_ID" type="Number" visible="false" />
|
|
|
<COLUMN dataField="SALARIE_ID" type="Number" visible="false" />
|
|
|
<COLUMN dataField="DDEB"
|
|
|
type="Date"
|
|
|
width="80"
|
|
|
inputFormat="AAAA-MM-JJ"
|
|
|
outputFormat="DD/MM/YY"
|
|
|
headerText="Date Début"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="DFIN"
|
|
|
type="Date"
|
|
|
width="80"
|
|
|
inputFormat="AAAA-MM-JJ"
|
|
|
outputFormat="DD/MM/YY"
|
|
|
headerText="Date Fin"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="DREP"
|
|
|
type="Date"
|
|
|
width="80"
|
|
|
inputFormat="AAAA-MM-JJ"
|
|
|
outputFormat="DD/MM/YY"
|
|
|
headerText="Reprise"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="MOT"
|
|
|
type="Char"
|
|
|
minWidth="250"
|
|
|
headerText="Motif"
|
|
|
totalComplement="" />
|
|
|
<COLUMN dataField="MOP"
|
|
|
type="Char"
|
|
|
width="200"
|
|
|
headerText="Précision"
|
|
|
totalComplement="" />
|
|
|
<COLUMN dataField="NJOU"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#"
|
|
|
headerText="Nb jours"
|
|
|
fixed="false"
|
|
|
totalComplement="" />
|
|
|
<COLUMN dataField="NHRE"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00"
|
|
|
headerText="Nb heures"
|
|
|
fixed="false"
|
|
|
totalComplement="" />
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET label="Paie" queryNumber="2" newPage="true" visibleCondition="VIEW.ACTION_AFFICHAGE == 'AFFICHER'">
|
|
|
<SELECTIONS>
|
|
|
<GROUP>
|
|
|
<FIELD name="AFF_PAIE" label="Affichage" UI="combo" updateEachTime="true" localSelection="true" default="g">
|
|
|
<OPTION label="Résumé" data="g"/>
|
|
|
<OPTION label="Ventilé" data="d"/>
|
|
|
</FIELD>
|
|
|
</GROUP>
|
|
|
</SELECTIONS>
|
|
|
<INPUTSELECTION condition="SELECT.AFF_PAIE == 'd' || (SELECT.AFF_PAIE == 'g' && ROW.CHPLEVEL == '1')"/>
|
|
|
<DATAGRID title="" total="false" headerHeight="36" >
|
|
|
<ROWSTYLE name="backgroundColor" value="0xffd393" condition="ROW.CHPLEVEL == '1' && SELECT.AFF_PAIE == 'd'"/>
|
|
|
<ROWSTYLE name="fontWeight" value="bold" condition="ROW.CHPLEVEL == '1' && SELECT.AFF_PAIE == 'd'"/>
|
|
|
<COLUMN dataField="CHPLEVEL" visible="false" textAlign="left"/>
|
|
|
<COLUMN dataField="OID"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#"
|
|
|
visible="false" />
|
|
|
<COLUMN dataField="MOIS_PAIE" type="Number" width="80" outputFormat="#" visible="false" />
|
|
|
<COLUMN dataField="CONTRAT_CODE" type="Char" visible="true" headerText="[DICT.RH.CONTRAT#1]" width="100" />
|
|
|
<COLUMN dataField="DATE_PAIE" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="MMM YYYY" visible="false" headerText="Date paie" width="100" textAlign="left"/>
|
|
|
<COLUMN dataField="DATE_DEBUT" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date début" width="60" textAlign="center"/>
|
|
|
<COLUMN dataField="DATE_FIN" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date fin" width="60" textAlign="center"/>
|
|
|
<COLUMN dataField="ISAL" visible="false" />
|
|
|
<COLUMN dataField="NHEC"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00h"
|
|
|
headerText="Heures contrat"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="NHEU"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00h"
|
|
|
headerText="Heures payées"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
|
|
|
<COLUMN dataField="NHTR"
|
|
|
type="Number"
|
|
|
width="70"
|
|
|
outputFormat="#,00h"
|
|
|
headerText="Heures travaillées"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="NETC"
|
|
|
type="Number"
|
|
|
width="70"
|
|
|
outputFormat="#,00"
|
|
|
headerText="ETP contrat"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="NETP"
|
|
|
type="Number"
|
|
|
width="70"
|
|
|
outputFormat="#,00"
|
|
|
headerText="ETP payé"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
|
|
|
<COLUMN dataField="NETPT"
|
|
|
type="Number"
|
|
|
width="70"
|
|
|
outputFormat="#,00"
|
|
|
headerText="ETP travaillé"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="MBRP"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00E"
|
|
|
headerText="Montant masse salariale"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="MBRU"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00E"
|
|
|
headerText="Brut"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="MANA"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00E"
|
|
|
headerText="Avantages en nature"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="MFIM"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00E"
|
|
|
headerText="Frais imposables"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
|
|
|
<COLUMN dataField="MNCOS"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00E"
|
|
|
headerText="Cotisations Salariales"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="MCOP"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00E"
|
|
|
headerText="Cotisations Patronales"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="MNODS"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00E"
|
|
|
headerText="OD/net Salariées"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="MODP"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00E"
|
|
|
headerText="OD/net Patronales"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="MNEI"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00E"
|
|
|
headerText="Net imposable [DICT.RH.SALARIE]"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="MNEP"
|
|
|
type="Number"
|
|
|
width="80"
|
|
|
outputFormat="#,00E"
|
|
|
headerText="Net à payer [DICT.RH.SALARIE]"
|
|
|
textAlign="right"
|
|
|
fixed="false"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="VENTIL" type="Char" visible="true" headerText="Ventilation" minWidth="100" />
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET label="Accidents" queryNumber="5" newPage="true" visibleCondition="VIEW.ACTION_AFFICHAGE == 'AFFICHER'">
|
|
|
<DATAGRID title="" total="false" headerHeight="36">
|
|
|
<COLUMN dataField="ACCIDENT_ID" type="Number" visible="false" />
|
|
|
<COLUMN dataField="SALARIE_ACC_ID" type="Number" visible="false" />
|
|
|
<COLUMN dataField="D_ACC"
|
|
|
type="Date"
|
|
|
width="80"
|
|
|
inputFormat="AAAA-MM-JJ"
|
|
|
outputFormat="DD/MM/YY"
|
|
|
headerText="Date"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="C_ACC"
|
|
|
type="Char"
|
|
|
minWidth="200"
|
|
|
headerText="[DICT.RH.CIRCONSTANCE#1]"
|
|
|
totalComplement="" />
|
|
|
<COLUMN dataField="L_ACC"
|
|
|
type="Char"
|
|
|
width="200"
|
|
|
headerText="[DICT.RH.LIEU#1]"
|
|
|
totalComplement="" />
|
|
|
<COLUMN dataField="N_ACC"
|
|
|
type="Char"
|
|
|
width="200"
|
|
|
visibleCondition="ENV.RHPROVIDER != 'shspub'"
|
|
|
headerText="Nature"
|
|
|
totalComplement="" />
|
|
|
<COLUMN dataField="S_ACC"
|
|
|
type="Char"
|
|
|
width="200"
|
|
|
visibleCondition="ENV.RHPROVIDER != 'shspub'"
|
|
|
headerText="Siège"
|
|
|
totalComplement="" />
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET label="Visites" queryNumber="4" newPage="true" visibleCondition="VIEW.ACTION_AFFICHAGE == 'AFFICHER'">
|
|
|
<DATAGRID title="" total="false" headerHeight="36">
|
|
|
<COLUMN dataField="VISITE_ID" type="Number" visible="false" />
|
|
|
<COLUMN dataField="SALARIE_VIS_ID" type="Number" visible="false" />
|
|
|
<COLUMN dataField="D_VIS"
|
|
|
type="Date"
|
|
|
width="80"
|
|
|
inputFormat="AAAA-MM-JJ"
|
|
|
outputFormat="DD/MM/YY"
|
|
|
headerText="Date"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="MOT_VIS"
|
|
|
type="Char"
|
|
|
minWidth="200"
|
|
|
headerText="[DICT.RH.MOTIF_VISITE_MEDICALE#1]"
|
|
|
totalComplement="" />
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET label="Formations" queryNumber="6" newPage="true" visibleCondition="VIEW.ACTION_AFFICHAGE == 'AFFICHER'">
|
|
|
<DATAGRID title="" total="" headerHeight="36">
|
|
|
<COLUMN dataField="FORMATION_ID" type="Number" visible="false" />
|
|
|
<COLUMN dataField="SALARIE_FOR_ID" type="Number" visible="false" />
|
|
|
<COLUMN dataField="C_FOR"
|
|
|
type="Char"
|
|
|
width="100"
|
|
|
headerText="Code formation"
|
|
|
totalComplement="" />
|
|
|
<COLUMN dataField="T_FOR"
|
|
|
type="Char"
|
|
|
minWidth="300"
|
|
|
headerText="Nom formation"
|
|
|
totalComplement="" />
|
|
|
<COLUMN dataField="D_FOR"
|
|
|
type="Char"
|
|
|
width="100"
|
|
|
headerText="Date"
|
|
|
totalComplement="*ROW" />
|
|
|
<COLUMN dataField="NB_HR"
|
|
|
type="Char"
|
|
|
width="80"
|
|
|
headerText="Nbre d'heures"
|
|
|
totalComplement="" />
|
|
|
<COLUMN dataField="N_ORG"
|
|
|
type="Char"
|
|
|
width="150"
|
|
|
headerText="Organisateur"
|
|
|
totalComplement="" />
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET label="Handicap" queryNumber="7" newPage="true" visibleCondition="VIEW.ACTION_AFFICHAGE == 'AFFICHER'">
|
|
|
<DATAGRID title="" total="false" showHeaders="false" rowHeight="20" multiLine="true" headerHeight="18">
|
|
|
<ROWSTYLE name="fontSize" value="14" />
|
|
|
<ROWSTYLE name="backgroundColor" value="0xffd393" condition="ROW.KEY == 'CHA'" />
|
|
|
<ROWSTYLE name="fontWeight" value="bold" condition="ROW.KEY == 'CHA'" />
|
|
|
<COLUMN dataField="KEY" visible="false" textAlign="left" />
|
|
|
<COLUMN dataField="LABEL" visible="true" width="450" textAlign="left">
|
|
|
<CELLSTYLE name="paddingLeft" value="30" condition="ROW.KEY == 'PAD'" />
|
|
|
<CELLSTYLE name="paddingLeft" value="40" condition="ROW.KEY == 'PAD2'" />
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="VAL" visible="true" minWidth="400" textAlign="left" verticalAlign="center">
|
|
|
<CELLSTYLE name="fontWeight" value="bold" condition="ROW.KEY == '1'" />
|
|
|
<CELLSTYLE name="fontWeight" value="bold" condition="ROW.KEY == '2'" />
|
|
|
<CELLSTYLE name="paddingLeft" value="10" condition="ROW.KEY == 'PAD2'" />
|
|
|
<CELLSTYLE name="color" value="0x09A538" condition="ROW.VAL == 'oui'" />
|
|
|
<CELLSTYLE name="color" value="0xFF0000" condition="ROW.VAL == 'non'" />
|
|
|
<CELLSTYLE name="color" value="0x777777" condition="ROW.VAL == 'Non renseigné'" />
|
|
|
<CELLSTYLE name="fontStyle" value="italic" condition="ROW.VAL == 'Non renseigné'" />
|
|
|
</COLUMN>
|
|
|
|
|
|
<LINE label="Taux d'incapacité" key="3">
|
|
|
<COLUMN dataField="H_TAUX_INCAPATICE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Catégorie COTOREP" key="3">
|
|
|
<COLUMN dataField="H_CATEGORIE_COTOREP" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Date de décision" key="3">
|
|
|
<COLUMN dataField="H_DATE_EFFET" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD MMM YYYY" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Date d'échéance" key="3">
|
|
|
<COLUMN dataField="H_DATE_ECHEANCE" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD MMM YYYY" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
|
|
|
<LINE label="Travailleur reconnu par CDAPH" key="CHA" />
|
|
|
<LINE label="Reconnaissance de la Qualité de Travailleur Handicapé (RQTH)" key="3">
|
|
|
<COLUMN dataField="H_RQTH" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Bénéficiaire de l'Allocation aux Adultes Handicapés (AAH)" key="3">
|
|
|
<COLUMN dataField="H_BENEFICIAIRE_AAH" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Carte d'invalidité" key="3">
|
|
|
<COLUMN dataField="H_CARTE_INVALIDITE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
|
|
|
<LINE label="Victime d'accident du travail ou de maladie professionnelle" key="CHA" />
|
|
|
<LINE label="Accident du Travail / Maladie Professionnelle (AT-MP)" key="3">
|
|
|
<COLUMN dataField="H_MALADIE_P_AT" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Taux d'Incapacité Permanente Partielle (IPP) si AT-MP" key="3">
|
|
|
<COLUMN dataField="H_TAUX_IPP" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Invalide pensionné" key="3">
|
|
|
<COLUMN dataField="H_INVALIDE_PENSIONNE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
|
|
|
<LINE label="Autres catégories" key="CHA" />
|
|
|
<LINE label="Mutilé de guerre" key="3">
|
|
|
<COLUMN dataField="H_MUTILE_GUERRE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Assimilé mutilé de guerre" key="3">
|
|
|
<COLUMN dataField="H_ASSIMILE_MUTILE_GUERRE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Sapeur pompier volontaire" key="3">
|
|
|
<COLUMN dataField="H_POMPIER_VOLONTAIRE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
|
|
|
<LINE label="Minorations au titre des efforts consentis par l'employeur" key="CHA" />
|
|
|
<LINE label="Unité 0,5 [DICT.RH.SALARIE#2] > 51 ans ou < 26 ans" key="3">
|
|
|
<COLUMN dataField="H_UNITE_AGE_26_51" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Unité 1 reconnu lourdeur handicap" key="3">
|
|
|
<COLUMN dataField="H_LOURD_HANDICAP" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Unité 0,5 embauche 1er handicapé" key="3">
|
|
|
<COLUMN dataField="H_EMB_1ER_HANDICAP" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Unité 1 embauche handicapé chômeur longue durée" key="3">
|
|
|
<COLUMN dataField="H_EMB_CHOM_LONG" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Unité 1 embauche handicapé sorti EA CDTD ESAT" key="3">
|
|
|
<COLUMN dataField="H_EMB_EA_CDTD_ESAT" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
<LINE label="Année embauche valable pour les 3 dernières unités" key="3">
|
|
|
<COLUMN dataField="H_ANNEE_EMBAUCHE" type="Char" toDataField="VAL" visible="true" textAlign="left" />
|
|
|
</LINE>
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET label="Expert" queryNumber="10" newPage="false" >
|
|
|
<DATAGRID title="" total="true" headerHeight="36" rowHeight="36">
|
|
|
<ROWSTYLE name="fontSize" value="12"/>
|
|
|
<COLUMN dataField="CXDS"
|
|
|
width="90"
|
|
|
type="Date"
|
|
|
inputFormat="AAAA-MM-JJ"
|
|
|
outputFormat="DD/MM/YY"
|
|
|
visible="true"
|
|
|
fixed="false"
|
|
|
headerText="Date signalement"
|
|
|
textAlign="left"
|
|
|
otherFunction="text"
|
|
|
totalFunction="text">
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CXG"
|
|
|
width="60"
|
|
|
type="Char"
|
|
|
visible="true"
|
|
|
headerText="Gravité"
|
|
|
textAlign="left"
|
|
|
otherFunction="text"
|
|
|
totalFunction="text"
|
|
|
totalComplement="">
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CXC"
|
|
|
width="200"
|
|
|
type="Char"
|
|
|
visible="true"
|
|
|
outputFormat="#"
|
|
|
headerText="Code Controle"
|
|
|
textAlign="left"
|
|
|
otherFunction="text"
|
|
|
totalFunction="text"
|
|
|
totalComplement="">
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CXT"
|
|
|
minWidth="200"
|
|
|
type="Char"
|
|
|
visible="true"
|
|
|
headerText="Texte Controle"
|
|
|
textAlign="left"
|
|
|
otherFunction="text"
|
|
|
totalFunction="text"
|
|
|
totalComplement="">
|
|
|
</COLUMN>
|
|
|
<COLUMN dataField="CXJ"
|
|
|
minWidth="100"
|
|
|
type="Char"
|
|
|
visible="true"
|
|
|
headerText="Justificatif Controle"
|
|
|
textAlign="left"
|
|
|
otherFunction="text"
|
|
|
totalFunction="text"
|
|
|
totalComplement="">
|
|
|
</COLUMN>
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
<ONGLET label="Planning" queryNumber="11" newPage="true" visibleCondition="VIEW.ACTION_AFFICHAGE == 'AFFICHER'">
|
|
|
<SELECTIONS>
|
|
|
<GROUP>
|
|
|
<FIELD name="AFF_PLANNING" label="Affichage" UI="combo" updateEachTime="true" localSelection="true" default="g">
|
|
|
<OPTION label="Résumé" data="g"/>
|
|
|
<OPTION label="Par service" data="d"/>
|
|
|
</FIELD>
|
|
|
</GROUP>
|
|
|
</SELECTIONS>
|
|
|
<INPUTSELECTION condition="SELECT.AFF_PLANNING == 'd' || (SELECT.AFF_PLANNING == 'g' && ROW.CHPLEVEL == '1')"/>
|
|
|
<DATAGRID title="" total="false" headerHeight="36" >
|
|
|
<ROWSTYLE name="backgroundColor" value="0xffd393" condition="ROW.CHPLEVEL == '1' && SELECT.AFF_PLANNING == 'd'"/>
|
|
|
<ROWSTYLE name="fontWeight" value="bold" condition="ROW.CHPLEVEL == '1' && SELECT.AFF_PLANNING == 'd'"/>
|
|
|
<COLUMN dataField="CHPLEVEL" visible="false" textAlign="left"/>
|
|
|
<COLUMN dataField="OID" type="Number" width="80" outputFormat="#" visible="false" />
|
|
|
<COLUMN dataField="MOIS_TEXTE" type="Date" visible="true" headerText="Mois" width="90" textAlign="left" />
|
|
|
<COLUMN dataField="DATE_DEBUT" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date début" width="80" textAlign="center"/>
|
|
|
<COLUMN dataField="DATE_FIN" type="Date" inputFormat="AAAA-MM-JJ" outputFormat="DD/MM/YY" visible="true" headerText="Date fin" width="80" textAlign="center"/>
|
|
|
<COLUMN dataField="TEMPS_INIT" type="Number" visible="true" outputFormat="#,00" headerText="Temps dû initial" width="80" textAlign="center"/>
|
|
|
<COLUMN dataField="TEMPS_DU" type="Number" visible="true" outputFormat="#,00" headerText="Temps dû" width="80" textAlign="center" />
|
|
|
<COLUMN dataField="TEMPS_VAL" type="Number" visible="true" outputFormat="#,00" headerText="Temps validé" width="80" textAlign="center" />
|
|
|
<COLUMN dataField="TEMPS_ABS" type="Number" visible="true" outputFormat="#,00" headerText="Temps absence" width="80" textAlign="center" />
|
|
|
</DATAGRID>
|
|
|
</ONGLET>
|
|
|
</PRESENTATION>
|
|
|
</VUE>
|