@EndUserText.label : 'Packaged Product Value Help'
@AccessControl:{
authorizationCheck: #MANDATORY,
// blocking of personal data not required (no personal data fields exposed for material)
personalData.blocking: #NOT_REQUIRED
}
@VDM.viewType: #COMPOSITE
@ObjectModel:
{
dataCategory: #VALUE_HELP,
usageType:
{
dataClass: #MASTER,
sizeCategory: #L,
serviceQuality: #C
} ,
representativeKey: 'ChmlCmplncInfoUUID',
semanticKey: ['Specification']
}
@Metadata.ignorePropagatedAnnotations: true
@UI:{
presentationVariant: [{
sortOrder: [{ by : 'ChmlCmplncInternalName', direction: #ASC } ],
requestAtLeast: ['ChmlCmplncInfoUUID', 'Specification', 'ChmlCmplncInternalName','Material']
}]
}
define view entity I_ChmlCmplncInfoPckgdProdVH
as select from I_ChmlCmplncInfoVH as ChmlCmplncInfo
-- Linked Branded Products
association [0..1] to I_ChmlCmplncProdAssgmt as _BrandedProductAssignment on _BrandedProductAssignment.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID
and _BrandedProductAssignment.ChmlCmplncInfoType = 'BP'
-- Linked Unpackaged Products
association [0..1] to I_ChmlCmplncProdAssgmt as _UnpackagedProductAssignment on _UnpackagedProductAssignment.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID
and _UnpackagedProductAssignment.ChmlCmplncInfoType = 'BU'
{
@UI.hidden: true
key ChmlCmplncInfo.ChmlCmplncInfoUUID,
@UI.hidden: true
cast (ChmlCmplncInfo.Specification as ehfnd_internal_nr_nc preserving type ) as Specification,
--CCI Internal name
@UI.hidden: true
ChmlCmplncInfo.ChmlCmplncInternalName,
--Material number
@UI.hidden: true
ChmlCmplncInfo.Material,
--Name of assigned product
@UI.hidden: true
ChmlCmplncInfo.ProductName,
--Combined name
@UI.hidden: true
ChmlCmplncInfo.ChmlCmplncInfoCombinedName,
// needed for DCL
@UI.hidden: true
ChmlCmplncInfo.ProdStewardshipRespUnit,
@UI.hidden: true
ChmlCmplncInfo.DngrsGdsRespUnit,
@UI.hidden: true
ChmlCmplncInfo.ChmlCmplncInfoType,
@UI.hidden: true
ChmlCmplncInfo.MaterialIsSold,
@UI.hidden: true
ChmlCmplncInfo.MaterialIsTransported,
@UI.hidden: true
ChmlCmplncInfo.MaterialIsSourced,
@UI.hidden: true
ChmlCmplncInfo.MaterialIsProduced,
@UI.hidden: true
ChmlCmplncInfo.MaterialIsDisposed,
@UI.hidden: true
ChmlCmplncInfo.MaterialIsEmissionRelevant,
@UI.hidden: true
ChmlCmplncInfo.ChmlCmplncProdIsResearched,
@UI.hidden: true
ChmlCmplncInfo.MatlIsMultiComponentProduct,
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Linked Branded Product Info
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
@UI.hidden: true
_BrandedProductAssignment.ChmlCmplncProdUUID as BrnddChmlCmplncInfoUUID,
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Linked Unpackaged Product Info
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
@UI.hidden: true
_UnpackagedProductAssignment.ChmlCmplncProdUUID as UnpckgdChmlCmplncInfoUUID,
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Associations
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
_UnpackagedProductAssignment,
_BrandedProductAssignment
}
where
ChmlCmplncInfo.ChmlCmplncInfoType = 'PP'
and ChmlCmplncInfo.MatlIsMultiComponentProduct = ''
and ChmlCmplncInfo.MaterialIsSold = 'X'
Depth:
1
2
3
4
5
All
Reload
I_ChmlCmplncInfoPckgdProdVH view_entity