-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExpressionsCard.Page.al
63 lines (57 loc) · 1.32 KB
/
ExpressionsCard.Page.al
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
page 59111 "Expressions Card"
{
PageType = Card;
ApplicationArea = All;
UsageCategory = Documents;
Caption = 'Expressions Card';
layout
{
area(Content)
{
group(Input)
{
Caption = 'Input';
field(Value1; Value1)
{
ApplicationArea = All;
Caption = 'Value 1';
}
field(Value2; Value2)
{
ApplicationArea = All;
Caption = 'Value 2';
}
}
group(Output)
{
Caption = 'Output';
field(Result; Result)
{
ApplicationArea = All;
Caption = 'Result';
Editable = False;
}
}
}
}
actions
{
area(Processing)
{
action(Execute)
{
Caption = 'Execute';
Image = ExecuteBatch;
ApplicationArea = All;
trigger OnAction()
begin
Result := Value1 > Value2;
end;
}
}
}
var
Value1: Integer;
Value2: Integer;
Result: Boolean;
}