I_LogisticsOrderBasic

DDL: I_LOGISTICSORDERBASIC Type: view_entity BASIC Package: VDM_PP_SFC

Logistics Order Basic

I_LogisticsOrderBasic is a Basic CDS View (Dimension) that provides data about "Logistics Order Basic" in SAP S/4HANA. It reads from 1 data source (afko) and exposes 112 fields with key field OrderID. It has 21 associations to related views. Part of development package VDM_PP_SFC.

Data Sources (1)

SourceAliasJoin Type
afko afko from

Associations (21)

CardinalityTargetAliasCondition
[1..1] I_OrderInternalID _OrderInternalID $projection.OrderInternalID = _OrderInternalID.OrderInternalID
[1..1] I_Order _Order $projection.OrderID = _Order.OrderID
[0..1] I_LogisticsOrderPriority _OrderPriority $projection.PriorityCode = _OrderPriority.PriorityCode
[0..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _MaterialBaseUnit $projection.MaterialBaseUnit = _MaterialBaseUnit.UnitOfMeasure
[0..1] I_ReservationDocumentHeader _Reservation $projection.Reservation = _Reservation.Reservation
[0..1] I_ReservationDocumentHeader _SettlementReservation $projection.SettlementReservation = _SettlementReservation.Reservation
[0..1] I_ProjectNetwork _SuperiorProjectNetwork $projection.SuperiorProjectNetwork = _SuperiorProjectNetwork.ProjectNetwork
[0..1] I_ProjectBasicData _Project $projection.ProjectInternalID = _Project.ProjectInternalID
[0..1] I_CapacityRequirement _CapacityRequirement $projection.CapacityRequirement = _CapacityRequirement.CapacityRequirement
[0..1] I_ConfirmationGroup _ConfirmationGroup $projection.MfgOrderConfirmation = _ConfirmationGroup.ConfirmationGroup
[0..1] I_ChangeMaster _ChangeNumber $projection.ChangeNumber = _ChangeNumber.ChangeNumber
[0..1] I_BillOfOperationsType _BillOfOperationsType $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
[0..1] I_BillOfOperationsGroup _BillOfOperationsGroup $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup
[0..1] I_BillOfOperations _BillOfOperations $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperations.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperations.BillOfOperationsVariant
[0..1] I_BillOfOperationsChangeState _BillOfOperationsChangeState $projection.BillOfOperationsType = _BillOfOperationsChangeState.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsChangeState.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsChangeState.BillOfOperationsVariant and $projection.BOOInternalVersionCounter = _BillOfOperationsChangeState.BOOInternalVersionCounter
[0..1] I_BillOfOperationsUsage _BillOfOperationsUsage $projection.BillOfOperationsUsage = _BillOfOperationsUsage.BillOfOperationsUsage
[0..1] I_InspectionLot _InspectionLot $projection.InspectionLot = _InspectionLot.InspectionLot
[0..1] I_SchedulingType _BasicSchedulingType $projection.BasicSchedulingType = _BasicSchedulingType.SchedulingType
[0..1] I_SchedulingType _ForecastSchedulingType $projection.ForecastSchedulingType = _ForecastSchedulingType.SchedulingType
[0..1] I_RequestOrderType _RequestOrderType $projection.RequestOrderType = _RequestOrderType.RequestOrderType

Annotations (17)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName ILOGSORDBASIC view
Analytics.internalName #LOCAL view
Consumption.ranked true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey OrderID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Logistics Order Basic view

Fields (112)

KeyFieldSource TableSource FieldDescription
KEY OrderID afko aufnr
OrderInternalID
PriorityCode afko aprio
MfgOrderIsPartOfCollvOrder afko prodnet
OrderIsNotCostedAutomatically
OrdIsNotSchedldAutomatically
MfgOrderHierarchyLevel afko stufe
OrderHierarchyLevelValue afko stufe
OrderHierarchyPathValue afko wegxx
ProdnProcgIsFlexible afko flexible_processing
MfgOrderSuperiorMfgOrder afko maufnr
LeadingOrder afko lead_aufnr
sfcpfasProductionSchedulingProfile
plgrpasResponsiblePlannerGroup
ProjectInternalID
aufntasSuperiorProjectNetwork
Reservation afko rsnum
SettlementReservation afko arsnr
MfgOrderConfirmation afko rueck
MfgOrderConfirmationCount afko rmzhl
CapacityRequirement afko bedid
InspectionLot afko prueflos
ChangeNumber afko aennr
BasicSchedulingType
SchedulingIsAllowingForBreaks afko breaks
ProdAvailyCheckPlanningType afko plart
NtwkAccountAssignmentCode afko netzkont
NetworkProfile afko profid
ProductConfiguration afko cuobj
MaterialRevisionLevel
CapacityActiveVersion afko kapversa
CapacityRqmtHasNotToBeCreated afko kbed
OrderSequenceNumber afko cy_seqnr
MfgOrderSplitStatus afko splstat
RequestOrderType
ActualCostsCostingVariant afko klvari
PlannedCostsCostingVariant afko klvarp
Material
BillOfOperationsType
BillOfOperationsGroup
BillOfOperationsVariant
BOOInternalVersionCounter afko zaehl
BillOfOperationsUsage
BillOfOperationsApplication
BillOfOperationsVersion afko tl_versn
BOOExplosionDate afko plauf
BOOValidityStartDate afko pdatv
plnnrasBillOfOperations
BillOfMaterialCategory
BillOfMaterial
BillOfMaterialVariant afko stlal
BillOfMaterialVariantUsage afko stlan
BillOfMaterialVersion afko bom_versn
BillOfMaterialStatus afko stlst
BOMExplosionDate afko aufld
BOMValidityStartDate afko sdatv
MasterProductionOrder afko fsh_mprod_ord
SchedulingFloatProfile
FloatBeforeProductionInWrkDays
FloatAfterProductionInWorkDays
ReleasePeriodInWorkDays afko freiz
ChangeToScheduledDatesIsMade
gstrpasPlannedStartDate
PlannedStartTime afko gsuzp
PlannedEndDate afko gltrp
PlannedEndTime afko gluzp
PlannedReleaseDate
gstrsasScheduledBasicStartDate
ScheduledBasicStartTime afko gsuzs
ScheduledBasicEndDate
ScheduledBasicEndTime afko gluzs
ScheduledReleaseDate
ActualStartTime afko gsuzi
ConfirmedEndDate afko getri
ConfirmedEndTime afko geuzi
ActualEndDate afko gltri
ActualDeliveryDate
ActualReleasedDate
ScheduledFcstdReleaseDate afko ftrps
gsbtrasTotalCommitmentDate
LastScheduledDate afko trmdt
BaseUnit afko gmein
OrderPlannedTotalQty afko gamng
OrderPlannedScrapQty afko gasmg
OrderConfirmedYieldQty afko igmng
OrderConfirmedScrapQty afko iasmg
MfgOrderConfirmedReworkQty afko rmnga
TotalConfirmedQuantity
MaterialFromLotSizeQuantity afko slsvn
MaterialToLotSizeQuantity afko slsbs
MaterialBaseUnit afko bmeins
PlannedTotalQtyInBaseUnit afko bmenge
_BaseUnit _BaseUnit
_MaterialBaseUnit _MaterialBaseUnit
_Order _Order
_OrderInternalID _OrderInternalID
_OrderPriority _OrderPriority
_BillOfOperationsType _BillOfOperationsType
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperations _BillOfOperations
_BillOfOperationsChangeState _BillOfOperationsChangeState
_BillOfOperationsUsage _BillOfOperationsUsage
_Reservation _Reservation
_SettlementReservation _SettlementReservation
_ChangeNumber _ChangeNumber
_CapacityRequirement _CapacityRequirement
_ConfirmationGroup _ConfirmationGroup
_SuperiorProjectNetwork _SuperiorProjectNetwork
_Project _Project
_InspectionLot _InspectionLot
_BasicSchedulingType _BasicSchedulingType
_RequestOrderType _RequestOrderType
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.technicalName: 'ILOGSORDBASIC'
@Analytics.internalName: #LOCAL
@Consumption.ranked: true
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #NONE
@ObjectModel.supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'OrderID'
@ObjectModel.semanticKey: ['OrderID']
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Logistics Order Basic'
// Basic view for order header table AFKO only (mainly logistics/work orders)

// Due to the high number of consumers, this CDS view is protected against incompatible changes


define view entity I_LogisticsOrderBasic
  as select from afko as afko

  association [1..1] to I_OrderInternalID             as _OrderInternalID             on  $projection.OrderInternalID = _OrderInternalID.OrderInternalID
  association [1..1] to I_Order                       as _Order                       on  $projection.OrderID = _Order.OrderID
  association [0..1] to I_LogisticsOrderPriority      as _OrderPriority               on  $projection.PriorityCode = _OrderPriority.PriorityCode
  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_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_ProjectNetwork              as _SuperiorProjectNetwork      on  $projection.SuperiorProjectNetwork = _SuperiorProjectNetwork.ProjectNetwork
  association [0..1] to I_ProjectBasicData            as _Project                     on  $projection.ProjectInternalID = _Project.ProjectInternalID
  association [0..1] to I_CapacityRequirement         as _CapacityRequirement         on  $projection.CapacityRequirement = _CapacityRequirement.CapacityRequirement
  association [0..1] to I_ConfirmationGroup           as _ConfirmationGroup           on  $projection.MfgOrderConfirmation = _ConfirmationGroup.ConfirmationGroup
  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.BillOfOperationsGroup = _BillOfOperationsGroup.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_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_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_RequestOrderType            as _RequestOrderType            on  $projection.RequestOrderType = _RequestOrderType.RequestOrderType

{
      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}  
  key afko.aufnr                                                     as OrderID,

      // Internal Key

      @ObjectModel.foreignKey.association: '_OrderInternalID'
      cast(afko.aufpl as pph_aufpl preserving type)                  as OrderInternalID,

      // Attributes

      @ObjectModel.foreignKey.association: '_OrderPriority'
      afko.aprio                                                     as PriorityCode,
      @Semantics.booleanIndicator 
      afko.prodnet                                                   as MfgOrderIsPartOfCollvOrder,
      @Semantics.booleanIndicator 
      cast(afko.naucost as vdm_naucost preserving type)              as OrderIsNotCostedAutomatically,
      @Semantics.booleanIndicator 
      cast(afko.nauterm as vdm_nauterm preserving type)              as OrdIsNotSchedldAutomatically,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: 'OrderHierarchyLevelValue'
      afko.stufe                                                     as MfgOrderHierarchyLevel,
      afko.stufe                                                     as OrderHierarchyLevelValue,
      afko.wegxx                                                     as OrderHierarchyPathValue,
      afko.flexible_processing                                       as ProdnProcgIsFlexible,

      // Assignments

      afko.maufnr                                                    as MfgOrderSuperiorMfgOrder,
      afko.lead_aufnr                                                as LeadingOrder,
--    @ObjectModel.foreignKey.association: '_MRPController'
      cast(afko.dispo as pph_dispo preserving type)                  as MRPController,
--    @ObjectModel.foreignKey.association: '_ProductionSupervisor'
      cast(afko.fevor as pph_fevor preserving type)                  as ProductionSupervisor,
--    @ObjectModel.foreignKey.association: '_ProductionSchedulingProfile'
      afko.sfcpf                                                     as ProductionSchedulingProfile,
--    @ObjectModel.foreignKey.association: '_ResponsiblePlannerGroup'
      afko.plgrp                                                     as ResponsiblePlannerGroup,
      @ObjectModel.foreignKey.association: '_Project'
      cast(afko.pronr as ps_s4_proj_pspnr preserving type)           as ProjectInternalID,   // w/o conversion exit  

--    @ObjectModel.foreignKey.association: '_SuperiorProjectNetwork'
      afko.aufnt                                                     as SuperiorProjectNetwork,
      @ObjectModel.foreignKey.association: '_Reservation'
      afko.rsnum                                                     as Reservation,
      @ObjectModel.foreignKey.association: '_SettlementReservation'    
      afko.arsnr                                                     as SettlementReservation,
      @ObjectModel.foreignKey.association: '_ConfirmationGroup'
      afko.rueck                                                     as MfgOrderConfirmation,
      afko.rmzhl                                                     as MfgOrderConfirmationCount,
      @ObjectModel.foreignKey.association: '_CapacityRequirement'
      afko.bedid                                                     as CapacityRequirement,
      @ObjectModel.foreignKey.association: '_InspectionLot'
      afko.prueflos                                                  as InspectionLot,
      @ObjectModel.foreignKey.association: '_ChangeNumber'
      afko.aennr                                                     as ChangeNumber,
      @ObjectModel.foreignKey.association: '_BasicSchedulingType'
      cast(afko.terkz as pph_termkz preserving type)                 as BasicSchedulingType,
      @ObjectModel.foreignKey.association: '_ForecastSchedulingType'
      afko.trkzp                                                     as ForecastSchedulingType,
      afko.breaks                                                    as SchedulingIsAllowingForBreaks,
      afko.plart                                                     as ProdAvailyCheckPlanningType,
      afko.netzkont                                                  as NtwkAccountAssignmentCode,
      afko.profid                                                    as NetworkProfile,
      afko.cuobj                                                     as ProductConfiguration,
      cast(afko.revlv as vdm_qm_revlv preserving type)               as MaterialRevisionLevel,
      afko.kapversa                                                  as CapacityActiveVersion,
      afko.kbed                                                      as CapacityRqmtHasNotToBeCreated,
      afko.cy_seqnr                                                  as OrderSequenceNumber,
      afko.splstat                                                   as MfgOrderSplitStatus,
      @ObjectModel.foreignKey.association: '_RequestOrderType'
      cast(afko.atrkz as vdm_atrkz preserving type)                  as RequestOrderType,

      // Assignments FI/CO

      afko.klvari                                                    as ActualCostsCostingVariant,
      afko.klvarp                                                    as PlannedCostsCostingVariant,

      // Assignments BOO

      cast(afko.plnbez as billofoperationsmaterial  preserving type) as Material,
      @ObjectModel.foreignKey.association: '_BillOfOperationsType'
      cast(afko.plnty as billofoperationstype       preserving type) as BillOfOperationsType,
      @ObjectModel.foreignKey.association: '_BillOfOperationsGroup'
      cast(afko.plnnr as billofoperationsgroup      preserving type) as BillOfOperationsGroup,
      @ObjectModel.foreignKey.association: '_BillOfOperations'
      cast(afko.plnal as billofoperationsvariant    preserving type) as BillOfOperationsVariant,
      @ObjectModel.foreignKey.association: '_BillOfOperationsChangeState'
      afko.zaehl                                                     as BOOInternalVersionCounter,
      @ObjectModel.foreignKey.association: '_BillOfOperationsUsage'
      cast(afko.pverw as billofoperationsusage      preserving type) as BillOfOperationsUsage,
      cast(afko.plnaw as billofoperationsapplication preserving type) as BillOfOperationsApplication,
      afko.tl_versn                                                  as BillOfOperationsVersion,
      afko.plauf                                                     as BOOExplosionDate,
      afko.pdatv                                                     as BOOValidityStartDate,
      -- kept for compatibility reasons
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: 'BillOfOperationsGroup'
      afko.plnnr                                                     as BillOfOperations,

      // Assignments BOM

      cast(afko.stlty as pph_stlty preserving type)                  as BillOfMaterialCategory,
      cast(afko.stlnr as pph_stnum preserving type)                  as BillOfMaterial,     // with conv. exit ALPHA 

      afko.stlal                                                     as BillOfMaterialVariant,
      afko.stlan                                                     as BillOfMaterialVariantUsage,
      afko.bom_versn                                                 as BillOfMaterialVersion,
      afko.stlst                                                     as BillOfMaterialStatus,
      afko.aufld                                                     as BOMExplosionDate,
      afko.sdatv                                                     as BOMValidityStartDate,

      // Fashion Manufacturing Fields

      afko.fsh_mprod_ord                                             as MasterProductionOrder,

      // Floats

      cast(afko.fhori as vdm_fhori preserving type)                  as SchedulingFloatProfile,
      cast(afko.vorgz as vdm_vorgz preserving type)                  as FloatBeforeProductionInWrkDays,
      cast(afko.sichz as vdm_sichz preserving type)                  as FloatAfterProductionInWorkDays,
      afko.freiz                                                     as ReleasePeriodInWorkDays,

      // Dates and Times

      cast(afko.upter as vdm_upter preserving type)                  as ChangeToScheduledDatesIsMade,
      -- planned/basic dates
      afko.gstrp                                                     as PlannedStartDate,
      afko.gsuzp                                                     as PlannedStartTime,
      afko.gltrp                                                     as PlannedEndDate,
      afko.gluzp                                                     as PlannedEndTime,
      cast(afko.ftrmp as fis_co_ftrmp preserving type)               as PlannedReleaseDate,
      -- scheduled dates
      afko.gstrs                                                     as ScheduledBasicStartDate,
      afko.gsuzs                                                     as ScheduledBasicStartTime,
      cast(afko.gltrs as fis_co_gltrs preserving type)               as ScheduledBasicEndDate,
      afko.gluzs                                                     as ScheduledBasicEndTime,
      cast(afko.ftrms as fis_co_ftrms preserving type)               as ScheduledReleaseDate,
      -- confirmed/actual dates
      cast(afko.gstri as fis_co_gstri preserving type)               as ActualStartDate,
      afko.gsuzi                                                     as ActualStartTime,
      afko.getri                                                     as ConfirmedEndDate,
      afko.geuzi                                                     as ConfirmedEndTime,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: 'ActualDeliveryDate'      
      afko.gltri                                                     as ActualEndDate,   // wrong GFN, it's the delivery date

      cast(afko.gltri as co_ltrmi preserving type)                   as ActualDeliveryDate,
      cast(afko.ftrmi as fis_co_ftrmi preserving type)               as ActualReleasedDate,
      -- forecast dates
      afko.gstps                                                     as ScheduledForecastedStartDate,
      afko.gsups                                                     as ScheduledForecastedStartTime,
      afko.gltps                                                     as ScheduledForecastedEndDate,
      afko.glups                                                     as ScheduledForecastedEndTime,
      afko.ftrps                                                     as ScheduledFcstdReleaseDate,
      afko.gstpp                                                     as ForecastedStartDate,
      afko.gsupp                                                     as ForecastedStartTime,
      afko.gltpp                                                     as ForecastedEndDate,
      afko.glupp                                                     as ForecastedEndTime,
      -- other dates
      afko.gsbtr                                                     as TotalCommitmentDate,
      afko.trmdt                                                     as LastScheduledDate,

      // Quantities and UoM

      @ObjectModel.foreignKey.association: '_BaseUnit'
      afko.gmein                                                     as BaseUnit,
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      @Aggregation.default: #SUM
      afko.gamng                                                     as OrderPlannedTotalQty,
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      @Aggregation.default: #SUM
      afko.gasmg                                                     as OrderPlannedScrapQty,
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      @Aggregation.default: #SUM
      afko.igmng                                                     as OrderConfirmedYieldQty,
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      @Aggregation.default: #SUM
      afko.iasmg                                                     as OrderConfirmedScrapQty,
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      @Aggregation.default: #SUM
      afko.rmnga                                                     as MfgOrderConfirmedReworkQty,
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      @Aggregation.default: #SUM
      (igmng + iasmg + rmnga)                                        as TotalConfirmedQuantity,
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      @Aggregation.default: #MIN
      afko.slsvn                                                     as MaterialFromLotSizeQuantity,
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      @Aggregation.default: #MAX
      afko.slsbs                                                     as MaterialToLotSizeQuantity,

      @ObjectModel.foreignKey.association: '_MaterialBaseUnit'
      afko.bmeins                                                    as MaterialBaseUnit,
      @Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
      @Aggregation.default: #SUM
      afko.bmenge                                                    as PlannedTotalQtyInBaseUnit,

      // Associations

      _BaseUnit,
      _MaterialBaseUnit,
      _Order,                // required for DCLS

      _OrderInternalID,
      _OrderPriority,
      _BillOfOperationsType,
      _BillOfOperationsGroup,
      _BillOfOperations,
      _BillOfOperationsChangeState,
      _BillOfOperationsUsage,
      _Reservation,
      _SettlementReservation,
      _ChangeNumber,
      _CapacityRequirement,
      _ConfirmationGroup,
      _SuperiorProjectNetwork,
      _Project,
      _InspectionLot,
      _BasicSchedulingType,
      _ForecastSchedulingType,
      _RequestOrderType
};