I_LOGISTICSORDER
Logistics Order
I_LOGISTICSORDER is a CDS View in S/4HANA. Logistics Order. It contains 243 fields. 55 CDS views read from this table.
CDS Views using this table (55)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_DspDocFlwProductionAttrib | view_entity | from | CONSUMPTION | Production/Proc Order Attributes for DDF |
| C_ProcgExecOperationActyList | view | left_outer | CONSUMPTION | Operation Activity List |
| C_ShopFloorItem | view | inner | CONSUMPTION | Serial Number |
| ESH_N_PROCESSORDER | view | from | Anchor view -PROCESSORDER | |
| ESH_N_PRODUCTIONORDER | view | from | Anchor view -PRODUCTIONORDER | |
| I_LogisticsOrderStdVH | view | from | COMPOSITE | Logistics Order |
| I_MaintOrderQueryNode | view | from | BASIC | Cloud Printing - Query Node Maintenance Order |
| I_ManufacturingOrder | view | from | BASIC | Manufacturing Order |
| I_ManufacturingOrderItem | view | inner | BASIC | Manufacturing Order Item |
| I_MfgOrder | view | from | BASIC | Manufacturing Order |
| I_MfgOrderBasic | view | from | BASIC | Manufacturing Order Basic |
| I_MfgOrderBasicFilter | view_entity | from | COMPOSITE | Manufacturing Order |
| I_MfgOrderOperationConf | view | inner | BASIC | Manufacturing Order Operation Confirmation |
| I_OrderConfirmationRequest | view_entity | inner | BASIC | Order Confirmation Request |
| I_ProcOrdFailedGoodsMovement | view_entity | inner | COMPOSITE | Process Orders Failed Goods Movement |
| I_ProcOrdMgmtGoodsMovement | view | inner | COMPOSITE | Process Order Goods Movement |
| I_ProcOrdOpsMgmtInspLotsBasic | view | inner | BASIC | Process order ops inspection lots basic |
| I_ProductionOrder | view_entity | from | BASIC | Production Order Header |
| I_ProductionOrderInternalID | view_entity | from | BASIC | Production Order by Internal ID |
| I_ProjectNetwork | view | from | BASIC | Project Network Details |
| I_RFM_MasterMfgOrderDuration | view | inner | COMPOSITE | Master Order Duration |
| I_SchedProdnGetLogsOrdEndDate | view_entity | from | COMPOSITE | Logistics order End date |
| I_SchedProdnWrkCtrSqncVH | view_entity | inner | COMPOSITE | Work Ctr Filter for dispatch by sequence |
| P_EvaltCapWrkCtrCapOperations | view_entity | from | COMPOSITE | Load day opr for manufacturing and planned order for Cap |
| P_MaintOrdDirectProcmtViaPO | view | union_all | COMPOSITE | Purchase Orders for Direct Procurement |
| P_MaintOrdDirectProcmtViaPR | view | inner | COMPOSITE | Purchase Requisitions for Direct Procurement |
| P_MaintOrdNonStkCompFrmPurReqn | view | inner | CONSUMPTION | MaintOrder Component Direct Procurement From Purch. Req. |
| P_MaintOrdResponsiblePartner | view | from | COMPOSITE | Responsible Partner for Maintenance Order Header |
| P_MfgExecEventHistOrder | view | inner | COMPOSITE | Order Execution Event History |
| P_MfgExecEventHistOrder | view | from | COMPOSITE | Order Execution Event History |
| P_OpActyAssyByOriglCompUnion | view | inner | COMPOSITE | SFI@OA Assembly by original component (manual & backflushed) |
| P_OpActyNumberOfInspCharcs | view | inner | COMPOSITE | To determine if IC are present for OA |
| P_Orderqtyissue | view_entity | from | CONSUMPTION | Order Quantity Issue Calculation |
| P_ProcessOrderHeader | view_entity | from | COMPOSITE | Process Order Header |
| P_ProcOrdAORList | view_entity | inner | COMPOSITE | Process Orders for AOR |
| P_ProcOrdAORList_2 | view_entity | inner | COMPOSITE | Process Orders for AOR |
| P_ProcOrdCurOp | view | from | COMPOSITE | Process order current operation details |
| P_ProcOrdMgmtGoodsMovement | view | inner | COMPOSITE | Process order goods movement |
| P_ProcOrdMgmtInspSubsetResult | view | inner | COMPOSITE | Inspection Lot Subset Result |
| P_ProcOrdMgmtOp | view | inner | COMPOSITE | Process order operation |
| P_ProcOrdMgmtOpBasic | view | inner | BASIC | Process order operation basic (afvc) |
| P_ProcOrdOpsInspLot | view | inner | BASIC | Process order operation inspection lot |
| P_ProdnOrderSupplyForPegging | view_entity | from | COMPOSITE | Supply for pegging |
| P_ProdOrdMgmtOp | view_entity | inner | COMPOSITE | Production Order operation Basic View |
| P_ProdOrdMgmtOpBasic | view_entity | inner | BASIC | Production Order Operations Basic View (AFVC) |
| P_RSHOperationDurationInSecond | view | inner | CONSUMPTION | Maintenance Operations with Durations in Seconds |
| P_RSHOperationsWOExplicitRelat | view | inner | CONSUMPTION | Operations without explicit Relations |
| P_Sched_Past_Operations | view_entity | from | COMPOSITE | Past orders for Deallocate action |
| P_SchedChgOpLvCacheMapBsc | view_entity | from | COMPOSITE | Map changed Operation Detail |
| P_SchedOperations_Version_2 | view | from | COMPOSITE | Schedule Production Operations |
| P_SFOTrcblComponentAssembly | view_entity | inner | COMPOSITE | SFO Assembled or Backflushed Component |
| P_WBSOrders | view | from | COMPOSITE | Private basic view for tabNetwork\Orders in WBSElement app |
| P_WorkCenterCapPplineOp | view | from | COMPOSITE | Load day opr for manufacturing and planned order for Cap |
| R_EvtBsdPostgRuleOrderVH | view | from | COMPOSITE | Order |
| R_EvtBsdPostingRuleRcvrName | view | union_all | COMPOSITE | EB Posting Rule Receiver Name |
Fields (243)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | OrderID | MaintenanceOrder,ManufacturingOrder,OrderID,ProcessOrder | 16 |
| _BaseUnit | _BaseUnit | 3 | |
| _BasicSchedulingType | _BasicSchedulingType | 6 | |
| _BillOfOperations | _BillOfOperations | 3 | |
| _BillOfOperationsApplication | _BillOfOperationsApplication | 5 | |
| _BillOfOperationsChangeState | _BillOfOperationsChangeState | 3 | |
| _BillOfOperationsGroup | _BillOfOperationsGroup | 4 | |
| _BillOfOperationsGroup2 | _BillOfOperationsGroup2 | 4 | |
| _BillOfOperationsType | _BillOfOperationsType | 6 | |
| _BillOfOperationsUsage | _BillOfOperationsUsage | 6 | |
| _BusinessArea | _BusinessArea | 9 | |
| _CapacityRequirement | _CapacityRequirement | 6 | |
| _ChangeNumber | _ChangeNumber | 3 | |
| _CompanyCode | _CompanyCode | 9 | |
| _ConfirmationGroup | _ConfirmationGroup | 5 | |
| _ControllingArea | _ControllingArea | 8 | |
| _ControllingObjectClass | _ControllingObjectClass | 6 | |
| _CostCenter | _CostCenter | 7 | |
| _CreatedByUser | _CreatedByUser | 2 | |
| _CreatedByUserContactCard | _CreatedByUserContactCard | 2 | |
| _Currency | _Currency | 7 | |
| _ForecastSchedulingType | _ForecastSchedulingType | 6 | |
| _FunctionalArea | _FunctionalArea | 6 | |
| _GLAccount | _GLAccount | 2 | |
| _InspectionLot | _InspectionLot | 6 | |
| _LastChangedByUser | _LastChangedByUser | 3 | |
| _LastChgdByUserContactCard | _LastChgdByUserContactCard | 2 | |
| _LeadingOrder | _LeadingOrder | 2 | |
| _LocationPlant | _LocationPlant | 2 | |
| _LongText | _LongText | 3 | |
| _LongTextLanguage | _LongTextLanguage | 1 | |
| _MaintenanceObjectLocation | _MaintenanceObjectLocation | 2 | |
| _MainWorkCenterPlant | _MainWorkCenterPlant | 2 | |
| _MaterialBaseUnit | _MaterialBaseUnit | 1 | |
| _MRPController | _MRPController | 4 | |
| _OrderCategory | _OrderCategory | 4 | |
| _OrderComponent | _OrderComponent | 2 | |
| _OrderInternalID | _OrderInternalID | 2 | |
| _OrderItem | _OrderItem | 2 | |
| _OrderMainItem | _OrderMainItem | 2 | |
| _OrderOperation | _OrderOperation | 2 | |
| _OrderPriority | _OrderPriority | 1 | |
| _OrderProcessingGroup | _OrderProcessingGroup | 2 | |
| _OrderSequence | _OrderSequence | 2 | |
| _OrderType | _OrderType | 4 | |
| _OrderTypeDetails | _OrderTypeDetails | 5 | |
| _OrdInternalBillOfOperations | _OrdInternalBillOfOperations | 2 | |
| _Plant | _Plant | 5 | |
| _ProductCostCollector | _ProductCostCollector | 7 | |
| _ProductionSchedulingProfile | _ProductionSchedulingProfile | 2 | |
| _ProductionSupervisor | _ProductionSupervisor | 4 | |
| _ProfitCenter | _ProfitCenter | 8 | |
| _Project | _Project | 3 | |
| _ProjectBasicData | _ProjectBasicData | 2 | |
| _ProjectBasicData2 | _ProjectBasicData2 | 2 | |
| _ReferenceOrder | _ReferenceOrder | 2 | |
| _RequestOrderType | _RequestOrderType | 2 | |
| _Reservation | _Reservation | 6 | |
| _ResponsibleCostCenter | _ResponsibleCostCenter | 5 | |
| _ResponsiblePlannerGroup | _ResponsiblePlannerGroup | 2 | |
| _RFM_MasterProductOrder | _RFM_MasterProductOrder | 3 | |
| _SalesOrder | _SalesOrder | 5 | |
| _SalesOrderItem | _SalesOrderItem | 5 | |
| _SchedulingFloatProfile | _SchedulingFloatProfile | 4 | |
| _SettlementReservation | _SettlementReservation | 6 | |
| _StatusObject | _StatusObject | 3 | |
| _StatusObjectStatus | _StatusObjectStatus | 2 | |
| _SuperiorOrder | _SuperiorOrder | 1 | |
| _SuperiorProjectNetwork | _SuperiorProjectNetwork | 2 | |
| _WBSElement | _WBSElement | 3 | |
| _WBSElementBasicData | _WBSElementBasicData | 2 | |
| _WBSElementBasicData2 | _WBSElementBasicData,_WBSElementBasicData2 | 3 | |
| _WorkCenter | _WorkCenter | 2 | |
| ActualCostsCostingVariant | ActualCostsCostingVariant | 8 | |
| ActualDeliveryDate | ActualDeliveryDate,MfgOrderActualDeliveryDate | 2 | |
| ActualEndDate | ActualEndDate | 2 | |
| ActualReleasedDate | ActualReleasedDate,CreationDate | 3 | |
| ActualStartDate | ActualStartDate | 2 | |
| ActualStartTime | ActualStartTime | 2 | |
| BaseUnit | BaseUnit | 6 | |
| BasicSchedulingType | BasicSchedulingType | 3 | |
| BillOfMaterial | BillOfMaterial | 4 | |
| BillOfMaterialCategory | BillOfMaterialCategory | 7 | |
| BillOfMaterialInternalID | BillOfMaterialInternalID | 5 | |
| BillOfMaterialVariant | BillOfMaterialVariant | 8 | |
| BillOfMaterialVariantUsage | BillOfMaterialVariantUsage | 7 | |
| BillOfMaterialVersion | BillOfMaterialVersion | 7 | |
| BillOfOperations | BillOfOperations,BillOfOperationsGroup | 7 | |
| BillOfOperationsApplication | BillOfOperationsApplication | 5 | |
| BillOfOperationsGroup | BillOfOperationsGroup | 8 | |
| BillOfOperationsType | BillOfOperationsType | 9 | |
| BillOfOperationsUsage | BillOfOperationsUsage | 7 | |
| BillOfOperationsVariant | BillOfOperationsVariant | 9 | |
| BillOfOperationsVersion | BillOfOperationsVersion | 8 | |
| BOMExplosionDate | BOMExplosionDate | 8 | |
| BOMValidityStartDate | BOMValidityStartDate | 7 | |
| BOOExplosionDate | BOMExplosionDate,BOOExplosionDate | 9 | |
| BOOInternalVersionCounter | BOOInternalVersionCounter | 5 | |
| BOOValidityStartDate | BOOValidityStartDate | 7 | |
| BusinessArea | BusinessArea | 9 | |
| CapacityActiveVersion | CapacityActiveVersion | 6 | |
| CapacityRequirement | CapacityRequirement | 7 | |
| CapacityRqmtHasNotToBeCreated | CapacityRqmtHasNotToBeCreated | 6 | |
| ChangeNumber | ChangeNumber | 8 | |
| ChangeToScheduledDatesIsMade | ChangeToScheduledDatesIsMade | 4 | |
| CombinedOrderRequestIdentifier | CombinedOrderRequestIdentifier | 1 | |
| CombnOrdCombinationIdentifier | CombnOrdCombinationIdentifier | 1 | |
| CompanyCode | CompanyCode | 10 | |
| ConditionApplication | ConditionApplication | 6 | |
| ConfirmedEndDate | ConfirmedEndDate | 3 | |
| ConfirmedEndTime | ConfirmedEndTime | 2 | |
| ControllingArea | ControllingArea | 9 | |
| ControllingObjectClass | ControllingObjectClass | 5 | |
| CostCenter | CostCenter | 7 | |
| CostElement | CostElement | 8 | |
| CostingSheet | CostingSheet | 8 | |
| CreatedByUser | CreatedByUser | 7 | |
| CreationDate | CreationDate | 3 | |
| CreationTime | CreationTime | 3 | |
| Currency | CompanyCodeCurrency,Currency | 9 | |
| EngineeringChangeOrder | EngineeringChangeOrder | 2 | |
| EnvironmentalInvestmentReason | EnvironmentalInvestmentReason | 2 | |
| EstimatedTotalOrderCost | EstimatedTotalOrderCost | 2 | |
| EventBasedPostingMethod | EventBasedPostingMethod | 5 | |
| EventBasedProcessingKey | EventBasedProcessingKey | 4 | |
| ExternalOrder | ExternalOrder | 2 | |
| FloatAfterProductionInWorkDays | FloatAfterProductionInWorkDays | 4 | |
| FloatBeforeProductionInWrkDays | FloatBeforeProductionInWrkDays | 4 | |
| ForecastedEndDate | ForecastedEndDate | 3 | |
| ForecastedEndTime | ForecastedEndTime | 2 | |
| ForecastedStartDate | ForecastedStartDate | 3 | |
| ForecastedStartTime | ForecastedStartTime | 2 | |
| ForecastSchedulingType | ForecastSchedulingType | 3 | |
| FunctionalArea | FunctionalArea | 8 | |
| GLAccount | GLAccount | 7 | |
| InspectionLot | InspectionLot | 8 | |
| InvestmentReason | InvestmentReason | 2 | |
| IsMarkedForDeletion | IsMarkedForDeletion,MfgOrderIsToBeDeleted | 8 | |
| IsStatisticalOrder | IsStatisticalOrder | 2 | |
| JointVenture | JointVenture | 3 | |
| JointVentureClass | JointVentureClass | 3 | |
| JointVentureObjectType | JointVentureObjectType | 3 | |
| JointVentureOriginalCostObject | JointVentureOriginalCostObject | 3 | |
| JointVentureSubClass | JointVentureSubClass | 3 | |
| LastChangeDate | LastChangeDate | 7 | |
| LastChangedByUser | LastChangedByUser | 7 | |
| LastChangeTime | LastChangeTime | 8 | |
| LastScheduledDate | LastScheduledDate | 3 | |
| LeadingOrder | LeadingOrder | 6 | |
| LocationPlant | LocationPlant | 2 | |
| LongTextLanguage | LongTextLanguage,LongTextLanguageCode | 4 | |
| MaintenanceObjectLocation | MaintenanceObjectLocation | 2 | |
| MainWorkCenter | MainWorkCenter | 3 | |
| MainWorkCenterPlant | MainWorkCenterPlant | 3 | |
| MasterProductionOrder | MasterProductionOrder | 6 | |
| Material | BillOfOperationsMaterial,Material | 7 | |
| MaterialBaseUnit | MaterialBaseUnit | 2 | |
| MaterialFromLotSizeQuantity | MaterialFromLotSizeQuantity | 2 | |
| MaterialRevisionLevel | MaterialRevisionLevel | 2 | |
| MaterialRevisionLevel_2 | MaterialRevisionLevel,MaterialRevisionLevel_2 | 5 | |
| MaterialToLotSizeQuantity | MaterialToLotSizeQuantity | 2 | |
| MfgOrderConfirmation | MfgOrderConfirmation,NetworkActivityConfirmation,OrderConfirmationGroup | 7 | |
| MfgOrderConfirmationCount | MfgOrderConfirmationCount | 4 | |
| MfgOrderConfirmedReworkQty | MfgOrderConfirmedReworkQty,OrderConfirmedReworkQty | 8 | |
| MfgOrderHasMultipleItems | MfgOrderHasMultipleItems,OrderHasMultipleItems | 7 | |
| MfgOrderHierarchyLevel | MfgOrderHierarchyLevel | 5 | |
| MfgOrderIsPartOfCollvOrder | MfgOrderIsPartOfCollvOrder,OrderIsPartOfCollectiveOrder | 7 | |
| MfgOrderSplitStatus | MfgOrderSplitStatus | 3 | |
| MfgOrderSuperiorMfgOrder | MfgOrderSuperiorMfgOrder,SuperiorOrder | 4 | |
| MRPController | MRPController | 6 | |
| NetworkProfile | NetworkProfile | 3 | |
| NtwkAccountAssignmentCode | NtwkAccountAssignmentCode | 2 | |
| ObjectInternalID | ManufacturingObject,ObjectInternalID,ProcessOrderObjectNumber,ProjectNetworkObject | 6 | |
| OrderCategory | ManufacturingOrderCategory,OrderCategory | 14 | |
| OrderConfirmedScrapQty | OrderConfirmedScrapQty | 2 | |
| OrderConfirmedYieldQty | OrderConfirmedYieldQty | 2 | |
| OrderDescription | MaintenanceOrderDesc,ManufacturingOrderText,OperationText,OrderDescription | 6 | |
| OrderHasLongText | ManufacturingOrderHasLongText,OrderHasLongText,ProductionOrderHasLongText | 4 | |
| OrderHierarchyLevelValue | MfgOrderHierarchyLevelValue,OrderHierarchyLevelValue | 4 | |
| OrderHierarchyPathValue | MfgOrderHierarchyPathValue,OrderHierarchyPathValue | 4 | |
| OrderInternalBillOfOperations | OrderInternalBillOfOperations,OrderInternalID,ProjectNetworkInternalID | 5 | |
| OrderIsEventBasedPosting | OrderIsEventBasedPosting | 3 | |
| OrderIsNotCostedAutomatically | OrderIsNotCostedAutomatically | 8 | |
| OrderIsRefurbishmentOrder | OrderIsRefurbishmentOrder | 2 | |
| OrderPlannedScrapQty | OrderPlannedScrapQty | 2 | |
| OrderPlannedTotalQty | OrderPlannedTotalQty | 4 | |
| OrderProcessingGroup | OrderProcessingGroup | 2 | |
| OrderSequenceNumber | OrderSequenceNumber | 6 | |
| OrderSettlementTriggerType | OrderSettlementTriggerType | 2 | |
| OrderType | MaintenanceOrderType,ManufacturingOrderType,OrderType | 17 | |
| OrdIsNotSchedldAutomatically | OrdIsNotSchedldAutomatically | 8 | |
| OverheadCode | OverheadCode | 5 | |
| PlannedCompletionDate | PlannedCompletionDate | 2 | |
| PlannedCostsCostingVariant | PlannedCostsCostingVariant | 8 | |
| PlannedEndDate | PlannedEndDate,RequirementDate | 5 | |
| PlannedEndTime | PlannedEndTime | 2 | |
| PlannedReleaseDate | PlannedReleaseDate | 2 | |
| PlannedStartDate | MaintOrdBasicStartDate,PlannedStartDate,ReferenceDate | 6 | |
| PlannedStartTime | PlannedStartTime | 2 | |
| PlannedTotalQtyInBaseUnit | PlannedTotalQtyInBaseUnit | 2 | |
| Plant | Plant,ProductionPlant | 15 | |
| PriorityCode | PriorityCode | 3 | |
| ProdAvailyCheckPlanningType | ProdAvailyCheckPlanningType | 2 | |
| ProdnProcgIsFlexible | ProdnProcgIsFlexible | 7 | |
| ProductConfiguration | ProductConfiguration | 4 | |
| ProductCostCollector | ProductCostCollector | 6 | |
| ProductionSchedulingProfile | ProductionSchedulingProfile | 2 | |
| ProductionSupervisor | ProductionSupervisor | 12 | |
| ProfitCenter | ProfitCenter | 8 | |
| ProjectInternalID | ProjectInternalID | 3 | |
| ProjectInternalID_2 | ProjectInternalID_2 | 2 | |
| ProjInterestCalcProfile | ProjInterestCalcProfile,ProjNtwkInterestCalcProfile | 3 | |
| ReferenceOrder | ReferenceOrder | 5 | |
| ReleasePeriodInWorkDays | ReleasePeriodInWorkDays | 4 | |
| RequestingCompanyCode | RequestingCompanyCode | 2 | |
| RequestingCostCenter | RequestingCostCenter | 2 | |
| RequestOrderType | RequestOrderType | 2 | |
| Reservation | Reservation | 8 | |
| ResponsibleCostCenter | ResponsibleCostCenter | 7 | |
| ResponsiblePlannerGroup | ResponsiblePlannerGroup | 7 | |
| ResultAnalysisInternalID | ResultAnalysisInternalID | 3 | |
| SalesOrder | SalesOrder | 5 | |
| SalesOrderItem | SalesOrderItem | 5 | |
| ScheduledBasicEndDate | ScheduledBasicEndDate | 9 | |
| ScheduledBasicEndTime | ScheduledBasicEndTime | 6 | |
| ScheduledBasicStartDate | ScheduledBasicStartDate | 9 | |
| ScheduledBasicStartTime | ScheduledBasicStartTime | 6 | |
| ScheduledFcstdReleaseDate | ScheduledFcstdReleaseDate | 3 | |
| ScheduledForecastedEndDate | ScheduledForecastedEndDate | 3 | |
| ScheduledForecastedEndTime | ScheduledForecastedEndTime | 2 | |
| ScheduledForecastedStartDate | ScheduledForecastedStartDate | 3 | |
| ScheduledForecastedStartTime | ScheduledForecastedStartTime | 2 | |
| ScheduledReleaseDate | ScheduledReleaseDate | 3 | |
| SchedulingFloatProfile | SchedulingFloatProfile | 4 | |
| SchedulingIsAllowingForBreaks | SchedulingIsAllowingForBreaks | 3 | |
| SettlementReservation | SettlementReservation | 2 | |
| SuperiorProjectNetwork | SuperiorProjectNetwork | 3 | |
| TaxJurisdiction | TaxJurisdiction | 2 | |
| TechnicalCompletionDate | MfgOrderActualCompletionDate,TechnicalCompletionDate | 4 | |
| TotalCommitmentDate | MfgOrderTotalCommitmentDate,TotalCommitmentDate | 4 | |
| VarianceKey | VarianceKey | 3 | |
| WBSElementInternalID | WBSElementInternalID | 3 | |
| WBSElementInternalID_2 | WBSElementInternalID,WBSElementInternalID_2 | 3 |
@AbapCatalog.sqlViewName: 'ILOGISTCSORDER'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AccessControl.privilegedAssociations: ['_CreatedByUser', '_LastChangedByUser', '_CreatedByUserContactCard', '_LastChgdByUserContactCard', '_LongText',
'_ProductionSupervisor', '_MRPController', '_StatusObject', '_StatusObjectStatus', '_MaintenanceObjectLocation', '_StatusObject']
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@ClientHandling.type: #CLIENT_DEPENDENT
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE]
@ObjectModel.representativeKey: 'OrderID'
@ObjectModel.semanticKey: ['OrderID']
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Logistics Order'
// basic view for orders of logistics categories (AUFTYP=10,20,30,40)
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ] } */
define view I_LogisticsOrder
as select from I_OrderBasic as aufk
left outer to one join I_LogisticsOrderBasic as afko on afko.OrderID = aufk.OrderID
association [0..1] to I_OrdInternalBillOfOperations as _OrdInternalBillOfOperations on $projection.OrderInternalBillOfOperations = _OrdInternalBillOfOperations.OrderInternalBillOfOperations
association [0..1] to I_OrderInternalID as _OrderInternalID on $projection.OrderInternalBillOfOperations = _OrderInternalID.OrderInternalID
association [1..1] to I_OrderCategory as _OrderCategory on $projection.OrderCategory = _OrderCategory.OrderCategory
association [1..1] to I_OrderType as _OrderType on $projection.OrderType = _OrderType.OrderType
association [1..1] to I_OrderTypeDetails as _OrderTypeDetails on $projection.OrderType = _OrderTypeDetails.OrderType
and $projection.Plant = _OrderTypeDetails.Plant
association [0..1] to I_Order as _ReferenceOrder on $projection.ReferenceOrder = _ReferenceOrder.OrderID
association [0..1] to I_Order as _LeadingOrder on $projection.LeadingOrder = _LeadingOrder.OrderID
association [0..1] to I_Order as _SuperiorOrder on $projection.MfgOrderSuperiorMfgOrder = _SuperiorOrder.OrderID
association [0..*] to I_OrderItem as _OrderItem on $projection.OrderID = _OrderItem.OrderID
association [0..1] to I_OrderItem as _OrderMainItem on $projection.OrderID = _OrderMainItem.OrderID
and _OrderMainItem.OrderItem = '0001'
association [0..*] to I_OrderSequence as _OrderSequence on $projection.OrderInternalBillOfOperations = _OrderSequence.OrderInternalID
association [0..*] to I_OrderOperation as _OrderOperation on $projection.OrderInternalBillOfOperations = _OrderOperation.OrderInternalID
association [0..*] to I_OrderComponent as _OrderComponent on $projection.Reservation = _OrderComponent.Reservation
association [0..1] to I_OrderLongText as _LongText on $projection.OrderID = _LongText.OrderID
association [0..1] to I_LogisticsOrderPriority as _OrderPriority on $projection.PriorityCode = _OrderPriority.PriorityCode
association [1..1] to I_User as _CreatedByUser on $projection.CreatedByUser = _CreatedByUser.UserID
association [0..1] to I_User as _LastChangedByUser on $projection.LastChangedByUser = _LastChangedByUser.UserID
association [1..1] to I_UserContactCard as _CreatedByUserContactCard on $projection.CreatedByUser = _CreatedByUserContactCard.ContactCardID
association [0..1] to I_UserContactCard as _LastChgdByUserContactCard on $projection.LastChangedByUser = _LastChgdByUserContactCard.ContactCardID
association [0..1] to I_Language as _LongTextLanguage on $projection.LongTextLanguage = _LongTextLanguage.Language
association [0..1] to I_UnitOfMeasure as _BaseUnit on $projection.BaseUnit = _BaseUnit.UnitOfMeasure
association [0..1] to I_UnitOfMeasure as _MaterialBaseUnit on $projection.MaterialBaseUnit = _MaterialBaseUnit.UnitOfMeasure
association [0..1] to I_Currency as _Currency on $projection.Currency = _Currency.Currency
association [1..1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
association [0..1] to I_Plant as _MainWorkCenterPlant on $projection.MainWorkCenterPlant = _MainWorkCenterPlant.Plant
association [0..1] to I_Plant as _LocationPlant on $projection.LocationPlant = _LocationPlant.Plant
association [0..1] to I_ConfirmationGroup as _ConfirmationGroup on $projection.MfgOrderConfirmation = _ConfirmationGroup.ConfirmationGroup
association [0..1] to I_ReservationDocumentHeader as _Reservation on $projection.Reservation = _Reservation.Reservation
association [0..1] to I_ReservationDocumentHeader as _SettlementReservation on $projection.SettlementReservation = _SettlementReservation.Reservation
association [0..1] to I_SalesOrder as _SalesOrder on $projection.SalesOrder = _SalesOrder.SalesOrder
association [0..1] to I_SalesOrderItem as _SalesOrderItem on $projection.SalesOrder = _SalesOrderItem.SalesOrder
and $projection.SalesOrderItem = _SalesOrderItem.SalesOrderItem
association [0..1] to I_WBSElementByInternalKey as _WBSElement on $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID
association [0..1] to I_WBSElementBasicData as _WBSElementBasicData on $projection.WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID
association [0..1] to I_WBSElementBasicData as _WBSElementBasicData2 on $projection.WBSElementInternalID_2 = _WBSElementBasicData2.WBSElementInternalID
association [0..1] to I_ProjectByInternalKey as _Project on $projection.ProjectInternalID = _Project.ProjectInternalID
association [0..1] to I_ProjectBasicData as _ProjectBasicData on $projection.ProjectInternalID = _ProjectBasicData.ProjectInternalID
association [0..1] to I_ProjectBasicData as _ProjectBasicData2 on $projection.ProjectInternalID_2 = _ProjectBasicData2.ProjectInternalID
association [0..1] to I_ProjectNetwork as _SuperiorProjectNetwork on $projection.SuperiorProjectNetwork = _SuperiorProjectNetwork.ProjectNetwork
association [0..1] to I_ProductionSupervisor as _ProductionSupervisor on $projection.Plant = _ProductionSupervisor.Plant
and $projection.ProductionSupervisor = _ProductionSupervisor.ProductionSupervisor
association [0..1] to I_ProductionSchedulingProfile as _ProductionSchedulingProfile on $projection.Plant = _ProductionSchedulingProfile.Plant
and $projection.ProductionSchedulingProfile = _ProductionSchedulingProfile.ProductionSchedulingProfile
association [0..1] to I_ResponsiblePlannerGroup as _ResponsiblePlannerGroup on $projection.Plant = _ResponsiblePlannerGroup.Plant
and $projection.ResponsiblePlannerGroup = _ResponsiblePlannerGroup.ResponsiblePlannerGroup
association [0..1] to I_MRPController as _MRPController on $projection.Plant = _MRPController.Plant
and $projection.MRPController = _MRPController.MRPController
association [0..1] to I_WorkCenterBySemanticKey as _WorkCenter on $projection.MainWorkCenter = _WorkCenter.WorkCenter
and $projection.MainWorkCenterPlant = _WorkCenter.Plant
association [0..1] to I_CapacityRequirement as _CapacityRequirement on $projection.CapacityRequirement = _CapacityRequirement.CapacityRequirement
association [0..1] to I_Location as _MaintenanceObjectLocation on $projection.LocationPlant = _MaintenanceObjectLocation.Plant
and $projection.MaintenanceObjectLocation = _MaintenanceObjectLocation.Location
association [0..1] to I_ChangeMaster as _ChangeNumber on $projection.ChangeNumber = _ChangeNumber.ChangeNumber
association [0..1] to I_BillOfOperationsType as _BillOfOperationsType on $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
association [0..1] to I_BillOfOperationsGroup as _BillOfOperationsGroup on $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType
and $projection.BillOfOperations = _BillOfOperationsGroup.BillOfOperationsGroup
association [0..1] to I_BillOfOperationsGroup as _BillOfOperationsGroup2 on $projection.BillOfOperationsType = _BillOfOperationsGroup2.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BillOfOperationsGroup2.BillOfOperationsGroup
association [0..1] to I_BillOfOperations as _BillOfOperations on $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup
and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant
association [0..1] to I_BillOfOperationsChangeState as _BillOfOperationsChangeState on $projection.BillOfOperationsType = _BillOfOperationsChangeState.BillOfOperationsType
and $projection.BillOfOperationsGroup = _BillOfOperationsChangeState.BillOfOperationsGroup
and $projection.BillOfOperationsVariant = _BillOfOperationsChangeState.BillOfOperationsVariant
and $projection.BOOInternalVersionCounter = _BillOfOperationsChangeState.BOOInternalVersionCounter
association [0..1] to I_BOOApplication as _BillOfOperationsApplication on $projection.BillOfOperationsApplication = _BillOfOperationsApplication.BillOfOperationsApplication
association [0..1] to I_BillOfOperationsUsage as _BillOfOperationsUsage on $projection.BillOfOperationsUsage = _BillOfOperationsUsage.BillOfOperationsUsage
association [0..1] to I_InspectionLot as _InspectionLot on $projection.InspectionLot = _InspectionLot.InspectionLot
association [0..1] to I_StatusObject as _StatusObject on $projection.ObjectInternalID = _StatusObject.StatusObject
association [0..*] to I_StatusObjectStatus as _StatusObjectStatus on $projection.ObjectInternalID = _StatusObjectStatus.StatusObject
and _StatusObjectStatus.StatusIsInactive = ''
association [0..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
association [0..1] to I_BusinessArea as _BusinessArea on $projection.BusinessArea = _BusinessArea.BusinessArea
association [0..*] to I_ProfitCenter as _ProfitCenter on $projection.ControllingArea = _ProfitCenter.ControllingArea
and $projection.ProfitCenter = _ProfitCenter.ProfitCenter
association [0..*] to I_CostCenter as _CostCenter on $projection.ControllingArea = _CostCenter.ControllingArea
and $projection.CostCenter = _CostCenter.CostCenter
association [0..*] to I_CostCenter as _ResponsibleCostCenter on $projection.ControllingArea = _ResponsibleCostCenter.ControllingArea
and $projection.ResponsibleCostCenter = _ResponsibleCostCenter.CostCenter
association [0..1] to I_GLAccount as _GLAccount on $projection.GLAccount = _GLAccount.GLAccount
and $projection.CompanyCode = _GLAccount.CompanyCode
association [0..1] to I_ProductCostCtrlgOrder as _ProductCostCollector on $projection.ProductCostCollector = _ProductCostCollector.OrderID
association [0..1] to I_ControllingArea as _ControllingArea on $projection.ControllingArea = _ControllingArea.ControllingArea
association [0..1] to I_ControllingObjectClass as _ControllingObjectClass on $projection.ControllingObjectClass = _ControllingObjectClass.ControllingObjectClass
association [0..1] to I_FunctionalArea as _FunctionalArea on $projection.FunctionalArea = _FunctionalArea.FunctionalArea
association [0..1] to I_OrderProcessingGroup as _OrderProcessingGroup on $projection.ControllingArea = _OrderProcessingGroup.ControllingArea
and $projection.OrderProcessingGroup = _OrderProcessingGroup.OrderProcessingGroup
association [0..1] to I_SchedulingType as _BasicSchedulingType on $projection.BasicSchedulingType = _BasicSchedulingType.SchedulingType
association [0..1] to I_SchedulingType as _ForecastSchedulingType on $projection.ForecastSchedulingType = _ForecastSchedulingType.SchedulingType
association [0..1] to I_SchedulingFloatProfile as _SchedulingFloatProfile on $projection.Plant = _SchedulingFloatProfile.Plant
and $projection.SchedulingFloatProfile = _SchedulingFloatProfile.SchedulingFloatProfile
association [0..1] to I_RequestOrderType as _RequestOrderType on $projection.RequestOrderType = _RequestOrderType.RequestOrderType
association [0..1] to I_RFM_MasterProductOrder as _RFM_MasterProductOrder on $projection.MasterProductionOrder = _RFM_MasterProductOrder.MasterProductionOrder
-- to Extension view
association [1..1] to E_LogisticsOrder as _Extension on aufk.OrderID = _Extension.OrderID
{
// Key
// @ObjectModel.text.element: ['OrderDescription']
key aufk.OrderID,
// Category and Type
@ObjectModel.foreignKey.association: '_OrderCategory'
aufk.OrderCategory,
@ObjectModel.foreignKey.association: '_OrderType'
aufk.OrderType,
// Text
@Semantics.text: true
aufk.OrderDescription,
aufk.OrderHasLongText,
@ObjectModel.foreignKey.association: '_LongTextLanguage'
aufk.LongTextLanguage,
// Attributes
aufk.IsMarkedForDeletion,
aufk.IsStatisticalOrder,
aufk.OrderHasMultipleItems as MfgOrderHasMultipleItems,
afko.MfgOrderIsPartOfCollvOrder,
aufk.OrderIsRefurbishmentOrder,
@ObjectModel.foreignKey.association: '_OrderPriority'
afko.PriorityCode,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'OrderHierarchyLevelValue'
afko.MfgOrderHierarchyLevel,
afko.OrderHierarchyLevelValue,
afko.OrderHierarchyPathValue,
afko.ProdnProcgIsFlexible,
afko.OrderIsNotCostedAutomatically,
afko.OrdIsNotSchedldAutomatically,
// Admin
@Semantics.systemDate.createdAt: true
aufk.CreationDate,
@Semantics.systemTime.createdAt: true
aufk.CreationTime,
@Semantics.user.createdBy: true
aufk.CreatedByUser,
@Semantics.systemDate.lastChangedAt: true
aufk.LastChangeDate,
@Semantics.systemTime.lastChangedAt: true
aufk.LastChangeTime,
@Semantics.user.lastChangedBy: true
aufk.LastChangedByUser,
// Assignments
@ObjectModel.foreignKey.association: '_OrdInternalBillOfOperations'
afko.OrderInternalID as OrderInternalBillOfOperations,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_LogisticsOrderStdVH', element: 'OrderID' } } ]
@ObjectModel.foreignKey.association: '_ReferenceOrder'
aufk.ReferenceOrder,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_LogisticsOrderStdVH', element: 'OrderID' } } ]
@ObjectModel.foreignKey.association: '_LeadingOrder'
afko.LeadingOrder,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_LogisticsOrderStdVH', element: 'OrderID' } } ]
@ObjectModel.foreignKey.association: '_SuperiorOrder'
afko.MfgOrderSuperiorMfgOrder,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_PlantStdVH', element: 'Plant' } } ]
@ObjectModel.foreignKey.association: '_Plant'
aufk.Plant,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_WrkCtrBySemanticKeyStdVH', element: 'WorkCenter' } } ]
@ObjectModel.foreignKey.association: '_WorkCenter'
aufk.MainWorkCenter,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_PlantStdVH', element: 'Plant' } } ]
@ObjectModel.foreignKey.association: '_MainWorkCenterPlant'
aufk.MainWorkCenterPlant,
@ObjectModel.foreignKey.association: '_MaintenanceObjectLocation'
aufk.MaintenanceObjectLocation,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_PlantStdVH', element: 'Plant' } } ]
@ObjectModel.foreignKey.association: '_LocationPlant'
aufk.LocationPlant,
@ObjectModel.foreignKey.association: '_MRPController'
afko.MRPController,
@ObjectModel.foreignKey.association: '_ProductionSupervisor'
afko.ProductionSupervisor,
@ObjectModel.foreignKey.association: '_ProductionSchedulingProfile'
afko.ProductionSchedulingProfile,
@ObjectModel.foreignKey.association: '_ResponsiblePlannerGroup'
afko.ResponsiblePlannerGroup,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_SalesOrderStdVH', element: 'SalesOrder' } } ]
@ObjectModel.foreignKey.association: '_SalesOrder'
aufk.SalesOrder,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_SalesOrderItemStdVH', element: 'SalesOrderItem' } } ]
@ObjectModel.foreignKey.association: '_SalesOrderItem'
aufk.SalesOrderItem,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'WBSElementInternalID_2'
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_WBSElmntByIntKeyStdVH', element: 'WBSElementInternalID' } } ]
@ObjectModel.foreignKey.association: '_WBSElement'
aufk.WBSElementInternalID,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_WBSElementBasicDataStdVH', element: 'WBSElementInternalID' } } ]
@ObjectModel.foreignKey.association: '_WBSElementBasicData2'
aufk.WBSElementInternalID_2, // w/o conversion exit
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'ProjectInternalID_2'
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProjectByInternalKeyStdVH', element: 'ProjectInternalID' } } ]
@ObjectModel.foreignKey.association: '_Project'
cast(afko.ProjectInternalID as ps_psp_pro preserving type) as ProjectInternalID, // with conversion exit
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProjectByInternalKeyStdVH', element: 'ProjectInternalID' } } ]
@ObjectModel.foreignKey.association: '_ProjectBasicData2'
afko.ProjectInternalID as ProjectInternalID_2, // w/o conversion exit
-- @ObjectModel.foreignKey.association: '_SuperiorProjectNetwork'
afko.SuperiorProjectNetwork,
@ObjectModel.foreignKey.association: '_Reservation'
afko.Reservation,
@ObjectModel.foreignKey.association: '_SettlementReservation'
afko.SettlementReservation,
@ObjectModel.foreignKey.association: '_ConfirmationGroup'
afko.MfgOrderConfirmation,
afko.MfgOrderConfirmationCount,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_CapacityRequirementStdVH', element: 'CapacityRequirement' } } ]
@ObjectModel.foreignKey.association: '_CapacityRequirement'
afko.CapacityRequirement,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_InspectionLotStdVH', element: 'InspectionLot' } } ]
@ObjectModel.foreignKey.association: '_InspectionLot'
afko.InspectionLot,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ChangeMasterStdVH', element: 'ChangeNumber' } } ]
@ObjectModel.foreignKey.association: '_ChangeNumber'
afko.ChangeNumber,
afko.ChangeNumber as EngineeringChangeOrder, // kept for compatibility
@ObjectModel.foreignKey.association: '_BasicSchedulingType'
afko.BasicSchedulingType,
@ObjectModel.foreignKey.association: '_ForecastSchedulingType'
afko.ForecastSchedulingType,
afko.ProdAvailyCheckPlanningType,
afko.SchedulingIsAllowingForBreaks,
aufk.ProjInterestCalcProfile,
afko.NtwkAccountAssignmentCode,
afko.NetworkProfile,
@ObjectModel.foreignKey.association: '_StatusObject'
aufk.ObjectInternalID,
afko.ProductConfiguration,
aufk.ConditionApplication,
aufk.ExternalOrder,
@ObjectModel.foreignKey.association: '_RequestOrderType'
afko.RequestOrderType,
afko.CapacityActiveVersion,
afko.CapacityRqmtHasNotToBeCreated,
afko.OrderSequenceNumber,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'MaterialRevisionLevel_2'
cast(afko.MaterialRevisionLevel as revlv preserving type) as MaterialRevisionLevel, // with conversion exit
afko.MaterialRevisionLevel as MaterialRevisionLevel_2, // w/o conversion exit
afko.MfgOrderSplitStatus,
// Fashion Manufacturing Fields
afko.MasterProductionOrder,
// Assignments FI/CO
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_BusinessAreaStdVH', element: 'BusinessArea' } } ]
@ObjectModel.foreignKey.association: '_BusinessArea'
aufk.BusinessArea,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_CompanyCodeStdVH', element: 'CompanyCode' } } ]
@ObjectModel.foreignKey.association: '_CompanyCode'
aufk.CompanyCode,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_CompanyCodeStdVH', element: 'CompanyCode' } } ]
aufk.RequestingCompanyCode,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ControllingAreaStdVH', element: 'ControllingArea' } } ]
@ObjectModel.foreignKey.association: '_ControllingArea'
aufk.ControllingArea,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProfitCenterStdVH', element: 'ProfitCenter' } } ]
@ObjectModel.foreignKey.association: '_ProfitCenter'
aufk.ProfitCenter,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_CostCenterStdVH', element: 'CostCenter' } } ]
@ObjectModel.foreignKey.association: '_CostCenter'
aufk.CostCenter,
aufk.RequestingCostCenter,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_CostCenterStdVH', element: 'CostCenter' } } ]
@ObjectModel.foreignKey.association: '_ResponsibleCostCenter'
aufk.ResponsibleCostCenter,
aufk.CostElement,
@ObjectModel.foreignKey.association: '_GLAccount'
aufk.GLAccount,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductCostCtrlgOrderStdVH', element: 'OrderID' } } ]
@ObjectModel.foreignKey.association: '_ProductCostCollector'
aufk.ProductCostCollector,
aufk.CostingSheet,
@ObjectModel.foreignKey.association: '_ControllingObjectClass'
aufk.ControllingObjectClass,
@ObjectModel.foreignKey.association: '_FunctionalArea'
aufk.FunctionalArea,
aufk.OverheadCode,
aufk.ResultAnalysisInternalID,
aufk.VarianceKey,
aufk.JointVenture,
aufk.JointVentureClass,
aufk.JointVentureSubClass,
aufk.JointVentureOriginalCostObject,
aufk.JointVentureObjectType,
aufk.TaxJurisdiction,
aufk.InvestmentReason,
aufk.EnvironmentalInvestmentReason,
afko.ActualCostsCostingVariant,
afko.PlannedCostsCostingVariant,
@ObjectModel.foreignKey.association: '_OrderProcessingGroup'
aufk.OrderProcessingGroup,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'EventBasedPostingMethod'
aufk.EventBasedPostingMethod as OrderIsEventBasedPosting,
aufk.EventBasedPostingMethod,
aufk.EventBasedProcessingKey,
aufk.OrderSettlementTriggerType,
// Assignments BOO
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_MaterialStdVH', element: 'Material' } } ]
afko.Material,
@ObjectModel.foreignKey.association: '_BillOfOperationsType'
afko.BillOfOperationsType,
@ObjectModel.foreignKey.association: '_BillOfOperationsGroup'
@VDM.lifecycle.status: #DEPRECATED // default data element change -> deprecated to avoid RTT2 error in ATC
@VDM.lifecycle.successor: 'BillOfOperationsGroup'
afko.BillOfOperationsGroup as BillOfOperations,
@ObjectModel.foreignKey.association: '_BillOfOperationsGroup2'
afko.BillOfOperationsGroup,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_BillOfOperationsStdVH', element: 'BillOfOperationsVariant' } } ]
@ObjectModel.foreignKey.association: '_BillOfOperations'
afko.BillOfOperationsVariant,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_BOOChgStateStdVH', element: 'BOOInternalVersionCounter' } } ]
@ObjectModel.foreignKey.association: '_BillOfOperationsChangeState'
afko.BOOInternalVersionCounter,
@ObjectModel.foreignKey.association: '_BillOfOperationsApplication'
afko.BillOfOperationsApplication,
@ObjectModel.foreignKey.association: '_BillOfOperationsUsage'
afko.BillOfOperationsUsage,
afko.BillOfOperationsVersion,
afko.BOOExplosionDate,
afko.BOOValidityStartDate,
// Assignments BOM
afko.BillOfMaterialCategory,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'BillOfMaterialInternalID'
cast(afko.BillOfMaterial as stnum preserving type) as BillOfMaterial, // with conv. exit NUMCV
afko.BillOfMaterial as BillOfMaterialInternalID, // with conv. exit ALPHA
afko.BillOfMaterialVariant,
afko.BillOfMaterialVariantUsage,
afko.BillOfMaterialVersion,
afko.BOMExplosionDate,
afko.BOMValidityStartDate,
// Floats
@ObjectModel.foreignKey.association: '_SchedulingFloatProfile'
afko.SchedulingFloatProfile,
afko.FloatBeforeProductionInWrkDays,
afko.FloatAfterProductionInWorkDays,
afko.ReleasePeriodInWorkDays,
// Dates and Times
afko.ChangeToScheduledDatesIsMade,
-- planned/basic dates
afko.PlannedStartDate,
afko.PlannedStartTime,
afko.PlannedEndDate,
afko.PlannedEndTime,
cast(case aufk.PlannedReleaseDate
when '' then afko.PlannedReleaseDate
else aufk.PlannedReleaseDate
end as fis_co_ftrmp preserving type) as PlannedReleaseDate,
-- scheduled dates
afko.ScheduledBasicStartDate,
afko.ScheduledBasicStartTime,
afko.ScheduledBasicEndDate,
afko.ScheduledBasicEndTime,
afko.ScheduledReleaseDate,
-- confirmed/actual dates
afko.ActualStartDate,
afko.ActualStartTime,
afko.ConfirmedEndDate,
afko.ConfirmedEndTime,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'ActualDeliveryDate'
afko.ActualEndDate, // wrong GFN, it's the delivery date
afko.ActualDeliveryDate,
afko.ActualReleasedDate,
-- forecast dates
afko.ScheduledForecastedStartDate,
afko.ScheduledForecastedStartTime,
afko.ScheduledForecastedEndDate,
afko.ScheduledForecastedEndTime,
afko.ScheduledFcstdReleaseDate,
afko.ForecastedStartDate,
afko.ForecastedStartTime,
afko.ForecastedEndDate,
afko.ForecastedEndTime,
-- other dates
afko.TotalCommitmentDate,
afko.LastScheduledDate,
aufk.PlannedCompletionDate,
aufk.TechnicalCompletionDate,
// Quantities and UoM
@ObjectModel.foreignKey.association: '_BaseUnit'
@Semantics.unitOfMeasure: true
afko.BaseUnit, // Order Unit
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
@Aggregation.default: #SUM
afko.OrderPlannedTotalQty,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
@Aggregation.default: #SUM
afko.OrderPlannedScrapQty,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
@Aggregation.default: #SUM
afko.OrderConfirmedYieldQty,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
@Aggregation.default: #SUM
afko.OrderConfirmedScrapQty,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
@Aggregation.default: #SUM
afko.MfgOrderConfirmedReworkQty,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
@Aggregation.default: #MIN
afko. MaterialFromLotSizeQuantity,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
@Aggregation.default: #MAX
afko.MaterialToLotSizeQuantity,
@ObjectModel.foreignKey.association: '_MaterialBaseUnit'
@Semantics.unitOfMeasure: true
afko.MaterialBaseUnit,
@Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
@Aggregation.default: #SUM
afko.PlannedTotalQtyInBaseUnit,
// Amount and Currency
@ObjectModel.foreignKey.association: '_Currency'
@Semantics.currencyCode: true
aufk.Currency,
@Aggregation.default: #SUM
@Semantics.amount.currencyCode: 'Currency'
aufk.EstimatedTotalOrderCost,
// Associations
_OrderCategory,
_OrderType,
_OrderTypeDetails,
_OrderItem,
_OrderMainItem,
_OrderSequence,
_OrderOperation,
_OrderComponent,
_OrderPriority,
_ReferenceOrder,
_LeadingOrder,
_SuperiorOrder,
_CreatedByUser,
_LastChangedByUser,
_CreatedByUserContactCard,
_LastChgdByUserContactCard,
_BaseUnit,
_MaterialBaseUnit,
_LongTextLanguage,
_Currency,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: '_OrderInternalID'
_OrdInternalBillOfOperations,
_OrderInternalID,
_BillOfOperationsType,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: '_BillOfOperationsGroup2'
_BillOfOperationsGroup,
_BillOfOperationsGroup2,
_BillOfOperations,
_BillOfOperationsChangeState,
_BillOfOperationsApplication,
_BillOfOperationsUsage,
_ConfirmationGroup,
_Reservation,
_SettlementReservation,
_Plant,
_WorkCenter,
_MainWorkCenterPlant,
_LocationPlant,
_MaintenanceObjectLocation,
_ChangeNumber,
_CapacityRequirement,
_SalesOrder,
_SalesOrderItem,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: '_WBSElementBasicData2'
_WBSElement,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: '_WBSElementBasicData2'
_WBSElementBasicData,
_WBSElementBasicData2,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: '_ProjectBasicData2'
_Project,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: '_ProjectBasicData2'
_ProjectBasicData,
_ProjectBasicData2,
_SuperiorProjectNetwork,
_ProductionSupervisor,
_ProductionSchedulingProfile,
_ResponsiblePlannerGroup,
_MRPController,
_InspectionLot,
_StatusObject,
_StatusObjectStatus,
_BusinessArea,
_ProfitCenter,
_CostCenter,
_ResponsibleCostCenter,
_GLAccount,
_ProductCostCollector,
_ControllingArea,
_ControllingObjectClass,
_CompanyCode,
_FunctionalArea,
_OrderProcessingGroup,
_BasicSchedulingType,
_ForecastSchedulingType,
_SchedulingFloatProfile,
_RequestOrderType,
_LongText,
_RFM_MasterProductOrder
}
where aufk.OrderCategory = '10'
or aufk.OrderCategory = '20'
or aufk.OrderCategory = '30'
or aufk.OrderCategory = '40';