-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDynamicReportSubstitutionMapping.Table.al
More file actions
50 lines (47 loc) · 1.4 KB
/
DynamicReportSubstitutionMapping.Table.al
File metadata and controls
50 lines (47 loc) · 1.4 KB
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
table 88100 "MPA Dynamic Rep. Subs. Mapping"
{
Caption = 'Dynamic Report Substitution Mapping';
DataClassification = CustomerContent;
fields
{
field(1; ReportId; Integer)
{
DataClassification = CustomerContent;
TableRelation = AllObjWithCaption."Object ID" WHERE("Object Type" = CONST(Report));
trigger OnValidate()
begin
Calcfields("Report Caption");
end;
}
field(2; NewReportId; Integer)
{
DataClassification = CustomerContent;
TableRelation = AllObjWithCaption."Object ID" WHERE("Object Type" = CONST(Report));
trigger OnValidate()
begin
Calcfields("New Report Caption");
end;
}
field(4; "Report Caption"; Text[250])
{
CalcFormula = lookup("Report Metadata".Caption where(ID = field(ReportId)));
Caption = 'Report Name';
Editable = false;
FieldClass = Flowfield;
}
field(5; "New Report Caption"; Text[250])
{
CalcFormula = lookup("Report Metadata".Caption where(ID = field(NewReportId)));
Caption = 'New Report Name';
Editable = false;
FieldClass = Flowfield;
}
}
keys
{
key(Key1; ReportId)
{
Clustered = true;
}
}
}