I_ProductionOrderInternalID

DDL: I_PRODUCTIONORDERINTERNALID Type: view_entity BASIC Package: VDM_PP_SFC

Production Order by Internal ID

I_ProductionOrderInternalID is a Basic CDS View (Dimension) that provides data about "Production Order by Internal ID" in SAP S/4HANA. It reads from 1 data source (I_LogisticsOrder) and exposes 5 fields with key field ProductionOrderInternalID. It has 2 associations to related views. Part of development package VDM_PP_SFC.

Data Sources (1)

SourceAliasJoin Type
I_LogisticsOrder I_LogisticsOrder from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ProductionOrder _ProductionOrder $projection.ProductionOrder = _ProductionOrder.ProductionOrder
[1..1] I_ProductionOrderType _ProductionOrderType $projection.ProductionOrderType = _ProductionOrderType.ProductionOrderType

Annotations (16)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName IPRODNORDINTID view
Analytics.internalName #LOCAL view
Consumption.ranked true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey ProductionOrderInternalID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Production Order by Internal ID view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ProductionOrderInternalID OrderInternalBillOfOperations
ProductionOrder
ProductionOrderType
_ProductionOrder _ProductionOrder
_ProductionOrderType _ProductionOrderType
@AccessControl.authorizationCheck: #MANDATORY
@Analytics.dataCategory: #DIMENSION
@Analytics.technicalName: 'IPRODNORDINTID'
@Analytics.internalName: #LOCAL
@Consumption.ranked: true
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'ProductionOrderInternalID'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Production Order by Internal ID'
// Basic view with AUFPL (internal ID) as key


/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ]  } */
define view entity I_ProductionOrderInternalID
  as select from   I_LogisticsOrder
  
  association [1..1] to I_ProductionOrder     as _ProductionOrder     on $projection.ProductionOrder = _ProductionOrder.ProductionOrder
  association [1..1] to I_ProductionOrderType as _ProductionOrderType on $projection.ProductionOrderType = _ProductionOrderType.ProductionOrderType
{
      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.9}
  key OrderInternalBillOfOperations                           as ProductionOrderInternalID,

      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderStdVH', element: 'ProductionOrder' } } ]
      @ObjectModel.foreignKey.association: '_ProductionOrder'
      cast(OrderID as vdm_manufacturingorder preserving type) as ProductionOrder,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderTypeStdVH', element: 'ProductionOrderType' } } ]
      @ObjectModel.foreignKey.association: '_ProductionOrderType'
      cast(OrderType as vdm_prodnordertype preserving type)   as ProductionOrderType,

      // Associations

      _ProductionOrder,
      _ProductionOrderType
}
  where
    OrderCategory = '10' and 
    OrderInternalBillOfOperations <> '0000000000';