@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #CONSUMPTION
@EndUserText.label : 'Master Recipe Value Help by Material'
@ObjectModel.representativeKey : 'BillOfOperationsGroup'
@Analytics.technicalName : 'CMASTERRCPMATVH'
@ObjectModel.usageType: {serviceQuality: #C,
dataClass: #MIXED,
sizeCategory: #S}
@Search.searchable: true
define view entity C_ChangeRecordMasterRcpMatVH
as select distinct from I_BillOfOperations as _BillOfOperations
association [0..*] to I_ProductionVersion as _ProductionVersion on $projection.BillOfOperationsType = _ProductionVersion.BillOfOperationsType
and $projection.BillOfOperationsGroup = _ProductionVersion.BillOfOperationsGroup
and $projection.BillOfOperationsVariant = _ProductionVersion.BillOfOperationsVariant
{
@EndUserText.label : 'Material'
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold : 0.8
key _ProductionVersion.Material as Material,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold : 0.8
key _ProductionVersion.Plant as Plant,
@EndUserText.label : 'Recipe Group '
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold : 0.9
key cast ( _BillOfOperations.BillOfOperationsGroup as r_plnnr preserving type) as BillOfOperationsGroup,
@Search.defaultSearchElement: true
@EndUserText.label : 'Recipe'
key _BillOfOperations.BillOfOperationsVariant,
@Search.defaultSearchElement: true
@UI.hidden: true
key _BillOfOperations.BillOfOperationsType,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold : 0.8
@EndUserText.label : 'Prod. Version'
key _ProductionVersion.ProductionVersion as ProductionVersion,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold : 0.8
@EndUserText.label : 'Profile'
_BillOfOperations._BillOfOperationsChangeState.BillOfOperationsProfile as BillOfOperationsProfile,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold : 0.8
cast (_BillOfOperations._BillOfOperationsChangeState[1: ValidityStartDate <= $session.system_date
and ValidityEndDate >= $session.system_date].BillOfOperationsDesc as r_rbez preserving type) as BillOfOperationsDesc ,
@Search.defaultSearchElement: true
_BillOfOperations._BillOfOperationsChangeState[1: ValidityStartDate <= $session.system_date
and ValidityEndDate >= $session.system_date].BillOfOperationsUsage,
@Search.defaultSearchElement: true
cast (_BillOfOperations._BillOfOperationsChangeState[1: ValidityStartDate <= $session.system_date
and ValidityEndDate >= $session.system_date].BillOfOperationsStatus as r_statu preserving type) as BillOfOperationsStatus,
@Search.defaultSearchElement: true
_BillOfOperations.IsMarkedForDeletion as IsMarkedForDeletion,
_ProductionVersion
// _BOOMaterialAssgmtChangeState
}
where _BillOfOperations.BillOfOperationsType = '2'
Depth:
1
2
3
4
5
All
Reload
C_ChangeRecordMasterRcpMatVH view_entity