P_EWM_ODONoParam_2

DDL: P_EWM_ODONOPARAM_2 SQL: PEWMODONP2 Type: view COMPOSITE

P_EWM_ODONoParam_2 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_EWM_OutbDelivOrdItemBasic) and exposes 72 fields with key fields EWMWarehouse, EWMOutboundDeliveryOrder, EWMOutboundDeliveryOrderItem. It has 24 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_EWM_OutbDelivOrdItemBasic odo_item from

Associations (24)

CardinalityTargetAliasCondition
[1] I_EWM_OutbDelivOrdHdrWithBP _OutboundDeliveryOrderHeader $projection.OutboundDeliveryOrderUUID = _OutboundDeliveryOrderHeader.OutboundDeliveryOrderUUID
[0..1] I_EWM_OutboundDeliveryItem _OutboundDeliveryItem $projection.OutboundDeliveryOrderUUID = _OutboundDeliveryItem.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _OutboundDeliveryItem.OutboundDeliveryOrderItemUUID
[0..1] I_EWM_DeliveryItemWave_2 _DeliveryItemWave $projection.OutboundDeliveryOrderUUID = _DeliveryItemWave.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _DeliveryItemWave.OutboundDeliveryOrderItemUUID
[0..1] I_EWM_SplitItemWaveAssgmt _SplitWaveAssign $projection.OutboundDeliveryOrderUUID = _SplitWaveAssign.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _SplitWaveAssign.OutboundDeliveryOrderItemUUID
[0..1] I_EWM_DelivPartnerLocation _ShippingOffice $projection.OutboundDeliveryOrderUUID = _ShippingOffice.OutboundDeliveryOrderUUID
[0..1] I_EWM_DelivWrhsLocation _WarehouseLocation $projection.OutboundDeliveryOrderUUID = _WarehouseLocation.OutboundDeliveryOrderUUID --Using one status table
[0..1] I_EWM_OutbDelivOrdSts _PickingStatus $projection.OutboundDeliveryOrderUUID = _PickingStatus.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _PickingStatus.OutboundDeliveryOrderItemUUID and _PickingStatus.DeliveryStatusType = 'DPI'
[0..1] I_EWM_OutbDelivOrdSts _BlockStatus $projection.OutboundDeliveryOrderUUID = _BlockStatus.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _BlockStatus.OutboundDeliveryOrderItemUUID and _BlockStatus.DeliveryStatusType = 'DBO'
[0..1] I_EWM_OutbDelivOrdSts _TransPlanBlock $projection.OutboundDeliveryOrderUUID = _TransPlanBlock.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _TransPlanBlock.OutboundDeliveryOrderItemUUID and _TransPlanBlock.DeliveryStatusType = 'DBT'
[0..1] I_EWM_OutbDelivOrdSts _ItemInconsistencyBlkStatus $projection.OutboundDeliveryOrderUUID = _ItemInconsistencyBlkStatus.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _ItemInconsistencyBlkStatus.OutboundDeliveryOrderItemUUID and _ItemInconsistencyBlkStatus.DeliveryStatusType = 'DBD'
[0..1] I_EWM_OutbDelivOrdSts _GoodsMovementBlockStatus $projection.OutboundDeliveryOrderUUID = _GoodsMovementBlockStatus.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _GoodsMovementBlockStatus.OutboundDeliveryOrderItemUUID and _GoodsMovementBlockStatus.DeliveryStatusType = 'DWG'
[0..1] I_EWM_OutbDelivOrdSts _UncheckedItemBlockStatus $projection.OutboundDeliveryOrderUUID = _UncheckedItemBlockStatus.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _UncheckedItemBlockStatus.OutboundDeliveryOrderItemUUID and _UncheckedItemBlockStatus.DeliveryStatusType = 'DBP'
[0..1] I_EWM_OutbDelivOrdSts _DeliveryCreationStatus $projection.OutboundDeliveryOrderUUID = _DeliveryCreationStatus.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _DeliveryCreationStatus.OutboundDeliveryOrderItemUUID and _DeliveryCreationStatus.DeliveryStatusType = 'DDC'
[0..1] I_EWM_OutbDelivOrdSts _TransitProcedStatus $projection.OutboundDeliveryOrderUUID = _TransitProcedStatus.OutboundDeliveryOrderUUID and _TransitProcedStatus.DeliveryStatusType = 'DWN'
[0..1] I_EWM_OutbDelivOrdSts _DeliveryLoadingStatus $projection.OutboundDeliveryOrderUUID = _DeliveryLoadingStatus.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _DeliveryLoadingStatus.OutboundDeliveryOrderItemUUID and _DeliveryLoadingStatus.DeliveryStatusType = 'DLO'
[0..1] I_EWM_OutbDelivOrdSts _PickingAndDistributionStatus $projection.OutboundDeliveryOrderUUID = _PickingAndDistributionStatus.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _PickingAndDistributionStatus.OutboundDeliveryOrderItemUUID and _PickingAndDistributionStatus.DeliveryStatusType = 'DPD'
[0..1] I_EWM_OutbDelivOrdSts _WarehouseActivityStatus $projection.OutboundDeliveryOrderUUID = _WarehouseActivityStatus.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _WarehouseActivityStatus.OutboundDeliveryOrderItemUUID and _WarehouseActivityStatus.DeliveryStatusType = 'DWA'
[0..1] I_EWM_OutbDelivOrdSts _GlobalTradeServiceStatus $projection.OutboundDeliveryOrderUUID = _GlobalTradeServiceStatus.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _GlobalTradeServiceStatus.OutboundDeliveryOrderItemUUID and _GlobalTradeServiceStatus.DeliveryStatusType = 'DGT'
[0..1] I_EWM_OutbDelivOrdSts _TransportationUnitAssgmtSts $projection.OutboundDeliveryOrderUUID = _TransportationUnitAssgmtSts.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _TransportationUnitAssgmtSts.OutboundDeliveryOrderItemUUID and _TransportationUnitAssgmtSts.DeliveryStatusType = 'DTU'
[0..1] I_EWM_OutbDelivOrdSts _ValuationQtyAssgmtStatusName $projection.OutboundDeliveryOrderUUID = _ValuationQtyAssgmtStatusName.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _ValuationQtyAssgmtStatusName.OutboundDeliveryOrderItemUUID and _ValuationQtyAssgmtStatusName.DeliveryStatusType = 'DVQ'
[0..1] I_EWM_OutbDelivOrdSts _ValueAddedServiceOrderStatus $projection.OutboundDeliveryOrderUUID = _ValueAddedServiceOrderStatus.OutboundDeliveryOrderUUID and $projection.OutboundDeliveryOrderItemUUID = _ValueAddedServiceOrderStatus.OutboundDeliveryOrderItemUUID and _ValueAddedServiceOrderStatus.DeliveryStatusType = 'DWV'
[0..1] I_EWM_MnsOfTranspType_2 _MeansOfTransportType $projection.EWMMeansOfTransportType = _MeansOfTransportType.EWMMeansOfTransportType
[0..1] I_EWM_WarehouseControl_2 _whseControl $projection.EWMWarehouse = _whseControl.EWMWarehouse
[0..1] P_EWM_ProcessCodeDelivQtyChg _QuantityAdjustment $projection.OutboundDeliveryOrderUUID = _QuantityAdjustment.DeliveryUUID and $projection.OutboundDeliveryOrderItemUUID = _QuantityAdjustment.DeliveryItemUUID and _QuantityAdjustment.DeliveryDocumentCategory = 'PDO'

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PEWMODONP2 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (72)

KeyFieldSource TableSource FieldDescription
KEY EWMWarehouse EWMWarehouse Warehouse No.
KEY EWMOutboundDeliveryOrder EWMOutboundDeliveryOrder Document Number
KEY EWMOutboundDeliveryOrderItem EWMOutboundDeliveryOrderItem Item Number
OutboundDeliveryOrderUUID OutboundDeliveryOrderUUID Document ID
OutboundDeliveryOrderItemUUID OutboundDeliveryOrderItemUUID Item ID
EWMDeliveryDocumentCategory EWMDeliveryDocumentCategory Doc. Category
EWMOutbDelivOrderItemCategory EWMOutbDelivOrderItemCategory Item Category
EWMOutbDeliveryOrderItemType EWMOutbDeliveryOrderItemType Item Type
Product Product Product Sold
Batch Batch Lot No.
RequirementSegment RequirementSegment Req. Segment
StockSegment StockSegment Stock Segment
WarehouseDoor WarehouseDoor Warehouse Door
StagingArea StagingArea Stag. Area
StagingAreaGroup StagingAreaGroup Stg. Area Group
GoodsIssueStatus GoodsIssueStatus Status Value
CompletionStatus CompletionStatus Status Value
EntitledToDisposeParty EntitledToDisposeParty Disposal Party
WarehouseProcessType WarehouseProcessType Whse Proc. Type
ShippingCondition ShippingCondition Shipping Conditions
PlannedPickingStatus PlannedPickingStatus Status Value
ProductQuantity ProductQuantity Quantity
QuantityUnit QuantityUnit Unit of measure
WrhsTimeZonePlannedGIDate WrhsTimeZonePlannedGIDate
WrhsTimeZonePlannedGITime WrhsTimeZonePlannedGITime
WrhsTmznPlndGIStrtDateTime WrhsTmznPlndGIStrtDateTime
PlndGoodsIssueStartUTCDateTime PlndGoodsIssueStartUTCDateTime Time Stamp
ActlGoodsIssueStartUTCDateTime ActlGoodsIssueStartUTCDateTime Time Stamp
WrhsTmznActlGIStrtDateTime WrhsTmznActlGIStrtDateTime
EWMWhseTmznActlGIEndDateTime EWMWhseTmznActlGIEndDateTime
WrhsTimeZoneActualGIDate WrhsTimeZoneActualGIDate
WrhsTimeZoneActualGITime WrhsTimeZoneActualGITime
WrhsTimeZonePlndGImins
WrhsTimeZoneActualGImins
EWMOutboundDeliveryOrderType _OutboundDeliveryOrderHeader DeliveryType intern./extern.
WrhsTmznCreationDateTime _OutboundDeliveryOrderHeader WrhsTmznCreationDateTime
WrhsTmZnCreationDate _OutboundDeliveryOrderHeader WrhsTmZnCreationDate
WrhsTmznCreationTime _OutboundDeliveryOrderHeader WrhsTmznCreationTime
ShipToParty
ShipToPartyName _OutboundDeliveryOrderHeader ShipToPartyName Ship-To Party Name
Carrier
CarrierName _OutboundDeliveryOrderHeader CarrierName Carrier Name
TimeZoneID
EWMWarehouseCurrentDate _OutboundDeliveryOrderHeader EWMWarehouseCurrentDate
Wave _DeliveryItemWave Wave Wave
ODOItmWaveAssgmtIsNotUnique _DeliveryItemWave ODOItmWaveAssgmtIsNotUnique
EWMOutboundDelivery _OutboundDeliveryItem EWMOutboundDelivery
EWMOutboundDeliveryItem _OutboundDeliveryItem EWMOutboundDeliveryItem
EWMRouteendasEWMRoute
RouteScheduleendasRouteSchedule
PickingStatus _PickingStatus EWMOutboundDeliveryOrderStatus
OverallBlockStatus _BlockStatus EWMOutboundDeliveryOrderStatus
TranspPlanBlockStatus _TransPlanBlock EWMOutboundDeliveryOrderStatus
ItemInconsistencyBlkStatus _ItemInconsistencyBlkStatus EWMOutboundDeliveryOrderStatus
GoodsMovementBlockStatus _GoodsMovementBlockStatus EWMOutboundDeliveryOrderStatus
UncheckedItemBlockStatus _UncheckedItemBlockStatus EWMOutboundDeliveryOrderStatus
DeliveryCreationStatus _DeliveryCreationStatus EWMOutboundDeliveryOrderStatus
TransitProcedureStatus _TransitProcedStatus EWMOutboundDeliveryOrderStatus
LoadingStatus _DeliveryLoadingStatus EWMOutboundDeliveryOrderStatus
PickingAndDistributionStatus _PickingAndDistributionStatus EWMOutboundDeliveryOrderStatus
WarehouseActivityStatus _WarehouseActivityStatus EWMOutboundDeliveryOrderStatus
GlobalTradeServicesCheckStatus _GlobalTradeServiceStatus EWMOutboundDeliveryOrderStatus
TransportationUnitAssgmtStatus _TransportationUnitAssgmtSts EWMOutboundDeliveryOrderStatus
ValuationQtyAssignmentStatus _ValuationQtyAssgmtStatusName EWMOutboundDeliveryOrderStatus
ValueAddedServiceOrderStatus _ValueAddedServiceOrderStatus EWMOutboundDeliveryOrderStatus
int4asGoodsIssueDelayInSeconds
EWMDeliveryAdjustmentQuantity _QuantityAdjustment EWMDeliveryAdjustmentQuantity
_MeansOfTransportType _MeansOfTransportType
_ShippingOffice _ShippingOffice
_WarehouseLocation _WarehouseLocation
_OutboundDeliveryOrderHeader _OutboundDeliveryOrderHeader
_whseControl _whseControl

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 P_EWM_ODONoParam_2.
-- 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: PEWMODONP2

CREATE VIEW P_EWM_ODONoParam_2 AS
SELECT
  EWMWarehouse,
  EWMOutboundDeliveryOrder,
  EWMOutboundDeliveryOrderItem,
  OutboundDeliveryOrderUUID,
  OutboundDeliveryOrderItemUUID,
  EWMDeliveryDocumentCategory,
  EWMOutbDelivOrderItemCategory,
  EWMOutbDeliveryOrderItemType,
  Product,
  Batch,
  RequirementSegment,
  StockSegment,
  WarehouseDoor,
  StagingArea,
  StagingAreaGroup,
  GoodsIssueStatus,
  CompletionStatus,
  EntitledToDisposeParty,
  WarehouseProcessType,
  ShippingCondition,
  PlannedPickingStatus,
  ProductQuantity,
  QuantityUnit,
  WrhsTimeZonePlannedGIDate,
  WrhsTimeZonePlannedGITime,
  WrhsTmznPlndGIStrtDateTime,
  PlndGoodsIssueStartUTCDateTime,
  ActlGoodsIssueStartUTCDateTime,
  WrhsTmznActlGIStrtDateTime,
  EWMWhseTmznActlGIEndDateTime,
  WrhsTimeZoneActualGIDate,
  WrhsTimeZoneActualGITime,
  cast(substring(cast(WrhsTmznPlndGIStrtDateTime as abap.char( 17 )), 11, 2) as abap.numc( 2 ) ) AS WrhsTimeZonePlndGImins,
  cast(substring(cast(WrhsTmznActlGIStrtDateTime as abap.char( 17 )), 11, 2) as abap.numc( 2 ) ) AS WrhsTimeZoneActualGImins,
  _OutboundDeliveryOrderHeader.DeliveryType AS EWMOutboundDeliveryOrderType,
  _OutboundDeliveryOrderHeader.WrhsTmznCreationDateTime AS WrhsTmznCreationDateTime,
  _OutboundDeliveryOrderHeader.WrhsTmZnCreationDate AS WrhsTmZnCreationDate,
  _OutboundDeliveryOrderHeader.WrhsTmznCreationTime AS WrhsTmznCreationTime,
  _OutboundDeliveryOrderHeader._BPShipTo.BusinessPartner AS ShipToParty,
  _OutboundDeliveryOrderHeader.ShipToPartyName AS ShipToPartyName,
  _OutboundDeliveryOrderHeader._BPCarrier.BusinessPartner AS Carrier,
  _OutboundDeliveryOrderHeader.CarrierName AS CarrierName,
  _OutboundDeliveryOrderHeader._WarehouseTimezone.TimeZoneID AS TimeZoneID,
  _OutboundDeliveryOrderHeader.EWMWarehouseCurrentDate AS EWMWarehouseCurrentDate,
  _DeliveryItemWave.Wave AS Wave,
  _DeliveryItemWave.ODOItmWaveAssgmtIsNotUnique AS ODOItmWaveAssgmtIsNotUnique,
  _OutboundDeliveryItem.EWMOutboundDelivery AS EWMOutboundDelivery,
  _OutboundDeliveryItem.EWMOutboundDeliveryItem AS EWMOutboundDeliveryItem,
  case when _OutboundDeliveryItem.EWMRoute is not null then _OutboundDeliveryItem.EWMRoute else _OutboundDeliveryOrderHeader.EWMRoute end as EWMRoute AS EWMRouteendasEWMRoute,
  case when _OutboundDeliveryItem.RouteSchedule is not null then _OutboundDeliveryItem.RouteSchedule else odo_item.RouteSchedule end as RouteSchedule AS RouteScheduleendasRouteSchedule,
  _PickingStatus.EWMOutboundDeliveryOrderStatus AS PickingStatus,
  _BlockStatus.EWMOutboundDeliveryOrderStatus AS OverallBlockStatus,
  _TransPlanBlock.EWMOutboundDeliveryOrderStatus AS TranspPlanBlockStatus,
  _ItemInconsistencyBlkStatus.EWMOutboundDeliveryOrderStatus AS ItemInconsistencyBlkStatus,
  _GoodsMovementBlockStatus.EWMOutboundDeliveryOrderStatus AS GoodsMovementBlockStatus,
  _UncheckedItemBlockStatus.EWMOutboundDeliveryOrderStatus AS UncheckedItemBlockStatus,
  _DeliveryCreationStatus.EWMOutboundDeliveryOrderStatus AS DeliveryCreationStatus,
  _TransitProcedStatus.EWMOutboundDeliveryOrderStatus AS TransitProcedureStatus,
  _DeliveryLoadingStatus.EWMOutboundDeliveryOrderStatus AS LoadingStatus,
  _PickingAndDistributionStatus.EWMOutboundDeliveryOrderStatus AS PickingAndDistributionStatus,
  _WarehouseActivityStatus.EWMOutboundDeliveryOrderStatus AS WarehouseActivityStatus,
  _GlobalTradeServiceStatus.EWMOutboundDeliveryOrderStatus AS GlobalTradeServicesCheckStatus,
  _TransportationUnitAssgmtSts.EWMOutboundDeliveryOrderStatus AS TransportationUnitAssgmtStatus,
  _ValuationQtyAssgmtStatusName.EWMOutboundDeliveryOrderStatus AS ValuationQtyAssignmentStatus,
  _ValueAddedServiceOrderStatus.EWMOutboundDeliveryOrderStatus AS ValueAddedServiceOrderStatus,
  cast( case when GoodsIssueStatus = '9' and WrhsTmznPlndGIStrtDateTime < EWMWhseTmznActlGIEndDateTime then tstmp_seconds_between(WrhsTmznPlndGIStrtDateTime, EWMWhseTmznActlGIEndDateTime, 'NULL') when GoodsIssueStatus <> '9' and PlndGoodsIssueStartUTCDateTime < tstmp_current_utctimestamp() then tstmp_seconds_between (PlndGoodsIssueStartUTCDateTime, tstmp_current_utctimestamp(), 'NULL' ) else 0 end as abap.int4 ) as GoodsIssueDelayInSeconds AS int4asGoodsIssueDelayInSeconds,
  _QuantityAdjustment.EWMDeliveryAdjustmentQuantity AS EWMDeliveryAdjustmentQuantity
FROM I_EWM_OutbDelivOrdItemBasic AS odo_item
LEFT OUTER JOIN I_EWM_OutbDelivOrdHdrWithBP AS _OutboundDeliveryOrderHeader ON OutboundDeliveryOrderUUID = _OutboundDeliveryOrderHeader.OutboundDeliveryOrderUUID  -- association [1]
LEFT OUTER JOIN I_EWM_OutboundDeliveryItem AS _OutboundDeliveryItem ON OutboundDeliveryOrderUUID = _OutboundDeliveryItem.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _OutboundDeliveryItem.OutboundDeliveryOrderItemUUID  -- association [0..1]
LEFT OUTER JOIN I_EWM_DeliveryItemWave_2 AS _DeliveryItemWave ON OutboundDeliveryOrderUUID = _DeliveryItemWave.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _DeliveryItemWave.OutboundDeliveryOrderItemUUID  -- association [0..1]
LEFT OUTER JOIN I_EWM_SplitItemWaveAssgmt AS _SplitWaveAssign ON OutboundDeliveryOrderUUID = _SplitWaveAssign.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _SplitWaveAssign.OutboundDeliveryOrderItemUUID  -- association [0..1]
LEFT OUTER JOIN I_EWM_DelivPartnerLocation AS _ShippingOffice ON OutboundDeliveryOrderUUID = _ShippingOffice.OutboundDeliveryOrderUUID  -- association [0..1]
LEFT OUTER JOIN I_EWM_DelivWrhsLocation AS _WarehouseLocation ON OutboundDeliveryOrderUUID = _WarehouseLocation.OutboundDeliveryOrderUUID  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _PickingStatus ON OutboundDeliveryOrderUUID = _PickingStatus.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _PickingStatus.OutboundDeliveryOrderItemUUID AND _PickingStatus.DeliveryStatusType = 'DPI'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _BlockStatus ON OutboundDeliveryOrderUUID = _BlockStatus.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _BlockStatus.OutboundDeliveryOrderItemUUID AND _BlockStatus.DeliveryStatusType = 'DBO'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _TransPlanBlock ON OutboundDeliveryOrderUUID = _TransPlanBlock.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _TransPlanBlock.OutboundDeliveryOrderItemUUID AND _TransPlanBlock.DeliveryStatusType = 'DBT'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _ItemInconsistencyBlkStatus ON OutboundDeliveryOrderUUID = _ItemInconsistencyBlkStatus.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _ItemInconsistencyBlkStatus.OutboundDeliveryOrderItemUUID AND _ItemInconsistencyBlkStatus.DeliveryStatusType = 'DBD'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _GoodsMovementBlockStatus ON OutboundDeliveryOrderUUID = _GoodsMovementBlockStatus.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _GoodsMovementBlockStatus.OutboundDeliveryOrderItemUUID AND _GoodsMovementBlockStatus.DeliveryStatusType = 'DWG'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _UncheckedItemBlockStatus ON OutboundDeliveryOrderUUID = _UncheckedItemBlockStatus.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _UncheckedItemBlockStatus.OutboundDeliveryOrderItemUUID AND _UncheckedItemBlockStatus.DeliveryStatusType = 'DBP'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _DeliveryCreationStatus ON OutboundDeliveryOrderUUID = _DeliveryCreationStatus.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _DeliveryCreationStatus.OutboundDeliveryOrderItemUUID AND _DeliveryCreationStatus.DeliveryStatusType = 'DDC'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _TransitProcedStatus ON OutboundDeliveryOrderUUID = _TransitProcedStatus.OutboundDeliveryOrderUUID AND _TransitProcedStatus.DeliveryStatusType = 'DWN'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _DeliveryLoadingStatus ON OutboundDeliveryOrderUUID = _DeliveryLoadingStatus.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _DeliveryLoadingStatus.OutboundDeliveryOrderItemUUID AND _DeliveryLoadingStatus.DeliveryStatusType = 'DLO'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _PickingAndDistributionStatus ON OutboundDeliveryOrderUUID = _PickingAndDistributionStatus.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _PickingAndDistributionStatus.OutboundDeliveryOrderItemUUID AND _PickingAndDistributionStatus.DeliveryStatusType = 'DPD'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _WarehouseActivityStatus ON OutboundDeliveryOrderUUID = _WarehouseActivityStatus.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _WarehouseActivityStatus.OutboundDeliveryOrderItemUUID AND _WarehouseActivityStatus.DeliveryStatusType = 'DWA'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _GlobalTradeServiceStatus ON OutboundDeliveryOrderUUID = _GlobalTradeServiceStatus.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _GlobalTradeServiceStatus.OutboundDeliveryOrderItemUUID AND _GlobalTradeServiceStatus.DeliveryStatusType = 'DGT'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _TransportationUnitAssgmtSts ON OutboundDeliveryOrderUUID = _TransportationUnitAssgmtSts.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _TransportationUnitAssgmtSts.OutboundDeliveryOrderItemUUID AND _TransportationUnitAssgmtSts.DeliveryStatusType = 'DTU'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _ValuationQtyAssgmtStatusName ON OutboundDeliveryOrderUUID = _ValuationQtyAssgmtStatusName.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _ValuationQtyAssgmtStatusName.OutboundDeliveryOrderItemUUID AND _ValuationQtyAssgmtStatusName.DeliveryStatusType = 'DVQ'  -- association [0..1]
LEFT OUTER JOIN I_EWM_OutbDelivOrdSts AS _ValueAddedServiceOrderStatus ON OutboundDeliveryOrderUUID = _ValueAddedServiceOrderStatus.OutboundDeliveryOrderUUID AND OutboundDeliveryOrderItemUUID = _ValueAddedServiceOrderStatus.OutboundDeliveryOrderItemUUID AND _ValueAddedServiceOrderStatus.DeliveryStatusType = 'DWV'  -- association [0..1]
LEFT OUTER JOIN I_EWM_MnsOfTranspType_2 AS _MeansOfTransportType ON EWMMeansOfTransportType = _MeansOfTransportType.EWMMeansOfTransportType  -- association [0..1]
LEFT OUTER JOIN I_EWM_WarehouseControl_2 AS _whseControl ON EWMWarehouse = _whseControl.EWMWarehouse  -- association [0..1]
LEFT OUTER JOIN P_EWM_ProcessCodeDelivQtyChg AS _QuantityAdjustment ON OutboundDeliveryOrderUUID = _QuantityAdjustment.DeliveryUUID AND OutboundDeliveryOrderItemUUID = _QuantityAdjustment.DeliveryItemUUID AND _QuantityAdjustment.DeliveryDocumentCategory = 'PDO'  -- association [0..1]
;