I_InspSubsetCharcResultTP

DDL: I_INSPSUBSETCHARCRESULTTP SQL: IINSPSSCHARTP Type: view TRANSACTIONAL

Insp Charc & Summ. Values for Insp Point

I_InspSubsetCharcResultTP is a Transactional CDS View that provides data about "Insp Charc & Summ. Values for Insp Point" in SAP S/4HANA. It reads from 1 data source (I_InspSubsetCharacteristic) and exposes 113 fields with key fields InspectionLot, InspPlanOperationInternalID, InspectionSubsetInternalID, InspectionCharacteristic. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_InspSubsetCharacteristic InspSubsetChar from

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_InspectionSubsetTP _InspectionSubset $projection.InspectionLot = _InspectionSubset.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionSubset.InspPlanOperationInternalID and $projection.InspectionSubsetInternalID = _InspectionSubset.InspectionSubsetInternalID
[0..*] I_InspSubsetResultValueTP _InspectionResultValue $projection.InspectionLot = _InspectionResultValue.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionResultValue.InspPlanOperationInternalID and $projection.InspectionSubsetInternalID = _InspectionResultValue.InspectionSubsetInternalID and $projection.InspectionCharacteristic = _InspectionResultValue.InspectionCharacteristic
[1..1] I_InspectionLot _InspectionLot $projection.InspectionLot = _InspectionLot.InspectionLot
[1..1] I_InspectionOperation _InspectionOperation $projection.InspectionLot = _InspectionOperation.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionOperation.InspPlanOperationInternalID
[1..1] I_InspectionCharacteristic _InspectionCharacteristic $projection.InspectionLot = _InspectionCharacteristic.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionCharacteristic.InspPlanOperationInternalID and $projection.InspectionCharacteristic = _InspectionCharacteristic.InspectionCharacteristic
[1..1] I_CharcAttributeCodeText _InspectionCharcAttriCodeText $projection.CharacteristicAttributeCode = _InspectionCharcAttriCodeText.CharacteristicAttributeCode and $projection.CharacteristicAttributeCodeGrp = _InspectionCharcAttriCodeText.CharacteristicAttributeCodeGrp and _InspectionCharcAttriCodeText.Language = $session.system_language
[1..1] I_InspCharcValueAggregate _InspCharcValueAggregate $projection.InspectionLot = _InspCharcValueAggregate.InspectionLot and $projection.InspPlanOperationInternalID = _InspCharcValueAggregate.InspPlanOperationInternalID and $projection.InspectionCharacteristic = _InspCharcValueAggregate.InspectionCharacteristic and $projection.InspectionSubsetInternalID = _InspCharcValueAggregate.InspectionSubsetInternalID

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IINSPSSCHARTP view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
EndUserText.label Insp Charc & Summ. Values for Insp Point view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.writeDraftPersistence QSUBSETCHARCRR_D view
ObjectModel.entityChangeStateId ChangedDateTime view
ObjectModel.lifecycle.enqueue.expiryBehavior #RELATIVE_TO_LAST_CHANGE view
ObjectModel.lifecycle.enqueue.expiryInterval PT15M view
ObjectModel.lifecycle.processing.expiryBehavior #RELATIVE_TO_LAST_CHANGE view
ObjectModel.lifecycle.processing.expiryInterval PT30M view

Fields (113)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspSubsetCharacteristic InspectionLot
KEY InspPlanOperationInternalID I_InspSubsetCharacteristic InspPlanOperationInternalID
KEY InspectionSubsetInternalID I_InspSubsetCharacteristic InspectionSubsetInternalID
KEY InspectionCharacteristic I_InspSubsetCharacteristic InspectionCharacteristic
InspectionCharacteristicStatus I_InspSubsetCharacteristic InspectionCharacteristicStatus
QualityControlChart I_InspSubsetCharacteristic QualityControlChart
InspSampleAcceptanceNumber I_InspSubsetCharacteristic InspSampleAcceptanceNumber
InspSampleRejectionNumber I_InspSubsetCharacteristic InspSampleRejectionNumber
InspSampleValuationRule I_InspSubsetCharacteristic InspSampleValuationRule
InspectionSampleSize I_InspSubsetCharacteristic InspectionSampleSize
InspLotDynRuleStage I_InspSubsetCharacteristic InspLotDynRuleStage
InspectionSeverity I_InspSubsetCharacteristic InspectionSeverity
ChangedDateTime InspSubsetResult ChangedDateTime
LastChangedByUser InspSubsetResult LastChangedByUser
CreatedByUser InspSubsetResult CreatedByUser
Inspector InspSubsetResult Inspector
InspectionResultStatus InspSubsetResult InspectionResultStatus
InspectionResultOrigin InspSubsetResult InspectionResultOrigin
InspectionResultAttribute InspSubsetResult InspectionResultAttribute
InspectionValuationResult InspSubsetResult InspectionValuationResult
InspectionResultMeanValue InspSubsetResult InspectionResultMeanValue
InspectionResultHasMeanValue InspSubsetResult InspectionResultHasMeanValue
InspectionResultMaximumValue InspSubsetResult InspectionResultMaximumValue
InspResultHasMaximumValue InspSubsetResult InspResultHasMaximumValue
InspectionResultMinimumValue InspSubsetResult InspectionResultMinimumValue
InspResultHasMinimumValue InspSubsetResult InspResultHasMinimumValue
InspectionResultOriginalValue InspSubsetResult InspectionResultOriginalValue
InspResultValidValuesNumber InspSubsetResult InspResultValidValuesNumber
InspectionResultText
InspectionResultHasLongText InspSubsetResult InspectionResultHasLongText
Language InspSubsetResult Language
InspRsltFreeDefinedTestEquip InspSubsetResult InspRsltFreeDefinedTestEquip
InspRsltBelowToleranceValsNmbr InspSubsetResult InspRsltBelowToleranceValsNmbr
InspRsltAboveToleranceValsNmbr InspSubsetResult InspRsltAboveToleranceValsNmbr
InspRsltNonconformingValsNmbr InspSubsetResult InspRsltNonconformingValsNmbr
InspRsltAboveToleranceFraction InspSubsetResult InspRsltAboveToleranceFraction
InspRsltBelowToleranceFraction InspSubsetResult InspRsltBelowToleranceFraction
InspResultVariance InspSubsetResult InspResultVariance
CharacteristicAttributeCodeGrp InspSubsetResult CharacteristicAttributeCodeGrp
InspectionResultCodeGroup2 InspSubsetResult InspectionResultCodeGroup2
InspectionResultCodeGroup3 InspSubsetResult InspectionResultCodeGroup3
InspectionResultCodeGroup4 InspSubsetResult InspectionResultCodeGroup4
InspectionResultCodeGroup5 InspSubsetResult InspectionResultCodeGroup5
CharacteristicAttributeCode InspSubsetResult CharacteristicAttributeCode
InspectionResultCode2 InspSubsetResult InspectionResultCode2
InspectionResultCode3 InspSubsetResult InspectionResultCode3
InspectionResultCode4 InspSubsetResult InspectionResultCode4
InspectionResultCode5 InspSubsetResult InspectionResultCode5
CharacteristicAttributeCatalog InspSubsetResult CharacteristicAttributeCatalog
InspectionResultCatalog2 InspSubsetResult InspectionResultCatalog2
InspectionResultCatalog3 InspSubsetResult InspectionResultCatalog3
InspectionResultCatalog4 InspSubsetResult InspectionResultCatalog4
InspectionResultCatalog5 InspSubsetResult InspectionResultCatalog5
InspSpecAddlDecimalPlaces Configuration InspSpecAddlDecimalPlaces
InspSpecSummarizedDcmlPlaces
InspectionOperation _InspectionOperation InspectionOperation
InspSpecRecordingType _InspectionCharacteristic InspSpecRecordingType
InspSpecIsQuantitative _InspectionCharacteristic InspSpecIsQuantitative
InspSpecIsLongTermInspection _InspectionCharacteristic InspSpecIsLongTermInspection
InspSpecCharcCategory _InspectionCharacteristic InspSpecCharcCategory
InspSpecResultCalculation _InspectionCharacteristic InspSpecResultCalculation
InspCharAcceptedCount InspSubsetCharcAggregate InspCharAcceptedCount
InspCharRejectedCount InspSubsetCharcAggregate InspCharRejectedCount
InspectionResultStatusText
CharcStatusName
InspectionSpecificationText _InspectionCharacteristic InspectionSpecificationText
HasInspCharcPrtlSmpl _InspectionCharacteristic HasInspCharcPrtlSmpl
InspCharacteristicSampleUnit _InspectionCharacteristic InspCharacteristicSampleUnit
QuantityUnit _InspectionCharacteristic QuantityUnit
InspLotTestEquipInternalID _InspectionCharacteristic InspLotTestEquipInternalID
InspectionScope _InspectionCharacteristic InspCharcQuantity
InspectionMethod
InspectionMethodText
InspSpecDecimalPlaces _InspectionCharacteristic InspSpecDecimalPlaces
InspSpecHasTargetValue _InspectionCharacteristic InspSpecHasTargetValue
InspSpecHasUpperLimit _InspectionCharacteristic InspSpecHasUpperLimit
InspSpecHasLowerLimit _InspectionCharacteristic InspSpecHasLowerLimit
InspectionMethodPlant _InspectionCharacteristic InspectionMethodPlant
InspectionSpecification _InspectionCharacteristic InspectionSpecification
InspectionMethodVersion _InspectionCharacteristic InspectionMethodVersion
InspCharacteristicSampleSize _InspectionCharacteristic InspCharacteristicSampleSize
InspSpecSampleQuantityFactor _InspectionCharacteristic InspSpecSampleQuantityFactor
InspSpecControlIndicators _InspectionCharacteristic InspSpecControlIndicators
InspSpecIsMeasuredValueRqd _InspectionCharacteristic InspSpecIsMeasuredValueRqd
InspSpecTargetValue _InspectionCharacteristic InspSpecTargetValue
InspSpecUpperLimit _InspectionCharacteristic InspSpecUpperLimit
InspSpecLowerLimit _InspectionCharacteristic InspSpecLowerLimit
InspectionSpecificationUnit _InspectionCharacteristic InspectionSpecificationUnit
UnitOfMeasureTechnicalName
InspectionSpecificationPlant _InspectionCharacteristic InspectionSpecificationPlant
InspectionSpecificationVersion _InspectionCharacteristic InspectionSpecificationVersion
SelectedCodeSet _InspectionCharacteristic SelectedCodeSet
SelectedCodeSetPlant _InspectionCharacteristic SelectedCodeSetPlant
SelectedCodeSetText
InspectionResultAttributeText
CharacteristicAttributeCodeTxt _InspectionCharcAttriCodeText CharacteristicAttributeCodeTxt
InspResultValueCount _InspCharcValueAggregate InspResultValueCount
InspSpecImportanceCode _InspectionCharacteristic InspSpecImportanceCode
InspSpecImportanceCodeText
InspResultIsDocumentationRqd _InspectionCharacteristic InspResultIsDocumentationRqd
_InspectionSubset _InspectionSubset
_InspectionResultValue _InspectionResultValue
_CharcAttributeCode _CharcAttributeCode
_InspectionResultStatus _InspectionResultStatus
_InspectionResultAttribute _InspectionResultAttribute
_InspectionResultOrigin _InspectionResultOrigin
_InspectionValuationResult _InspectionValuationResult
_InspectionValuationRsltTxt _InspectionValuationRsltTxt
_InspectionLot _InspectionLot
_InspectionOperation _InspectionOperation
_InspectionCharacteristic _InspectionCharacteristic
_InspCharacteristicStatus _InspCharacteristicStatus
_InspectionSeverity _InspectionSeverity
@AbapCatalog.sqlViewName: 'IINSPSSCHARTP'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations:  [ '_InspectionCharacteristic' ]

@VDM.viewType: #TRANSACTIONAL
@ObjectModel.usageType: { dataClass: #TRANSACTIONAL, sizeCategory: #L, serviceQuality: #D}

@EndUserText.label: 'Insp Charc & Summ. Values for Insp Point'
/* Draft 2.0 */
@ObjectModel.semanticKey:  [ 'InspectionLot' , 'InspPlanOperationInternalID' , 'InspectionCharacteristic' , 'InspectionSubsetInternalID' ] 
@ObjectModel:{
    createEnabled: true,
    updateEnabled: true,
    deleteEnabled: true,
    writeDraftPersistence: 'QSUBSETCHARCRR_D',
    entityChangeStateId: 'ChangedDateTime',
    lifecycle.enqueue: {
        expiryBehavior: #RELATIVE_TO_LAST_CHANGE,  // Default #RELATIVE_TO_LAST_CHANGE

        expiryInterval: 'PT15M'                   // Default 'PT15M'

      //  notificationBeforeExpiryInterval: 'PT1M'   // Default 'PT5M'

    },
    lifecycle.processing: {
        expiryBehavior: #RELATIVE_TO_LAST_CHANGE,  // Default #RELATIVE_TO_LAST_CHANGE

        expiryInterval: 'PT30M'                        // Default 'PT30M'

      //  notificationBeforeExpiryInterval: 'PT3M'     // Default 'PT10M'

    }
}

define view I_InspSubsetCharcResultTP as 
  select from I_InspSubsetCharacteristic            as InspSubsetChar
    left outer to one join I_InspSubsetResult       as InspSubsetResult        on  InspSubsetChar.InspectionLot               = InspSubsetResult.InspectionLot
                                                                               and InspSubsetChar.InspPlanOperationInternalID = InspSubsetResult.InspPlanOperationInternalID                                                                          
                                                                               and InspSubsetChar.InspectionSubsetInternalID  = InspSubsetResult.InspectionSubsetInternalID
                                                                               and InspSubsetChar.InspectionCharacteristic    = InspSubsetResult.InspectionCharacteristic

    left outer to one join I_InspectionLot          as InspectionLot           on InspSubsetChar.InspectionLot = InspectionLot.InspectionLot                                                                      
    
    left outer to one join I_QltyMgmtPlantLvlConfign as Configuration           on InspectionLot.Plant = Configuration.Plant
    left outer to one join P_InspSubsetCharcAgg      as InspSubsetCharcAggregate    
                                                                               on InspSubsetChar.InspectionLot                  = InspSubsetCharcAggregate.InspectionLot
                                                                              and InspSubsetChar.InspPlanOperationInternalID    = InspSubsetCharcAggregate.InspPlanOperationInternalID
                                                                              and InspSubsetChar.InspectionCharacteristic       = InspSubsetCharcAggregate.InspectionCharacteristic
                                                                                  
// Draft Associations

  association [1..1] to I_InspectionSubsetTP        as _InspectionSubset        on  $projection.InspectionLot                = _InspectionSubset.InspectionLot
                                                                                and  $projection.InspPlanOperationInternalID = _InspectionSubset.InspPlanOperationInternalID
                                                                                and  $projection.InspectionSubsetInternalID  = _InspectionSubset.InspectionSubsetInternalID    
  association [0..*] to I_InspSubsetResultValueTP   as _InspectionResultValue    on  $projection.InspectionLot               = _InspectionResultValue.InspectionLot
                                                                                and $projection.InspPlanOperationInternalID  = _InspectionResultValue.InspPlanOperationInternalID
                                                                                and $projection.InspectionSubsetInternalID   = _InspectionResultValue.InspectionSubsetInternalID
                                                                                and $projection.InspectionCharacteristic     = _InspectionResultValue.InspectionCharacteristic                                                                                
// Association

  association [1..1] to I_InspectionLot             as _InspectionLot            on  $projection.InspectionLot               = _InspectionLot.InspectionLot
  association [1..1] to I_InspectionOperation       as _InspectionOperation      on  $projection.InspectionLot               = _InspectionOperation.InspectionLot
                                                                                and  $projection.InspPlanOperationInternalID = _InspectionOperation.InspPlanOperationInternalID  
  association [1..1] to I_InspectionCharacteristic  as _InspectionCharacteristic on   $projection.InspectionLot              = _InspectionCharacteristic.InspectionLot
                                                                                and  $projection.InspPlanOperationInternalID = _InspectionCharacteristic.InspPlanOperationInternalID
                                                                                and  $projection.InspectionCharacteristic    = _InspectionCharacteristic.InspectionCharacteristic                                                                                                                                                                                                                                           
  
  association [1..1] to I_CharcAttributeCodeText    as _InspectionCharcAttriCodeText 
                                                                               on $projection.CharacteristicAttributeCode    = _InspectionCharcAttriCodeText.CharacteristicAttributeCode
                                                                              and $projection.CharacteristicAttributeCodeGrp = _InspectionCharcAttriCodeText.CharacteristicAttributeCodeGrp
                                                                              and _InspectionCharcAttriCodeText.Language     = $session.system_language
   
  association [1..1] to I_InspCharcValueAggregate   as _InspCharcValueAggregate      
                                                                               on $projection.InspectionLot                  = _InspCharcValueAggregate.InspectionLot
                                                                              and $projection.InspPlanOperationInternalID    = _InspCharcValueAggregate.InspPlanOperationInternalID
                                                                              and $projection.InspectionCharacteristic       = _InspCharcValueAggregate.InspectionCharacteristic
                                                                              and $projection.InspectionSubsetInternalID     = _InspCharcValueAggregate.InspectionSubsetInternalID   
  
                                                                                                                                                          
{
    
  @ObjectModel.foreignKey.association: '_InspectionLot'  
  key InspSubsetChar.InspectionLot,
  @ObjectModel.foreignKey.association: '_InspectionOperation'
  key InspSubsetChar.InspPlanOperationInternalID,  
  //@ObjectModel.foreignKey.association: '_InspectionSubsetInternalID'

  key InspSubsetChar.InspectionSubsetInternalID,  
  key InspSubsetChar.InspectionCharacteristic,
      InspSubsetChar.InspectionCharacteristicStatus,
      InspSubsetChar.QualityControlChart,
      InspSubsetChar.InspSampleAcceptanceNumber,
      InspSubsetChar.InspSampleRejectionNumber,
      InspSubsetChar.InspSampleValuationRule,
      InspSubsetChar.InspectionSampleSize,
      InspSubsetChar.InspLotDynRuleStage,
      InspSubsetChar.InspectionSeverity,  
                         
      @ObjectModel.readOnly: true
      InspSubsetResult.ChangedDateTime,
      @ObjectModel.readOnly: true
      InspSubsetResult.LastChangedByUser,
      @ObjectModel.readOnly: true
      InspSubsetResult.CreatedByUser,
      InspSubsetResult.Inspector,
      InspSubsetResult.InspectionResultStatus,
      InspSubsetResult.InspectionResultOrigin,
      InspSubsetResult.InspectionResultAttribute,
      @ObjectModel.foreignKey.association: '_InspectionValuationResult'
      InspSubsetResult.InspectionValuationResult,
      InspSubsetResult.InspectionResultMeanValue,
      InspSubsetResult.InspectionResultHasMeanValue,
      InspSubsetResult.InspectionResultMaximumValue, //Maximum value, single/Summary at  header level

      InspSubsetResult.InspResultHasMaximumValue,
      InspSubsetResult.InspectionResultMinimumValue, //Minimum value, single/Summary at  header level

      InspSubsetResult.InspResultHasMinimumValue,
      InspSubsetResult.InspectionResultOriginalValue,
      InspSubsetResult.InspResultValidValuesNumber,
      cast(InspSubsetResult.InspectionResultText as abap.sstring( 1024 ))               as  InspectionResultText,
      InspSubsetResult.InspectionResultHasLongText,                                // to be checked

      InspSubsetResult.Language,
      InspSubsetResult.InspRsltFreeDefinedTestEquip,
      InspSubsetResult.InspRsltBelowToleranceValsNmbr,
      InspSubsetResult.InspRsltAboveToleranceValsNmbr,
      InspSubsetResult.InspRsltNonconformingValsNmbr,
      InspSubsetResult.InspRsltAboveToleranceFraction,
      InspSubsetResult.InspRsltBelowToleranceFraction,
      InspSubsetResult.InspResultVariance,
      InspSubsetResult.CharacteristicAttributeCodeGrp,
      InspSubsetResult.InspectionResultCodeGroup2,
      InspSubsetResult.InspectionResultCodeGroup3,
      InspSubsetResult.InspectionResultCodeGroup4,
      InspSubsetResult.InspectionResultCodeGroup5,
      InspSubsetResult.CharacteristicAttributeCode,
      InspSubsetResult.InspectionResultCode2,
      InspSubsetResult.InspectionResultCode3,
      InspSubsetResult.InspectionResultCode4,
      InspSubsetResult.InspectionResultCode5,
      InspSubsetResult.CharacteristicAttributeCatalog,
      InspSubsetResult.InspectionResultCatalog2,
      InspSubsetResult.InspectionResultCatalog3,
      InspSubsetResult.InspectionResultCatalog4,
      InspSubsetResult.InspectionResultCatalog5,
      Configuration.InspSpecAddlDecimalPlaces,
      Configuration.InspSpecAddlDecimalPlaces + InspSubsetChar._InspectionCharacteristic.InspSpecDecimalPlaces        as  InspSpecSummarizedDcmlPlaces,
      
      @ObjectModel.readOnly: true
      _InspectionOperation.InspectionOperation,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecRecordingType,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecIsQuantitative,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecIsLongTermInspection,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecCharcCategory,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecResultCalculation,
      
      @ObjectModel.readOnly: true
      InspSubsetCharcAggregate.InspCharAcceptedCount,
      @ObjectModel.readOnly: true
      InspSubsetCharcAggregate.InspCharRejectedCount,
            
      @ObjectModel.readOnly: true
      _InspectionResultStatus._Text[1:Language=$session.system_language].InspectionResultStatusText,
      @ObjectModel.readOnly: true
      _InspCharacteristicStatus._Text[1:Language=$session.system_language].InspectionResultStatusText as CharcStatusName,
      
      
      @ObjectModel.readOnly: true         
      _InspectionCharacteristic.InspectionSpecificationText,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.HasInspCharcPrtlSmpl,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspCharacteristicSampleUnit,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.QuantityUnit,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspLotTestEquipInternalID,
      @ObjectModel.readOnly: true
//      _InspectionCharacteristic.InspectionScope,

      _InspectionCharacteristic.InspCharcQuantity as InspectionScope,  // InspectionScope --> deprecated! Replaced by InspCharcQuantity

      @ObjectModel.readOnly: true
      _InspectionCharacteristic._InspectionMethodVersion.InspectionMethod,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic._InspectionMethodVersion._InspectionMethodText[1:Language = $session.system_language].InspectionMethodText   as  InspectionMethodText,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecDecimalPlaces,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecHasTargetValue,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecHasUpperLimit,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecHasLowerLimit,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspectionMethodPlant,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspectionSpecification,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspectionMethodVersion,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspCharacteristicSampleSize,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecSampleQuantityFactor,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecControlIndicators,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecIsMeasuredValueRqd,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecTargetValue,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecUpperLimit,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecLowerLimit,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspectionSpecificationUnit,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic._InspectionSpecificationUnit._Text[1:Language=$session.system_language].UnitOfMeasureTechnicalName,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspectionSpecificationPlant,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspectionSpecificationVersion,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.SelectedCodeSet,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.SelectedCodeSetPlant,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic._CharcAttribSelectedCodeSet.SelectedCodeSetText,
      
      @ObjectModel.readOnly: true      
      _InspectionResultAttribute._Text[1:Language=$session.system_language].InspectionResultAttributeText as InspectionResultAttributeText,
      @ObjectModel.readOnly: true
      _InspectionCharcAttriCodeText.CharacteristicAttributeCodeTxt  as  CharacteristicAttributeCodeTxt,
      
      @ObjectModel.readOnly: true
      _InspCharcValueAggregate.InspResultValueCount,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspSpecImportanceCode,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic._InspSpecImportanceCode.InspSpecImportanceCodeText,
      @ObjectModel.readOnly: true
      _InspectionCharacteristic.InspResultIsDocumentationRqd,

//      @Semantics.user.createdBy: true

//      @ObjectModel.readOnly: true

//      qasr.ersteller                 as CreatedByUser,

//      @Semantics.businessDate.createdAt: true

//      @ObjectModel.readOnly: true

//      qasr.erstelldat                as CreationDate,

//      @Semantics.user.lastChangedBy: true

//      @ObjectModel.readOnly: true

//      qasr.aenderer                  as LastChangedByUser,

//      @Semantics.businessDate.lastChangedAt: true

//      @ObjectModel.readOnly: true

//      qasr.aenderdat                 as LastChangeDate,


      // Association to Draft Nodes

      @ObjectModel.association.type: [#TO_COMPOSITION_ROOT , #TO_COMPOSITION_PARENT ]
      _InspectionSubset,
      @ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
      _InspectionResultValue,
      
      // Associations FROM I_InspSubsetResult

      _CharcAttributeCode,
      _InspectionResultStatus,      
      _InspectionResultAttribute,
      _InspectionResultOrigin,
      _InspectionValuationResult,
      _InspectionValuationRsltTxt,
      
      // Associations FROM I_InspSubsetCharacteristic

      _InspectionLot,
      _InspectionOperation,
      _InspectionCharacteristic,
//      _InspSubsetResult,

      _InspCharacteristicStatus,
      _InspectionSeverity        
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CHARCATTRIBSELECTEDCODESET",
"I_CHARCATTRIBUTECODETEXT",
"I_INSPCHARCVALUEAGGREGATE",
"I_INSPECTIONCHARACTERISTIC",
"I_INSPECTIONLOT",
"I_INSPECTIONMETHODVERSION",
"I_INSPECTIONMETHODVERSIONTEXT",
"I_INSPECTIONOPERATION",
"I_INSPECTIONRESULTATTRIBUTE",
"I_INSPECTIONRESULTSTATUS",
"I_INSPECTIONRESULTSTATUSTEXT",
"I_INSPRESULTATTRIBUTETEXT",
"I_INSPSPECIMPORTANCECODE",
"I_INSPSUBSETCHARACTERISTIC",
"I_INSPSUBSETRESULT",
"I_QLTYMGMTPLANTLVLCONFIGN",
"I_UNITOFMEASURE",
"I_UNITOFMEASURETEXT",
"P_INSPSUBSETCHARCAGG"
],
"ASSOCIATED":
[
"I_CHARCATTRIBUTECODE",
"I_CHARCATTRIBUTECODETEXT",
"I_INSPCHARCVALUEAGGREGATE",
"I_INSPECTIONCHARACTERISTIC",
"I_INSPECTIONLOT",
"I_INSPECTIONOPERATION",
"I_INSPECTIONRESULTATTRIBUTE",
"I_INSPECTIONRESULTORIGIN",
"I_INSPECTIONRESULTSTATUS",
"I_INSPECTIONSEVERITY",
"I_INSPECTIONSUBSETTP",
"I_INSPECTIONVALUATIONRESULT",
"I_INSPECTIONVALUATIONRSLTTEXT",
"I_INSPSUBSETRESULTVALUETP"
],
"BASE":
[
"I_INSPSUBSETCHARACTERISTIC",
"I_INSPSUBSETRESULT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/