I_ProductionOrderTypeText

DDL: I_PRODUCTIONORDERTYPETEXT Type: view_entity BASIC Package: VDM_PP_SFC

Production Order Type - Text

I_ProductionOrderTypeText is a Basic CDS View that provides data about "Production Order Type - Text" in SAP S/4HANA. It reads from 1 data source (I_OrderTypeText) and exposes 5 fields with key fields ProductionOrderType, Language. It has 1 association to related views. Part of development package VDM_PP_SFC.

Data Sources (1)

SourceAliasJoin Type
I_OrderTypeText txt from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
Analytics.technicalName IPRODNORDTYPETXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey ProductionOrderType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Production Order Type - Text view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ProductionOrderType
KEY Language
ProductionOrderTypeName I_OrderTypeText OrderTypeName
_ProductionOrderType _ProductionOrderType
_Language _Language
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@Analytics.technicalName: 'IPRODNORDTYPETXT'
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'ProductionOrderType'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Production Order Type - Text'

define view entity I_ProductionOrderTypeText 
  as select from I_OrderTypeText as txt
    association to parent I_ProductionOrderType as _ProductionOrderType on $projection.ProductionOrderType = _ProductionOrderType.ProductionOrderType
    association [0..1] to I_Language            as _Language            on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_ProductionOrderType'
      @ObjectModel.text.element: ['ProductionOrderTypeName']
  key cast(txt.OrderType as vdm_prodnordertype preserving type) as ProductionOrderType,
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast(txt.Language as spras preserving type)               as Language,
      @Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8}
      @Semantics.text: true
      txt.OrderTypeName                                         as ProductionOrderTypeName,
    
      // Associations

      _ProductionOrderType,
      _Language
};