I_MfgOrderOperationForConf

DDL: I_MFGORDEROPERATIONFORCONF SQL: IMFGORDOPFORCONF Type: view COMPOSITE

Mfg Order Operation for Confirmation

I_MfgOrderOperationForConf is a Composite CDS View that provides data about "Mfg Order Operation for Confirmation" in SAP S/4HANA. It reads from 2 data sources (I_MfgOrderOperation, I_OrderItem) and exposes 131 fields with key fields OrderInternalBillOfOperations, OrderIntBillOfOperationsItem. It has 8 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_MfgOrderOperation oper from
I_OrderItem orditem inner

Associations (8)

CardinalityTargetAliasCondition
[0..1] I_UnitOfMeasure _OperationUnit $projection.OperationUnit = _OperationUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _ProductionUnit $projection.ProductionUnit = _ProductionUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _OpWorkQuantityUnit1 $projection.OpWorkQuantityUnit1 = _OpWorkQuantityUnit1.UnitOfMeasure
[0..1] I_UnitOfMeasure _OpWorkQuantityUnit2 $projection.OpWorkQuantityUnit2 = _OpWorkQuantityUnit2.UnitOfMeasure
[0..1] I_UnitOfMeasure _OpWorkQuantityUnit3 $projection.OpWorkQuantityUnit3 = _OpWorkQuantityUnit3.UnitOfMeasure
[0..1] I_UnitOfMeasure _OpWorkQuantityUnit4 $projection.OpWorkQuantityUnit4 = _OpWorkQuantityUnit4.UnitOfMeasure
[0..1] I_UnitOfMeasure _OpWorkQuantityUnit5 $projection.OpWorkQuantityUnit5 = _OpWorkQuantityUnit5.UnitOfMeasure
[0..1] I_UnitOfMeasure _OpWorkQuantityUnit6 $projection.OpWorkQuantityUnit6 = _OpWorkQuantityUnit6.UnitOfMeasure

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMFGORDOPFORCONF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
EndUserText.label Mfg Order Operation for Confirmation view

Fields (131)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalBillOfOperations I_MfgOrderOperation OrderInternalBillOfOperations
KEY OrderIntBillOfOperationsItem I_MfgOrderOperation OrderIntBillOfOperationsItem
ManufacturingOrder I_MfgOrderOperation ManufacturingOrder
ManufacturingOrderSequence I_MfgOrderOperation ManufacturingOrderSequence
ManufacturingOrderOperation I_MfgOrderOperation ManufacturingOrderOperation
ManufacturingOrderSubOperation
ManufacturingOrderCategory I_MfgOrderOperation ManufacturingOrderCategory
ManufacturingOrderType I_MfgOrderOperation ManufacturingOrderType
ProductionSupervisor I_MfgOrderOperation ProductionSupervisor
MRPController I_MfgOrderOperation MRPController
Material I_OrderItem Material
MfgOrderOperationText I_MfgOrderOperation MfgOrderOperationText
OperationControlProfile I_MfgOrderOperation OperationControlProfile
OperationConfirmation I_MfgOrderOperation OperationConfirmation
FactoryCalendar I_MfgOrderOperation FactoryCalendar
ProductionPlant I_MfgOrderOperation ProductionPlant
OperationIsCreated
OperationIsReleased
OperationIsPrinted
OperationIsConfirmed
OperationIsPartiallyConfirmed
OperationIsDeleted
OperationIsTechlyCompleted
OperationIsClosed
OperationIsScheduled
OperationIsPartiallyDelivered
OperationIsDelivered
ConfirmationIsRequired
ConfirmationIsNotPossible
WorkCenterInternalID I_MfgOrderOperation WorkCenterInternalID
WorkCenterTypeCode I_MfgOrderOperation WorkCenterTypeCode_2
OpErlstSchedldExecStrtDte I_MfgOrderOperation OpErlstSchedldExecStrtDte
OpErlstSchedldExecStrtTme I_MfgOrderOperation OpErlstSchedldExecStrtTme
OpErlstSchedldProcgStrtDte I_MfgOrderOperation OpErlstSchedldProcgStrtDte
OpErlstSchedldProcgStrtTme I_MfgOrderOperation OpErlstSchedldProcgStrtTme
OpErlstSchedldTrdwnStrtDte I_MfgOrderOperation OpErlstSchedldTrdwnStrtDte
OpErlstSchedldTrdwnStrtTme I_MfgOrderOperation OpErlstSchedldTrdwnStrtTme
OpErlstSchedldExecEndDte I_MfgOrderOperation OpErlstSchedldExecEndDte
OpErlstSchedldExecEndTme I_MfgOrderOperation OpErlstSchedldExecEndTme
OpLtstSchedldExecStrtDte I_MfgOrderOperation OpLtstSchedldExecStrtDte
OpLtstSchedldExecStrtTme I_MfgOrderOperation OpLtstSchedldExecStrtTme
OpLtstSchedldProcgStrtDte I_MfgOrderOperation OpLtstSchedldProcgStrtDte
OpLtstSchedldProcgStrtTme I_MfgOrderOperation OpLtstSchedldProcgStrtTme
OpLtstSchedldTrdwnStrtDte I_MfgOrderOperation OpLtstSchedldTrdwnStrtDte
OpLtstSchedldTrdwnStrtTme I_MfgOrderOperation OpLtstSchedldTrdwnStrtTme
OpLtstSchedldExecEndDte I_MfgOrderOperation OpLtstSchedldExecEndDte
OpLtstSchedldExecEndTme I_MfgOrderOperation OpLtstSchedldExecEndTme
OperationConfirmedStartDate I_MfgOrderOperation OperationConfirmedStartDate
OperationConfirmedEndDate I_MfgOrderOperation OperationConfirmedEndDate
OpActualExecutionStartDate I_MfgOrderOperation OpActualExecutionStartDate
OpActualExecutionStartTime I_MfgOrderOperation OpActualExecutionStartTime
OpActualSetupEndDate I_MfgOrderOperation OpActualSetupEndDate
OpActualSetupEndTime I_MfgOrderOperation OpActualSetupEndTime
OpActualProcessingStartDate I_MfgOrderOperation OpActualProcessingStartDate
OpActualProcessingStartTime I_MfgOrderOperation OpActualProcessingStartTime
OpActualProcessingEndDate I_MfgOrderOperation OpActualProcessingEndDate
OpActualProcessingEndTime I_MfgOrderOperation OpActualProcessingEndTime
OpActualTeardownStartDate I_MfgOrderOperation OpActualTeardownStartDate
OpActualTeardownStartTme I_MfgOrderOperation OpActualTeardownStartTme
OpActualExecutionEndDate I_MfgOrderOperation OpActualExecutionEndDate
OpActualExecutionEndTime I_MfgOrderOperation OpActualExecutionEndTime
OperationUnit I_MfgOrderOperation OperationUnit
ProductionUnit I_MfgOrderOperation ProductionUnit
OpQtyToBaseQtyDnmntr I_MfgOrderOperation OpQtyToBaseQtyDnmntr
OpQtyToBaseQtyNmrtr I_MfgOrderOperation OpQtyToBaseQtyNmrtr
OperationScrapPercent I_MfgOrderOperation OperationScrapPercent
OpPlannedTotalQuantity I_MfgOrderOperation OpPlannedTotalQuantity
OpPlannedScrapQuantity I_MfgOrderOperation OpPlannedScrapQuantity
OpPlannedYieldQuantity I_MfgOrderOperation OpPlannedYieldQuantity
OpTotalConfirmedYieldQty I_MfgOrderOperation OpTotalConfirmedYieldQty
OpTotalConfirmedScrapQty I_MfgOrderOperation OpTotalConfirmedScrapQty
OperationConfirmedReworkQty I_MfgOrderOperation OperationConfirmedReworkQty
OpWorkQuantityUnit1 I_MfgOrderOperation OpWorkQuantityUnit1
OpConfirmedWorkQuantity1 I_MfgOrderOperation OpConfirmedWorkQuantity1
NoFurtherOpWorkQuantity1IsExpd I_MfgOrderOperation NoFurtherOpWorkQuantity1IsExpd
OpWorkQuantityUnit2 I_MfgOrderOperation OpWorkQuantityUnit2
OpConfirmedWorkQuantity2 I_MfgOrderOperation OpConfirmedWorkQuantity2
NoFurtherOpWorkQuantity2IsExpd I_MfgOrderOperation NoFurtherOpWorkQuantity2IsExpd
OpWorkQuantityUnit3 I_MfgOrderOperation OpWorkQuantityUnit3
OpConfirmedWorkQuantity3 I_MfgOrderOperation OpConfirmedWorkQuantity3
NoFurtherOpWorkQuantity3IsExpd I_MfgOrderOperation NoFurtherOpWorkQuantity3IsExpd
OpWorkQuantityUnit4 I_MfgOrderOperation OpWorkQuantityUnit4
OpConfirmedWorkQuantity4 I_MfgOrderOperation OpConfirmedWorkQuantity4
NoFurtherOpWorkQuantity4IsExpd I_MfgOrderOperation NoFurtherOpWorkQuantity4IsExpd
OpWorkQuantityUnit5 I_MfgOrderOperation OpWorkQuantityUnit5
OpConfirmedWorkQuantity5 I_MfgOrderOperation OpConfirmedWorkQuantity5
NoFurtherOpWorkQuantity5IsExpd I_MfgOrderOperation NoFurtherOpWorkQuantity5IsExpd
OpWorkQuantityUnit6 I_MfgOrderOperation OpWorkQuantityUnit6
OpConfirmedWorkQuantity6 I_MfgOrderOperation OpConfirmedWorkQuantity6
NoFurtherOpWorkQuantity6IsExpd I_MfgOrderOperation NoFurtherOpWorkQuantity6IsExpd
WorkCenterStandardWorkQtyUnit1 I_MfgOrderOperation WorkCenterStandardWorkQtyUnit1
WorkCenterStandardWorkQty1 I_MfgOrderOperation WorkCenterStandardWorkQty1
CostCtrActivityType1 I_MfgOrderOperation CostCtrActivityType1
WorkCenterStandardWorkQtyUnit2 I_MfgOrderOperation WorkCenterStandardWorkQtyUnit2
WorkCenterStandardWorkQty2 I_MfgOrderOperation WorkCenterStandardWorkQty2
CostCtrActivityType2 I_MfgOrderOperation CostCtrActivityType2
WorkCenterStandardWorkQtyUnit3 I_MfgOrderOperation WorkCenterStandardWorkQtyUnit3
WorkCenterStandardWorkQty3 I_MfgOrderOperation WorkCenterStandardWorkQty3
CostCtrActivityType3 I_MfgOrderOperation CostCtrActivityType3
WorkCenterStandardWorkQtyUnit4 I_MfgOrderOperation WorkCenterStandardWorkQtyUnit4
WorkCenterStandardWorkQty4 I_MfgOrderOperation WorkCenterStandardWorkQty4
CostCtrActivityType4 I_MfgOrderOperation CostCtrActivityType4
WorkCenterStandardWorkQtyUnit5 I_MfgOrderOperation WorkCenterStandardWorkQtyUnit5
WorkCenterStandardWorkQty5 I_MfgOrderOperation WorkCenterStandardWorkQty5
CostCtrActivityType5 I_MfgOrderOperation CostCtrActivityType5
WorkCenterStandardWorkQtyUnit6 I_MfgOrderOperation WorkCenterStandardWorkQtyUnit6
WorkCenterStandardWorkQty6 I_MfgOrderOperation WorkCenterStandardWorkQty6
CostCtrActivityType6 I_MfgOrderOperation CostCtrActivityType6
Personnel I_MfgOrderOperation Personnel
_OrdInternalBillOfOperations I_MfgOrderOperation _OrdInternalBillOfOperations
_MfgOrder I_MfgOrderOperation _MfgOrder
_MfgOrderSequence I_MfgOrderOperation _MfgOrderSequence
_MfgOrderCategory I_MfgOrderOperation _MfgOrderCategory
_MfgOrderType I_MfgOrderOperation _MfgOrderType
_ProductionSupervisor I_MfgOrderOperation _ProductionSupervisor
_MRPController I_MfgOrderOperation _MRPController
_OperationConfirmation I_MfgOrderOperation _OperationConfirmation
_FactoryCalendar I_MfgOrderOperation _FactoryCalendar
_ProductionPlant I_MfgOrderOperation _ProductionPlant
_OperationUnit _OperationUnit
_ProductionUnit _ProductionUnit
_OpWorkQuantityUnit1 _OpWorkQuantityUnit1
_OpWorkQuantityUnit2 _OpWorkQuantityUnit2
_OpWorkQuantityUnit3 _OpWorkQuantityUnit3
_OpWorkQuantityUnit4 _OpWorkQuantityUnit4
_OpWorkQuantityUnit5 _OpWorkQuantityUnit5
_OpWorkQuantityUnit6 _OpWorkQuantityUnit6
_WorkCenter I_MfgOrderOperation _WorkCenter_2
_WorkCenterType I_MfgOrderOperation _WorkCenterType_2
_Material I_OrderItem _Material
_OperationControlProfile I_MfgOrderOperation _OperationControlProfile
@AbapCatalog.sqlViewName: 'IMFGORDOPFORCONF'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true 
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA')
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #XL, dataClass: #MIXED}
@VDM.viewType: #COMPOSITE
@EndUserText.label: 'Mfg Order Operation for Confirmation'

define view I_MfgOrderOperationForConf 

  as select from I_MfgOrderOperation as oper
    inner join I_OrderItem as orditem on  orditem.OrderID = oper.ManufacturingOrder
                                      and orditem.OrderItem = '0001'
    left outer to one join I_StatusObjectStatusBasic as _isCreated   on _isCreated.StatusObject   = oper.ManufacturingObject and _isCreated.StatusCode   = 'I0001' and _isCreated.StatusIsInactive   = '' // OperationIsCreated

    left outer to one join I_StatusObjectStatusBasic as _isReleased  on _isReleased.StatusObject  = oper.ManufacturingObject and _isReleased.StatusCode  = 'I0002' and _isReleased.StatusIsInactive  = '' // OperationIsReleased

    left outer to one join I_StatusObjectStatusBasic as _isPrinted   on _isPrinted.StatusObject   = oper.ManufacturingObject and _isPrinted.StatusCode   = 'I0007' and _isPrinted.StatusIsInactive   = '' // OperationIsPrinted

    left outer to one join I_StatusObjectStatusBasic as _isConfirmed on _isConfirmed.StatusObject = oper.ManufacturingObject and _isConfirmed.StatusCode = 'I0009' and _isConfirmed.StatusIsInactive = '' // OperationIsConfirmed

    left outer to one join I_StatusObjectStatusBasic as _isPartConf  on _isPartConf.StatusObject  = oper.ManufacturingObject and _isPartConf.StatusCode  = 'I0010' and _isPartConf.StatusIsInactive  = '' // OperationIsPartiallyConfirmed

    left outer to one join I_StatusObjectStatusBasic as _isDeleted   on _isDeleted.StatusObject   = oper.ManufacturingObject and _isDeleted.StatusCode   = 'I0013' and _isDeleted.StatusIsInactive   = '' // OperationIsDeleted

    left outer to one join I_StatusObjectStatusBasic as _isTechCompl on _isTechCompl.StatusObject = oper.ManufacturingObject and _isTechCompl.StatusCode = 'I0045' and _isTechCompl.StatusIsInactive = '' // OperationIsTechnicallyCompleted

    left outer to one join I_StatusObjectStatusBasic as _isClosed    on _isClosed.StatusObject    = oper.ManufacturingObject and _isClosed.StatusCode    = 'I0046' and _isClosed.StatusIsInactive    = '' // OperationIsClosed

    left outer to one join I_StatusObjectStatusBasic as _isScheduled on _isScheduled.StatusObject = oper.ManufacturingObject and _isScheduled.StatusCode = 'I0117' and _isScheduled.StatusIsInactive = '' // OperationIsScheduled

    left outer to one join I_StatusObjectStatusBasic as _isPartDeliv on _isPartDeliv.StatusObject = oper.ManufacturingObject and _isPartDeliv.StatusCode = 'I0377' and _isPartDeliv.StatusIsInactive = '' // OperationIsPartiallyDelivered

    left outer to one join I_StatusObjectStatusBasic as _isDelivered on _isDelivered.StatusObject = oper.ManufacturingObject and _isDelivered.StatusCode = 'I0378' and _isDelivered.StatusIsInactive = '' // OperationIsDelivered

  
  association [0..1] to I_UnitOfMeasure as _OperationUnit                on $projection.OperationUnit                = _OperationUnit.UnitOfMeasure  
  association [0..1] to I_UnitOfMeasure as _ProductionUnit               on $projection.ProductionUnit               = _ProductionUnit.UnitOfMeasure
  association [0..1] to I_UnitOfMeasure as _OpWorkQuantityUnit1          on $projection.OpWorkQuantityUnit1          = _OpWorkQuantityUnit1.UnitOfMeasure  
  association [0..1] to I_UnitOfMeasure as _OpWorkQuantityUnit2          on $projection.OpWorkQuantityUnit2          = _OpWorkQuantityUnit2.UnitOfMeasure
  association [0..1] to I_UnitOfMeasure as _OpWorkQuantityUnit3          on $projection.OpWorkQuantityUnit3          = _OpWorkQuantityUnit3.UnitOfMeasure
  association [0..1] to I_UnitOfMeasure as _OpWorkQuantityUnit4          on $projection.OpWorkQuantityUnit4          = _OpWorkQuantityUnit4.UnitOfMeasure
  association [0..1] to I_UnitOfMeasure as _OpWorkQuantityUnit5          on $projection.OpWorkQuantityUnit5          = _OpWorkQuantityUnit5.UnitOfMeasure
  association [0..1] to I_UnitOfMeasure as _OpWorkQuantityUnit6          on $projection.OpWorkQuantityUnit6          = _OpWorkQuantityUnit6.UnitOfMeasure            

{
  // Technical Key

  @ObjectModel.foreignKey.association: '_OrdInternalBillOfOperations'
  key oper.OrderInternalBillOfOperations,  
  key oper.OrderIntBillOfOperationsItem,

  // Semantic key

  @ObjectModel.foreignKey.association: '_MfgOrder'
  oper.ManufacturingOrder,
  @ObjectModel.foreignKey.association: '_MfgOrderSequence'
  oper.ManufacturingOrderSequence,
  @ObjectModel.text.element: 'MfgOrderOperationText'  
  oper.ManufacturingOrderOperation,
  @ObjectModel.text.element: 'MfgOrderOperationText'
  cast(oper.ManufacturingOrderSubOperation as vdm_vornr preserving type) as ManufacturingOrderSubOperation,

  // Order header data

  @ObjectModel.foreignKey.association: '_MfgOrderCategory'
  oper.ManufacturingOrderCategory,
  @ObjectModel.foreignKey.association: '_MfgOrderType'  
  oper.ManufacturingOrderType,
  @ObjectModel.foreignKey.association: '_ProductionSupervisor'  
  oper.ProductionSupervisor,
  @ObjectModel.foreignKey.association: '_MRPController'
  oper.MRPController,

  // Order Item

  @ObjectModel.foreignKey.association: '_Material'
  orditem.Material,

  // Operation

  @Semantics.text: true
  oper.MfgOrderOperationText,
  @ObjectModel.foreignKey.association: '_OperationControlProfile'
  oper.OperationControlProfile,
  @ObjectModel.foreignKey.association: '_OperationConfirmation'  
  oper.OperationConfirmation,
  @ObjectModel.foreignKey.association: '_FactoryCalendar'  
  oper.FactoryCalendar,
  @ObjectModel.foreignKey.association: '_ProductionPlant'   
  oper.ProductionPlant,
 
  // Status

    case when _isCreated.StatusCode   is null then '' else 'X' end as OperationIsCreated,
    case when _isReleased.StatusCode  is null then '' else 'X' end as OperationIsReleased,
    case when _isPrinted.StatusCode   is null then '' else 'X' end as OperationIsPrinted,
    case when _isConfirmed.StatusCode is null then '' else 'X' end as OperationIsConfirmed,
    case when _isPartConf.StatusCode  is null then '' else 'X' end as OperationIsPartiallyConfirmed,
    case when _isDeleted.StatusCode   is null then '' else 'X' end as OperationIsDeleted,
    case when _isTechCompl.StatusCode is null then '' else 'X' end as OperationIsTechlyCompleted,
    case when _isClosed.StatusCode    is null then '' else 'X' end as OperationIsClosed,
    case when _isScheduled.StatusCode is null then '' else 'X' end as OperationIsScheduled,
    case when _isPartDeliv.StatusCode is null then '' else 'X' end as OperationIsPartiallyDelivered,
    case when _isDelivered.StatusCode is null then '' else 'X' end as OperationIsDelivered,

  // Operation Control Profile

  oper._OperationControlProfile.ConfirmationIsRequired,
  oper._OperationControlProfile.ConfirmationIsNotPossible,

  // WorkCenter

  @ObjectModel.foreignKey.association: '_WorkCenter'   
  oper.WorkCenterInternalID,
  @ObjectModel.foreignKey.association: '_WorkCenterType'  
  oper.WorkCenterTypeCode_2 as WorkCenterTypeCode,

  // Dates and Times  

  @Semantics.calendarItem.dtStart: true
  oper.OpErlstSchedldExecStrtDte,
  oper.OpErlstSchedldExecStrtTme,
  @Semantics.calendarItem.dtStart: true
  oper.OpErlstSchedldProcgStrtDte,
  oper.OpErlstSchedldProcgStrtTme,
  @Semantics.calendarItem.dtStart: true
  oper.OpErlstSchedldTrdwnStrtDte,
  oper.OpErlstSchedldTrdwnStrtTme,
  @Semantics.calendarItem.dtEnd: true
  oper.OpErlstSchedldExecEndDte,
  oper.OpErlstSchedldExecEndTme,
  @Semantics.calendarItem.dtStart: true
  oper.OpLtstSchedldExecStrtDte,
  oper.OpLtstSchedldExecStrtTme,
  @Semantics.calendarItem.dtStart: true
  oper.OpLtstSchedldProcgStrtDte,
  oper.OpLtstSchedldProcgStrtTme,
  @Semantics.calendarItem.dtStart: true
  oper.OpLtstSchedldTrdwnStrtDte,
  oper.OpLtstSchedldTrdwnStrtTme,
  @Semantics.calendarItem.dtEnd: true
  oper.OpLtstSchedldExecEndDte,
  oper.OpLtstSchedldExecEndTme,
  @Semantics.calendarItem.dtStart: true
  oper.OperationConfirmedStartDate,
  oper.OperationConfirmedEndDate,
  @Semantics.calendarItem.dtStart: true
  oper.OpActualExecutionStartDate,
  oper.OpActualExecutionStartTime,
  @Semantics.calendarItem.dtEnd: true
  oper.OpActualSetupEndDate,
  oper.OpActualSetupEndTime,
  @Semantics.calendarItem.dtStart: true
  oper.OpActualProcessingStartDate,
  oper.OpActualProcessingStartTime,
  @Semantics.calendarItem.dtEnd: true
  oper.OpActualProcessingEndDate,
  oper.OpActualProcessingEndTime,
  @Semantics.calendarItem.dtStart: true
  oper.OpActualTeardownStartDate,
  oper.OpActualTeardownStartTme,
  @Semantics.calendarItem.dtEnd: true
  oper.OpActualExecutionEndDate,
  oper.OpActualExecutionEndTime,
  
  // Quantities and UoM

  @Semantics.unitOfMeasure: true
  oper.OperationUnit,
  @Semantics.unitOfMeasure: true
  oper.ProductionUnit,  
  oper.OpQtyToBaseQtyDnmntr,
  oper.OpQtyToBaseQtyNmrtr,
  oper.OperationScrapPercent, 
  @Semantics.quantity.unitOfMeasure: 'OperationUnit'
  @DefaultAggregation: #NONE  
  oper.OpPlannedTotalQuantity,
  @Semantics.quantity.unitOfMeasure: 'OperationUnit'
  @DefaultAggregation: #NONE   
  oper.OpPlannedScrapQuantity,
  @Semantics.quantity.unitOfMeasure: 'OperationUnit'
  @DefaultAggregation: #NONE   
  oper.OpPlannedYieldQuantity,
  @Semantics.quantity.unitOfMeasure: 'OperationUnit'
  @DefaultAggregation: #NONE   
  oper.OpTotalConfirmedYieldQty,
  @Semantics.quantity.unitOfMeasure: 'OperationUnit'
  @DefaultAggregation: #NONE   
  oper.OpTotalConfirmedScrapQty,
  @Semantics.quantity.unitOfMeasure: 'OperationUnit'
  @DefaultAggregation: #NONE   
  oper.OperationConfirmedReworkQty,

  // Confirmed Work Quantities and UoM

  @Semantics.unitOfMeasure: true
  oper.OpWorkQuantityUnit1 as OpWorkQuantityUnit1,
  @Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit1'
  @DefaultAggregation: #NONE   
  oper.OpConfirmedWorkQuantity1,
  oper.NoFurtherOpWorkQuantity1IsExpd,
  @Semantics.unitOfMeasure: true  
  oper.OpWorkQuantityUnit2 as OpWorkQuantityUnit2,
  @Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit2'
  @DefaultAggregation: #NONE   
  oper.OpConfirmedWorkQuantity2,
  oper.NoFurtherOpWorkQuantity2IsExpd,
  @Semantics.unitOfMeasure: true  
  oper.OpWorkQuantityUnit3 as OpWorkQuantityUnit3,
  @Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit3'
  @DefaultAggregation: #NONE   
  oper.OpConfirmedWorkQuantity3,
  oper.NoFurtherOpWorkQuantity3IsExpd,
  @Semantics.unitOfMeasure: true     
  oper.OpWorkQuantityUnit4 as OpWorkQuantityUnit4,
  @Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit4'
  @DefaultAggregation: #NONE   
  oper.OpConfirmedWorkQuantity4,
  oper.NoFurtherOpWorkQuantity4IsExpd,
  @Semantics.unitOfMeasure: true  
  oper.OpWorkQuantityUnit5 as OpWorkQuantityUnit5,
  @Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit5'
  @DefaultAggregation: #NONE   
  oper.OpConfirmedWorkQuantity5,
  oper.NoFurtherOpWorkQuantity5IsExpd,
  @Semantics.unitOfMeasure: true    
  oper.OpWorkQuantityUnit6 as OpWorkQuantityUnit6,
  @Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit6'
  @DefaultAggregation: #NONE   
  oper.OpConfirmedWorkQuantity6,
  oper.NoFurtherOpWorkQuantity6IsExpd,
  
  // Work Quantities and UoM

  @Semantics.unitOfMeasure: true  
  oper.WorkCenterStandardWorkQtyUnit1 as WorkCenterStandardWorkQtyUnit1,
  @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit1'
  @DefaultAggregation: #NONE   
  oper.WorkCenterStandardWorkQty1,
  oper.CostCtrActivityType1,
  @Semantics.unitOfMeasure: true  
  oper.WorkCenterStandardWorkQtyUnit2 as WorkCenterStandardWorkQtyUnit2,
  @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit2'
  @DefaultAggregation: #NONE   
  oper.WorkCenterStandardWorkQty2,
  oper.CostCtrActivityType2,
  @Semantics.unitOfMeasure: true  
  oper.WorkCenterStandardWorkQtyUnit3 as WorkCenterStandardWorkQtyUnit3,
  @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit3'
  @DefaultAggregation: #NONE   
  oper.WorkCenterStandardWorkQty3,
  oper.CostCtrActivityType3,
  @Semantics.unitOfMeasure: true  
  oper.WorkCenterStandardWorkQtyUnit4 as WorkCenterStandardWorkQtyUnit4,
  @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit4'
  @DefaultAggregation: #NONE   
  oper.WorkCenterStandardWorkQty4,
  oper.CostCtrActivityType4,
  @Semantics.unitOfMeasure: true  
  oper.WorkCenterStandardWorkQtyUnit5 as WorkCenterStandardWorkQtyUnit5,
  @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit5'
  @DefaultAggregation: #NONE   
  oper.WorkCenterStandardWorkQty5,
  oper.CostCtrActivityType5,
  @Semantics.unitOfMeasure: true  
  oper.WorkCenterStandardWorkQtyUnit6 as WorkCenterStandardWorkQtyUnit6,
  @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit6'
  @DefaultAggregation: #NONE   
  oper.WorkCenterStandardWorkQty6,
  oper.CostCtrActivityType6,

  // HR fields

  oper.Personnel,

  // Associations

  oper._OrdInternalBillOfOperations,
  oper._MfgOrder,
  oper._MfgOrderSequence,
  oper._MfgOrderCategory,
  oper._MfgOrderType,
  oper._ProductionSupervisor,
  oper._MRPController,
  oper._OperationConfirmation,
  oper._FactoryCalendar,
  oper._ProductionPlant,
  _OperationUnit,
  _ProductionUnit,
  _OpWorkQuantityUnit1,
  _OpWorkQuantityUnit2,
  _OpWorkQuantityUnit3,
  _OpWorkQuantityUnit4,
  _OpWorkQuantityUnit5,
  _OpWorkQuantityUnit6,            
  oper._WorkCenter_2 as _WorkCenter,
  oper._WorkCenterType_2 as _WorkCenterType,
  orditem._Material,
  oper._OperationControlProfile
}
where oper.OperationIsToBeDeleted = '';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MFGORDEROPERATION",
"I_OPERATIONCONTROLPROFILE",
"I_ORDERITEM",
"I_STATUSOBJECTSTATUSBASIC"
],
"ASSOCIATED":
[
"I_CONFIRMATIONGROUP",
"I_FACTORYCALENDAR",
"I_MATERIAL",
"I_MFGORDER",
"I_MFGORDERCATEGORY",
"I_MFGORDERSEQUENCE",
"I_MFGORDERTYPE",
"I_MRPCONTROLLER",
"I_OPERATIONCONTROLPROFILE",
"I_ORDINTERNALBILLOFOPERATIONS",
"I_PLANT",
"I_PRODUCTIONSUPERVISOR",
"I_UNITOFMEASURE",
"I_WORKCENTER",
"I_WORKCENTERTYPE"
],
"BASE":
[
"I_MFGORDEROPERATION",
"I_ORDERITEM"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/