I_MfgOrderOperationWithStatus

DDL: I_MFGORDEROPERATIONWITHSTATUS SQL: IMFGORDOPWITHSTS Type: view COMPOSITE

Manufacturing Order Operation with Status

I_MfgOrderOperationWithStatus (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Manufacturing

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 251 fields with key fields MfgOrderInternalID, OrderOperationInternalID. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Discrete and Process Manufacturing
Data CategoryComposite, Dimension
Purpose
With this CDS view you can retrieve manufacturing order operation data (tables AFVC , AFVV , AFVU ) supplemented with system status information (table JEST ). This CDS view provides the prerequisites for answering the following business questions: Which operations exist for a manufacturing order? Which work center belongs to a manufacturing order operation? Which manufacturing order operations are externally processed? What are the earliest and latest scheduled start and end dates of a manufacturing order operation? Which work quantities have been confirmed for a manufacturing order operation? What are the planned and confirmed scrap quantities of a manufacturing order operation? How many capacities and how many confirmation slips are assigned to a manufacturing order operation? Which manufacturing order operations are released or finally confirmed?

Prerequisites
You have authorizations to: Display orders by order category ( C_AFKO_ATY ) Display orders by order category, order type and plant ( C_AFKO_AWA ) Orders by order type and plant ( C_AFKO_AWK )

Structure
Measures and attributes The following main attributes are provided: Order internal ID Operation internal ID Manufacturing order Manufacturing order sequence Manufacturing order operation Manufacturing order type and category Work center internal ID Plant Operation control profile Factory calendar Production supervisor Bill of operations (routing) key Purchase requisition/order and item Purchasing info record Supplier Profit center Requesting cost center Employee wage type and group Number of time tickets Number of capacities Capacity requirement item Operation setup type and group Earliest scheduled start and end dates and times Latest scheduled start and end dates and times Actual start and end dates and times Operation unit of measure Planned and confirmed work quantity (1-6) unit of measure Business process unit of measure Currency for price of external processing The following status are provided: Is created Is released Is printed Is confirmed Is partially confirmed Is delivered Is deleted Is technically completed s closed Is partially delivered Is scheduled The following main measures are provided: Planned total and planned scrap quantity Confirmed yield, scrap and rework quantity Planned and confirmed work quantities (1-6) Forecast work quantities (1-6) Confirmed business process quantity Price for external processing

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>With this CDS view you can retrieve manufacturing order operation data (tables AFVC, AFVV, AFVU) supplemented with system status information (table JEST). </p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Which operations exist for a manufacturing order?</p></li> <li><p>Which work center belongs to a manufacturing order operation?</p></li> <li><p>Which manufacturing order operations are externally processed?</p></li> <li><p>What are the earliest and latest scheduled start and end dates of a manufacturing order operation?</p></li> <li><p>Which work quantities have been confirmed for a manufacturing order operation?</p></li> <li><p>What are the planned and confirmed scrap quantities of a manufacturing order operation?</p></li> <li><p>How many capacities and how many confirmation slips are assigned to a manufacturing order operation?</p></li> <li><p>Which manufacturing order operations are released or finally confirmed?</p></li> </ul>

Documentation

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 (251)

KeyFieldSource TableSource FieldDescription
KEY MfgOrderInternalID I_ManufacturingOrderOperation MfgOrderInternalID Order Internal ID
KEY OrderOperationInternalID I_ManufacturingOrderOperation OrderOperationInternalID Internal Identifier of an Operation or Activity
ManufacturingOrder I_ManufacturingOrderOperation ManufacturingOrder Manufacturing Order ID
ManufacturingOrderSequence I_ManufacturingOrderOperation ManufacturingOrderSequence Manufacturing Order Sequence
ManufacturingOrderOperation Operation / Phase Number
ManufacturingOrderOperation_2 I_ManufacturingOrderOperation ManufacturingOrderOperation_2 Operation or Phase Number
ManufacturingOrderSubOperation Sub Operation / Secondary Resource Number
ManufacturingOrdSubOperation_2 I_ManufacturingOrderOperation ManufacturingOrdSubOperation_2 Operation or Phase Number
ManufacturingOrderCategory I_ManufacturingOrderOperation ManufacturingOrderCategory Manufacturing Order Category
ManufacturingOrderType I_ManufacturingOrderOperation ManufacturingOrderType Manufacturing Order Type
ProductionSupervisor I_ManufacturingOrderOperation ProductionSupervisor Production Supervisor
MRPController I_ManufacturingOrderOperation MRPController MRP Controller
ResponsiblePlannerGroup I_ManufacturingOrderOperation ResponsiblePlannerGroup Responsible Planner Group or Department
ProductConfiguration I_ManufacturingOrderOperation ProductConfiguration Product Configuration
InspectionLot I_ManufacturingOrderOperation InspectionLot Inspection Lot Number
ManufacturingOrderImportance I_ManufacturingOrderOperation ManufacturingOrderImportance Order Importance Code
MfgOrderOperationText I_ManufacturingOrderOperation MfgOrderOperationText Manufacturing Order Operation Text
OperationHasLongText I_ManufacturingOrderOperation OperationHasLongText Long Text Exists
LongTextLanguageCode I_ManufacturingOrderOperation Language Report Text Language
OperationStandardTextCode I_ManufacturingOrderOperation OperationStandardTextCode Operation Standard Text Internal ID
OperationIsToBeDeleted I_ManufacturingOrderOperation OperationIsToBeDeleted Deletion Flag
MfgOrderOperationIsPhase I_ManufacturingOrderOperation MfgOrderOperationIsPhase Indicator: Phase
MfgOrderPhaseSuperiorOperation I_ManufacturingOrderOperation MfgOrderPhaseSuperiorOperation Superior Operation
SuperiorOperation_2 I_ManufacturingOrderOperation SuperiorOperation_2 Superior Operation
NumberOfCapacities I_ManufacturingOrderOperation NumberOfCapacities Number of Capacities Required
NumberOfConfirmationSlips I_ManufacturingOrderOperation NumberOfConfirmationSlips Number of Confirmation Slips
OperationImportance I_ManufacturingOrderOperation OperationImportance Priority
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 Indicator: Order Operation is Confirmed by Milestone
OperationIsManuallyConfirmed Indicator: Order Operation is Manually Confirmed
OperationIsScheduled P_OrderOperationStatusBasicAgg OperationIsScheduled
OperationIsGenerated Indicator: Order Operation is Generated
OperationIsPartiallyDelivered P_OrderOperationStatusBasicAgg OperationIsPartiallyDelivered
OperationIsDelivered P_OrderOperationStatusBasicAgg OperationIsDelivered
ControlRecipeIsCreated Indicator: Control Recipe is Created
SuperiorOperationInternalID I_ManufacturingOrderOperation SuperiorOperationInternalID Node Number of the Superior Operation
Plant I_ManufacturingOrderOperation Plant Valuation Area
WorkCenterInternalID I_ManufacturingOrderOperation WorkCenterInternalID Work Center Internal ID
WorkCenterTypeCode I_ManufacturingOrderOperation WorkCenterTypeCode Work Center Type
WorkCenterTypeCode_2 I_ManufacturingOrderOperation WorkCenterTypeCode_2 Work Center Type
OperationControlProfile I_ManufacturingOrderOperation OperationControlProfile Operation Control Profile
ControlRecipeDestination I_ManufacturingOrderOperation ControlRecipeDestination Control Recipe Destination
OperationConfirmation I_ManufacturingOrderOperation OperationConfirmation Completion confirmation number for the operation
NumberOfOperationConfirmations I_ManufacturingOrderOperation NumberOfOperationConfirmations Number Of Confirmations
FactoryCalendar I_ManufacturingOrderOperation FactoryCalendar Factory Calendar ID
CapacityRequirement I_ManufacturingOrderOperation CapacityRequirement ID of the Capacity Requirements Record
CapacityRequirementItem I_ManufacturingOrderOperation CapacityRequirementItem Capacity Requirement Item
ChangeNumber I_ManufacturingOrderOperation ChangeNumber Change Number
ObjectInternalID I_ManufacturingOrderOperation ObjectInternalID Object Internal ID
OperationTrackingNumber I_ManufacturingOrderOperation OperationTrackingNumber Requirement Tracking Number
BillOfOperationsType I_ManufacturingOrderOperation BillOfOperationsType Bill of Operations Type
BillOfOperationsGroup I_ManufacturingOrderOperation BillOfOperationsGroup Key for Task List Group
BillOfOperationsVariant I_ManufacturingOrderOperation BillOfOperationsVariant Group Counter
BillOfOperationsSequence I_ManufacturingOrderOperation BillOfOperationsSequence Bill of Operation Sequence
BOOOperationInternalID I_ManufacturingOrderOperation BOOOperationInternalID Number of the Task List Node
BillOfOperationsVersion I_ManufacturingOrderOperation BillOfOperationsVersion Routing Version
BillOfMaterialCategory I_ManufacturingOrderOperation BillOfMaterialCategory Bill of Material Category Code
BillOfMaterialInternalID I_ManufacturingOrderOperation BillOfMaterialInternalID Bill of Material
BillOfMaterialInternalID_2 I_ManufacturingOrderOperation BillOfMaterialInternalID_2 Bill Of Material
BillOfMaterialItemNodeNumber I_ManufacturingOrderOperation BillOfMaterialItemNodeNumber Bill of Material Item
BOMItemNodeCount I_ManufacturingOrderOperation BOMItemNodeCount Internal counter
ExtProcgOperationHasSubcontrg I_ManufacturingOrderOperation ExtProcgOperationHasSubcontrg Indicator: External Processing Operation with Subcontracting
PurchasingOrganization I_ManufacturingOrderOperation PurchasingOrganization Purchasing Organization
PurchasingGroup I_ManufacturingOrderOperation PurchasingGroup Purchasing Group for External Processing Activity
PurchaseRequisition Purchase Requisition Number
PurchaseRequisitionItem Purchase Requisition Item ID
PurchaseOrder I_ManufacturingOrderOperation PurchaseOrder Purchase Order Number
PurchaseOrderItem I_ManufacturingOrderOperation PurchaseOrderItem Item Number of Purchase Order
PurchaseOutlineAgreement I_ManufacturingOrderOperation PurchaseOutlineAgreement Purchase Schedule/Outline Agreement
PurchaseOutlineAgreementItem I_ManufacturingOrderOperation PurchaseOutlineAgreementItem Purchase Schedule/Outline Agreement Item
PurchasingInfoRecord I_ManufacturingOrderOperation PurchasingInfoRecord Purchasing Info Record
PurgInfoRecdDataIsFixed I_ManufacturingOrderOperation PurgInfoRecdDataIsFixed Data of Purchasing Info Record is Fixed
PurchasingInfoRecordCategory I_ManufacturingOrderOperation PurchasingInfoRecordCategory Purchasing Info Record Category
Supplier I_ManufacturingOrderOperation Supplier Account Number of Supplier
GoodsRecipientName I_ManufacturingOrderOperation GoodsRecipientName Goods Recipient
UnloadingPointName I_ManufacturingOrderOperation UnloadingPointName Unloading Point Name
OpExternalProcessingCurrency I_ManufacturingOrderOperation OpExternalProcessingCurrency Currency Key
OpExternalProcessingPrice I_ManufacturingOrderOperation OpExternalProcessingPrice Price
NumberOfOperationPriceUnits I_ManufacturingOrderOperation NumberOfOperationPriceUnits Material Price Unit Quantity
CompanyCode I_ManufacturingOrderOperation CompanyCode Receiver Company Code
BusinessArea I_ManufacturingOrderOperation BusinessArea Business Area
ControllingArea I_ManufacturingOrderOperation ControllingArea Controlling Area
ProfitCenter I_ManufacturingOrderOperation ProfitCenter Profit Center
RequestingCostCenter I_ManufacturingOrderOperation RequestingCostCenter Requesting Cost Center
CostElement I_ManufacturingOrderOperation CostElement Cost Element
CostingVariant I_ManufacturingOrderOperation CostingVariant Costing Variant
CostingSheet I_ManufacturingOrderOperation CostingSheet Costing Sheet
CostEstimate I_ManufacturingOrderOperation CostEstimate Cost Estimate Number for Cost Est. w/o Qty Structure
ControllingObjectCurrency I_ManufacturingOrderOperation ControllingObjectCurrency Object currency for network activity
ControllingObjectClass I_ManufacturingOrderOperation ControllingObjectClass Controlling Object Class
FunctionalArea I_ManufacturingOrderOperation FunctionalArea Sendr Fctl Area
TaxJurisdiction I_ManufacturingOrderOperation TaxJurisdiction Tax Jurisdiction
EmployeeWageType I_ManufacturingOrderOperation EmployeeWageType Employee Wage Type
EmployeeWageGroup I_ManufacturingOrderOperation EmployeeWageGroup Employee Wage Group
EmployeeSuitability I_ManufacturingOrderOperation EmployeeSuitability Employee Suitability
NumberOfTimeTickets I_ManufacturingOrderOperation NumberOfTimeTickets Number of Time Tickets
Personnel I_ManufacturingOrderOperation Personnel Personnel Number
NumberOfEmployees I_ManufacturingOrderOperation NumberOfEmployees Number of Employees
OperationSetupGroupCategory I_ManufacturingOrderOperation OperationSetupGroupCategory Operation Setup Group Category
OperationSetupGroup I_ManufacturingOrderOperation OperationSetupGroup Operation Setup Group
OperationSetupType I_ManufacturingOrderOperation OperationSetupType Operation Setup Type
OperationOverlappingIsRequired I_ManufacturingOrderOperation OperationOverlappingIsRequired Required Overlapping
OperationOverlappingIsPossible I_ManufacturingOrderOperation OperationOverlappingIsPossible Optional Overlapping
OperationsIsAlwaysOverlapping I_ManufacturingOrderOperation OperationsIsAlwaysOverlapping Flow Manufacturing
OperationSplitIsRequired I_ManufacturingOrderOperation OperationSplitIsRequired Splitting Required
MaximumNumberOfSplits I_ManufacturingOrderOperation MaximumNumberOfSplits Maximum Number of Splits
LeadTimeReductionStrategy I_ManufacturingOrderOperation LeadTimeReductionStrategy Operation Lead Time Reduction Strategy
OpSchedldReductionLevel I_ManufacturingOrderOperation OpSchedldReductionLevel Reduction Level Which Reduces Operation Lead Time
OpErlstSchedldExecStrtDte I_ManufacturingOrderOperation OpErlstSchedldExecStrtDte Earliest Scheduled Execution Start Date
OpErlstSchedldExecStrtTme I_ManufacturingOrderOperation OpErlstSchedldExecStrtTme Earliest Scheduled Execution Start Time
OpErlstSchedldProcgStrtDte I_ManufacturingOrderOperation OpErlstSchedldProcgStrtDte Earliest Scheduled Processing Start Date
OpErlstSchedldProcgStrtTme I_ManufacturingOrderOperation OpErlstSchedldProcgStrtTme Earliest Scheduled Processing Start Time
OpErlstSchedldTrdwnStrtDte I_ManufacturingOrderOperation OpErlstSchedldTrdwnStrtDte Earliest Scheduled Teardown Start Date
OpErlstSchedldTrdwnStrtTme I_ManufacturingOrderOperation OpErlstSchedldTrdwnStrtTme Earliest Scheduled Teardown Start Time
OpErlstSchedldExecEndDte I_ManufacturingOrderOperation OpErlstSchedldExecEndDte Earliest Scheduled Execution End Date
OpErlstSchedldExecEndTme I_ManufacturingOrderOperation OpErlstSchedldExecEndTme Earliest Scheduled Execution End Time
OpLtstSchedldExecStrtDte I_ManufacturingOrderOperation OpLtstSchedldExecStrtDte Latest Scheduled Execution Start Date
OpLtstSchedldExecStrtTme I_ManufacturingOrderOperation OpLtstSchedldExecStrtTme Latest Scheduled Execution Start Time
OpLtstSchedldProcgStrtDte I_ManufacturingOrderOperation OpLtstSchedldProcgStrtDte Latest Scheduled Processing Start Date
OpLtstSchedldProcgStrtTme I_ManufacturingOrderOperation OpLtstSchedldProcgStrtTme Latest Scheduled Processing Start Time
OpLtstSchedldTrdwnStrtDte I_ManufacturingOrderOperation OpLtstSchedldTrdwnStrtDte Latest Scheduled Teardown Start Date
OpLtstSchedldTrdwnStrtTme I_ManufacturingOrderOperation OpLtstSchedldTrdwnStrtTme Latest Scheduled Teardown Start Time
OpLtstSchedldExecEndDte I_ManufacturingOrderOperation OpLtstSchedldExecEndDte Latest Scheduled Execution End Date
OpLtstSchedldExecEndTme I_ManufacturingOrderOperation OpLtstSchedldExecEndTme Latest Scheduled Execution End Time
SchedldFcstdEarliestStartDate I_ManufacturingOrderOperation SchedldFcstdEarliestStartDate Earliest Scheduled Forecast Start Date
SchedldFcstdEarliestStartTime I_ManufacturingOrderOperation SchedldFcstdEarliestStartTime Earliest Scheduled Forecast Start Time
SchedldFcstdEarliestEndDate I_ManufacturingOrderOperation SchedldFcstdEarliestEndDate Earliest Scheduled Forecast End Date
SchedldFcstdEarliestEndTime I_ManufacturingOrderOperation SchedldFcstdEarliestEndTime Earliest Scheduled Forecast End Time
LatestSchedldFcstdStartDate I_ManufacturingOrderOperation LatestSchedldFcstdStartDate Latest Scheduled Forecast Start Date
SchedldFcstdLatestStartTime I_ManufacturingOrderOperation SchedldFcstdLatestStartTime Latest Scheduled Forecast Start Time
LatestSchedldFcstdEndDate I_ManufacturingOrderOperation LatestSchedldFcstdEndDate Latest Scheduled Forecast End Date
SchedldFcstdLatestEndTime I_ManufacturingOrderOperation SchedldFcstdLatestEndTime Latest Scheduled Forecast End Time
OperationConfirmedStartDate I_ManufacturingOrderOperation OperationConfirmedStartDate Operation Confirmed Start Date
OperationConfirmedEndDate I_ManufacturingOrderOperation OperationConfirmedEndDate Operation Confirmed End Date
OpActualExecutionStartDate I_ManufacturingOrderOperation OpActualExecutionStartDate Confirmed Start Date of Execution
OpActualExecutionStartTime I_ManufacturingOrderOperation OpActualExecutionStartTime Confirmed Start Time of Execution
OpActualSetupEndDate I_ManufacturingOrderOperation OpActualSetupEndDate Confirmed End Date of Setup
OpActualSetupEndTime I_ManufacturingOrderOperation OpActualSetupEndTime Confirmed End Time of Setup
OpActualProcessingStartDate I_ManufacturingOrderOperation OpActualProcessingStartDate Confirmed Start Date of Processing
OpActualProcessingStartTime I_ManufacturingOrderOperation OpActualProcessingStartTime Confirmed Start Time of Processing
OpActualProcessingEndDate I_ManufacturingOrderOperation OpActualProcessingEndDate Confirmed End Date of Processing
OpActualProcessingEndTime I_ManufacturingOrderOperation OpActualProcessingEndTime Confirmed End Time of Processing
OpActualTeardownStartDate I_ManufacturingOrderOperation OpActualTeardownStartDate Confirmed Start Date of Teardown
OpActualTeardownStartTme I_ManufacturingOrderOperation OpActualTeardownStartTme Confirmed Start Time of Teardown
OpActualExecutionEndDate I_ManufacturingOrderOperation OpActualExecutionEndDate Confirmed End Date of Execution
OpActualExecutionEndTime I_ManufacturingOrderOperation OpActualExecutionEndTime Confirmed End Time of Execution
EarliestScheduledWaitStartDate I_ManufacturingOrderOperation EarliestScheduledWaitStartDate Earliest Scheduled Wait Start Date
EarliestScheduledWaitStartTime I_ManufacturingOrderOperation EarliestScheduledWaitStartTime Earliest Scheduled Wait Start Time
EarliestScheduledWaitEndDate I_ManufacturingOrderOperation EarliestScheduledWaitEndDate Earliest Scheduled Wait End Date
EarliestScheduledWaitEndTime I_ManufacturingOrderOperation EarliestScheduledWaitEndTime Earliest Scheduled Wait End Time
LatestScheduledWaitStartDate I_ManufacturingOrderOperation LatestScheduledWaitStartDate Latest Scheduled Wait Start Date
LatestScheduledWaitStartTime I_ManufacturingOrderOperation LatestScheduledWaitStartTime Latest Scheduled Wait Start Time
LatestScheduledWaitEndDate I_ManufacturingOrderOperation LatestScheduledWaitEndDate Latest Scheduled Wait End Date
LatestScheduledWaitEndTime I_ManufacturingOrderOperation LatestScheduledWaitEndTime Latest Scheduled Wait End Time
BreakDurationUnit I_ManufacturingOrderOperation BreakDurationUnit Unit for a Break Time
PlannedBreakDuration I_ManufacturingOrderOperation PlannedBreakDuration Break Time
ConfirmedBreakDuration I_ManufacturingOrderOperation ConfirmedBreakDuration Confirmed Break Time
OverlapMinimumDurationUnit I_ManufacturingOrderOperation OverlapMinimumDurationUnit Unit for the Minimum Overlap Time
OverlapMinimumDuration I_ManufacturingOrderOperation OverlapMinimumDuration Minimum Overlap Time
MaximumWaitDurationUnit I_ManufacturingOrderOperation MaximumWaitDurationUnit Unit for the Maximum Wait Time
MaximumWaitDuration I_ManufacturingOrderOperation MaximumWaitDuration Maximum Wait Time
MinimumWaitDurationUnit I_ManufacturingOrderOperation MinimumWaitDurationUnit Unit for the Required Wait Time
MinimumWaitDuration I_ManufacturingOrderOperation MinimumWaitDuration Minimum Wait Time
StandardMoveDurationUnit I_ManufacturingOrderOperation StandardMoveDurationUnit Unit for the standard move time
StandardMoveDuration I_ManufacturingOrderOperation StandardMoveDuration Standard Move Time
StandardQueueDurationUnit I_ManufacturingOrderOperation StandardQueueDurationUnit Unit for the Standard Queue Time
StandardQueueDuration I_ManufacturingOrderOperation StandardQueueDuration Standard Queue Time
MinimumQueueDurationUnit I_ManufacturingOrderOperation MinimumQueueDurationUnit Unit for the Minimum Queue Time
MinimumQueueDuration I_ManufacturingOrderOperation MinimumQueueDuration Minimum Queue Time
MinimumMoveDurationUnit I_ManufacturingOrderOperation MinimumMoveDurationUnit Unit for the minimum move time
MinimumMoveDuration I_ManufacturingOrderOperation MinimumMoveDuration Minimum Move Time
OperationStandardDurationUnit I_ManufacturingOrderOperation OperationStandardDurationUnit Normal duration/unit
OperationStandardDuration I_ManufacturingOrderOperation OperationStandardDuration Normal duration of the activity
MinimumDurationUnit I_ManufacturingOrderOperation MinimumDurationUnit Unit for the Minimum Duration
MinimumDuration I_ManufacturingOrderOperation MinimumDuration Minimum Activity Duration
ScheduledMoveDuration I_ManufacturingOrderOperation ScheduledMoveDuration Move Time used for Scheduling
ScheduledMoveDurationUnit I_ManufacturingOrderOperation ScheduledMoveDurationUnit Unit of Measure for Move Time
ScheduledQueueDuration I_ManufacturingOrderOperation ScheduledQueueDuration Queue Time Used for Scheduling
ScheduledQueueDurationUnit I_ManufacturingOrderOperation ScheduledQueueDurationUnit Unit of Measure for Queue Time
ScheduledWaitDuration I_ManufacturingOrderOperation ScheduledWaitDuration Wait Time Used for Scheduling
ScheduledWaitDurationUnit I_ManufacturingOrderOperation ScheduledWaitDurationUnit Unit of Measure for Wait Time
PlannedDeliveryDuration I_ManufacturingOrderOperation PlannedDeliveryDuration Material Planned Delivery Duration in Days
OpPlannedSetupDurn I_ManufacturingOrderOperation OpPlannedSetupDurn Setup Time
OpPlannedSetupDurnUnit I_ManufacturingOrderOperation OpPlannedSetupDurnUnit Unit of Measure for Setup Time
OpPlannedProcessingDurn I_ManufacturingOrderOperation OpPlannedProcessingDurn Processing Time
OpPlannedProcessingDurnUnit I_ManufacturingOrderOperation OpPlannedProcessingDurnUnit Unit of Measure for Processing Time
OpPlannedTeardownDurn I_ManufacturingOrderOperation OpPlannedTeardownDurn Teardown
OpPlannedTeardownDurnUnit I_ManufacturingOrderOperation OpPlannedTeardownDurnUnit Unit of Measure for Teardown
StartDateOffsetReferenceCode Reference Date for Start of Sub-Operation
StartDateOffsetDurationUnit I_ManufacturingOrderOperation StartDateOffsetDurationUnit Unit for Offset to Start
StartDateOffsetDuration I_ManufacturingOrderOperation StartDateOffsetDuration Offset to sub-operation start
EndDateOffsetReferenceCode Reference Date for Finish of Sub-Operation
EndDateOffsetDurationUnit I_ManufacturingOrderOperation EndDateOffsetDurationUnit Unit for Offset to Finish
EndDateOffsetDuration I_ManufacturingOrderOperation EndDateOffsetDuration Offset to sub-operation finish
StandardWorkFormulaParamGroup I_ManufacturingOrderOperation StandardWorkFormulaParamGroup Standard Value Key
OperationUnit I_ManufacturingOrderOperation OperationUnit Operation Unit of Measure
OpQtyToBaseQtyDnmntr I_ManufacturingOrderOperation OpQtyToBaseQtyDnmntr Denominator for Converting Routing and Operation UoM
OpQtyToBaseQtyNmrtr I_ManufacturingOrderOperation OpQtyToBaseQtyNmrtr Numerator for Converting Routing and Operation UoM
OperationScrapPercent I_ManufacturingOrderOperation OperationScrapPercent Scrap factor
OperationReferenceQuantity I_ManufacturingOrderOperation OperationReferenceQuantity Base Quantity
OpPlannedTotalQuantity I_ManufacturingOrderOperation OpPlannedTotalQuantity Operation Total Quantity
OpPlannedScrapQuantity I_ManufacturingOrderOperation OpPlannedScrapQuantity Operation Planned Scrap Quantity
OpPlannedYieldQuantity I_ManufacturingOrderOperation OpPlannedYieldQuantity Planned Yield Quantity
OpTotalConfirmedYieldQty I_ManufacturingOrderOperation OpTotalConfirmedYieldQty Total Confirmed Yield
OpTotalConfirmedScrapQty I_ManufacturingOrderOperation OpTotalConfirmedScrapQty Total Scrap Quantity Confirmed
OperationConfirmedReworkQty I_ManufacturingOrderOperation OperationConfirmedReworkQty Total Confirmed Rework Quantity
ProductionUnit I_ManufacturingOrderOperation ProductionUnit Production Unit of Measure
OpTotConfdYieldQtyInOrdQtyUnit I_ManufacturingOrderOperation OpTotConfdYieldQtyInOrdQtyUnit Confirmed yield in order unit of measure
OpWorkQuantityUnit1 Unit of Measure for Confirmed Work Quantity 1
OpConfirmedWorkQuantity1 Already Confirmed Work Quantity (Activity) 1
NoFurtherOpWorkQuantity1IsExpd I_ManufacturingOrderOperation NoFurtherOpWorkQuantity1IsExpd Indicator: No Remaining Work Quantity 1 is Expected
OpWorkQuantityUnit2 Unit of Measure for Confirmed Work Quantity 2
OpConfirmedWorkQuantity2 Already Confirmed Work Quantity (Activity) 2
NoFurtherOpWorkQuantity2IsExpd I_ManufacturingOrderOperation NoFurtherOpWorkQuantity2IsExpd Indicator: No Remaining Work Quantity 2 is Expected
OpWorkQuantityUnit3 Unit of Measure for Confirmed Work Quantity 3
OpConfirmedWorkQuantity3 Already Confirmed Work Quantity (Activity) 3
NoFurtherOpWorkQuantity3IsExpd I_ManufacturingOrderOperation NoFurtherOpWorkQuantity3IsExpd Indicator: No Remaining Work Quantity 3 is Expected
OpWorkQuantityUnit4 Unit of Measure for Confirmed Work Quantity 4
OpConfirmedWorkQuantity4 Already Confirmed Work Quantity (Activity) 4
NoFurtherOpWorkQuantity4IsExpd I_ManufacturingOrderOperation NoFurtherOpWorkQuantity4IsExpd Indicator: No Remaining Work Quantity 4 is Expected
OpWorkQuantityUnit5 Unit of Measure for Confirmed Work Quantity 5
OpConfirmedWorkQuantity5 Already Confirmed Work Quantity (Activity) 5
NoFurtherOpWorkQuantity5IsExpd I_ManufacturingOrderOperation NoFurtherOpWorkQuantity5IsExpd Indicator: No Remaining Work Quantity 5 is Expected
OpWorkQuantityUnit6 Unit of Measure for Confirmed Work Quantity 6
OpConfirmedWorkQuantity6 Already Confirmed Work Quantity (Activity) 6
NoFurtherOpWorkQuantity6IsExpd I_ManufacturingOrderOperation NoFurtherOpWorkQuantity6IsExpd Indicator: No Remaining Work Quantity 6 is Expected
WorkCenterStandardWorkQtyUnit1 Standard Work Quantity Unit 1
WorkCenterStandardWorkQty1 Standard Work Quantity 1
CostCtrActivityType1 Cost Center Activity Type 1
WorkCenterStandardWorkQtyUnit2 Standard Work Quantity Unit 2
WorkCenterStandardWorkQty2 Standard Work Quantity 2
CostCtrActivityType2 Cost Center Activity Type 2
WorkCenterStandardWorkQtyUnit3 Standard Work Quantity Unit 3
WorkCenterStandardWorkQty3 Standard Work Quantity 3
CostCtrActivityType3 Cost Center Activity Type 3
WorkCenterStandardWorkQtyUnit4 Standard Work Quantity Unit 4
WorkCenterStandardWorkQty4 Standard Work Quantity 4
CostCtrActivityType4 Cost Center Activity Type 4
WorkCenterStandardWorkQtyUnit5 Standard Work Quantity Unit 5
WorkCenterStandardWorkQty5 Standard Work Quantity 5
CostCtrActivityType5 Cost Center Activity Type 5
WorkCenterStandardWorkQtyUnit6 Standard Work Quantity Unit 6
WorkCenterStandardWorkQty6 Standard Work Quantity 6
CostCtrActivityType6 Cost Center Activity Type 6

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_MfgOrderOperationWithStatus.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IMFGORDOPWITHSTS

CREATE VIEW I_MfgOrderOperationWithStatus AS
SELECT
  afvg.MfgOrderInternalID AS MfgOrderInternalID,
  afvg.OrderOperationInternalID AS OrderOperationInternalID,
  afvg.ManufacturingOrder AS ManufacturingOrder,
  afvg.ManufacturingOrderSequence AS ManufacturingOrderSequence,
  cast(afvg.ManufacturingOrderOperation as pph_vornr preserving type) AS ManufacturingOrderOperation,
  afvg.ManufacturingOrderOperation_2 AS ManufacturingOrderOperation_2,
  cast(afvg.ManufacturingOrderSubOperation as pph_uvorn preserving type) AS ManufacturingOrderSubOperation,
  afvg.ManufacturingOrdSubOperation_2 AS ManufacturingOrdSubOperation_2,
  afvg.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  afvg.ManufacturingOrderType AS ManufacturingOrderType,
  afvg.ProductionSupervisor AS ProductionSupervisor,
  afvg.MRPController AS MRPController,
  afvg.ResponsiblePlannerGroup AS ResponsiblePlannerGroup,
  afvg.ProductConfiguration AS ProductConfiguration,
  afvg.InspectionLot AS InspectionLot,
  afvg.ManufacturingOrderImportance AS ManufacturingOrderImportance,
  afvg.MfgOrderOperationText AS MfgOrderOperationText,
  afvg.OperationHasLongText AS OperationHasLongText,
  afvg.Language AS LongTextLanguageCode,
  afvg.OperationStandardTextCode AS OperationStandardTextCode,
  afvg.OperationIsToBeDeleted AS OperationIsToBeDeleted,
  afvg.MfgOrderOperationIsPhase AS MfgOrderOperationIsPhase,
  afvg.MfgOrderPhaseSuperiorOperation AS MfgOrderPhaseSuperiorOperation,
  afvg.SuperiorOperation_2 AS SuperiorOperation_2,
  afvg.NumberOfCapacities AS NumberOfCapacities,
  afvg.NumberOfConfirmationSlips AS NumberOfConfirmationSlips,
  afvg.OperationImportance AS OperationImportance,
  stat.OperationIsCreated AS OperationIsCreated,
  stat.OperationIsReleased AS OperationIsReleased,
  stat.OperationIsPrinted AS OperationIsPrinted,
  stat.OperationIsConfirmed AS OperationIsConfirmed,
  stat.OperationIsPartiallyConfirmed AS OperationIsPartiallyConfirmed,
  stat.OperationIsDeleted AS OperationIsDeleted,
  stat.OperationIsTechlyCompleted AS OperationIsTechlyCompleted,
  stat.OperationIsClosed AS OperationIsClosed,
  cast(stat.OperationIsConfdByMilestone as isconfirmedbymilestone preserving type) AS OperationIsConfdByMilestone,
  cast(stat.OperationIsManuallyConfirmed as isconfirmedmanually preserving type) AS OperationIsManuallyConfirmed,
  stat.OperationIsScheduled AS OperationIsScheduled,
  cast(stat.OperationIsGenerated as operationisgenerated preserving type) AS OperationIsGenerated,
  stat.OperationIsPartiallyDelivered AS OperationIsPartiallyDelivered,
  stat.OperationIsDelivered AS OperationIsDelivered,
  cast(stat.ControlRecipeIsCreated as controlrecipeiscreated preserving type) AS ControlRecipeIsCreated,
  afvg.SuperiorOperationInternalID AS SuperiorOperationInternalID,
  afvg.Plant AS Plant,
  afvg.WorkCenterInternalID AS WorkCenterInternalID,
  afvg.WorkCenterTypeCode AS WorkCenterTypeCode,
  afvg.WorkCenterTypeCode_2 AS WorkCenterTypeCode_2,
  afvg.OperationControlProfile AS OperationControlProfile,
  afvg.ControlRecipeDestination AS ControlRecipeDestination,
  afvg.OperationConfirmation AS OperationConfirmation,
  afvg.NumberOfOperationConfirmations AS NumberOfOperationConfirmations,
  afvg.FactoryCalendar AS FactoryCalendar,
  afvg.CapacityRequirement AS CapacityRequirement,
  afvg.CapacityRequirementItem AS CapacityRequirementItem,
  afvg.ChangeNumber AS ChangeNumber,
  afvg.ObjectInternalID AS ObjectInternalID,
  afvg.OperationTrackingNumber AS OperationTrackingNumber,
  afvg.BillOfOperationsType AS BillOfOperationsType,
  afvg.BillOfOperationsGroup AS BillOfOperationsGroup,
  afvg.BillOfOperationsVariant AS BillOfOperationsVariant,
  afvg.BillOfOperationsSequence AS BillOfOperationsSequence,
  afvg.BOOOperationInternalID AS BOOOperationInternalID,
  afvg.BillOfOperationsVersion AS BillOfOperationsVersion,
  afvg.BillOfMaterialCategory AS BillOfMaterialCategory,
  afvg.BillOfMaterialInternalID AS BillOfMaterialInternalID,
  afvg.BillOfMaterialInternalID_2 AS BillOfMaterialInternalID_2,
  afvg.BillOfMaterialItemNodeNumber AS BillOfMaterialItemNodeNumber,
  afvg.BOMItemNodeCount AS BOMItemNodeCount,
  afvg.ExtProcgOperationHasSubcontrg AS ExtProcgOperationHasSubcontrg,
  afvg.PurchasingOrganization AS PurchasingOrganization,
  afvg.PurchasingGroup AS PurchasingGroup,
  afvg.PurchaseOrder AS PurchaseOrder,
  afvg.PurchaseOrderItem AS PurchaseOrderItem,
  afvg.PurchaseOutlineAgreement AS PurchaseOutlineAgreement,
  afvg.PurchaseOutlineAgreementItem AS PurchaseOutlineAgreementItem,
  afvg.PurchasingInfoRecord AS PurchasingInfoRecord,
  afvg.PurgInfoRecdDataIsFixed AS PurgInfoRecdDataIsFixed,
  afvg.PurchasingInfoRecordCategory AS PurchasingInfoRecordCategory,
  afvg.Supplier AS Supplier,
  afvg.GoodsRecipientName AS GoodsRecipientName,
  afvg.UnloadingPointName AS UnloadingPointName,
  afvg.OpExternalProcessingCurrency AS OpExternalProcessingCurrency,
  afvg.OpExternalProcessingPrice AS OpExternalProcessingPrice,
  afvg.NumberOfOperationPriceUnits AS NumberOfOperationPriceUnits,
  afvg.CompanyCode AS CompanyCode,
  afvg.BusinessArea AS BusinessArea,
  afvg.ControllingArea AS ControllingArea,
  afvg.ProfitCenter AS ProfitCenter,
  afvg.RequestingCostCenter AS RequestingCostCenter,
  afvg.CostElement AS CostElement,
  afvg.CostingVariant AS CostingVariant,
  afvg.CostingSheet AS CostingSheet,
  afvg.CostEstimate AS CostEstimate,
  afvg.ControllingObjectCurrency AS ControllingObjectCurrency,
  afvg.ControllingObjectClass AS ControllingObjectClass,
  afvg.FunctionalArea AS FunctionalArea,
  afvg.TaxJurisdiction AS TaxJurisdiction,
  afvg.EmployeeWageType AS EmployeeWageType,
  afvg.EmployeeWageGroup AS EmployeeWageGroup,
  afvg.EmployeeSuitability AS EmployeeSuitability,
  afvg.NumberOfTimeTickets AS NumberOfTimeTickets,
  afvg.Personnel AS Personnel,
  afvg.NumberOfEmployees AS NumberOfEmployees,
  afvg.OperationSetupGroupCategory AS OperationSetupGroupCategory,
  afvg.OperationSetupGroup AS OperationSetupGroup,
  afvg.OperationSetupType AS OperationSetupType,
  afvg.OperationOverlappingIsRequired AS OperationOverlappingIsRequired,
  afvg.OperationOverlappingIsPossible AS OperationOverlappingIsPossible,
  afvg.OperationsIsAlwaysOverlapping AS OperationsIsAlwaysOverlapping,
  afvg.OperationSplitIsRequired AS OperationSplitIsRequired,
  afvg.MaximumNumberOfSplits AS MaximumNumberOfSplits,
  afvg.LeadTimeReductionStrategy AS LeadTimeReductionStrategy,
  afvg.OpSchedldReductionLevel AS OpSchedldReductionLevel,
  afvg.OpErlstSchedldExecStrtDte AS OpErlstSchedldExecStrtDte,
  afvg.OpErlstSchedldExecStrtTme AS OpErlstSchedldExecStrtTme,
  afvg.OpErlstSchedldProcgStrtDte AS OpErlstSchedldProcgStrtDte,
  afvg.OpErlstSchedldProcgStrtTme AS OpErlstSchedldProcgStrtTme,
  afvg.OpErlstSchedldTrdwnStrtDte AS OpErlstSchedldTrdwnStrtDte,
  afvg.OpErlstSchedldTrdwnStrtTme AS OpErlstSchedldTrdwnStrtTme,
  afvg.OpErlstSchedldExecEndDte AS OpErlstSchedldExecEndDte,
  afvg.OpErlstSchedldExecEndTme AS OpErlstSchedldExecEndTme,
  afvg.OpLtstSchedldExecStrtDte AS OpLtstSchedldExecStrtDte,
  afvg.OpLtstSchedldExecStrtTme AS OpLtstSchedldExecStrtTme,
  afvg.OpLtstSchedldProcgStrtDte AS OpLtstSchedldProcgStrtDte,
  afvg.OpLtstSchedldProcgStrtTme AS OpLtstSchedldProcgStrtTme,
  afvg.OpLtstSchedldTrdwnStrtDte AS OpLtstSchedldTrdwnStrtDte,
  afvg.OpLtstSchedldTrdwnStrtTme AS OpLtstSchedldTrdwnStrtTme,
  afvg.OpLtstSchedldExecEndDte AS OpLtstSchedldExecEndDte,
  afvg.OpLtstSchedldExecEndTme AS OpLtstSchedldExecEndTme,
  afvg.SchedldFcstdEarliestStartDate AS SchedldFcstdEarliestStartDate,
  afvg.SchedldFcstdEarliestStartTime AS SchedldFcstdEarliestStartTime,
  afvg.SchedldFcstdEarliestEndDate AS SchedldFcstdEarliestEndDate,
  afvg.SchedldFcstdEarliestEndTime AS SchedldFcstdEarliestEndTime,
  afvg.LatestSchedldFcstdStartDate AS LatestSchedldFcstdStartDate,
  afvg.SchedldFcstdLatestStartTime AS SchedldFcstdLatestStartTime,
  afvg.LatestSchedldFcstdEndDate AS LatestSchedldFcstdEndDate,
  afvg.SchedldFcstdLatestEndTime AS SchedldFcstdLatestEndTime,
  afvg.OperationConfirmedStartDate AS OperationConfirmedStartDate,
  afvg.OperationConfirmedEndDate AS OperationConfirmedEndDate,
  afvg.OpActualExecutionStartDate AS OpActualExecutionStartDate,
  afvg.OpActualExecutionStartTime AS OpActualExecutionStartTime,
  afvg.OpActualSetupEndDate AS OpActualSetupEndDate,
  afvg.OpActualSetupEndTime AS OpActualSetupEndTime,
  afvg.OpActualProcessingStartDate AS OpActualProcessingStartDate,
  afvg.OpActualProcessingStartTime AS OpActualProcessingStartTime,
  afvg.OpActualProcessingEndDate AS OpActualProcessingEndDate,
  afvg.OpActualProcessingEndTime AS OpActualProcessingEndTime,
  afvg.OpActualTeardownStartDate AS OpActualTeardownStartDate,
  afvg.OpActualTeardownStartTme AS OpActualTeardownStartTme,
  afvg.OpActualExecutionEndDate AS OpActualExecutionEndDate,
  afvg.OpActualExecutionEndTime AS OpActualExecutionEndTime,
  afvg.EarliestScheduledWaitStartDate AS EarliestScheduledWaitStartDate,
  afvg.EarliestScheduledWaitStartTime AS EarliestScheduledWaitStartTime,
  afvg.EarliestScheduledWaitEndDate AS EarliestScheduledWaitEndDate,
  afvg.EarliestScheduledWaitEndTime AS EarliestScheduledWaitEndTime,
  afvg.LatestScheduledWaitStartDate AS LatestScheduledWaitStartDate,
  afvg.LatestScheduledWaitStartTime AS LatestScheduledWaitStartTime,
  afvg.LatestScheduledWaitEndDate AS LatestScheduledWaitEndDate,
  afvg.LatestScheduledWaitEndTime AS LatestScheduledWaitEndTime,
  afvg.BreakDurationUnit AS BreakDurationUnit,
  afvg.PlannedBreakDuration AS PlannedBreakDuration,
  afvg.ConfirmedBreakDuration AS ConfirmedBreakDuration,
  afvg.OverlapMinimumDurationUnit AS OverlapMinimumDurationUnit,
  afvg.OverlapMinimumDuration AS OverlapMinimumDuration,
  afvg.MaximumWaitDurationUnit AS MaximumWaitDurationUnit,
  afvg.MaximumWaitDuration AS MaximumWaitDuration,
  afvg.MinimumWaitDurationUnit AS MinimumWaitDurationUnit,
  afvg.MinimumWaitDuration AS MinimumWaitDuration,
  afvg.StandardMoveDurationUnit AS StandardMoveDurationUnit,
  afvg.StandardMoveDuration AS StandardMoveDuration,
  afvg.StandardQueueDurationUnit AS StandardQueueDurationUnit,
  afvg.StandardQueueDuration AS StandardQueueDuration,
  afvg.MinimumQueueDurationUnit AS MinimumQueueDurationUnit,
  afvg.MinimumQueueDuration AS MinimumQueueDuration,
  afvg.MinimumMoveDurationUnit AS MinimumMoveDurationUnit,
  afvg.MinimumMoveDuration AS MinimumMoveDuration,
  afvg.OperationStandardDurationUnit AS OperationStandardDurationUnit,
  afvg.OperationStandardDuration AS OperationStandardDuration,
  afvg.MinimumDurationUnit AS MinimumDurationUnit,
  afvg.MinimumDuration AS MinimumDuration,
  afvg.ScheduledMoveDuration AS ScheduledMoveDuration,
  afvg.ScheduledMoveDurationUnit AS ScheduledMoveDurationUnit,
  afvg.ScheduledQueueDuration AS ScheduledQueueDuration,
  afvg.ScheduledQueueDurationUnit AS ScheduledQueueDurationUnit,
  afvg.ScheduledWaitDuration AS ScheduledWaitDuration,
  afvg.ScheduledWaitDurationUnit AS ScheduledWaitDurationUnit,
  afvg.PlannedDeliveryDuration AS PlannedDeliveryDuration,
  afvg.OpPlannedSetupDurn AS OpPlannedSetupDurn,
  afvg.OpPlannedSetupDurnUnit AS OpPlannedSetupDurnUnit,
  afvg.OpPlannedProcessingDurn AS OpPlannedProcessingDurn,
  afvg.OpPlannedProcessingDurnUnit AS OpPlannedProcessingDurnUnit,
  afvg.OpPlannedTeardownDurn AS OpPlannedTeardownDurn,
  afvg.OpPlannedTeardownDurnUnit AS OpPlannedTeardownDurnUnit,
  afvg.StartDateOffsetDurationUnit AS StartDateOffsetDurationUnit,
  afvg.StartDateOffsetDuration AS StartDateOffsetDuration,
  afvg.EndDateOffsetDurationUnit AS EndDateOffsetDurationUnit,
  afvg.EndDateOffsetDuration AS EndDateOffsetDuration,
  afvg.StandardWorkFormulaParamGroup AS StandardWorkFormulaParamGroup,
  afvg.OperationUnit AS OperationUnit,
  afvg.OpQtyToBaseQtyDnmntr AS OpQtyToBaseQtyDnmntr,
  afvg.OpQtyToBaseQtyNmrtr AS OpQtyToBaseQtyNmrtr,
  afvg.OperationScrapPercent AS OperationScrapPercent,
  afvg.OperationReferenceQuantity AS OperationReferenceQuantity,
  afvg.OpPlannedTotalQuantity AS OpPlannedTotalQuantity,
  afvg.OpPlannedScrapQuantity AS OpPlannedScrapQuantity,
  afvg.OpPlannedYieldQuantity AS OpPlannedYieldQuantity,
  afvg.OpTotalConfirmedYieldQty AS OpTotalConfirmedYieldQty,
  afvg.OpTotalConfirmedScrapQty AS OpTotalConfirmedScrapQty,
  afvg.OperationConfirmedReworkQty AS OperationConfirmedReworkQty,
  afvg.ProductionUnit AS ProductionUnit,
  afvg.OpTotConfdYieldQtyInOrdQtyUnit AS OpTotConfdYieldQtyInOrdQtyUnit,
  cast(afvg.OpWorkQuantityUnit1 as vdm_ile01 preserving type) AS OpWorkQuantityUnit1,
  cast(afvg.OpConfirmedWorkQuantity1 as vdm_ism01 preserving type) AS OpConfirmedWorkQuantity1,
  afvg.NoFurtherOpWorkQuantity1IsExpd AS NoFurtherOpWorkQuantity1IsExpd,
  cast(afvg.OpWorkQuantityUnit2 as vdm_ile02 preserving type) AS OpWorkQuantityUnit2,
  cast(afvg.OpConfirmedWorkQuantity2 as vdm_ism02 preserving type) AS OpConfirmedWorkQuantity2,
  afvg.NoFurtherOpWorkQuantity2IsExpd AS NoFurtherOpWorkQuantity2IsExpd,
  cast(afvg.OpWorkQuantityUnit3 as vdm_ile03 preserving type) AS OpWorkQuantityUnit3,
  cast(afvg.OpConfirmedWorkQuantity3 as vdm_ism03 preserving type) AS OpConfirmedWorkQuantity3,
  afvg.NoFurtherOpWorkQuantity3IsExpd AS NoFurtherOpWorkQuantity3IsExpd,
  cast(afvg.OpWorkQuantityUnit4 as vdm_ile04 preserving type) AS OpWorkQuantityUnit4,
  cast(afvg.OpConfirmedWorkQuantity4 as vdm_ism04 preserving type) AS OpConfirmedWorkQuantity4,
  afvg.NoFurtherOpWorkQuantity4IsExpd AS NoFurtherOpWorkQuantity4IsExpd,
  cast(afvg.OpWorkQuantityUnit5 as vdm_ile05 preserving type) AS OpWorkQuantityUnit5,
  cast(afvg.OpConfirmedWorkQuantity5 as vdm_ism05 preserving type) AS OpConfirmedWorkQuantity5,
  afvg.NoFurtherOpWorkQuantity5IsExpd AS NoFurtherOpWorkQuantity5IsExpd,
  cast(afvg.OpWorkQuantityUnit6 as vdm_ile06 preserving type) AS OpWorkQuantityUnit6,
  cast(afvg.OpConfirmedWorkQuantity6 as vdm_ism06 preserving type) AS OpConfirmedWorkQuantity6,
  afvg.NoFurtherOpWorkQuantity6IsExpd AS NoFurtherOpWorkQuantity6IsExpd,
  cast(afvg.WorkCenterStandardWorkQtyUnit1 as pph_vge01 preserving type) AS WorkCenterStandardWorkQtyUnit1,
  cast(afvg.WorkCenterStandardWorkQty1 as vdm_vgw01 preserving type) AS WorkCenterStandardWorkQty1,
  cast(afvg.CostCtrActivityType1 as vdm_lar01 preserving type) AS CostCtrActivityType1,
  cast(afvg.WorkCenterStandardWorkQtyUnit2 as pph_vge02 preserving type) AS WorkCenterStandardWorkQtyUnit2,
  cast(afvg.WorkCenterStandardWorkQty2 as vdm_vgw02 preserving type) AS WorkCenterStandardWorkQty2,
  cast(afvg.CostCtrActivityType2 as vdm_lar02 preserving type) AS CostCtrActivityType2,
  cast(afvg.WorkCenterStandardWorkQtyUnit3 as pph_vge03 preserving type) AS WorkCenterStandardWorkQtyUnit3,
  cast(afvg.WorkCenterStandardWorkQty3 as vdm_vgw03 preserving type) AS WorkCenterStandardWorkQty3,
  cast(afvg.CostCtrActivityType3 as vdm_lar03 preserving type) AS CostCtrActivityType3,
  cast(afvg.WorkCenterStandardWorkQtyUnit4 as pph_vge04 preserving type) AS WorkCenterStandardWorkQtyUnit4,
  cast(afvg.WorkCenterStandardWorkQty4 as vdm_vgw04 preserving type) AS WorkCenterStandardWorkQty4,
  cast(afvg.CostCtrActivityType4 as vdm_lar04 preserving type) AS CostCtrActivityType4,
  cast(afvg.WorkCenterStandardWorkQtyUnit5 as pph_vge05 preserving type) AS WorkCenterStandardWorkQtyUnit5,
  cast(afvg.WorkCenterStandardWorkQty5 as vdm_vgw05 preserving type) AS WorkCenterStandardWorkQty5,
  cast(afvg.CostCtrActivityType5 as vdm_lar05 preserving type) AS CostCtrActivityType5,
  cast(afvg.WorkCenterStandardWorkQtyUnit6 as pph_vge06 preserving type) AS WorkCenterStandardWorkQtyUnit6,
  cast(afvg.WorkCenterStandardWorkQty6 as vdm_vgw06 preserving type) AS WorkCenterStandardWorkQty6,
  cast(afvg.CostCtrActivityType6 as vdm_lar06 preserving type) AS CostCtrActivityType6
FROM I_ManufacturingOrderOperation AS afvg
INNER JOIN P_OrderOperationStatusBasicAgg AS stat ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN E_OrderOperation AS _Extension ON MfgOrderInternalID = _Extension.OrderInternalID AND OrderOperationInternalID = _Extension.OrderOperationInternalID  -- association [1..1]
;