-
Notifications
You must be signed in to change notification settings - Fork 238
/
Copy pathW2U4_DDLS_ZC_RAP_TRAVEL.txt
41 lines (38 loc) · 1.35 KB
/
W2U4_DDLS_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
@EndUserText.label: 'Travel BO projection view'
@AccessControl.authorizationCheck: #CHECK
@Search.searchable: true
@Metadata.allowExtensions: true
define root view entity ZC_RAP_Travel_####
as projection on ZI_RAP_Travel_#### as Travel
{
key TravelUUID,
@Search.defaultSearchElement: true
TravelID,
@Consumption.valueHelpDefinition: [{ entity: { name: '/DMO/I_Agency', element: 'AgencyID'} }]
@ObjectModel.text.element: ['AgencyName']
@Search.defaultSearchElement: true
AgencyID,
_Agency.Name as AgencyName,
@Consumption.valueHelpDefinition: [{ entity: { name: '/DMO/I_Customer', element: 'CustomerID'} }]
@ObjectModel.text.element: ['CustomerName']
@Search.defaultSearchElement: true
CustomerID,
_Customer.LastName as CustomerName,
BeginDate,
EndDate,
@Semantics.amount.currencyCode: 'CurrencyCode'
BookingFee,
@Semantics.amount.currencyCode: 'CurrencyCode'
TotalPrice,
@Consumption.valueHelpDefinition: [{ entity: { name: 'I_Currency', element: 'Currency'} }]
CurrencyCode,
Description,
TravelStatus,
LastChangedAt,
LocalLastChangedAt,
/* Associations */
_Agency,
_Booking : redirected to composition child ZC_RAP_Booking_####,
_Currency,
_Customer
}