-
Notifications
You must be signed in to change notification settings - Fork 0
/
ventekweb_ni.clw
executable file
·46 lines (46 loc) · 1.33 KB
/
ventekweb_ni.clw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Section('ProcessTag')
loc:tag = Choose(Instring('?',loc:tag) > 0,sub(loc:tag,1,Instring('?',loc:tag)-1),loc:tag)
Case loc:tag
of 'pagefootertag'
pagefootertag(Self)
of 'browsevendas'
browsevendas(Self)
of 'updatevendas'
updatevendas(Self)
of 'pageheadertag'
pageheadertag(Self)
of 'loginform'
loginform(Self)
End
Section('CallFormA')
If Band(p_Stage, NET:WEB:StagePost + NET:WEB:StageValidate + NET:WEB:Cancel)
case lower(self.formsettings.proc)
Of 'updatevendas'
ReturnValue = Updatevendas(Self,p_stage)
RETURN ReturnValue
Of 'loginform'
ReturnValue = LoginForm(Self,p_stage)
RETURN ReturnValue
End
Else
case lower(SELF.PageName)
Of 'updatevendas'
ReturnValue = Updatevendas(Self,p_stage)
RETURN ReturnValue
Of 'loginform'
ReturnValue = LoginForm(Self,p_stage)
RETURN ReturnValue
End
End
Section('CallFormB')
If p_File &= vendas
ReturnValue = Updatevendas(Self,p_stage)
RETURN ReturnValue
End
Section('CallFormC')
Case Lower(Self.FormSettings.ParentPage)
Of 'loginform'
ReturnValue = LoginForm(Self,p_Stage)
Return ReturnValue
End
Section('ProcessYear')