[Stackoverflow] [Progress OpenEdge ABL] Controling field from product lines on Create document - Sagex3

Status
Not open for further replies.
R

Rui Leming

Guest
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:

Code:
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?

Continue reading...
 
Status
Not open for further replies.
Top