1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| SELECT
"Axe Structure"."Nom Societe" as "Structure_Societe",
"Infos Structure"."Ste Ville" as "Structure_SteVille",
"- Identification".Adresse1 as "Identification_Adresse1",
"- Identification".Adresse3 as "Identification_Adresse3",
"- Identification".Adresse2 as "Identification_Adresse2",
"- Identification".Adresse4 as "Identification_Adresse4",
case when "- Identification".Sexe = 'F' then 'e' else '' end as "accord",
case when "- Identification".Sexe = 'F' then 'de la' else 'du' end as "du_de_la",
case when "Axe Plan de Paie".Rubrique =('999900') then "Données de Paie"."Mtt Resultat Salarial" end as "Mtt_NAP",
"Axe Plan de Paie"."Lib Rubrique" as "Lib_NAP",
"Données de Paie"."Date de Paie",
"- Situation"."Matricule +",
Constantes."Date du Jour" as "Datejour"
FROM
"Dossier Salarié"
WHERE
"Axe Plan de Paie".Rubrique =('999900')
and ("- Situation"."Matricule +" = :PMatric)
and ("- Situation"."Societe +" = :PSociete)
and ("- Situation"."N° Situation +" = :PChron)
HAVING
"Données de Paie"."Date de Paie" = max ("Données de Paie"."Date de Paie") |
Partager