This repository has been archived by the owner on Jul 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
/
EX7_3_DDLX_ZC_RAP_TRAVEL.txt
78 lines (64 loc) · 2.66 KB
/
EX7_3_DDLX_ZC_RAP_TRAVEL.txt
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
@Metadata.layer: #CORE
@UI: {
headerInfo: { typeName: 'Travel',
typeNamePlural: 'Travels',
title: { type: #STANDARD, label: 'Travel', value: 'TravelID' } },
presentationVariant: [{ sortOrder: [{ by: 'TravelID', direction: #DESC }], visualizations: [{type: #AS_LINEITEM}] }] }
annotate view ZC_RAP_Travel_#### with
{
@UI.facet: [ { id: 'Travel',
purpose: #STANDARD,
type: #IDENTIFICATION_REFERENCE,
label: 'Travel',
position: 10 },
{ id: 'Booking',
purpose: #STANDARD,
type: #LINEITEM_REFERENCE,
label: 'Booking',
position: 20,
targetElement: '_Booking'} ]
@UI:{ identification: [{ position: 1, label: 'Travel UUID' }] }
TravelUUID;
@UI: { lineItem: [ { position: 10 } ],
identification: [ { position: 10 } ],
selectionField: [ { position: 10 } ] }
TravelID;
@UI: { lineItem: [ { position: 20 } ],
identification: [ { position: 20 } ],
selectionField: [ { position: 20 } ] }
AgencyID;
@UI: { lineItem: [ { position: 30 } ],
identification: [ { position: 30 } ],
selectionField: [ { position: 30 } ] }
CustomerID;
@UI: { lineItem: [ { position: 40 } ],
identification: [ { position: 40 } ] }
BeginDate;
@UI: { lineItem: [ { position: 50 } ],
identification: [ { position: 50 } ] }
EndDate;
@UI: { lineItem: [ { position: 60 } ],
identification: [ { position: 60 } ] }
BookingFee;
@UI: { lineItem: [ { position: 70 } ],
identification: [ { position: 70 } ] }
TotalPrice;
@UI: { lineItem: [ { position: 80 } ],
identification: [ { position: 80 } ] }
Description;
@UI: { lineItem: [ { position: 90 }
, { type: #FOR_ACTION, dataAction: 'acceptTravel', label: 'Accept Travel' },
{ type: #FOR_ACTION, dataAction: 'rejectTravel', label: 'Reject Travel' }
],
identification: [ { position: 90 }
, { type: #FOR_ACTION, dataAction: 'acceptTravel', label: 'Accept Travel' },
{ type: #FOR_ACTION, dataAction: 'rejectTravel', label: 'Reject Travel' }
] }
TravelStatus;
@UI.hidden: true
LastChangedAt;
@UI.hidden: true
LocalLastChangedAt;
@UI.selectionField: [{ element: '_Booking.CarrierID', position: 40 }]
_Booking;
}