-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTab50100.Book.al
50 lines (47 loc) · 1011 Bytes
/
Tab50100.Book.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
table 50100 "Book"
{
Caption = 'Book';
DataCaptionFields = "No.", Title;
fields
{
field(1; "No."; Code[20])
{
Caption = 'No.';
NotBlank = true;
}
field(2; "Title"; Text[50])
{
Caption = 'Title';
}
field(3; Autor; Text[50])
{
Caption = 'Autor';
}
field(4; Hardcover; Boolean)
{
Caption = 'Hardcover';
}
field(5; PageCount; BigInteger)
{
Caption = 'Page Count';
}
field(10;"NoOfCustomers";Integer)
{
Caption = 'No. of Customers';
Editable = false;
FieldClass = FlowField;
CalcFormula = count(Customer where(FavouriteBookNo = field("No.")));
}
}
keys
{
key(PK; "No.")
{
Clustered = true;
}
}
fieldgroups
{
fieldgroup(DropDown; "No.", Title, Hardcover) { }
}
}