I_MfgOrderMaterialDocumentItem

DDL: I_MFGORDERMATERIALDOCUMENTITEM SQL: IMFGORDMATDOCITM Type: view COMPOSITE

Manufacturing Order Material Document Item

I_MfgOrderMaterialDocumentItem is a Composite CDS View (Dimension) that provides data about "Manufacturing Order Material Document Item" in SAP S/4HANA. It reads from 2 data sources (I_MaterialDocumentRecord, I_MfgOrderBasic) and exposes 101 fields with key fields MaterialDocument, MaterialDocumentYear. It has 43 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_MaterialDocumentRecord doc from
I_MfgOrderBasic ord inner

Associations (43)

CardinalityTargetAliasCondition
[1..1] I_MaterialDocumentHeader_2 _MaterialDocumentHeader $projection.MaterialDocument = _MaterialDocumentHeader.MaterialDocument and $projection.MaterialDocumentYear = _MaterialDocumentHeader.MaterialDocumentYear
[1..1] I_MaterialDocumentYear _MaterialDocumentYear $projection.MaterialDocumentYear = _MaterialDocumentYear.MaterialDocumentYear
[1..1] I_MaterialDocumentItem_2 _MaterialDocumentItem $projection.MaterialDocumentYear = _MaterialDocumentItem.MaterialDocumentYear and $projection.MaterialDocument = _MaterialDocumentItem.MaterialDocument and $projection.MaterialDocumentItem = _MaterialDocumentItem.MaterialDocumentItem
[1..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[1..1] I_ManufacturingOrder _MfgOrder $projection.ManufacturingOrder = _MfgOrder.ManufacturingOrder
[1..1] I_ManufacturingOrderItem _MfgOrderItem $projection.ManufacturingOrder = _MfgOrderItem.ManufacturingOrder and $projection.ManufacturingOrderItem = _MfgOrderItem.ManufacturingOrderItem
[1..1] I_MfgOrderType _MfgOrderType $projection.ManufacturingOrderType = _MfgOrderType.ManufacturingOrderType
[0..1] I_CalendarDate _CreationDate $projection.creationdate = _CreationDate.CalendarDate
[0..1] I_CalendarDate _DocumentDate $projection.DocumentDate = _DocumentDate.CalendarDate
[0..1] I_CalendarDate _PostingDate $projection.PostingDate = _PostingDate.CalendarDate
[0..1] I_ReservationDocumentHeader _Reservation $projection.Reservation = _Reservation.Reservation
[0..1] I_ReservationDocumentItem _ReservationItem $projection.Reservation = _ReservationItem.Reservation and $projection.ReservationItem = _ReservationItem.ReservationItem and $projection.ReservationRecordType = _ReservationItem.RecordType
[0..1] I_ReservationDocRecordType _ReservationRecordType $projection.ReservationRecordType = _ReservationRecordType.RecordType
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_Material _Material $projection.Material = _Material.Material
[1..1] I_Product _Product $projection.Material = _Product.Product
[1..1] I_ProductPlantBasic _ProductPlant $projection.Plant = _ProductPlant.Plant and $projection.Material = _ProductPlant.Product
[0..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure
[1..1] I_UnitOfMeasure _EntryUnit $projection.EntryUnit = _EntryUnit.UnitOfMeasure
[1..1] I_GoodsMovementType _GoodsMovementType $projection.GoodsMovementType = _GoodsMovementType.GoodsMovementType
[0..1] I_PhysInvtryReasonCode _GoodsMovementReason $projection.GoodsMovementType = _GoodsMovementReason.GoodsMovementType and $projection.GoodsMovementReasonCode = _GoodsMovementReason.ReasonForPhysInvtryDifference
[0..1] I_GoodsMovementRefDocType _GoodsMovementRefDocType $projection.GoodsMovementRefDocType = _GoodsMovementRefDocType.GoodsMovementRefDocType
[0..1] I_InventorySpecialStockType _InventorySpecialStockType $projection.InventorySpecialStockType = _InventorySpecialStockType.InventorySpecialStockType
[0..1] I_InventoryValuationType _InventoryValuationType $projection.InventoryValuationType = _InventoryValuationType.InventoryValuationType
[0..1] I_ConsumptionPosting _ConsumptionPosting $projection.ConsumptionPosting = _ConsumptionPosting.ConsumptionPosting
[0..1] I_DebitCreditCode _DebitCreditCode $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode
[0..1] I_StockType_2 _InventoryUsabilityCode $projection.InventoryUsabilityCode = _InventoryUsabilityCode.StockType
[0..1] I_StorageLocation _StorageLocation $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation
[0..1] I_Batch _Batch $projection.Plant = _Batch.Plant and $projection.Material = _Batch.Material and $projection.Batch = _Batch.Batch
[0..1] I_SalesOrder _SalesOrder $projection.SalesOrder = _SalesOrder.SalesOrder
[0..1] I_SalesOrderItem _SalesOrderItem $projection.SalesOrder = _SalesOrderItem.SalesOrder and $projection.SalesOrderItem = _SalesOrderItem.SalesOrderItem
[0..1] I_WBSElementBasicData _WBSElement $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID
[0..1] I_PurchaseOrderAPI01 _PurchaseOrder $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder
[0..1] I_PurchaseOrderItemAPI01 _PurchaseOrderItem $projection.PurchaseOrder = _PurchaseOrderItem.PurchaseOrder and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_SupplierCompanyByPlant _SupplierCompanyByPlant $projection.Plant = _SupplierCompanyByPlant.Plant and $projection.Supplier = _SupplierCompanyByPlant.Supplier
[0..1] I_CustomerCompanyByPlant _CustomerCompanyByPlant $projection.Plant = _CustomerCompanyByPlant.Plant and $projection.Customer = _CustomerCompanyByPlant.Customer
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_BusinessArea _BusinessArea $projection.BusinessArea = _BusinessArea.BusinessArea
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..*] I_CostCenter _CostCenter $projection.ControllingArea = _CostCenter.ControllingArea and $projection.CostCenter = _CostCenter.CostCenter
[0..1] I_Currency _Currency $projection.CompanyCodeCurrency = _Currency.Currency

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IMFGORDMATDOCITM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey MaterialDocumentItem view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #COMPOSITE view
EndUserText.label Manufacturing Order Material Document Item view

Fields (101)

KeyFieldSource TableSource FieldDescription
KEY MaterialDocument I_MaterialDocumentRecord MaterialDocument Material Doc.
MaterialDocumentItem
KEY MaterialDocumentYear I_MaterialDocumentRecord MaterialDocumentYear Material Document Year
ManufacturingOrder I_MaterialDocumentRecord OrderID Order ID
ManufacturingOrderItem I_MaterialDocumentRecord OrderItem
ManufacturingOrderCategory I_MfgOrderBasic ManufacturingOrderCategory Order Category
ManufacturingOrderType I_MfgOrderBasic ManufacturingOrderType Order Type
CreationDate _MaterialDocumentHeader CreationDate Time Stamp
CreationTime _MaterialDocumentHeader CreationTime Time of Change
CreatedByUser
ReversedMaterialDocumentYear I_MaterialDocumentRecord ReversedMaterialDocumentYear Reversed Doc Year
ReversedMaterialDocument I_MaterialDocumentRecord ReversedMaterialDocument Reversed Mat Doc
ReversedMaterialDocumentItem I_MaterialDocumentRecord ReversedMaterialDocumentItem Reversed Doc Item
GoodsMovementIsCancelled I_MaterialDocumentRecord GoodsMovementIsCancelled Is Item Cancelled
Material
Plant I_MaterialDocumentRecord Plant Valuation Area
Reservation I_MaterialDocumentRecord Reservation Reservation
ReservationItem
ReservationRecordType
ReservationIsFinallyIssued I_MaterialDocumentRecord ReservationIsFinallyIssued Res Final Issue
StorageLocation
Batch I_MaterialDocumentRecord Batch Lot No.
InventoryValuationType
ConsumptionPosting
DebitCreditCode
GoodsMovementType
GoodsMovementReasonCode I_MaterialDocumentRecord GoodsMovementReasonCode Reason for Mvmt
GoodsMovementRefDocType
InventoryUsabilityCode
InventorySpecialStockType
SalesOrder
SalesOrderItem
WBSElementInternalID
Supplier I_MaterialDocumentRecord Supplier Supplier
Customer I_MaterialDocumentRecord Customer Sold-to Party
GoodsRecipientName
UnloadingPointName I_MaterialDocumentRecord UnloadingPointName Unloading Point Name
GoodsReceiptIsNonValuated
IsCompletelyDelivered I_MaterialDocumentRecord IsCompletelyDelivered Is completely delivered
StorageType I_MaterialDocumentRecord StorageType Storage Type
StorageBin I_MaterialDocumentRecord StorageBin Storage Bin
CompanyCode I_MaterialDocumentRecord CompanyCode Receiver Company Code
BusinessArea I_MaterialDocumentRecord BusinessArea Business Area
ControllingArea I_MaterialDocumentRecord ControllingArea Controlling Area
CostCenter
PostingDate I_MaterialDocumentRecord PostingDate Posting Date for GR
DocumentDate I_MaterialDocumentRecord DocumentDate Journal Entry Date
ShelfLifeExpirationDate I_MaterialDocumentRecord ShelfLifeExpirationDate SLED/BBD
ManufactureDate I_MaterialDocumentRecord ManufactureDate Date of Manuf.
BaseUnit I_MaterialDocumentRecord MaterialBaseUnit Valuation Unit
QuantityInBaseUnit I_MaterialDocumentRecord QuantityInBaseUnit Quantity
EntryUnit I_MaterialDocumentRecord EntryUnit Unit of Entry
QuantityInEntryUnit
CompanyCodeCurrency I_MaterialDocumentRecord CompanyCodeCurrency Local Currency
TotalGoodsMvtAmtInCCCrcy
ManufacturingOrderSequence
ManufacturingOrderOperation
_MaterialDocumentHeader _MaterialDocumentHeader
_MaterialDocumentYear _MaterialDocumentYear
_MaterialDocumentItem _MaterialDocumentItem
_CreatedByUser _CreatedByUser
_MfgOrder _MfgOrder
_MfgOrderItem _MfgOrderItem
_MfgOrderCategory I_MfgOrderBasic _MfgOrderCategory
_MfgOrderType _MfgOrderType
_CreationDate _CreationDate
_DocumentDate _DocumentDate
_PostingDate _PostingDate
_Material _Material
_Product _Product
_ProductPlant _ProductPlant
_Plant _Plant
_Reservation _Reservation
_ReservationItem _ReservationItem
_ReservationRecordType _ReservationRecordType
_StorageLocation _StorageLocation
_Batch _Batch
_BaseUnit _BaseUnit
_EntryUnit _EntryUnit
_GoodsMovementType _GoodsMovementType
_GoodsMovementReason _GoodsMovementReason
_GoodsMovementRefDocType _GoodsMovementRefDocType
_InventorySpecialStockType _InventorySpecialStockType
_InventoryValuationType _InventoryValuationType
_ConsumptionPosting _ConsumptionPosting
_DebitCreditCode _DebitCreditCode
_InventoryUsabilityCode _InventoryUsabilityCode
_SalesOrder _SalesOrder
_SalesOrderItem _SalesOrderItem
_WBSElement _WBSElement
_PurchaseOrder _PurchaseOrder
_PurchaseOrderItem _PurchaseOrderItem
_Supplier _Supplier
_Customer _Customer
_SupplierCompanyByPlant _SupplierCompanyByPlant
_CustomerCompanyByPlant _CustomerCompanyByPlant
_CompanyCode _CompanyCode
_BusinessArea _BusinessArea
_ControllingArea _ControllingArea
_CostCenter _CostCenter
_Currency _Currency

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

-- Derived SQL interpretation of CDS view I_MfgOrderMaterialDocumentItem.
-- 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: IMFGORDMATDOCITM

CREATE VIEW I_MfgOrderMaterialDocumentItem AS
SELECT
  doc.MaterialDocument AS MaterialDocument,
  doc.MaterialDocumentYear AS MaterialDocumentYear,
  doc.OrderID AS ManufacturingOrder,
  doc.OrderItem AS ManufacturingOrderItem,
  ord.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  ord.ManufacturingOrderType AS ManufacturingOrderType,
  _MaterialDocumentHeader.CreationDate AS CreationDate,
  _MaterialDocumentHeader.CreationTime AS CreationTime,
  cast(_MaterialDocumentHeader.CreatedByUser as ernam preserving type) AS CreatedByUser,
  doc.ReversedMaterialDocumentYear AS ReversedMaterialDocumentYear,
  doc.ReversedMaterialDocument AS ReversedMaterialDocument,
  doc.ReversedMaterialDocumentItem AS ReversedMaterialDocumentItem,
  doc.GoodsMovementIsCancelled AS GoodsMovementIsCancelled,
  cast(doc.Material as co_matnr preserving type) AS Material,
  doc.Plant AS Plant,
  doc.Reservation AS Reservation,
  cast(doc.ReservationItem as pph_rspos preserving type) AS ReservationItem,
  cast(doc.ReservationRecordType as pph_rsart preserving type) AS ReservationRecordType,
  doc.ReservationIsFinallyIssued AS ReservationIsFinallyIssued,
  cast(doc.StorageLocation as pph_lgort preserving type) AS StorageLocation,
  doc.Batch AS Batch,
  cast(doc.InventoryValuationType as pph_bwtar preserving type) AS InventoryValuationType,
  cast(doc.ConsumptionPosting as pph_kzvbr preserving type) AS ConsumptionPosting,
  cast(doc.DebitCreditCode as pph_shkzg preserving type) AS DebitCreditCode,
  cast(doc.GoodsMovementType as pph_bwart preserving type) AS GoodsMovementType,
  doc.GoodsMovementReasonCode AS GoodsMovementReasonCode,
  cast(doc.GoodsMovementRefDocType as pph_kzbew preserving type) AS GoodsMovementRefDocType,
  cast(doc.InventoryUsabilityCode as inventoryusabilitycode preserving type) AS InventoryUsabilityCode,
  cast(doc.InventorySpecialStockType as pph_sobkz preserving type) AS InventorySpecialStockType,
  cast(doc.SalesOrder as co_kdauf preserving type) AS SalesOrder,
  cast(doc.SalesOrderItem as co_kdpos preserving type) AS SalesOrderItem,
  cast(doc.WBSElementInternalID as ps_s4_pspnr preserving type) AS WBSElementInternalID,
  doc.Supplier AS Supplier,
  doc.Customer AS Customer,
  cast(doc.GoodsRecipientName as pph_wempf preserving type) AS GoodsRecipientName,
  doc.UnloadingPointName AS UnloadingPointName,
  cast(doc.GoodsReceiptIsNonValuated as pph_weunb preserving type) AS GoodsReceiptIsNonValuated,
  doc.IsCompletelyDelivered AS IsCompletelyDelivered,
  doc.StorageType AS StorageType,
  doc.StorageBin AS StorageBin,
  doc.CompanyCode AS CompanyCode,
  doc.BusinessArea AS BusinessArea,
  doc.ControllingArea AS ControllingArea,
  doc.PostingDate AS PostingDate,
  doc.DocumentDate AS DocumentDate,
  doc.ShelfLifeExpirationDate AS ShelfLifeExpirationDate,
  doc.ManufactureDate AS ManufactureDate,
  doc.MaterialBaseUnit AS BaseUnit,
  doc.QuantityInBaseUnit AS QuantityInBaseUnit,
  doc.EntryUnit AS EntryUnit,
  cast(doc.QuantityInEntryUnit as pph_erfmg preserving type) AS QuantityInEntryUnit,
  doc.CompanyCodeCurrency AS CompanyCodeCurrency,
  cast(doc.TotalGoodsMvtAmtInCCCrcy as pph_dmbtr preserving type) AS TotalGoodsMvtAmtInCCCrcy,
  cast('0' as plnfolge) AS ManufacturingOrderSequence,
  cast('0010' as vdm_vornr) AS ManufacturingOrderOperation,
  ord._MfgOrderCategory AS _MfgOrderCategory
FROM I_MaterialDocumentRecord AS doc
INNER JOIN I_MfgOrderBasic AS ord ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialDocumentHeader_2 AS _MaterialDocumentHeader ON MaterialDocument = _MaterialDocumentHeader.MaterialDocument AND MaterialDocumentYear = _MaterialDocumentHeader.MaterialDocumentYear  -- association [1..1]
LEFT OUTER JOIN I_MaterialDocumentYear AS _MaterialDocumentYear ON MaterialDocumentYear = _MaterialDocumentYear.MaterialDocumentYear  -- association [1..1]
LEFT OUTER JOIN I_MaterialDocumentItem_2 AS _MaterialDocumentItem ON MaterialDocumentYear = _MaterialDocumentItem.MaterialDocumentYear AND MaterialDocument = _MaterialDocumentItem.MaterialDocument AND MaterialDocumentItem = _MaterialDocumentItem.MaterialDocumentItem  -- association [1..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [1..1]
LEFT OUTER JOIN I_ManufacturingOrder AS _MfgOrder ON ManufacturingOrder = _MfgOrder.ManufacturingOrder  -- association [1..1]
LEFT OUTER JOIN I_ManufacturingOrderItem AS _MfgOrderItem ON ManufacturingOrder = _MfgOrderItem.ManufacturingOrder AND ManufacturingOrderItem = _MfgOrderItem.ManufacturingOrderItem  -- association [1..1]
LEFT OUTER JOIN I_MfgOrderType AS _MfgOrderType ON ManufacturingOrderType = _MfgOrderType.ManufacturingOrderType  -- association [1..1]
LEFT OUTER JOIN I_CalendarDate AS _CreationDate ON creationdate = _CreationDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _DocumentDate ON DocumentDate = _DocumentDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _PostingDate ON PostingDate = _PostingDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_ReservationDocumentHeader AS _Reservation ON Reservation = _Reservation.Reservation  -- association [0..1]
LEFT OUTER JOIN I_ReservationDocumentItem AS _ReservationItem ON Reservation = _ReservationItem.Reservation AND ReservationItem = _ReservationItem.ReservationItem AND ReservationRecordType = _ReservationItem.RecordType  -- association [0..1]
LEFT OUTER JOIN I_ReservationDocRecordType AS _ReservationRecordType ON ReservationRecordType = _ReservationRecordType.RecordType  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_ProductPlantBasic AS _ProductPlant ON Plant = _ProductPlant.Plant AND Material = _ProductPlant.Product  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EntryUnit ON EntryUnit = _EntryUnit.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_GoodsMovementType AS _GoodsMovementType ON GoodsMovementType = _GoodsMovementType.GoodsMovementType  -- association [1..1]
LEFT OUTER JOIN I_PhysInvtryReasonCode AS _GoodsMovementReason ON GoodsMovementType = _GoodsMovementReason.GoodsMovementType AND GoodsMovementReasonCode = _GoodsMovementReason.ReasonForPhysInvtryDifference  -- association [0..1]
LEFT OUTER JOIN I_GoodsMovementRefDocType AS _GoodsMovementRefDocType ON GoodsMovementRefDocType = _GoodsMovementRefDocType.GoodsMovementRefDocType  -- association [0..1]
LEFT OUTER JOIN I_InventorySpecialStockType AS _InventorySpecialStockType ON InventorySpecialStockType = _InventorySpecialStockType.InventorySpecialStockType  -- association [0..1]
LEFT OUTER JOIN I_InventoryValuationType AS _InventoryValuationType ON InventoryValuationType = _InventoryValuationType.InventoryValuationType  -- association [0..1]
LEFT OUTER JOIN I_ConsumptionPosting AS _ConsumptionPosting ON ConsumptionPosting = _ConsumptionPosting.ConsumptionPosting  -- association [0..1]
LEFT OUTER JOIN I_DebitCreditCode AS _DebitCreditCode ON DebitCreditCode = _DebitCreditCode.DebitCreditCode  -- association [0..1]
LEFT OUTER JOIN I_StockType_2 AS _InventoryUsabilityCode ON InventoryUsabilityCode = _InventoryUsabilityCode.StockType  -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation  -- association [0..1]
LEFT OUTER JOIN I_Batch AS _Batch ON Plant = _Batch.Plant AND Material = _Batch.Material AND Batch = _Batch.Batch  -- association [0..1]
LEFT OUTER JOIN I_SalesOrder AS _SalesOrder ON SalesOrder = _SalesOrder.SalesOrder  -- association [0..1]
LEFT OUTER JOIN I_SalesOrderItem AS _SalesOrderItem ON SalesOrder = _SalesOrderItem.SalesOrder AND SalesOrderItem = _SalesOrderItem.SalesOrderItem  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_PurchaseOrderAPI01 AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder  -- association [0..1]
LEFT OUTER JOIN I_PurchaseOrderItemAPI01 AS _PurchaseOrderItem ON PurchaseOrder = _PurchaseOrderItem.PurchaseOrder AND PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_SupplierCompanyByPlant AS _SupplierCompanyByPlant ON Plant = _SupplierCompanyByPlant.Plant AND Supplier = _SupplierCompanyByPlant.Supplier  -- association [0..1]
LEFT OUTER JOIN I_CustomerCompanyByPlant AS _CustomerCompanyByPlant ON Plant = _CustomerCompanyByPlant.Plant AND Customer = _CustomerCompanyByPlant.Customer  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON ControllingArea = _CostCenter.ControllingArea AND CostCenter = _CostCenter.CostCenter  -- association [0..*]
LEFT OUTER JOIN I_Currency AS _Currency ON CompanyCodeCurrency = _Currency.Currency  -- association [0..1]
;