Error in saving the script: null
When trying to save a script (scheduled) I get the following error:
Error in saving the script: null.
My code is as follows:
- Entrees_Lexicalisees = Ricci_Droit_Form [Lexique_FR1 != ""];
for each Entree_Dico in Entrees_Lexicalisees
{
Champ_Termes_Fr=Entree_Dico.Lexique_FR1;
Liste_Termes_Fr=Champ_Termes_Fr.toList();
Terme_Chinois=Entree_Dico.CHN;
for each Element in Liste_Termes_Fr
{
if (Lexique_Francais [Terme_Francais == Element && Termes_Chinois.contains(Terme_Chinois)])
{
//then do nothing
}
else if (Lexique_Francais [Terme_Francais == Element])
{
Lexique = Lexique_Francais [Terme_Francais == Element];
Termes_MAJ = Lexique.Termes_Chinois.toList();
Termes_MAJ.Add(Terme_Chinois);
Lexique.Termes_Chinois = Termes_MAJ.toString();
Lexique.Date_Modif = zoho.currenttime;
}
else
{
insert into Lexique_Francais
[
Terme_Francais = Element
Termes_Chinois = Terme_Chinois
Date_Ajout = zoho.currenttime
]
}
}
}
Has anyone got an idea as to what is wrong?