<?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 Jul 2020 19:08:18 Z</lastBuildDate><pubDate>3 Jul 2020 16:57:42 Z</pubDate><description>Bonjour,&#13;
J'ai une application avec des transactions qui fonctionne très bien en local mais chez un client en réseau, aujourd'hui, certains enregistrements ne sont pas modifiés alors que ma transaction se passe bien jusqu'au bout.&#13;
&#13;
HLitRecherchePremier ("Ecriture","CleEcriDate","B"+MoisDeb,"Ecriture bloquée",hBlocageEcriture)&#13;
TANTQUE (Pas HErreurBlocage) ET (PAS HEnDehors("Ecriture")) ET (ECRITURE.ECRITURECODE = "B") ET (ECRITURE.ANNEE + ECRITURE.MOIS &lt;= MoisDeFin)&#13;
	TransactionOk = Vrai&#13;
	SI SansEspace(PieceEnCours) &lt;&gt; SansEspace(ECRITURE.NUMECRITUREPIECE) ALORS&#13;
		SI pas HTransactionDebut (SansEspace(CheminTransaction)+"\Transact.Trs") ALORS&#13;
			TransactionOk = Faux&#13;
		FIN&#13;
	FIN&#13;
	SI TransactionOk ALORS&#13;
		SI (SeleBrouillard = 1) _OU_ ((SeleBrouillard = 2) ET (TableCherche("CodeSelect","*"+Complète(ECRITURE.JOURCODE,3)+"*") &lt;&gt; -1)) ALORS&#13;
			SI NbEnreg = 100 ALORS&#13;
				Moulinet.NomFichier = "Ecritures"&#13;
				Moulinet.NumDoc =  ECRITURE.MOIS+"/"+ECRITURE.ANNEE + " " + ECRITURE.JOURCODE &#13;
				MultitâcheRepeint("Moulinet")&#13;
				NbEnreg = 0&#13;
			SINON&#13;
				NbEnreg++&#13;
			FIN&#13;
			HLitRecherchePremier ("Compte","CpteNumero",Complète(ECRITURE.COMPTE,12),"Compte bloqué",hBlocageEcriture)&#13;
			SI pas HErreurBlocage() ALORS&#13;
				SI HTrouve("Compte") ALORS&#13;
					COMPTE.CUMULDEBITBROU = COMPTE.CUMULDEBITBROU - ECRITURE.DEBIT&#13;
					COMPTE.CUMULCREDITBROU = COMPTE.CUMULCREDITBROU - ECRITURE.CREDIT&#13;
					COMPTE.CUMULDEBITJOUR = COMPTE.CUMULDEBITJOUR + ECRITURE.DEBIT&#13;
					COMPTE.CUMULCREDITJOUR = COMPTE.CUMULCREDITJOUR + ECRITURE.CREDIT&#13;
					HModifie ("Compte")&#13;
				SINON&#13;
					SI PAS HEnDehors("Compte") ALORS&#13;
						HDebloqueNumEnr ("Compte",HNumEnr("Compte"))&#13;
					FIN&#13;
				FIN&#13;
				SI pas HErreurBlocage () ALORS&#13;
					ECRITURE.ECRITURECODE = "J"&#13;
					ECRITURE.DATEVALIDATION = DateSys()&#13;
					ECRITURE.NUMECRITUREPIECE = NumériqueVersChaîne(NumEcriturePiece,"6d")&#13;
					HModifie ("Ecriture")&#13;
					HLitSuivant ("Ecriture","CleEcriDate")&#13;
					SI SansEspace(PieceEnCours) &lt;&gt; SansEspace(ECRITURE.NUMECRITUREPIECE) ALORS&#13;
						FinTransaction(Vrai)&#13;
					SINON&#13;
						FinTransaction(Faux)&#13;
					FIN&#13;
				FIN&#13;
			FIN&#13;
		FIN&#13;
	fin&#13;
fin&#13;
&#13;
Si j'enlève mes transactions, tout fonctionne très bien chez le client en réseau. J'ai essayé en réseau chez nous, tout fonctionne très bien aussi.&#13;
&#13;
Quelqu'un aurait-il une idée ?</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240940-transaction-sur-fichiers-hfsql-reseau/read.awp</link><title>Transaction sur fichiers HFSQL en réseau</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>tsaillard83</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240940-transaction-sur-fichiers-hfsql-reseau-240950/read.awp</comments><pubDate>5 Jul 2020 19:08:18 Z</pubDate><description>Voici mes productions de développeurs web :&#13;
&#13;
http://www.innovandco.net&#13;
http://www.wms-conseil.fr&#13;
http://www.functionalprog.f…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240940-transaction-sur-fichiers-hfsql-reseau-240950/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240940-transaction-sur-fichiers-hfsql-reseau-240950/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240940-transaction-sur-fichiers-hfsql-reseau/read.awp">Transaction sur fichiers HFSQL en réseau</source><title>Re: Transaction sur fichiers HFSQL en réseau</title></item><item><author>test</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240940-transaction-sur-fichiers-hfsql-reseau-240949/read.awp</comments><pubDate>5 Jul 2020 15:11:30 Z</pubDate><description>si quand tu dis "en réseau" tu veux dire du HFSQL classique partagé à travers le réseau, la réponse est la et il faut le remplac…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240940-transaction-sur-fichiers-hfsql-reseau-240949/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240940-transaction-sur-fichiers-hfsql-reseau-240949/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/240940-transaction-sur-fichiers-hfsql-reseau/read.awp">Transaction sur fichiers HFSQL en réseau</source><title>Re: Transaction sur fichiers HFSQL en réseau</title></item></channel></rss>
