====== HYPERPLANNING - Import primo-entrants ====== Dans SQL Developer ou Dbeaver par exemples, copier les résultats pertinents de la requête ci-dessous : select distinct cpte.cpt_login, etud.etud_numero, etud.etud_code_ine as NUM_INE, '08100'||etud.etud_numero as NUM_ORDRE, case ind.c_civilite when 'MME' then 'F' else 'M' end as SEXE, ind.nom_affichage as NOM, ind.prenom_affichage as PRENOM, to_char(ind.d_naissance,'DD/MM/YYYY'), cptem.cem_email||'@'||cptem.cem_domaine, ecp.code_periode, ecp.code_element, ec.libelle_cohorte, etud.d_creation, etud.etud_annee_1insc_univ as annee_entree_enit from grhum.etudiant etud join grhum.individu_ulr ind on etud.no_individu=ind.no_individu join grhum.enit_cursus_pegase ecp on ecp.code_apprenant=etud.etud_numero join histotox.enit_ref_cohorte ec on ec.code_objet_pegase=ecp.code_element join grhum.compte cpte on cpte.pers_id=ind.pers_id join grhum.compte_email cptem on cpte.cpt_ordre=cptem.cpt_ordre ---where etud.d_creation > to_date('01/07/'|| substr((select param_value from grhum_parametres where param_key like 'GRHUM_ANNEE_UNIVERSITAIRE'), -2), 'DD/MM/YY') where ec.code_periode like (select param_value from grhum_parametres where param_key like 'GRHUM_ANNEE_UNIVERSITAIRE')||'-%' and ecp.code_periode like (select param_value from grhum_parametres where param_key like 'GRHUM_ANNEE_UNIVERSITAIRE')||'-%' and (ecp.type_element like 'SEMESTRE' or ecp.code_element like 'NDENI-%' or ecp.code_element like '%PIE%') and ec.libelle_cohorte not like '%ETU%' order by etud.d_creation DESC, ec.libelle_cohorte, ind.nom_affichage, ind.prenom_affichage; Coller ensuite le résultat sélectionné dans Hyperplanning comme suit : DEPUIS LE CLIENT LOURD HYPERPLANNING (utiliser le compte "SPR", mdp dans TeamPass) * Sélectionner l'onglet "Plannings" * Sélectionner l'onglet "Etudiant" * Sélectionner le menu "Editer" * Sélectionner l'item "Coller" * Associer les colonnes des informations à importer avec les champs d'HP (attention à prendre en compte la première ligne) => en principe le format d'association des colonnes est enrgistré et est le bon par défaut comme dans l'image ci-dessous. {{:hp_import_etud.png?400|}}