<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>5 Jun 2019 12:49:09 Z</lastBuildDate><pubDate>3 Jun 2019 16:11:37 Z</pubDate><description>Bonjour à tous,&#13;
&#13;
Je remplis un champ Planning par programmation en fonction de salariés et de tâches à effectuer, ci-dessous le code :&#13;
&#13;
PROCÉDURE AffichePlanning()&#13;
// Variables&#13;
tmpRDV est un RendezVous&#13;
&#13;
// Réinitialise&#13;
PlanningSupprimeTout(PLN_PRINCIPALE)&#13;
&#13;
POUR TOUT TACHE&#13;
	&#13;
	&#13;
	HFiltre(Salarié,IDSalarié,TACHE.IDSalarié)&#13;
	HLitPremier(Salarié)&#13;
	PlanningAjouteRessource(PLN_PRINCIPALE,Salarié.NomPrénom + gLien(TACHE.IDSalarié))&#13;
	&#13;
	HFiltre(Commande,IDCommande,TACHE.IDCommande)&#13;
	HLitPremier(Commande)&#13;
&#13;
	&#13;
	HFiltre(TypeTache,IDTypeTache,TACHE.IDTypeTache)&#13;
	HLitPremier(TypeTache)&#13;
	&#13;
	&#13;
	// Ajout de la plage&#13;
	tmpRDV.ID		= TACHE.IDTACHE&#13;
	tmpRDV.Ressource   = TACHE.IDSalarié&#13;
	tmpRDV.Titre       = TACHE.LIBTACHE&#13;
	tmpRDV.DateDébut   = TACHE.DATEDEBUT&#13;
	tmpRDV.DateFin     = TACHE.DATEFIN&#13;
	tmpRDV.Catégorie   = TypeTache.TypeTache&#13;
	tmpRDV.Contenu     = TACHE.CONTENUTACHE&#13;
	tmpRDV.Bulle       = TACHE.LIBTACHE&#13;
	tmpRDV.CouleurFond = TypeTache.COULTYPE&#13;
	tmpRDV.Note        = TACHE.IDTACHE&#13;
	tmpRDV.JournéeEntière = TACHE.JOURENTIER&#13;
	&#13;
	PlanningAjouteRendezVous(PLN_PRINCIPALE,tmpRDV)&#13;
		&#13;
FIN&#13;
&#13;
HDésactiveFiltre(TypeTache)&#13;
HDésactiveFiltre(Commande)&#13;
HDésactiveFiltre(TACHE)&#13;
HDésactiveFiltre(Salarié)&#13;
&#13;
&#13;
Ce que je souhaite c'est trier les salariés (ressources) par nom. j'ai l'impression que par défaut il utilise idsalarié.&#13;
&#13;
Merci beaucoup pour votre aide...&#13;
&#13;
Alouije</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation/read.awp</link><title>Trier ressources champ Planning par programmation</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Voroltinquo</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation-230601/read.awp</comments><pubDate>5 Jun 2019 12:49:09 Z</pubDate><description>Bonjour,&#13;
C'est en effet la solution la plus simple. Elle devrait ressembler plus ou moins à cela :&#13;
[code:sql]&#13;
SELECT &#13;
	Tache…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation-230601/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation-230601/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation/read.awp">Trier ressources champ Planning par programmation</source><title>Re: Trier ressources champ Planning par programmation</title></item><item><author>Alouije</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation-230582/read.awp</comments><pubDate>4 Jun 2019 20:33:38 Z</pubDate><description>Il faudrait que je fasse un requête sur les taches c'est bien ça ?&#13;
&#13;
Effectivement l'appli n'affiche pas les 2 ressources mais …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation-230582/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation-230582/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation/read.awp">Trier ressources champ Planning par programmation</source><title>Re: Trier ressources champ Planning par programmation</title></item><item><author>jeanphi.news</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation-230573/read.awp</comments><pubDate>4 Jun 2019 11:50:18 Z</pubDate><description>Alouije avait soumis l'idée :&#13;
&gt; Bonjour à tous,&#13;
&gt;&#13;
&gt; Je remplis un champ Planning par programmation en fonction de salariés et…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation-230573/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation-230573/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation/read.awp">Trier ressources champ Planning par programmation</source><title>Re: Trier ressources champ Planning par programmation</title></item><item><author>ER</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation-230567/read.awp</comments><pubDate>4 Jun 2019 07:36:55 Z</pubDate><description>Bonjour,&#13;
&#13;
Les ressources sont affichées dans l'ordre où elles sont ajoutées.&#13;
&#13;
Dans ton cas tu parcours le fichier Salarié su…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation-230567/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation-230567/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230558-trier-ressources-champ-planning-par-programmation/read.awp">Trier ressources champ Planning par programmation</source><title>Re: Trier ressources champ Planning par programmation</title></item></channel></rss>
