C_QltyTaskDetailedDescription

DDL: C_QLTYTASKDETAILEDDESCRIPTION Type: view_entity CONSUMPTION Package: ODATA_QM_TASK

Quality Task Detailed Description

C_QltyTaskDetailedDescription is a Consumption CDS View that provides data about "Quality Task Detailed Description" in SAP S/4HANA. It reads from 1 data source (I_QualityTaskLongTextTP) and exposes 11 fields with key fields QualityTaskInternalId, Language, ItemCounter. It has 1 association to related views. Part of development package ODATA_QM_TASK.

Data Sources (1)

SourceAliasJoin Type
I_QualityTaskLongTextTP I_QualityTaskLongTextTP from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_QualityTaskProcess _QualityTaskProcess $projection.QualityTaskInternalId = _QualityTaskProcess.QualityTaskInternalId

Annotations (16)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
EndUserText.label Quality Task Detailed Description view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey QualityTaskInternalId view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.compositionRoot false view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.draftEnabled true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled false view
Analytics.technicalName CQLTYTSKDTDESC view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY QualityTaskInternalId QualityTaskInternalId
KEY Language Language
KEY ItemCounter ItemCounter
LongTextID LongTextID
QualityTaskLongText QualityTaskLongText
LongTextCreatedByUser LongTextCreatedByUser
LongTextCreatedAt LongTextCreatedAt
LongTextLastChangedByUser LongTextLastChangedByUser
LongTextLastChangedAt LongTextLastChangedAt
_Language _Language
_QualityTaskProcess _QualityTaskProcess
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED

@VDM.viewType: #CONSUMPTION

@EndUserText.label: 'Quality Task Detailed Description'
@ObjectModel: {
    dataCategory: #TEXT,
    representativeKey: 'QualityTaskInternalId',
    usageType: {
        dataClass: #MIXED,
        sizeCategory: #L,
        serviceQuality: #C },
// Begin Draft 2.0

    compositionRoot: false,
    transactionalProcessingDelegated: true,
    draftEnabled:  true, 
    createEnabled: false,
    updateEnabled: true,
    deleteEnabled: false
}
@Analytics.technicalName: 'CQLTYTSKDTDESC'

define view entity C_QltyTaskDetailedDescription as select from I_QualityTaskLongTextTP 

    association [1..1] to C_QualityTaskProcess as _QualityTaskProcess on $projection.QualityTaskInternalId = _QualityTaskProcess.QualityTaskInternalId

{
//=== Key Fields

        @UI.hidden: true 
        @ObjectModel: { foreignKey.association: '_QualityTaskProcess' }
        key QualityTaskInternalId, 
        @UI.hidden: true 
        key Language, 
        @UI.hidden: true 
        key ItemCounter,
        
//=== Common Fields

        @UI.hidden: true 
        LongTextID, 
        
        @UI.multiLineText: true
        @EndUserText: { label: 'Detailed Description', quickInfo: 'Detailed Description' }        
        //casting is not possible for source type STRING -> define the label via annotation

        QualityTaskLongText,

//=== Administrative Fields        

        @UI.hidden: true 
        LongTextCreatedByUser, 
        @UI.hidden: true 
        LongTextCreatedAt, 
        @UI.hidden: true 
        LongTextLastChangedByUser, 
        @UI.hidden: true        
        LongTextLastChangedAt, 
        
//=== Expose associations

        _Language, 
        @ObjectModel.association.type:  [ #TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT ]
        _QualityTaskProcess     
           
}   where ItemCounter = 2 and LongTextID = 'LTXT'