I_MfgOrderOperationWithStatus

DDL: I_MFGORDEROPERATIONWITHSTATUS SQL: IMFGORDOPWITHSTS Type: view COMPOSITE

Manufacturing Order Operation with Status

I_MfgOrderOperationWithStatus is a Composite CDS View that provides data about "Manufacturing Order Operation with Status" in SAP S/4HANA. It reads from 2 data sources (I_ManufacturingOrderOperation, P_OrderOperationStatusBasicAgg) and exposes 375 fields with key fields MfgOrderInternalID, OrderOperationInternalID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_ManufacturingOrderOperation afvg from
P_OrderOperationStatusBasicAgg stat inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_OrderOperation _Extension $projection.MfgOrderInternalID = _Extension.OrderInternalID and $projection.OrderOperationInternalID = _Extension.OrderOperationInternalID

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IMFGORDOPWITHSTS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #CLIENT_DEPENDENT view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey OrderOperationInternalID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #COMPOSITE view
EndUserText.label Manufacturing Order Operation with Status view

Fields (375)

KeyFieldSource TableSource FieldDescription
KEY MfgOrderInternalID I_ManufacturingOrderOperation MfgOrderInternalID
KEY OrderOperationInternalID I_ManufacturingOrderOperation OrderOperationInternalID
ManufacturingOrder I_ManufacturingOrderOperation ManufacturingOrder
ManufacturingOrderSequence I_ManufacturingOrderOperation ManufacturingOrderSequence
ManufacturingOrderOperation
ManufacturingOrderOperation_2 I_ManufacturingOrderOperation ManufacturingOrderOperation_2
ManufacturingOrderSubOperation
ManufacturingOrdSubOperation_2 I_ManufacturingOrderOperation ManufacturingOrdSubOperation_2
ManufacturingOrderCategory I_ManufacturingOrderOperation ManufacturingOrderCategory
ManufacturingOrderType I_ManufacturingOrderOperation ManufacturingOrderType
ProductionSupervisor I_ManufacturingOrderOperation ProductionSupervisor
MRPController I_ManufacturingOrderOperation MRPController
ResponsiblePlannerGroup I_ManufacturingOrderOperation ResponsiblePlannerGroup
ProductConfiguration I_ManufacturingOrderOperation ProductConfiguration
InspectionLot I_ManufacturingOrderOperation InspectionLot
ManufacturingOrderImportance I_ManufacturingOrderOperation ManufacturingOrderImportance
MfgOrderOperationText I_ManufacturingOrderOperation MfgOrderOperationText
OperationHasLongText I_ManufacturingOrderOperation OperationHasLongText
LongTextLanguageCode I_ManufacturingOrderOperation Language
OperationStandardTextCode I_ManufacturingOrderOperation OperationStandardTextCode
OperationIsToBeDeleted I_ManufacturingOrderOperation OperationIsToBeDeleted
MfgOrderOperationIsPhase I_ManufacturingOrderOperation MfgOrderOperationIsPhase
MfgOrderPhaseSuperiorOperation I_ManufacturingOrderOperation MfgOrderPhaseSuperiorOperation
SuperiorOperation_2 I_ManufacturingOrderOperation SuperiorOperation_2
NumberOfCapacities I_ManufacturingOrderOperation NumberOfCapacities
NumberOfConfirmationSlips I_ManufacturingOrderOperation NumberOfConfirmationSlips
OperationImportance I_ManufacturingOrderOperation OperationImportance
OperationIsCreated P_OrderOperationStatusBasicAgg OperationIsCreated
OperationIsReleased P_OrderOperationStatusBasicAgg OperationIsReleased
OperationIsPrinted P_OrderOperationStatusBasicAgg OperationIsPrinted
OperationIsConfirmed P_OrderOperationStatusBasicAgg OperationIsConfirmed
OperationIsPartiallyConfirmed P_OrderOperationStatusBasicAgg OperationIsPartiallyConfirmed
OperationIsDeleted P_OrderOperationStatusBasicAgg OperationIsDeleted
OperationIsTechlyCompleted P_OrderOperationStatusBasicAgg OperationIsTechlyCompleted
OperationIsClosed P_OrderOperationStatusBasicAgg OperationIsClosed
OperationIsConfdByMilestone
OperationIsManuallyConfirmed
OperationIsScheduled P_OrderOperationStatusBasicAgg OperationIsScheduled
OperationIsGenerated
OperationIsPartiallyDelivered P_OrderOperationStatusBasicAgg OperationIsPartiallyDelivered
OperationIsDelivered P_OrderOperationStatusBasicAgg OperationIsDelivered
ControlRecipeIsCreated
SuperiorOperationInternalID I_ManufacturingOrderOperation SuperiorOperationInternalID
Plant I_ManufacturingOrderOperation Plant
WorkCenterInternalID I_ManufacturingOrderOperation WorkCenterInternalID
WorkCenterTypeCode I_ManufacturingOrderOperation WorkCenterTypeCode
WorkCenterTypeCode_2 I_ManufacturingOrderOperation WorkCenterTypeCode_2
OperationControlProfile I_ManufacturingOrderOperation OperationControlProfile
ControlRecipeDestination I_ManufacturingOrderOperation ControlRecipeDestination
OperationConfirmation I_ManufacturingOrderOperation OperationConfirmation
NumberOfOperationConfirmations I_ManufacturingOrderOperation NumberOfOperationConfirmations
FactoryCalendar I_ManufacturingOrderOperation FactoryCalendar
CapacityRequirement I_ManufacturingOrderOperation CapacityRequirement
CapacityRequirementItem I_ManufacturingOrderOperation CapacityRequirementItem
ChangeNumber I_ManufacturingOrderOperation ChangeNumber
ObjectInternalID I_ManufacturingOrderOperation ObjectInternalID
OperationTrackingNumber I_ManufacturingOrderOperation OperationTrackingNumber
BillOfOperationsType I_ManufacturingOrderOperation BillOfOperationsType
BillOfOperationsGroup I_ManufacturingOrderOperation BillOfOperationsGroup
BillOfOperationsVariant I_ManufacturingOrderOperation BillOfOperationsVariant
BillOfOperationsSequence I_ManufacturingOrderOperation BillOfOperationsSequence
BOOOperationInternalID I_ManufacturingOrderOperation BOOOperationInternalID
BillOfOperationsVersion I_ManufacturingOrderOperation BillOfOperationsVersion
BillOfMaterialCategory I_ManufacturingOrderOperation BillOfMaterialCategory
BillOfMaterialInternalID I_ManufacturingOrderOperation BillOfMaterialInternalID
BillOfMaterialInternalID_2 I_ManufacturingOrderOperation BillOfMaterialInternalID_2
BillOfMaterialItemNodeNumber I_ManufacturingOrderOperation BillOfMaterialItemNodeNumber
BOMItemNodeCount I_ManufacturingOrderOperation BOMItemNodeCount
ExtProcgOperationHasSubcontrg I_ManufacturingOrderOperation ExtProcgOperationHasSubcontrg
PurchasingOrganization I_ManufacturingOrderOperation PurchasingOrganization
PurchasingGroup I_ManufacturingOrderOperation PurchasingGroup
PurchaseRequisition
PurchaseRequisitionItem
PurchaseOrder
PurchaseOrderItem
PurchasingInfoRecord
PurgInfoRecdDataIsFixed I_ManufacturingOrderOperation PurgInfoRecdDataIsFixed
PurchasingInfoRecordCategory I_ManufacturingOrderOperation PurchasingInfoRecordCategory
Supplier I_ManufacturingOrderOperation Supplier
GoodsRecipientName I_ManufacturingOrderOperation GoodsRecipientName
UnloadingPointName I_ManufacturingOrderOperation UnloadingPointName
OpExternalProcessingCurrency I_ManufacturingOrderOperation OpExternalProcessingCurrency
OpExternalProcessingPrice I_ManufacturingOrderOperation OpExternalProcessingPrice
NumberOfOperationPriceUnits I_ManufacturingOrderOperation NumberOfOperationPriceUnits
CompanyCode I_ManufacturingOrderOperation CompanyCode
BusinessArea I_ManufacturingOrderOperation BusinessArea
ControllingArea I_ManufacturingOrderOperation ControllingArea
ProfitCenter I_ManufacturingOrderOperation ProfitCenter
RequestingCostCenter I_ManufacturingOrderOperation RequestingCostCenter
CostElement I_ManufacturingOrderOperation CostElement
CostingVariant I_ManufacturingOrderOperation CostingVariant
CostingSheet I_ManufacturingOrderOperation CostingSheet
CostEstimate I_ManufacturingOrderOperation CostEstimate
ControllingObjectCurrency I_ManufacturingOrderOperation ControllingObjectCurrency
ControllingObjectClass I_ManufacturingOrderOperation ControllingObjectClass
FunctionalArea I_ManufacturingOrderOperation FunctionalArea
TaxJurisdiction I_ManufacturingOrderOperation TaxJurisdiction
EmployeeWageType I_ManufacturingOrderOperation EmployeeWageType
EmployeeWageGroup I_ManufacturingOrderOperation EmployeeWageGroup
EmployeeSuitability I_ManufacturingOrderOperation EmployeeSuitability
NumberOfTimeTickets I_ManufacturingOrderOperation NumberOfTimeTickets
Personnel I_ManufacturingOrderOperation Personnel
NumberOfEmployees I_ManufacturingOrderOperation NumberOfEmployees
OperationSetupGroupCategory I_ManufacturingOrderOperation OperationSetupGroupCategory
OperationSetupGroup I_ManufacturingOrderOperation OperationSetupGroup
OperationSetupType I_ManufacturingOrderOperation OperationSetupType
OperationOverlappingIsRequired I_ManufacturingOrderOperation OperationOverlappingIsRequired
OperationOverlappingIsPossible I_ManufacturingOrderOperation OperationOverlappingIsPossible
OperationsIsAlwaysOverlapping I_ManufacturingOrderOperation OperationsIsAlwaysOverlapping
OperationSplitIsRequired I_ManufacturingOrderOperation OperationSplitIsRequired
MaximumNumberOfSplits I_ManufacturingOrderOperation MaximumNumberOfSplits
LeadTimeReductionStrategy I_ManufacturingOrderOperation LeadTimeReductionStrategy
OpSchedldReductionLevel I_ManufacturingOrderOperation OpSchedldReductionLevel
OpErlstSchedldExecStrtDte I_ManufacturingOrderOperation OpErlstSchedldExecStrtDte
OpErlstSchedldExecStrtTme I_ManufacturingOrderOperation OpErlstSchedldExecStrtTme
OpErlstSchedldProcgStrtDte I_ManufacturingOrderOperation OpErlstSchedldProcgStrtDte
OpErlstSchedldProcgStrtTme I_ManufacturingOrderOperation OpErlstSchedldProcgStrtTme
OpErlstSchedldTrdwnStrtDte I_ManufacturingOrderOperation OpErlstSchedldTrdwnStrtDte
OpErlstSchedldTrdwnStrtTme I_ManufacturingOrderOperation OpErlstSchedldTrdwnStrtTme
OpErlstSchedldExecEndDte I_ManufacturingOrderOperation OpErlstSchedldExecEndDte
OpErlstSchedldExecEndTme I_ManufacturingOrderOperation OpErlstSchedldExecEndTme
OpLtstSchedldExecStrtDte I_ManufacturingOrderOperation OpLtstSchedldExecStrtDte
OpLtstSchedldExecStrtTme I_ManufacturingOrderOperation OpLtstSchedldExecStrtTme
OpLtstSchedldProcgStrtDte I_ManufacturingOrderOperation OpLtstSchedldProcgStrtDte
OpLtstSchedldProcgStrtTme I_ManufacturingOrderOperation OpLtstSchedldProcgStrtTme
OpLtstSchedldTrdwnStrtDte I_ManufacturingOrderOperation OpLtstSchedldTrdwnStrtDte
OpLtstSchedldTrdwnStrtTme I_ManufacturingOrderOperation OpLtstSchedldTrdwnStrtTme
OpLtstSchedldExecEndDte I_ManufacturingOrderOperation OpLtstSchedldExecEndDte
OpLtstSchedldExecEndTme I_ManufacturingOrderOperation OpLtstSchedldExecEndTme
SchedldFcstdEarliestStartDate I_ManufacturingOrderOperation SchedldFcstdEarliestStartDate
SchedldFcstdEarliestStartTime I_ManufacturingOrderOperation SchedldFcstdEarliestStartTime
SchedldFcstdEarliestEndDate I_ManufacturingOrderOperation SchedldFcstdEarliestEndDate
SchedldFcstdEarliestEndTime I_ManufacturingOrderOperation SchedldFcstdEarliestEndTime
LatestSchedldFcstdStartDate I_ManufacturingOrderOperation LatestSchedldFcstdStartDate
SchedldFcstdLatestStartTime I_ManufacturingOrderOperation SchedldFcstdLatestStartTime
LatestSchedldFcstdEndDate I_ManufacturingOrderOperation LatestSchedldFcstdEndDate
SchedldFcstdLatestEndTime I_ManufacturingOrderOperation SchedldFcstdLatestEndTime
OperationConfirmedStartDate I_ManufacturingOrderOperation OperationConfirmedStartDate
OperationConfirmedEndDate I_ManufacturingOrderOperation OperationConfirmedEndDate
OpActualExecutionStartDate I_ManufacturingOrderOperation OpActualExecutionStartDate
OpActualExecutionStartTime I_ManufacturingOrderOperation OpActualExecutionStartTime
OpActualSetupEndDate I_ManufacturingOrderOperation OpActualSetupEndDate
OpActualSetupEndTime I_ManufacturingOrderOperation OpActualSetupEndTime
OpActualProcessingStartDate I_ManufacturingOrderOperation OpActualProcessingStartDate
OpActualProcessingStartTime I_ManufacturingOrderOperation OpActualProcessingStartTime
OpActualProcessingEndDate I_ManufacturingOrderOperation OpActualProcessingEndDate
OpActualProcessingEndTime I_ManufacturingOrderOperation OpActualProcessingEndTime
OpActualTeardownStartDate I_ManufacturingOrderOperation OpActualTeardownStartDate
OpActualTeardownStartTme I_ManufacturingOrderOperation OpActualTeardownStartTme
OpActualExecutionEndDate I_ManufacturingOrderOperation OpActualExecutionEndDate
OpActualExecutionEndTime I_ManufacturingOrderOperation OpActualExecutionEndTime
EarliestScheduledWaitStartDate I_ManufacturingOrderOperation EarliestScheduledWaitStartDate
EarliestScheduledWaitStartTime I_ManufacturingOrderOperation EarliestScheduledWaitStartTime
EarliestScheduledWaitEndDate I_ManufacturingOrderOperation EarliestScheduledWaitEndDate
EarliestScheduledWaitEndTime I_ManufacturingOrderOperation EarliestScheduledWaitEndTime
LatestScheduledWaitStartDate I_ManufacturingOrderOperation LatestScheduledWaitStartDate
LatestScheduledWaitStartTime I_ManufacturingOrderOperation LatestScheduledWaitStartTime
LatestScheduledWaitEndDate I_ManufacturingOrderOperation LatestScheduledWaitEndDate
LatestScheduledWaitEndTime I_ManufacturingOrderOperation LatestScheduledWaitEndTime
BreakDurationUnit I_ManufacturingOrderOperation BreakDurationUnit
PlannedBreakDuration I_ManufacturingOrderOperation PlannedBreakDuration
ConfirmedBreakDuration I_ManufacturingOrderOperation ConfirmedBreakDuration
OverlapMinimumDurationUnit I_ManufacturingOrderOperation OverlapMinimumDurationUnit
OverlapMinimumDuration I_ManufacturingOrderOperation OverlapMinimumDuration
MaximumWaitDurationUnit I_ManufacturingOrderOperation MaximumWaitDurationUnit
MaximumWaitDuration I_ManufacturingOrderOperation MaximumWaitDuration
MinimumWaitDurationUnit I_ManufacturingOrderOperation MinimumWaitDurationUnit
MinimumWaitDuration I_ManufacturingOrderOperation MinimumWaitDuration
StandardMoveDurationUnit I_ManufacturingOrderOperation StandardMoveDurationUnit
StandardMoveDuration I_ManufacturingOrderOperation StandardMoveDuration
StandardQueueDurationUnit I_ManufacturingOrderOperation StandardQueueDurationUnit
StandardQueueDuration I_ManufacturingOrderOperation StandardQueueDuration
MinimumQueueDurationUnit I_ManufacturingOrderOperation MinimumQueueDurationUnit
MinimumQueueDuration I_ManufacturingOrderOperation MinimumQueueDuration
MinimumMoveDurationUnit I_ManufacturingOrderOperation MinimumMoveDurationUnit
MinimumMoveDuration I_ManufacturingOrderOperation MinimumMoveDuration
OperationStandardDurationUnit I_ManufacturingOrderOperation OperationStandardDurationUnit
OperationStandardDuration I_ManufacturingOrderOperation OperationStandardDuration
MinimumDurationUnit I_ManufacturingOrderOperation MinimumDurationUnit
MinimumDuration I_ManufacturingOrderOperation MinimumDuration
ScheduledMoveDuration I_ManufacturingOrderOperation ScheduledMoveDuration
ScheduledMoveDurationUnit I_ManufacturingOrderOperation ScheduledMoveDurationUnit
ScheduledQueueDuration I_ManufacturingOrderOperation ScheduledQueueDuration
ScheduledQueueDurationUnit I_ManufacturingOrderOperation ScheduledQueueDurationUnit
ScheduledWaitDuration I_ManufacturingOrderOperation ScheduledWaitDuration
ScheduledWaitDurationUnit I_ManufacturingOrderOperation ScheduledWaitDurationUnit
PlannedDeliveryDuration I_ManufacturingOrderOperation PlannedDeliveryDuration
OpPlannedSetupDurn I_ManufacturingOrderOperation OpPlannedSetupDurn
OpPlannedSetupDurnUnit I_ManufacturingOrderOperation OpPlannedSetupDurnUnit
OpPlannedProcessingDurn I_ManufacturingOrderOperation OpPlannedProcessingDurn
OpPlannedProcessingDurnUnit I_ManufacturingOrderOperation OpPlannedProcessingDurnUnit
OpPlannedTeardownDurn I_ManufacturingOrderOperation OpPlannedTeardownDurn
OpPlannedTeardownDurnUnit I_ManufacturingOrderOperation OpPlannedTeardownDurnUnit
StartDateOffsetReferenceCode
StartDateOffsetDurationUnit I_ManufacturingOrderOperation StartDateOffsetDurationUnit
StartDateOffsetDuration I_ManufacturingOrderOperation StartDateOffsetDuration
EndDateOffsetReferenceCode
EndDateOffsetDurationUnit I_ManufacturingOrderOperation EndDateOffsetDurationUnit
EndDateOffsetDuration I_ManufacturingOrderOperation EndDateOffsetDuration
StandardWorkFormulaParamGroup I_ManufacturingOrderOperation StandardWorkFormulaParamGroup
OperationUnit I_ManufacturingOrderOperation OperationUnit
OpQtyToBaseQtyDnmntr I_ManufacturingOrderOperation OpQtyToBaseQtyDnmntr
OpQtyToBaseQtyNmrtr I_ManufacturingOrderOperation OpQtyToBaseQtyNmrtr
OperationScrapPercent I_ManufacturingOrderOperation OperationScrapPercent
OperationReferenceQuantity I_ManufacturingOrderOperation OperationReferenceQuantity
OpPlannedTotalQuantity I_ManufacturingOrderOperation OpPlannedTotalQuantity
OpPlannedScrapQuantity I_ManufacturingOrderOperation OpPlannedScrapQuantity
OpPlannedYieldQuantity I_ManufacturingOrderOperation OpPlannedYieldQuantity
OpTotalConfirmedYieldQty I_ManufacturingOrderOperation OpTotalConfirmedYieldQty
OpTotalConfirmedScrapQty I_ManufacturingOrderOperation OpTotalConfirmedScrapQty
OperationConfirmedReworkQty I_ManufacturingOrderOperation OperationConfirmedReworkQty
ProductionUnit I_ManufacturingOrderOperation ProductionUnit
OpTotConfdYieldQtyInOrdQtyUnit I_ManufacturingOrderOperation OpTotConfdYieldQtyInOrdQtyUnit
OpWorkQuantityUnit1
OpConfirmedWorkQuantity1
NoFurtherOpWorkQuantity1IsExpd I_ManufacturingOrderOperation NoFurtherOpWorkQuantity1IsExpd
OpWorkQuantityUnit2
OpConfirmedWorkQuantity2
NoFurtherOpWorkQuantity2IsExpd I_ManufacturingOrderOperation NoFurtherOpWorkQuantity2IsExpd
OpWorkQuantityUnit3
OpConfirmedWorkQuantity3
NoFurtherOpWorkQuantity3IsExpd I_ManufacturingOrderOperation NoFurtherOpWorkQuantity3IsExpd
OpWorkQuantityUnit4
OpConfirmedWorkQuantity4
NoFurtherOpWorkQuantity4IsExpd I_ManufacturingOrderOperation NoFurtherOpWorkQuantity4IsExpd
OpWorkQuantityUnit5
OpConfirmedWorkQuantity5
NoFurtherOpWorkQuantity5IsExpd I_ManufacturingOrderOperation NoFurtherOpWorkQuantity5IsExpd
OpWorkQuantityUnit6
OpConfirmedWorkQuantity6
NoFurtherOpWorkQuantity6IsExpd I_ManufacturingOrderOperation NoFurtherOpWorkQuantity6IsExpd
WorkCenterStandardWorkQtyUnit1
WorkCenterStandardWorkQty1
CostCtrActivityType1
WorkCenterStandardWorkQtyUnit2
WorkCenterStandardWorkQty2
CostCtrActivityType2
WorkCenterStandardWorkQtyUnit3
WorkCenterStandardWorkQty3
CostCtrActivityType3
WorkCenterStandardWorkQtyUnit4
WorkCenterStandardWorkQty4
CostCtrActivityType4
WorkCenterStandardWorkQtyUnit5
WorkCenterStandardWorkQty5
CostCtrActivityType5
WorkCenterStandardWorkQtyUnit6
WorkCenterStandardWorkQty6
CostCtrActivityType6
BusinessProcess I_ManufacturingOrderOperation BusinessProcess
BusinessProcessEntryUnit I_ManufacturingOrderOperation BusinessProcessEntryUnit
BusinessProcessConfirmedQty I_ManufacturingOrderOperation BusinessProcessConfirmedQty
NoFurtherBusinessProcQtyIsExpd I_ManufacturingOrderOperation NoFurtherBusinessProcQtyIsExpd
BusinessProcRemainingQtyUnit I_ManufacturingOrderOperation BusinessProcRemainingQtyUnit
BusinessProcessRemainingQty I_ManufacturingOrderOperation BusinessProcessRemainingQty
SetupOpActyNtwkInstance
ProduceOpActyNtwkInstance
TeardownOpActyNtwkInstance
FreeDefinedTableFieldSemantic I_ManufacturingOrderOperation FreeDefinedTableFieldSemantic
FreeDefinedAttribute01 I_ManufacturingOrderOperation FreeDefinedAttribute01
FreeDefinedAttribute02 I_ManufacturingOrderOperation FreeDefinedAttribute02
FreeDefinedAttribute03 I_ManufacturingOrderOperation FreeDefinedAttribute03
FreeDefinedAttribute04 I_ManufacturingOrderOperation FreeDefinedAttribute04
FreeDefinedQuantity1Unit I_ManufacturingOrderOperation FreeDefinedQuantity1Unit
FreeDefinedQuantity1 I_ManufacturingOrderOperation FreeDefinedQuantity1
FreeDefinedQuantity2Unit I_ManufacturingOrderOperation FreeDefinedQuantity2Unit
FreeDefinedQuantity2 I_ManufacturingOrderOperation FreeDefinedQuantity2
FreeDefinedAmount1Currency I_ManufacturingOrderOperation FreeDefinedAmount1Currency
FreeDefinedAmount1 I_ManufacturingOrderOperation FreeDefinedAmount1
FreeDefinedAmount2Currency I_ManufacturingOrderOperation FreeDefinedAmount2Currency
FreeDefinedAmount2 I_ManufacturingOrderOperation FreeDefinedAmount2
FreeDefinedDate1 I_ManufacturingOrderOperation FreeDefinedDate1
FreeDefinedDate2 I_ManufacturingOrderOperation FreeDefinedDate2
FreeDefinedIndicator1 I_ManufacturingOrderOperation FreeDefinedIndicator1
FreeDefinedIndicator2 I_ManufacturingOrderOperation FreeDefinedIndicator2
_OrderInternalID I_ManufacturingOrderOperation _OrderInternalID
_ManufacturingOrder I_ManufacturingOrderOperation _ManufacturingOrder
_MfgOrderSequence I_ManufacturingOrderOperation _MfgOrderSequence
_MfgOrderOpComponent I_ManufacturingOrderOperation _MfgOrderOpComponent
_MfgOrderOpComponent2 I_ManufacturingOrderOperation _MfgOrderOpComponent2
_MfgOrderOpComponent_3 I_ManufacturingOrderOperation _MfgOrderOpComponent_3
_MfgOrderOperationPRT I_ManufacturingOrderOperation _MfgOrderOperationPRT
_MfgOrderOperationPRT2 I_ManufacturingOrderOperation _MfgOrderOperationPRT2
_MfgOrderOperationPRT_3 I_ManufacturingOrderOperation _MfgOrderOperationPRT_3
_MfgOrderOpTriggerPoint I_ManufacturingOrderOperation _MfgOrderOpTriggerPoint
_MfgOrderOpTriggerPoint2 I_ManufacturingOrderOperation _MfgOrderOpTriggerPoint2
_MfgOrderOpTriggerPoint_3 I_ManufacturingOrderOperation _MfgOrderOpTriggerPoint_3
_MfgOrderOpDocInfoRecord I_ManufacturingOrderOperation _MfgOrderOpDocInfoRecord
_MfgOrderOpDocInfoRecord2 I_ManufacturingOrderOperation _MfgOrderOpDocInfoRecord2
_MfgOrderOpDocInfoRecord_3 I_ManufacturingOrderOperation _MfgOrderOpDocInfoRecord_3
_MfgOrderOperationConf I_ManufacturingOrderOperation _MfgOrderOperationConf
_MfgOrderOperationConf2 I_ManufacturingOrderOperation _MfgOrderOperationConf2
_MfgOrderOperationConf_3 I_ManufacturingOrderOperation _MfgOrderOperationConf_3
_MfgOrderOperationLongText I_ManufacturingOrderOperation _MfgOrderOperationLongText
_MfgOrderCategory I_ManufacturingOrderOperation _MfgOrderCategory
_MfgOrderType I_ManufacturingOrderOperation _MfgOrderType
_SuperiorOperation I_ManufacturingOrderOperation _SuperiorOperation
_OperationStandardTextCode I_ManufacturingOrderOperation _OperationStandardTextCode
_Plant I_ManufacturingOrderOperation _Plant
_MRPController I_ManufacturingOrderOperation _MRPController
_ResponsiblePlannerGroup I_ManufacturingOrderOperation _ResponsiblePlannerGroup
_ProductionSupervisor I_ManufacturingOrderOperation _ProductionSupervisor
_ProductionUnit I_ManufacturingOrderOperation _ProductionUnit
_OperationUnit I_ManufacturingOrderOperation _OperationUnit
_WorkCenter I_ManufacturingOrderOperation _WorkCenter
_WorkCenter_2 I_ManufacturingOrderOperation _WorkCenter_2
_WorkCenterType I_ManufacturingOrderOperation _WorkCenterType
_WorkCenterType_2 I_ManufacturingOrderOperation _WorkCenterType_2
_OperationControlProfile I_ManufacturingOrderOperation _OperationControlProfile
_BillOfOperationsType I_ManufacturingOrderOperation _BillOfOperationsType
_BillOfOperationsGroup I_ManufacturingOrderOperation _BillOfOperationsGroup
_BillOfOperationsVariant I_ManufacturingOrderOperation _BillOfOperationsVariant
_BillOfOperationsSequence I_ManufacturingOrderOperation _BillOfOperationsSequence
_BOOOperationInternalID I_ManufacturingOrderOperation _BOOOperationInternalID
_OperationConfirmation I_ManufacturingOrderOperation _OperationConfirmation
_FactoryCalendar I_ManufacturingOrderOperation _FactoryCalendar
_CapacityRequirement I_ManufacturingOrderOperation _CapacityRequirement
_CapacityRequirementItem I_ManufacturingOrderOperation _CapacityRequirementItem
_ControlRecipeDestination I_ManufacturingOrderOperation _ControlRecipeDestination
_ChangeNumber I_ManufacturingOrderOperation _ChangeNumber
_PurchasingOrganization I_ManufacturingOrderOperation _PurchasingOrganization
_PurchasingGroup I_ManufacturingOrderOperation _PurchasingGroup
_PurchaseOrder I_ManufacturingOrderOperation _PurchaseOrder
_PurchaseOrderItem I_ManufacturingOrderOperation _PurchaseOrderItem
_PurchaseRequisition I_ManufacturingOrderOperation _PurchaseRequisition
_PurchaseRequisitionItem I_ManufacturingOrderOperation _PurchaseRequisitionItem
_PurchaseRequisitionItem2 I_ManufacturingOrderOperation _PurchaseRequisitionItem2
_PurchasingInfoRecord I_ManufacturingOrderOperation _PurchasingInfoRecord
_Supplier I_ManufacturingOrderOperation _Supplier
_SupplierCompany I_ManufacturingOrderOperation _SupplierCompany
_SupplierCompanyByPlant I_ManufacturingOrderOperation _SupplierCompanyByPlant
_OpExternalProcessingCurrency I_ManufacturingOrderOperation _OpExternalProcessingCurrency
_EmployeeWageGroup I_ManufacturingOrderOperation _EmployeeWageGroup
_EmployeeSuitability I_ManufacturingOrderOperation _EmployeeSuitability
_Employee I_ManufacturingOrderOperation _Employee
_CompanyCode I_ManufacturingOrderOperation _CompanyCode
_ProfitCenter I_ManufacturingOrderOperation _ProfitCenter
_RequestingCostCenter I_ManufacturingOrderOperation _RequestingCostCenter
_ControllingArea I_ManufacturingOrderOperation _ControllingArea
_ControllingObjectClass I_ManufacturingOrderOperation _ControllingObjectClass
_ControllingObjectCurrency I_ManufacturingOrderOperation _ControllingObjectCurrency
_CostElement I_ManufacturingOrderOperation _CostElement
_CostingVariant I_ManufacturingOrderOperation _CostingVariant
_FunctionalArea I_ManufacturingOrderOperation _FunctionalArea
_BusinessArea I_ManufacturingOrderOperation _BusinessArea
_BusinessProcess I_ManufacturingOrderOperation _BusinessProcess
_BusinessProcessEntryUnit I_ManufacturingOrderOperation _BusinessProcessEntryUnit
_ConfirmedWorkQuantityUnit1 I_ManufacturingOrderOperation _ConfirmedWorkQuantityUnit1
_ConfirmedWorkQuantityUnit2 I_ManufacturingOrderOperation _ConfirmedWorkQuantityUnit2
_ConfirmedWorkQuantityUnit3 I_ManufacturingOrderOperation _ConfirmedWorkQuantityUnit3
_ConfirmedWorkQuantityUnit4 I_ManufacturingOrderOperation _ConfirmedWorkQuantityUnit4
_ConfirmedWorkQuantityUnit5 I_ManufacturingOrderOperation _ConfirmedWorkQuantityUnit5
_ConfirmedWorkQuantityUnit6 I_ManufacturingOrderOperation _ConfirmedWorkQuantityUnit6
_StdWorkQuantityUnit1 I_ManufacturingOrderOperation _StdWorkQuantityUnit1
_StdWorkQuantityUnit2 I_ManufacturingOrderOperation _StdWorkQuantityUnit2
_StdWorkQuantityUnit3 I_ManufacturingOrderOperation _StdWorkQuantityUnit3
_StdWorkQuantityUnit4 I_ManufacturingOrderOperation _StdWorkQuantityUnit4
_StdWorkQuantityUnit5 I_ManufacturingOrderOperation _StdWorkQuantityUnit5
_StdWorkQuantityUnit6 I_ManufacturingOrderOperation _StdWorkQuantityUnit6
_OperationSetupGroupCategory I_ManufacturingOrderOperation _OperationSetupGroupCategory
_OperationSetupGroup I_ManufacturingOrderOperation _OperationSetupGroup
_OperationSetupType I_ManufacturingOrderOperation _OperationSetupType
_LeadTimeReductionStrategy I_ManufacturingOrderOperation _LeadTimeReductionStrategy
_StartDateOffsetReferenceCode I_ManufacturingOrderOperation _StartDateOffsetReferenceCode
_EndDateOffsetReferenceCode I_ManufacturingOrderOperation _EndDateOffsetReferenceCode
_StandardWorkFmlaParamGroup I_ManufacturingOrderOperation _StandardWorkFmlaParamGroup
_Language I_ManufacturingOrderOperation _Language
_SetupOpActyNtwkInstance I_ManufacturingOrderOperation _SetupOpActyNtwkInstance
_ProduceOpActyNtwkInstance I_ManufacturingOrderOperation _ProduceOpActyNtwkInstance
_TeardownOpActyNtwkInstance I_ManufacturingOrderOperation _TeardownOpActyNtwkInstance
_LongText I_ManufacturingOrderOperation _LongText
_FreeDefinedQuantity1Unit I_ManufacturingOrderOperation _FreeDefinedQuantity1Unit
_FreeDefinedQuantity2Unit I_ManufacturingOrderOperation _FreeDefinedQuantity2Unit
_FreeDefinedAmount1Currency I_ManufacturingOrderOperation _FreeDefinedAmount1Currency
_FreeDefinedAmount2Currency I_ManufacturingOrderOperation _FreeDefinedAmount2Currency
@AbapCatalog.sqlViewName: 'IMFGORDOPWITHSTS'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA')
@AccessControl.privilegedAssociations: ['_MRPController', '_ProductionSupervisor', '_LongText']
@ClientHandling.algorithm: #SESSION_VARIABLE
@ClientHandling.type: #CLIENT_DEPENDENT
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #NONE
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE]
@ObjectModel.representativeKey: 'OrderOperationInternalID'
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #XL, dataClass: #TRANSACTIONAL}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #COMPOSITE
@EndUserText.label: 'Manufacturing Order Operation with Status'

define view I_MfgOrderOperationWithStatus
  as select from I_ManufacturingOrderOperation  as afvg
    inner join   P_OrderOperationStatusBasicAgg as stat on stat.ObjectInternalID = afvg.ObjectInternalID // Status

    
    -- to extension
    association [1..1] to E_OrderOperation as _Extension on  $projection.MfgOrderInternalID       = _Extension.OrderInternalID
                                                         and $projection.OrderOperationInternalID = _Extension.OrderOperationInternalID
{
      // Technical Key

      @ObjectModel.foreignKey.association: '_OrderInternalID'
  key afvg.MfgOrderInternalID,
  key afvg.OrderOperationInternalID,

      // Semantic key

      @ObjectModel.foreignKey.association: '_ManufacturingOrder'
      afvg.ManufacturingOrder,
      @ObjectModel.foreignKey.association: '_MfgOrderSequence'
      afvg.ManufacturingOrderSequence,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: 'ManufacturingOrderOperation_2'
      @ObjectModel.text.element: ['MfgOrderOperationText']
      cast(afvg.ManufacturingOrderOperation    as pph_vornr preserving type) as ManufacturingOrderOperation,
      @ObjectModel.text.element: ['MfgOrderOperationText']
      afvg.ManufacturingOrderOperation_2,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: 'ManufacturingOrdSubOperation_2'
      @ObjectModel.text.element: ['MfgOrderOperationText']
      cast(afvg.ManufacturingOrderSubOperation as pph_uvorn preserving type) as ManufacturingOrderSubOperation,
      @ObjectModel.text.element: ['MfgOrderOperationText']
      afvg.ManufacturingOrdSubOperation_2,

      // Order header data

      @ObjectModel.foreignKey.association: '_MfgOrderCategory'
      afvg.ManufacturingOrderCategory,
      @ObjectModel.foreignKey.association: '_MfgOrderType'
      afvg.ManufacturingOrderType,
      @ObjectModel.foreignKey.association: '_ProductionSupervisor'
      afvg.ProductionSupervisor,
      @ObjectModel.foreignKey.association: '_MRPController'
      afvg.MRPController,
      @ObjectModel.foreignKey.association: '_ResponsiblePlannerGroup'
      afvg.ResponsiblePlannerGroup,
      afvg.ProductConfiguration,
      afvg.InspectionLot,
      afvg.ManufacturingOrderImportance,

      // Text

      @Semantics.text: true
      afvg.MfgOrderOperationText,
      afvg.OperationHasLongText,
      @ObjectModel.foreignKey.association: '_Language'
      afvg.Language as LongTextLanguageCode,
      @ObjectModel.foreignKey.association: '_OperationStandardTextCode'    
      afvg.OperationStandardTextCode,

      // Attributes

      afvg.OperationIsToBeDeleted,
      afvg.MfgOrderOperationIsPhase,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: 'SuperiorOperation_2'
      afvg.MfgOrderPhaseSuperiorOperation,
      afvg.SuperiorOperation_2,           // no conv. exit

      afvg.NumberOfCapacities,
      afvg.NumberOfConfirmationSlips,
      afvg.OperationImportance,

      // Status

      stat.OperationIsCreated,
      stat.OperationIsReleased,
      stat.OperationIsPrinted,
      stat.OperationIsConfirmed,
      stat.OperationIsPartiallyConfirmed,
      stat.OperationIsDeleted,
      stat.OperationIsTechlyCompleted,
      stat.OperationIsClosed,
      cast(stat.OperationIsConfdByMilestone as isconfirmedbymilestone preserving type) as OperationIsConfdByMilestone,
      cast(stat.OperationIsManuallyConfirmed as isconfirmedmanually preserving type)   as OperationIsManuallyConfirmed,
      stat.OperationIsScheduled,
      cast(stat.OperationIsGenerated as operationisgenerated preserving type)          as OperationIsGenerated,
      stat.OperationIsPartiallyDelivered,
      stat.OperationIsDelivered,
      cast(stat.ControlRecipeIsCreated as controlrecipeiscreated preserving type)      as ControlRecipeIsCreated,

      // Assignments

      @ObjectModel.foreignKey.association: '_SuperiorOperation'
      afvg.SuperiorOperationInternalID,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_PlantStdVH', element: 'Plant' } } ]      
      @ObjectModel.foreignKey.association: '_Plant'
      afvg.Plant,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_WorkCenterStdVH', element: 'WorkCenterInternalID' } } ]
      @ObjectModel.foreignKey.association: '_WorkCenter'
      afvg.WorkCenterInternalID,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: 'WorkCenterTypeCode_2'
      @ObjectModel.foreignKey.association: '_WorkCenterType'
      afvg.WorkCenterTypeCode,      // CHAR1

      @ObjectModel.foreignKey.association: '_WorkCenterType_2'
      afvg.WorkCenterTypeCode_2,    // CHAR2

      @ObjectModel.foreignKey.association: '_OperationControlProfile'
      afvg.OperationControlProfile,
      @ObjectModel.foreignKey.association: '_ControlRecipeDestination'
      afvg.ControlRecipeDestination,
      @ObjectModel.foreignKey.association: '_OperationConfirmation'
      afvg.OperationConfirmation,
      afvg.NumberOfOperationConfirmations,
      @ObjectModel.foreignKey.association: '_FactoryCalendar'
      afvg.FactoryCalendar,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_CapacityRequirementStdVH', element: 'CapacityRequirement' } } ]  
      @ObjectModel.foreignKey.association: '_CapacityRequirement'
      afvg.CapacityRequirement,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_CapRqmtItmStdVH', element: 'CapacityRequirementItem' } } ] 
      @ObjectModel.foreignKey.association: '_CapacityRequirementItem'
      afvg.CapacityRequirementItem,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_ChangeMasterStdVH', element: 'ChangeNumber' } } ]
      @ObjectModel.foreignKey.association: '_ChangeNumber'
      afvg.ChangeNumber,
      afvg.ObjectInternalID,
      afvg.OperationTrackingNumber,

      // Assignments BOO and BOM

      @ObjectModel.foreignKey.association: '_BillOfOperationsType'
      afvg.BillOfOperationsType,
      @ObjectModel.foreignKey.association: '_BillOfOperationsGroup'      
      afvg.BillOfOperationsGroup,
      @ObjectModel.foreignKey.association: '_BillOfOperationsVariant'
      afvg.BillOfOperationsVariant,
      @ObjectModel.foreignKey.association: '_BillOfOperationsSequence'
      afvg.BillOfOperationsSequence,
      @ObjectModel.foreignKey.association: '_BOOOperationInternalID'
      afvg.BOOOperationInternalID,
      afvg.BillOfOperationsVersion,
      afvg.BillOfMaterialCategory,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: 'BillOfMaterialInternalID_2'
      afvg.BillOfMaterialInternalID,
      afvg.BillOfMaterialInternalID_2,   // no conv. exit

      afvg.BillOfMaterialItemNodeNumber,
      afvg.BOMItemNodeCount,

      // Assignments Purchasing

      afvg.ExtProcgOperationHasSubcontrg,
      @ObjectModel.foreignKey.association: '_PurchasingOrganization'
      afvg.PurchasingOrganization,
      @ObjectModel.foreignKey.association: '_PurchasingGroup'
      afvg.PurchasingGroup,
--    @ObjectModel.foreignKey.association: '_PurchaseRequisition'
      afvg.PurchaseRequisition,
--    @ObjectModel.foreignKey.association: '_PurchaseRequisitionItem'
      afvg.PurchaseRequisitionItem,
--    @ObjectModel.foreignKey.association: '_PurchaseOrder'
      afvg.PurchaseOrder,
--    @ObjectModel.foreignKey.association: '_PurchaseOrderItem'
      afvg.PurchaseOrderItem,
--    @ObjectModel.foreignKey.association: '_PurchasingInfoRecord'
      afvg.PurchasingInfoRecord,
      afvg.PurgInfoRecdDataIsFixed,
      afvg.PurchasingInfoRecordCategory,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_Supplier_VH', element: 'Supplier' } } ]
      @ObjectModel.foreignKey.association: '_Supplier'
      afvg.Supplier,
      @Semantics.text: true
      afvg.GoodsRecipientName,
      @Semantics.text: true
      afvg.UnloadingPointName,

      // Amount and Currency

      @Semantics.currencyCode: true
      afvg.OpExternalProcessingCurrency,
      @Aggregation.default: #SUM
      @Semantics.amount.currencyCode: 'OpExternalProcessingCurrency'
      afvg.OpExternalProcessingPrice,
      afvg.NumberOfOperationPriceUnits,

      // Assignments FI/CO

      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_CompanyCodeStdVH', element: 'CompanyCode' } } ]
      @ObjectModel.foreignKey.association: '_CompanyCode'
      afvg.CompanyCode,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_BusinessAreaStdVH', element: 'BusinessArea' } } ]
      @ObjectModel.foreignKey.association: '_BusinessArea'
      afvg.BusinessArea,
      @ObjectModel.foreignKey.association: '_ControllingArea'
      afvg.ControllingArea,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProfitCenterStdVH', element: 'ProfitCenter' } } ]
      afvg.ProfitCenter,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_CostCenterStdVH', element: 'CostCenter' } } ]
      afvg.RequestingCostCenter,
      @ObjectModel.foreignKey.association: '_CostElement'
      afvg.CostElement,
      @ObjectModel.foreignKey.association: '_CostingVariant'
      afvg.CostingVariant,
      afvg.CostingSheet,
      afvg.CostEstimate,
      @Semantics.currencyCode: true
      afvg.ControllingObjectCurrency,
      @ObjectModel.foreignKey.association: '_ControllingObjectClass'
      afvg.ControllingObjectClass,
      @ObjectModel.foreignKey.association: '_FunctionalArea'
      afvg.FunctionalArea,
      afvg.TaxJurisdiction,

      // Assignments HR

      afvg.EmployeeWageType,
      @ObjectModel.foreignKey.association: '_EmployeeWageGroup'
      afvg.EmployeeWageGroup,
      @ObjectModel.foreignKey.association: '_EmployeeSuitability'
      afvg.EmployeeSuitability,
      afvg.NumberOfTimeTickets,
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_PersWrkAgrmtSrchHelp', element: 'PersonWorkAgreement' } } ]
      @ObjectModel.foreignKey.association: '_Employee'
      afvg.Personnel,
      afvg.NumberOfEmployees,

      // Setup and Overlapping

      @ObjectModel.foreignKey.association: '_OperationSetupGroupCategory'      
      afvg.OperationSetupGroupCategory,
      @ObjectModel.foreignKey.association: '_OperationSetupGroup'
      afvg.OperationSetupGroup,
      @ObjectModel.foreignKey.association: '_OperationSetupType'
      afvg.OperationSetupType,
      afvg.OperationOverlappingIsRequired,
      afvg.OperationOverlappingIsPossible,
      afvg.OperationsIsAlwaysOverlapping,
      afvg.OperationSplitIsRequired,
      afvg.MaximumNumberOfSplits,
      @ObjectModel.foreignKey.association: '_LeadTimeReductionStrategy'
      afvg.LeadTimeReductionStrategy,
      afvg.OpSchedldReductionLevel,

      // Scheduled Dates and Times

      afvg.OpErlstSchedldExecStrtDte,
      afvg.OpErlstSchedldExecStrtTme,
      afvg.OpErlstSchedldProcgStrtDte,
      afvg.OpErlstSchedldProcgStrtTme,
      afvg.OpErlstSchedldTrdwnStrtDte,
      afvg.OpErlstSchedldTrdwnStrtTme,
      afvg.OpErlstSchedldExecEndDte,
      afvg.OpErlstSchedldExecEndTme,
      afvg.OpLtstSchedldExecStrtDte,
      afvg.OpLtstSchedldExecStrtTme,
      afvg.OpLtstSchedldProcgStrtDte,
      afvg.OpLtstSchedldProcgStrtTme,
      afvg.OpLtstSchedldTrdwnStrtDte,
      afvg.OpLtstSchedldTrdwnStrtTme,
      afvg.OpLtstSchedldExecEndDte,
      afvg.OpLtstSchedldExecEndTme,
      afvg.SchedldFcstdEarliestStartDate,
      afvg.SchedldFcstdEarliestStartTime,
      afvg.SchedldFcstdEarliestEndDate,
      afvg.SchedldFcstdEarliestEndTime,
      afvg.LatestSchedldFcstdStartDate,
      afvg.SchedldFcstdLatestStartTime,
      afvg.LatestSchedldFcstdEndDate,
      afvg.SchedldFcstdLatestEndTime,

      // Actual Dates and Times

      afvg.OperationConfirmedStartDate,
      afvg.OperationConfirmedEndDate,
      afvg.OpActualExecutionStartDate,
      afvg.OpActualExecutionStartTime,
      afvg.OpActualSetupEndDate,
      afvg.OpActualSetupEndTime,
      afvg.OpActualProcessingStartDate,
      afvg.OpActualProcessingStartTime,
      afvg.OpActualProcessingEndDate,
      afvg.OpActualProcessingEndTime,
      afvg.OpActualTeardownStartDate,
      afvg.OpActualTeardownStartTme,
      afvg.OpActualExecutionEndDate,
      afvg.OpActualExecutionEndTime,
      afvg.ActualForecastEndDate,
      afvg.ActualForecastEndTime,

      // Wait Dates and Times

      afvg.EarliestScheduledWaitStartDate,
      afvg.EarliestScheduledWaitStartTime,
      afvg.EarliestScheduledWaitEndDate,
      afvg.EarliestScheduledWaitEndTime,
      afvg.LatestScheduledWaitStartDate,
      afvg.LatestScheduledWaitStartTime,
      afvg.LatestScheduledWaitEndDate,
      afvg.LatestScheduledWaitEndTime,

      // Durations

      afvg.BreakDurationUnit,
      afvg.PlannedBreakDuration,
      afvg.ConfirmedBreakDuration,
      afvg.OverlapMinimumDurationUnit,
      afvg.OverlapMinimumDuration,
      afvg.MaximumWaitDurationUnit,
      afvg.MaximumWaitDuration,
      afvg.MinimumWaitDurationUnit,
      afvg.MinimumWaitDuration,
      afvg.StandardMoveDurationUnit,
      afvg.StandardMoveDuration,
      afvg.StandardQueueDurationUnit,
      afvg.StandardQueueDuration,
      afvg.MinimumQueueDurationUnit,
      afvg.MinimumQueueDuration,
      afvg.MinimumMoveDurationUnit,
      afvg.MinimumMoveDuration,
      afvg.OperationStandardDurationUnit,
      afvg.OperationStandardDuration,
      afvg.MinimumDurationUnit,
      afvg.MinimumDuration,
      afvg.ActualForecastDurationUnit,
      afvg.ActualForecastDuration,
      afvg.ScheduledMoveDuration,
      afvg.ScheduledMoveDurationUnit,
      afvg.ScheduledQueueDuration,
      afvg.ScheduledQueueDurationUnit,
      afvg.ScheduledWaitDuration,
      afvg.ScheduledWaitDurationUnit,
      afvg.PlannedDeliveryDuration,
      afvg.OpPlannedSetupDurn,
      afvg.OpPlannedSetupDurnUnit,
      afvg.OpPlannedProcessingDurn,
      afvg.OpPlannedProcessingDurnUnit,
      afvg.OpPlannedTeardownDurn,
      afvg.OpPlannedTeardownDurnUnit,

      // Offset

      -- Start
      @ObjectModel.foreignKey.association: '_StartDateOffsetReferenceCode'
      afvg.StartDateOffsetReferenceCode,
      @Semantics.unitOfMeasure: true
      afvg.StartDateOffsetDurationUnit,
      afvg.StartDateOffsetDuration,
      -- End
      @ObjectModel.foreignKey.association: '_EndDateOffsetReferenceCode'
      afvg.EndDateOffsetReferenceCode,
      @Semantics.unitOfMeasure: true
      afvg.EndDateOffsetDurationUnit,
      afvg.EndDateOffsetDuration,

      // Standard Value Key

      @ObjectModel.foreignKey.association: '_StandardWorkFmlaParamGroup'
      afvg.StandardWorkFormulaParamGroup,

      // Quantities and UoM

      @Semantics.unitOfMeasure: true
      afvg.OperationUnit,
      afvg.OpQtyToBaseQtyDnmntr,
      afvg.OpQtyToBaseQtyNmrtr,
      afvg.OperationScrapPercent,
      @Semantics.quantity.unitOfMeasure: 'OperationUnit'
      @Aggregation.default: #MAX
      afvg.OperationReferenceQuantity,
      @Semantics.quantity.unitOfMeasure: 'OperationUnit'
      @Aggregation.default: #SUM
      afvg.OpPlannedTotalQuantity,
      @Semantics.quantity.unitOfMeasure: 'OperationUnit'
      @Aggregation.default: #SUM
      afvg.OpPlannedScrapQuantity,
      @Semantics.quantity.unitOfMeasure: 'OperationUnit'
      @Aggregation.default: #SUM
      afvg.OpPlannedYieldQuantity,
      @Semantics.quantity.unitOfMeasure: 'OperationUnit'
      @Aggregation.default: #SUM
      afvg.OpTotalConfirmedYieldQty,
      @Semantics.quantity.unitOfMeasure: 'OperationUnit'
      @Aggregation.default: #SUM
      afvg.OpTotalConfirmedScrapQty,
      @Semantics.quantity.unitOfMeasure: 'OperationUnit'
      @Aggregation.default: #SUM
      afvg.OperationConfirmedReworkQty,
      @Semantics.unitOfMeasure: true
      afvg.ProductionUnit,
      @Semantics.quantity.unitOfMeasure: 'ProductionUnit'
      @Aggregation.default: #SUM
      afvg.OpTotConfdYieldQtyInOrdQtyUnit,

      // Confirmed Work Quantities and UoM

      @Semantics.unitOfMeasure: true
      cast(afvg.OpWorkQuantityUnit1      as vdm_ile01  preserving type) as OpWorkQuantityUnit1,
      @Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit1'
      @Aggregation.default: #SUM
      cast(afvg.OpConfirmedWorkQuantity1 as vdm_ism01 preserving type) as OpConfirmedWorkQuantity1,
      afvg.NoFurtherOpWorkQuantity1IsExpd,

      @Semantics.unitOfMeasure: true
      cast(afvg.OpWorkQuantityUnit2      as vdm_ile02  preserving type) as OpWorkQuantityUnit2,
      @Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit2'
      @Aggregation.default: #SUM
      cast(afvg.OpConfirmedWorkQuantity2 as vdm_ism02 preserving type) as OpConfirmedWorkQuantity2,
      afvg.NoFurtherOpWorkQuantity2IsExpd,

      @Semantics.unitOfMeasure: true
      cast(afvg.OpWorkQuantityUnit3      as vdm_ile03  preserving type) as OpWorkQuantityUnit3,
      @Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit3'
      @Aggregation.default: #SUM
      cast(afvg.OpConfirmedWorkQuantity3 as vdm_ism03 preserving type) as OpConfirmedWorkQuantity3,
      afvg.NoFurtherOpWorkQuantity3IsExpd,

      @Semantics.unitOfMeasure: true
      cast(afvg.OpWorkQuantityUnit4      as vdm_ile04  preserving type) as OpWorkQuantityUnit4,
      @Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit4'
      @Aggregation.default: #SUM
      cast(afvg.OpConfirmedWorkQuantity4 as vdm_ism04 preserving type) as OpConfirmedWorkQuantity4,
      afvg.NoFurtherOpWorkQuantity4IsExpd,

      @Semantics.unitOfMeasure: true
      cast(afvg.OpWorkQuantityUnit5      as vdm_ile05  preserving type) as OpWorkQuantityUnit5,
      @Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit5'
      @Aggregation.default: #SUM
      cast(afvg.OpConfirmedWorkQuantity5 as vdm_ism05 preserving type) as OpConfirmedWorkQuantity5,
      afvg.NoFurtherOpWorkQuantity5IsExpd,

      @Semantics.unitOfMeasure: true
      cast(afvg.OpWorkQuantityUnit6      as vdm_ile06  preserving type) as OpWorkQuantityUnit6,
      @Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit6'
      @Aggregation.default: #SUM
      cast(afvg.OpConfirmedWorkQuantity6 as vdm_ism06 preserving type) as OpConfirmedWorkQuantity6,
      afvg.NoFurtherOpWorkQuantity6IsExpd,

      // Work Quantities and UoM

      @Semantics.unitOfMeasure: true
      cast(afvg.WorkCenterStandardWorkQtyUnit1 as pph_vge01 preserving type) as WorkCenterStandardWorkQtyUnit1,
      @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit1'
      @Aggregation.default: #SUM
      cast(afvg.WorkCenterStandardWorkQty1     as vdm_vgw01 preserving type) as WorkCenterStandardWorkQty1,
      cast(afvg.CostCtrActivityType1           as vdm_lar01 preserving type) as CostCtrActivityType1,

      @Semantics.unitOfMeasure: true
      cast(afvg.WorkCenterStandardWorkQtyUnit2 as pph_vge02 preserving type) as WorkCenterStandardWorkQtyUnit2,
      @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit2'
      @Aggregation.default: #SUM
      cast(afvg.WorkCenterStandardWorkQty2     as vdm_vgw02 preserving type) as WorkCenterStandardWorkQty2,
      cast(afvg.CostCtrActivityType2           as vdm_lar02 preserving type) as CostCtrActivityType2,

      @Semantics.unitOfMeasure: true
      cast(afvg.WorkCenterStandardWorkQtyUnit3 as pph_vge03 preserving type) as WorkCenterStandardWorkQtyUnit3,
      @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit3'
      @Aggregation.default: #SUM
      cast(afvg.WorkCenterStandardWorkQty3     as vdm_vgw03 preserving type) as WorkCenterStandardWorkQty3,
      cast(afvg.CostCtrActivityType3           as vdm_lar03 preserving type) as CostCtrActivityType3,

      @Semantics.unitOfMeasure: true
      cast(afvg.WorkCenterStandardWorkQtyUnit4 as pph_vge04 preserving type) as WorkCenterStandardWorkQtyUnit4,
      @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit4'
      @Aggregation.default: #SUM
      cast(afvg.WorkCenterStandardWorkQty4     as vdm_vgw04 preserving type) as WorkCenterStandardWorkQty4,
      cast(afvg.CostCtrActivityType4           as vdm_lar04 preserving type) as CostCtrActivityType4,

      @Semantics.unitOfMeasure: true
      cast(afvg.WorkCenterStandardWorkQtyUnit5 as pph_vge05 preserving type) as WorkCenterStandardWorkQtyUnit5,
      @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit5'
      @Aggregation.default: #SUM
      cast(afvg.WorkCenterStandardWorkQty5     as vdm_vgw05 preserving type) as WorkCenterStandardWorkQty5,
      cast(afvg.CostCtrActivityType5           as vdm_lar05 preserving type) as CostCtrActivityType5,

      @Semantics.unitOfMeasure: true
      cast(afvg.WorkCenterStandardWorkQtyUnit6 as pph_vge06 preserving type) as WorkCenterStandardWorkQtyUnit6,
      @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit6'
      @Aggregation.default: #SUM
      cast(afvg.WorkCenterStandardWorkQty6     as vdm_vgw06 preserving type) as WorkCenterStandardWorkQty6,
      cast(afvg.CostCtrActivityType6           as vdm_lar06 preserving type) as CostCtrActivityType6,
 
      // Forecast Work Quantities

      @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit1'
      @Aggregation.default: #SUM
      cast(afvg.ForecastWorkQuantity1 as  vdm_ofm01 preserving type) as ForecastWorkQuantity1,
      @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit2'      
      @Aggregation.default: #SUM
      cast(afvg.ForecastWorkQuantity2 as  vdm_ofm02 preserving type) as ForecastWorkQuantity2,
      @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit3'
      @Aggregation.default: #SUM
      cast(afvg.ForecastWorkQuantity3 as  vdm_ofm03 preserving type) as ForecastWorkQuantity3,
      @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit4'
      @Aggregation.default: #SUM
      cast(afvg.ForecastWorkQuantity4 as  vdm_ofm04 preserving type) as ForecastWorkQuantity4,
      @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit5'
      @Aggregation.default: #SUM
      cast(afvg.ForecastWorkQuantity5 as  vdm_ofm05 preserving type) as ForecastWorkQuantity5,
      @Semantics.quantity.unitOfMeasure: 'WorkCenterStandardWorkQtyUnit6'
      @Aggregation.default: #SUM
      cast(afvg.ForecastWorkQuantity6 as  vdm_ofm06 preserving type) as ForecastWorkQuantity6,

      // Business Process

      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_BusinessProcessStdVH', element: 'BusinessProcess' } } ]
      @ObjectModel.foreignKey.association: '_BusinessProcess'
      afvg.BusinessProcess,
      @Semantics.unitOfMeasure: true
      afvg.BusinessProcessEntryUnit,
      @Semantics.quantity.unitOfMeasure: 'BusinessProcessEntryUnit'
      @Aggregation.default: #SUM
      afvg.BusinessProcessConfirmedQty,
      afvg.NoFurtherBusinessProcQtyIsExpd,
      @Semantics.unitOfMeasure: true
      afvg.BusinessProcRemainingQtyUnit,
      @Semantics.quantity.unitOfMeasure: 'BusinessProcRemainingQtyUnit'
      @Aggregation.default: #SUM
      afvg.BusinessProcessRemainingQty,

      // OAN data

--    @ObjectModel.foreignKey.association: '_SetupOpActyNtwkInstance'
      afvg.SetupOpActyNtwkInstance,
--    @ObjectModel.foreignKey.association: '_ProduceOpActyNtwkInstance'
      afvg.ProduceOpActyNtwkInstance,
--    @ObjectModel.foreignKey.association: '_TeardownOpActyNtwkInstance'
      afvg.TeardownOpActyNtwkInstance,

      // Free-defined fields

      afvg.FreeDefinedTableFieldSemantic,
      afvg.FreeDefinedAttribute01,
      afvg.FreeDefinedAttribute02,
      afvg.FreeDefinedAttribute03,
      afvg.FreeDefinedAttribute04,
      @Semantics.unitOfMeasure: true
      afvg.FreeDefinedQuantity1Unit,
      @Semantics.quantity.unitOfMeasure: 'FreeDefinedQuantity1Unit'
      @Aggregation.default: #SUM
      afvg.FreeDefinedQuantity1,
      @Semantics.unitOfMeasure: true
      afvg.FreeDefinedQuantity2Unit,      
      @Semantics.quantity.unitOfMeasure: 'FreeDefinedQuantity2Unit'
      @Aggregation.default: #SUM
      afvg.FreeDefinedQuantity2,
      @Semantics.currencyCode: true
      afvg.FreeDefinedAmount1Currency,
      @Semantics.amount.currencyCode: 'FreeDefinedAmount1Currency'
      @Aggregation.default: #SUM
      afvg.FreeDefinedAmount1,
      @Semantics.currencyCode: true
      afvg.FreeDefinedAmount2Currency,
      @Semantics.amount.currencyCode: 'FreeDefinedAmount2Currency'
      @Aggregation.default: #SUM
      afvg.FreeDefinedAmount2,
      afvg.FreeDefinedDate1,
      afvg.FreeDefinedDate2,
      afvg.FreeDefinedIndicator1,
      afvg.FreeDefinedIndicator2,

      // Associations

      @Consumption.hidden: true
      afvg._OrderInternalID,
      afvg._ManufacturingOrder,
      afvg._MfgOrderSequence,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: '_MfgOrderOpComponent_3'
      afvg._MfgOrderOpComponent,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: '_MfgOrderOpComponent_3'
      afvg._MfgOrderOpComponent2,
      afvg._MfgOrderOpComponent_3,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: '_MfgOrderOperationPRT_3'
      afvg._MfgOrderOperationPRT,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: '_MfgOrderOperationPRT_3'
      afvg._MfgOrderOperationPRT2,
      afvg._MfgOrderOperationPRT_3,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: '_MfgOrderOpTriggerPoint_3'
      afvg._MfgOrderOpTriggerPoint,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: '_MfgOrderOpTriggerPoint_3'
      afvg._MfgOrderOpTriggerPoint2,
      afvg._MfgOrderOpTriggerPoint_3,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: '_MfgOrderOpDocInfoRecord_3'
      afvg._MfgOrderOpDocInfoRecord,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: '_MfgOrderOpDocInfoRecord_3'
      afvg._MfgOrderOpDocInfoRecord2,
      afvg._MfgOrderOpDocInfoRecord_3,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: '_MfgOrderOperationConf_3'
      afvg._MfgOrderOperationConf,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: '_MfgOrderOperationConf_3'
      afvg._MfgOrderOperationConf2,
      afvg._MfgOrderOperationConf_3,
      afvg._MfgOrderOperationLongText,
      afvg._MfgOrderCategory,
      afvg._MfgOrderType,
      afvg._SuperiorOperation,
      afvg._OperationStandardTextCode,
      afvg._Plant,
      afvg._MRPController,
      afvg._ResponsiblePlannerGroup,
      afvg._ProductionSupervisor,
      afvg._ProductionUnit,
      afvg._OperationUnit,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: '_WorkCenter_2'
      afvg._WorkCenter,
      afvg._WorkCenter_2,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: '_WorkCenterType_2'
      @Consumption.hidden: true
      afvg._WorkCenterType,
      @Consumption.hidden: true
      afvg._WorkCenterType_2,
      afvg._OperationControlProfile,
      afvg._BillOfOperationsType,
      afvg._BillOfOperationsGroup,
      afvg._BillOfOperationsVariant,
      afvg._BillOfOperationsSequence,
      @Consumption.hidden: true
      afvg._BOOOperationInternalID,
      afvg._OperationConfirmation,
      afvg._FactoryCalendar,
      afvg._CapacityRequirement,
      afvg._CapacityRequirementItem,
      afvg._ControlRecipeDestination,
      afvg._ChangeNumber,
      afvg._PurchasingOrganization,
      afvg._PurchasingGroup,
      afvg._PurchaseOrder,
      afvg._PurchaseOrderItem,
      afvg._PurchaseRequisition,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: '_PurchaseRequisitionItem2'
      @API.element.releaseState: #DEPRECATED
      @API.element.successor: '_PurchaseRequisitionItem2'
      afvg._PurchaseRequisitionItem,
      afvg._PurchaseRequisitionItem2,
      afvg._PurchasingInfoRecord,
      afvg._Supplier,
      @Consumption.hidden: true   
      afvg._SupplierCompany,
      @Consumption.hidden: true
      afvg._SupplierCompanyByPlant,
      afvg._OpExternalProcessingCurrency,
      afvg._EmployeeWageGroup,
      afvg._EmployeeSuitability,
      afvg._Employee,
      afvg._CompanyCode,
      afvg._ProfitCenter,
      afvg._RequestingCostCenter,
      afvg._ControllingArea,
      afvg._ControllingObjectClass,
      afvg._ControllingObjectCurrency,
      afvg._CostElement,
      afvg._CostingVariant,
      afvg._FunctionalArea,
      afvg._BusinessArea,
      afvg._BusinessProcess,
      afvg._BusinessProcessEntryUnit,
      afvg._ConfirmedWorkQuantityUnit1,
      afvg._ConfirmedWorkQuantityUnit2,
      afvg._ConfirmedWorkQuantityUnit3,
      afvg._ConfirmedWorkQuantityUnit4,
      afvg._ConfirmedWorkQuantityUnit5,
      afvg._ConfirmedWorkQuantityUnit6,
      afvg._StdWorkQuantityUnit1,
      afvg._StdWorkQuantityUnit2,
      afvg._StdWorkQuantityUnit3,
      afvg._StdWorkQuantityUnit4,
      afvg._StdWorkQuantityUnit5,
      afvg._StdWorkQuantityUnit6,
      afvg._OperationSetupGroupCategory,
      afvg._OperationSetupGroup,
      afvg._OperationSetupType,
      afvg._LeadTimeReductionStrategy,
      afvg._StartDateOffsetReferenceCode,
      afvg._EndDateOffsetReferenceCode,
      afvg._StandardWorkFmlaParamGroup,
      afvg._Language,
      afvg._SetupOpActyNtwkInstance,
      afvg._ProduceOpActyNtwkInstance,
      afvg._TeardownOpActyNtwkInstance,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: '_MfgOrderOperationLongText'
      afvg._LongText,
      afvg._FreeDefinedQuantity1Unit,
      afvg._FreeDefinedQuantity2Unit,
      afvg._FreeDefinedAmount1Currency,
      afvg._FreeDefinedAmount2Currency
};