Bonjour à tous
J’ai créé une fonction calcul pour importer mes variables. Lorsque j’importe, j’ai un retour “succès” mais quand je regarde dans mes bulletins, aucune variable n’apparaît.
Pouvez-vous m’aider ?
merci par avance
Voici la fonction créée
begin
if parametrage = true then
par.nblignestitre = 1
par.sepdec = ","
par.sepchamp = ";"
else
Matricule = valeurstring(1)
if StrLen(Matricule) > 0 then
if IdentifieSalarieEmploi(Matricule) = true then
if BulletinExiste() = false then
// Éléments variables
call GenereElementVariable("Repas",valeurdouble(2))
call GenereElementVariable("TrJZ01",valeurdouble(3))
call GenereElementVariable("TrJZ2", valeurdouble(4))
call GenereElementVariable("TrJZ3", valeurdouble(5))
call GenereElementVariable("TrJZ4", valeurdouble(6))
call GenereElementVariable("TrJZ5", valeurdouble(7))
call GenereElementVariable("TrJZ6", valeurdouble(8))
call GenereElementVariable("TrJZ7", valeurdouble(9))
call GenereElementVariable("Ind.Trajet", valeurdouble(10))
call GenereElementVariable("Ind.Transport", valeurdouble(11))
call GenereElementVariable("RepasNuit", valeurdouble(12))
else
print "Salarié <" + valeurstring(1) + ">, bulletin existant."
endif
else
print "Salarié et/ou emploi pour le matricule <"+Matricule+"> non identifié."
endif
endif
endif
end
Le message suite à l’import

et un extrait de mon fichier excel

Merci à tous


