@Metadata.ignorePropagatedAnnotations: true
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@ObjectModel: {
usageType: {
sizeCategory: #XL,
dataClass: #TRANSACTIONAL,
serviceQuality: #C
} ,
// alternativeKey: [
// 'ProjectDemandUUID'
// ],
representativeKey: 'ProjectDemandWorkUUID',
semanticKey: [
'ActivityType'
]
}
@VDM.viewType: #CONSUMPTION
@EndUserText.label : 'Manage Resource Demands for All tab'
@AccessControl.authorizationCheck: #CHECK
define view entity C_ProjectDemandWorkAllTP
as projection on I_ProjectDemandWorkTP
{ // association [0..*] to I_CostCenterText as _CostCenterText on $projection.CostCenter = _CostCenterText.CostCenter
// association [0..*] to I_CostCenterActivityTypeText as _ActivityTypeText on $projection.ActivityType = _ActivityTypeText.CostCtrActivityType
key ProjectDemandWorkUUID,
ProjectDemandUUID,
@Consumption.valueHelpDefinition: [
{
entity : {
element: 'CostCenter',
name: 'C_ProjDemandCostCenterVH'
}
}
]
// @ObjectModel: { text.association : '_CostCenterText' }
// @UI.textArrangement: #TEXT_FIRST
// @ObjectModel.mandatory : 'EXTERNAL_CALCULATION'
CostCenter, // @UI.textArrangement: #TEXT_FIRST
// @ObjectModel.mandatory : 'EXTERNAL_CALCULATION'
@UI.fieldGroup: [
{
label: 'Activity Type'
}
]
@UI.textArrangement: #TEXT_FIRST
@Consumption.valueHelpDefinition: [
{
entity : {
element: 'CostCtrActivityType',
name: 'C_ProjDemandActivityTypeVH'
}
}
]
ActivityType, // @ObjectModel: { text.association : '_ActivityTypeText' }
_Root.ReferencedObjectUUID as ReferencedObjectUUID, /* Associations */
_Root: redirected to parent C_MngProjectDemandTP,
_ResourceAssignment: redirected to composition child C_ProjDmndRsceAssgmtAllTP, // @Consumption.filter .hidden: true
_CostCenter, // _CostCenterText,
_CostCenterActType
} // _ActivityTypeText
Depth:
1
2
3
4
5
All
Reload
C_ProjectDemandWorkAllTP view_entity