-
Notifications
You must be signed in to change notification settings - Fork 0
/
MerchantCategoryCode.Table.al
62 lines (61 loc) · 1.76 KB
/
MerchantCategoryCode.Table.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
table 50183 "Merchant Category Code"
{
Caption = 'Merchant Category Code';
DataClassification = ToBeClassified;
LookupPageId = "Merchant Category Codes";
DrillDownPageId = "Merchant Category Codes";
fields
{
field(10; "Code"; Integer)
{
Caption = 'Code';
DataClassification = ToBeClassified;
}
field(20; "Description UA"; Text[250])
{
Caption = 'Description UA';
DataClassification = ToBeClassified;
}
field(30; "Description EN"; Text[250])
{
Caption = 'Description EN';
DataClassification = ToBeClassified;
}
field(50; "Short Description UA"; Text[100])
{
Caption = 'Short Description UA';
DataClassification = ToBeClassified;
}
field(60; "Short Description EN"; Text[100])
{
Caption = 'Short Description EN';
DataClassification = ToBeClassified;
}
field(80; "Group Code"; Code[10])
{
Caption = 'Group Code';
DataClassification = ToBeClassified;
}
field(85; "Group Description UA"; Text[100])
{
Caption = 'Group Description UA';
FieldClass = FlowField;
CalcFormula = lookup("Merchant Category Group"."Description UA" where(Code = field("Group Code")));
Editable = false;
}
field(100; Amount; Decimal)
{
Caption = 'Amount';
FieldClass = FlowField;
CalcFormula = sum("Monobank Statement".Amount where(MCC = field(Code)));
Editable = false;
}
}
keys
{
key(PK; "Code")
{
Clustered = true;
}
}
}