C_MfgOrderDefectRecord

DDL: C_MFGORDERDEFECTRECORD SQL: CMFGORDDEFREC Type: view CONSUMPTION Package: MPE_EXEC_NON_CONFORMANCE

Consumption view for defect

C_MfgOrderDefectRecord is a Consumption CDS View that provides data about "Consumption view for defect" in SAP S/4HANA. It reads from 1 data source (I_Defect_TP) and exposes 86 fields with key field DefectInternalID. It has 16 associations to related views. Part of development package MPE_EXEC_NON_CONFORMANCE.

Data Sources (1)

SourceAliasJoin Type
I_Defect_TP Defect from

Associations (16)

CardinalityTargetAliasCondition
[0..1] I_NotificationItem _NotificationItem _NotificationItem.ReferencedDefect = Defect.DefectInternalID and _NotificationItem.IsDeleted = ''
[0..1] I_SitnInstceIndicator _Sitn _Sitn.SitnInstceAnchorObjectKey = $projection.Defect and _Sitn.SitnDefAnchorObject = 'Defect'
[0..1] I_Equipment _Equip Defect.Equipment = _Equip.Equipment
[0..1] I_InspectionSubset _InspectionSubset _InspectionSubset.InspectionLot = $projection.InspectionLot and _InspectionSubset.InspPlanOperationInternalID = $projection.InspPlanOperationInternalID and _InspectionSubset.InspectionSubsetInternalID = $projection.InspectionSubsetInternalID
[0..1] I_ShopFloorItem _ShopFloorItem Defect.Material = _ShopFloorItem.Material and $projection.serialnumber = _ShopFloorItem.SerialNumber
[0..1] I_MfgOrdDefectDecision _DefectDecision _DefectDecision.Notification = $projection.DefectInternalID and _DefectDecision.NotificationItem = '0000'
[0..*] I_DefectLongTextTP _DefectLongTextTP $projection.DefectInternalID = _DefectLongTextTP.DefectInternalID
[1..1] I_MfgOrderOperation _MfgOrderOperation _MfgOrderOperation.OrderInternalBillOfOperations = $projection.OrderInternalID and _MfgOrderOperation.OrderIntBillOfOperationsItem = $projection.InspPlanOperationInternalID
[1..1] I_MfgOrderOperationBasic _MfgOrderOperationBasic _MfgOrderOperationBasic.OrderInternalBillOfOperations = $projection.OrderInternalID and _MfgOrderOperationBasic.OrderIntBillOfOperationsItem = $projection.InspPlanOperationInternalID
[1..1] I_OperationActivityText _OperationActivityText $projection.ProductionOrderOperationActy = _OperationActivityText.OperationActivity and $projection.ProductionOrderOpActyVers = _OperationActivityText.OperationActyVersionCounter and _OperationActivityText.Language = $session.system_language
[1..1] I_OpActyInstceOpActyNtwkElmnt _OpActyInstceOpActyNtwkElmnt _OpActyInstceOpActyNtwkElmnt.ManufacturingOrder = $projection.ProductionOrder and _OpActyInstceOpActyNtwkElmnt.OrderOperationInternalID = $projection.InspPlanOperationInternalID and _OpActyInstceOpActyNtwkElmnt.OperationActivity = $projection.ProductionOrderOperationActy and _OpActyInstceOpActyNtwkElmnt.OperationActyVersionCounter = $projection.ProductionOrderOpActyVers
[1..1] I_OpActyInstceNtwkElmntBasic _OpActyInstceNtwkElmntBasic _OpActyInstceNtwkElmntBasic.ManufacturingOrder = $projection.ProductionOrder and _OpActyInstceNtwkElmntBasic.OrderOperationInternalID = $projection.InspPlanOperationInternalID and _OpActyInstceNtwkElmntBasic.OperationActivity = $projection.ProductionOrderOperationActy and _OpActyInstceNtwkElmntBasic.OperationActyVersionCounter = $projection.ProductionOrderOpActyVers
[0..1] I_MfgActionReasonCode _MfgActionReasonCode _MfgActionReasonCode.MfgActionReasonCodeGroupCtlg = $projection.DefectCodeCatalog and _MfgActionReasonCode.MfgActionReasonCodeGroup = $projection.DefectCodeGroup and _MfgActionReasonCode.ManufacturingActionReasonCode = $projection.DefectCode and _MfgActionReasonCode.Version = $projection.DefectCodeVersion
[0..1] I_DefectCodeText _DefectCodeText $projection.DefectCodeGroup = _DefectCodeText.DefectCodeGroup and $projection.DefectCode = _DefectCodeText.DefectCode and _DefectCodeText.Language = $session.system_language
[0..*] C_ReworkBOOVersionDefectCode _ReworkBOOVersionDefectCode $projection.DefectCodeGroup = _ReworkBOOVersionDefectCode.DefectCodeGroup and $projection.DefectCode = _ReworkBOOVersionDefectCode.DefectCode and ( --Non-serialized rework routings only if Defect is not bound to a serial number ( ( $projection.serialnumber = '' or $projection.serialnumber is null ) and _ReworkBOOVersionDefectCode.OpActyConfIsSFIBased = '' ) or( --Serialized rework routings only if Defect is bound to a serial number $projection.serialnumber > '' and $projection.serialnumber is not null and _ReworkBOOVersionDefectCode.OpActyConfIsSFIBased = 'X' ) )
[0..*] I_MaterialText _MaterialText $projection.Material = _MaterialText.MaterialName

Annotations (22)

NameValueLevelField
AbapCatalog.sqlViewName CMFGORDDEFREC view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.representativeKey DefectInternalID view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.draftEnabled true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled true view
Metadata.allowExtensions true view
UI.headerInfo.typeName Defect view
UI.headerInfo.typeNamePlural Defects view
UI.headerInfo.title.value Defect view
UI.headerInfo.title.label Defect view
UI.headerInfo.description.value DefectText view
EndUserText.label Consumption view for defect view

Fields (86)

KeyFieldSource TableSource FieldDescription
KEY DefectInternalID I_Defect_TP DefectInternalID
SerialNumber _Equip SerialNumber
Defect Defect
DefectCategory I_Defect_TP DefectCategory
CreatedByUser I_Defect_TP CreatedByUser
CreationDate I_Defect_TP CreationDate
LastChangedByUser I_Defect_TP LastChangedByUser
LastChangeDate I_Defect_TP LastChangeDate
DefectText DefectText
DefectCodeCatalog I_Defect_TP DefectCodeCatalog
DefectCodeGroup I_Defect_TP DefectCodeGroup
DefectCode I_Defect_TP DefectCode
DefectCodeVersion I_Defect_TP DefectCodeVersion
DefectObjectCodeCatalog DefectObjectCodeCatalog
DefectObjectCodeGroup DefectObjectCodeGroup
DefectObjectCode DefectObjectCode
DefectObjectCodeVersion DefectObjectCodeVersion
DefectCauseCodeCatalog I_Defect_TP DefectCauseCodeCatalog
DefectCauseCodeGroup I_Defect_TP DefectCauseCodeGroup
DefectCauseCode I_Defect_TP DefectCauseCode
DefectCauseCodeVersion I_Defect_TP DefectCauseCodeVersion
DefectiveQuantity I_Defect_TP DefectiveQuantity
DefectiveQuantityUnit I_Defect_TP DefectiveQuantityUnit
DefectIsCreatedAutomatically I_Defect_TP DefectIsCreatedAutomatically
ProductionOrderOperationActy I_Defect_TP ProductionOrderOperationActy
OpActyNtwkElementExternalID _OpActyInstceNtwkElmntBasic OpActyNtwkElementExternalID
OpActyNtwkInstance _OpActyInstceNtwkElmntBasic OpActyNtwkInstance
OpActyNtwkElement _OpActyInstceNtwkElmntBasic OpActyNtwkElement
ManufacturingOrderOperation
MfgOrderOperationText _MfgOrderOperationBasic MfgOrderOperationText
ManufacturingOrder _MfgOrderOperationBasic ManufacturingOrder
ManufacturingOrderText
ProductionOrderOpActyVers I_Defect_TP ProductionOrderOpActyVers
Batch I_Defect_TP Batch
DefectiveSingleUnit I_Defect_TP DefectiveSingleUnit
ProductionOrder I_Defect_TP ProductionOrder
OrderInternalID I_Defect_TP OrderInternalID
CreationTime I_Defect_TP CreationTime
LastChangeTime I_Defect_TP LastChangeTime
DefectClass I_Defect_TP DefectClass
NumberOfDefects I_Defect_TP NumberOfDefects
InspPlanOperationInternalID I_Defect_TP InspPlanOperationInternalID
InspectionCharacteristic I_Defect_TP InspectionCharacteristic
InspectionSubsetInternalID I_Defect_TP InspectionSubsetInternalID
MaterialSample I_Defect_TP MaterialSample
WorkCenterTypeCode I_Defect_TP WorkCenterTypeCode
MainWorkCenterInternalID I_Defect_TP MainWorkCenterInternalID
MainWorkCenterPlant I_Defect_TP MainWorkCenterPlant
MainWorkCenter I_Defect_TP MainWorkCenter
Equipment I_Defect_TP Equipment
FunctionalLocation I_Defect_TP FunctionalLocation
IsDeleted I_Defect_TP IsDeleted
DefectOrigin I_Defect_TP DefectOrigin
Material I_Defect_TP Material
Plant I_Defect_TP Plant
InspectionLot I_Defect_TP InspectionLot
CatalogProfile I_Defect_TP CatalogProfile
ChangedDateTime I_Defect_TP ChangedDateTime
DefectLifecycleStatus I_Defect_TP DefectLifecycleStatus
DefectLifecycleStatusText
ProblemAnalysisStatus I_Defect_TP ProblemAnalysisStatus
QualityIssueReference I_Defect_TP QualityIssueReference
MasterLanguage I_Defect_TP MasterLanguage
Notification _NotificationItem Notification
NotificationText
NotificationItem _NotificationItem NotificationItem Notification Item
MfgDefectDecision _DefectDecision MfgDefectDecision Decision
MfgDefectDecisionName
SitnNumberOfInstances _Sitn SitnNumberOfInstances
BOMItemInstanceUUID I_Defect_TP BOMItemInstanceUUID
ProducedMaterial I_Defect_TP ProducedMaterial
ProducedSerialNumber I_Defect_TP ProducedSerialNumber
_DefectLongTextTP _DefectLongTextTP
_DefectStatus _DefectStatus
_DefectCodeText _DefectCodeText
_InspectionLot _InspectionLot
_ShopFloorItem _ShopFloorItem
_InspectionSubset _InspectionSubset
_DefectDecision _DefectDecision
_MfgOrderOperation _MfgOrderOperation
_OperationActivityText _OperationActivityText
_MaterialText _MaterialText
_OpActyInstceOpActyNtwkElmnt _OpActyInstceOpActyNtwkElmnt
_MfgActionReasonCode _MfgActionReasonCode
_ReworkBOOVersionDefectCode _ReworkBOOVersionDefectCode
_NotificationItem _NotificationItem
@AbapCatalog.sqlViewName: 'CMFGORDDEFREC'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #CONSUMPTION
@ObjectModel: {
    usageType: {
        dataClass: #MIXED,
        sizeCategory: #XL,
        serviceQuality: #D },
    representativeKey: 'DefectInternalID',
    semanticKey:  [ 'Defect', 'DefectCode', 'ManufacturingOrderOperation', 'OpActyNtwkElementExternalID'],
// Begin Draft 2.0

    compositionRoot: true,
    transactionalProcessingDelegated:true,
    draftEnabled:  true,
    createEnabled: true,
    updateEnabled: 'EXTERNAL_CALCULATION',
    deleteEnabled: true
}
@Metadata.allowExtensions: true
@UI.headerInfo: {
    typeName: 'Defect',
    typeNamePlural: 'Defects',
    title: {value: 'Defect', label: 'Defect'},
    description: {value: 'DefectText'}
}
@EndUserText.label: 'Consumption view for defect'

@UI.presentationVariant: [{requestAtLeast: ['SitnNumberOfInstances', 'DefectText', 'DefectiveQuantity', 'SerialNumber']}]

define view C_MfgOrderDefectRecord
  as select from I_Defect_TP as Defect

  association [0..1] to I_NotificationItem            as _NotificationItem            on  _NotificationItem.ReferencedDefect = Defect.DefectInternalID
                                                                                      and _NotificationItem.IsDeleted        = ''

  association [0..1] to I_SitnInstceIndicator         as _Sitn                        on  _Sitn.SitnInstceAnchorObjectKey = $projection.Defect
                                                                                      and _Sitn.SitnDefAnchorObject       = 'Defect'

  association [0..1] to I_Equipment                   as _Equip                       on  Defect.Equipment = _Equip.Equipment

  association [0..1] to I_InspectionSubset            as _InspectionSubset            on  _InspectionSubset.InspectionLot               = $projection.InspectionLot
                                                                                      and _InspectionSubset.InspPlanOperationInternalID = $projection.InspPlanOperationInternalID
                                                                                      and _InspectionSubset.InspectionSubsetInternalID  = $projection.InspectionSubsetInternalID
  association [0..1] to I_ShopFloorItem               as _ShopFloorItem               on  Defect.Material          = _ShopFloorItem.Material
                                                                                      and $projection.serialnumber = _ShopFloorItem.SerialNumber
  association [0..1] to I_MfgOrdDefectDecision        as _DefectDecision              on  _DefectDecision.Notification     = $projection.DefectInternalID
                                                                                      and _DefectDecision.NotificationItem = '0000'

  //Association to child nodes

  association [0..*] to I_DefectLongTextTP            as _DefectLongTextTP            on  $projection.DefectInternalID = _DefectLongTextTP.DefectInternalID
  association [1..1] to I_MfgOrderOperation           as _MfgOrderOperation           on  _MfgOrderOperation.OrderInternalBillOfOperations = $projection.OrderInternalID
                                                                                      and _MfgOrderOperation.OrderIntBillOfOperationsItem  = $projection.InspPlanOperationInternalID
  association [1..1] to I_MfgOrderOperationBasic      as _MfgOrderOperationBasic      on  _MfgOrderOperationBasic.OrderInternalBillOfOperations = $projection.OrderInternalID
                                                                                      and _MfgOrderOperationBasic.OrderIntBillOfOperationsItem  = $projection.InspPlanOperationInternalID
  association [1..1] to I_OperationActivityText       as _OperationActivityText       on  $projection.ProductionOrderOperationActy = _OperationActivityText.OperationActivity
                                                                                      and $projection.ProductionOrderOpActyVers    = _OperationActivityText.OperationActyVersionCounter
                                                                                      and _OperationActivityText.Language          = $session.system_language
  association [1..1] to I_OpActyInstceOpActyNtwkElmnt as _OpActyInstceOpActyNtwkElmnt on  _OpActyInstceOpActyNtwkElmnt.ManufacturingOrder          = $projection.ProductionOrder
                                                                                      and _OpActyInstceOpActyNtwkElmnt.OrderOperationInternalID    = $projection.InspPlanOperationInternalID
                                                                                      and _OpActyInstceOpActyNtwkElmnt.OperationActivity           = $projection.ProductionOrderOperationActy
                                                                                      and _OpActyInstceOpActyNtwkElmnt.OperationActyVersionCounter = $projection.ProductionOrderOpActyVers
  association [1..1] to I_OpActyInstceNtwkElmntBasic  as _OpActyInstceNtwkElmntBasic  on  _OpActyInstceNtwkElmntBasic.ManufacturingOrder          = $projection.ProductionOrder
                                                                                      and _OpActyInstceNtwkElmntBasic.OrderOperationInternalID    = $projection.InspPlanOperationInternalID
                                                                                      and _OpActyInstceNtwkElmntBasic.OperationActivity           = $projection.ProductionOrderOperationActy
                                                                                      and _OpActyInstceNtwkElmntBasic.OperationActyVersionCounter = $projection.ProductionOrderOpActyVers
  association [0..1] to I_MfgActionReasonCode         as _MfgActionReasonCode         on  _MfgActionReasonCode.MfgActionReasonCodeGroupCtlg  = $projection.DefectCodeCatalog
                                                                                      and _MfgActionReasonCode.MfgActionReasonCodeGroup      = $projection.DefectCodeGroup
                                                                                      and _MfgActionReasonCode.ManufacturingActionReasonCode = $projection.DefectCode
                                                                                      and _MfgActionReasonCode.Version                       = $projection.DefectCodeVersion
  association [0..1] to I_DefectCodeText              as _DefectCodeText              on  $projection.DefectCodeGroup = _DefectCodeText.DefectCodeGroup
                                                                                      and $projection.DefectCode      = _DefectCodeText.DefectCode
                                                                                      and _DefectCodeText.Language    = $session.system_language
  association [0..*] to C_ReworkBOOVersionDefectCode  as _ReworkBOOVersionDefectCode  on  $projection.DefectCodeGroup                           = _ReworkBOOVersionDefectCode.DefectCodeGroup
                                                                                      and $projection.DefectCode                                = _ReworkBOOVersionDefectCode.DefectCode
                                                                                      and ( --Non-serialized rework routings only if Defect is not bound to a serial number
                                                                                         (
                                                                                           (
                                                                                             $projection.serialnumber                           = ''
                                                                                             or $projection.serialnumber                        is null
                                                                                           )
                                                                                           and _ReworkBOOVersionDefectCode.OpActyConfIsSFIBased = ''
                                                                                         )
                                                                                         or( --Serialized rework routings only if Defect is bound to a serial number
                                                                                           $projection.serialnumber                             > ''
                                                                                           and $projection.serialnumber                         is not null
                                                                                           and _ReworkBOOVersionDefectCode.OpActyConfIsSFIBased = 'X'
                                                                                         )
                                                                                       )
  association [0..*] to I_MaterialText                as _MaterialText                on  $projection.Material = _MaterialText.MaterialName
{

      @UI.facet: [
        {
          position: 10,
          id: 'REWORK',
          label: 'Rework Routings',
          purpose: #STANDARD,
          targetElement: '_ReworkBOOVersionDefectCode'
        }
      ]

  key Defect.DefectInternalID,
      @ObjectModel.readOnly: true
      _Equip.SerialNumber,
      //      @UI: {

      //        textArrangement: #TEXT_LAST,

      //        lineItem: [{position: 10}, {position: 10, qualifier: 'OADETAILS'}

      //        ]

      //      }

      //      @ObjectModel.text.element: ['DefectText']

      Defect,
      @UI.hidden: true
      Defect.DefectCategory,
      @UI.hidden: true
      Defect.CreatedByUser,
      @UI.hidden: true
      Defect.CreationDate,
      @UI.hidden: true
      Defect.LastChangedByUser,
      @UI.hidden: true
      Defect.LastChangeDate,
      @UI.hidden: true
      DefectText,
      @UI.hidden: true
      Defect.DefectCodeCatalog,
      @UI.hidden: true
      Defect.DefectCodeGroup,
      @ObjectModel.text.association: '_DefectCodeText'
      @UI: {
        lineItem: [{position: 20}, {position: 20, qualifier: 'OADETAILS'}]
      }
      Defect.DefectCode,
      @UI.hidden: true
      Defect.DefectCodeVersion,
      @UI.hidden: true
      DefectObjectCodeCatalog,
      @UI.hidden: true
      DefectObjectCodeGroup,
      @UI.hidden: true
      DefectObjectCode,
      @UI.hidden: true
      DefectObjectCodeVersion,
      @UI.hidden: true
      Defect.DefectCauseCodeCatalog,
      @UI.hidden: true
      Defect.DefectCauseCodeGroup,
      @UI.hidden: true
      Defect.DefectCauseCode,
      @UI.hidden: true
      Defect.DefectCauseCodeVersion,
      @UI.hidden: true
      Defect.DefectiveQuantity,
      @UI.hidden: true
      Defect.DefectiveQuantityUnit,
      @UI.hidden: true
      Defect.DefectIsCreatedAutomatically,
      @UI.hidden: true
      Defect.ProductionOrderOperationActy,
      @ObjectModel: {
        text.association: '_OperationActivityText',
        readOnly: true
      }
      @UI: {
        textArrangement: #TEXT_FIRST,
        lineItem: [{position: 60}]
      }
      _OpActyInstceNtwkElmntBasic.OpActyNtwkElementExternalID,
      @UI.hidden: true
      @ObjectModel.readOnly: true
      _OpActyInstceNtwkElmntBasic.OpActyNtwkInstance,
      @UI.hidden: true
      @ObjectModel.readOnly: true
      _OpActyInstceNtwkElmntBasic.OpActyNtwkElement,
      @ObjectModel.readOnly: true
      @ObjectModel.text.element: ['MfgOrderOperationText']
      @UI: {
        textArrangement: #TEXT_FIRST,
        lineItem: [{position: 50}]
      }
      cast(_MfgOrderOperationBasic.ManufacturingOrderOperation as manufacturingorderoperation preserving type) as ManufacturingOrderOperation,
      @UI.hidden: true
      @ObjectModel.readOnly: true
      _MfgOrderOperationBasic.MfgOrderOperationText,
      @ObjectModel.readOnly: true
      _MfgOrderOperationBasic.ManufacturingOrder,
      @UI.hidden: true
      @ObjectModel.readOnly: true
      _MfgOrderOperationBasic._MfgOrder.ManufacturingOrderText,
      @UI.hidden: true
      Defect.ProductionOrderOpActyVers,
      @UI.hidden: true
      Defect.Batch,
      @UI.hidden: true
      Defect.DefectiveSingleUnit,
      @UI.hidden: true
      Defect.ProductionOrder,
      @UI.hidden: true
      Defect.OrderInternalID,
      @UI.hidden: true
      Defect.CreationTime,
      @UI.hidden: true
      Defect.LastChangeTime,
      @UI.hidden: true
      Defect.DefectClass,
      @UI.hidden: true
      Defect.NumberOfDefects,
      @UI.hidden: true
      Defect.InspPlanOperationInternalID,
      @UI.hidden: true
      Defect.InspectionCharacteristic,
      @UI.hidden: true
      Defect.InspectionSubsetInternalID,
      //      @UI.hidden: true

      //      @ObjectModel.readOnly: true

      //      _InspectionSubset.ShopFloorItem,

      @UI.hidden: true
      Defect.MaterialSample,
      @UI.hidden: true
      Defect.WorkCenterTypeCode,
      @UI.hidden: true
      Defect.MainWorkCenterInternalID,
      @UI.hidden: true
      Defect.MainWorkCenterPlant,
      @UI.hidden: true
      Defect.MainWorkCenter,
      @UI.hidden: true
      Defect.Equipment,
      @UI.hidden: true
      Defect.FunctionalLocation,
      @UI.hidden: true
      Defect.IsDeleted,
      @UI.hidden: true
      Defect.DefectOrigin,
      @UI.hidden: true
      @ObjectModel.text.association: '_MaterialText'
      Defect.Material,
      @UI.hidden: true
      Defect.Plant,
      @UI.hidden: true
      Defect.InspectionLot,
      @UI.hidden: true
      Defect.CatalogProfile,
      @UI.hidden: true
      Defect.ChangedDateTime,
      @ObjectModel.text.element: 'DefectLifecycleStatusText'
      @UI: {
        textArrangement: #TEXT_ONLY
        //lineItem: [{position: 60}, {position: 60, qualifier: 'OADETAILS'}]

      }
      Defect.DefectLifecycleStatus,
      @UI.hidden: true
      @ObjectModel.readOnly: true
      _DefectStatus._DefectStatusText[1: Language=$session.system_language].DefectLifecycleStatusText,
      @UI.hidden: true
      Defect.ProblemAnalysisStatus,
      @UI.hidden: true
      Defect.QualityIssueReference,
      @UI.hidden: true
      Defect.MasterLanguage,
      @ObjectModel.readOnly: true
      @ObjectModel.text.element: ['NotificationText']
      @UI: {
        textArrangement: #TEXT_LAST,
        lineItem: [{position: 30}]
      }
      @Consumption.semanticObject:'QualityNotification'
      _NotificationItem.Notification,
      @UI.hidden: true
      @ObjectModel.readOnly: true
      _NotificationItem._Notification.NotificationText                                                         as NotificationText,
      @ObjectModel.readOnly: true
      @UI: {
        lineItem: [{position: 40}]
      }
      @EndUserText.label: 'Notification Item'
      _NotificationItem.NotificationItem,
      @ObjectModel.readOnly: true
      @ObjectModel.text.element: ['MfgDefectDecisionName']
      @UI: {

        lineItem: [{position: 70}]
       }
      @EndUserText.label: 'Decision'
      _DefectDecision.MfgDefectDecision,
      @UI.hidden: true
      @ObjectModel.readOnly: true
      @Semantics.text: true
      _DefectDecision._DefectDecisionVH._Text[1: Language=$session.system_language].MfgDefectDecisionName,

      @ObjectModel.readOnly: true
      _Sitn.SitnNumberOfInstances,
      Defect.BOMItemInstanceUUID,
      Defect.ProducedMaterial,
      Defect.ProducedSerialNumber,


      /* Associations */
      _DefectLongTextTP,
      _DefectStatus,
      _DefectCodeText,
      _InspectionLot,
      _ShopFloorItem,
      _InspectionSubset,
      _DefectDecision,
      _MfgOrderOperation,
      _OperationActivityText,
      _MaterialText,
      _OpActyInstceOpActyNtwkElmnt,
      _MfgActionReasonCode,
      _ReworkBOOVersionDefectCode,
      _NotificationItem
      //_Notification

}