I'm a relatively new user at sagecity, so my apologies if I violated any rules in my post.
i'm Trying to check if a custom field in the lines of a document has value but i'm not achiving what i want...
here's what i tried:
Case ACTION When "VERIF_CRE" For I = 0 To [M:SIH4]NBLIG If [F:SIH4]ZSERIE = "" or [F:SIH4]ZSERIE = "0" [L]SERIE = 1 Endif Next I if [L]SERIE = 1 Then Call ERREUR("teste de validação.") From GESECRAN mkstat = 2 Endif
what am i doing wrong?