FIN_SubValProfSegmentLineitem

DDL: FIN_SUBVALPROFSEGMENTLINEITEM Type: view_entity

Profitability Segment Substitution

FIN_SubValProfSegmentLineitem is a CDS View that provides data about "Profitability Segment Substitution" in SAP S/4HANA. It reads from 2 data sources (I_CoCodeLedgerSourceLedger, I_GLAccountLineItemRawData) and exposes 90 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. It has 44 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_CoCodeLedgerSourceLedger I_CoCodeLedgerSourceLedger inner
I_GLAccountLineItemRawData I_GLAccountLineItemRawData from

Associations (44)

CardinalityTargetAliasCondition
[0..1] I_JournalEntry _JournalEntry $projection.CompanyCode = _JournalEntry.CompanyCode and $projection.FiscalYear = _JournalEntry.FiscalYear and $projection.AccountingDocument = _JournalEntry.AccountingDocument
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_CompanyCode _CompanyCodeText $projection.CompanyCode = _CompanyCodeText.CompanyCode
[1..1] I_FiscalYearVariant _FiscalYearVariant $projection.FiscalYearVariant = _FiscalYearVariant.FiscalYearVariant
[0..1] I_FiscalYearForCompanyCode _FiscalYear $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..1] I_ControllingArea _ControllingAreaText $projection.ControllingArea = _ControllingAreaText.ControllingArea
[0..1] I_Segment _Segment $projection.Segment = _Segment.Segment
[0..1] I_ProfitCenter _CurrentProfitCenter $projection.ControllingArea = _CurrentProfitCenter.ControllingArea and $projection.ProfitCenter = _CurrentProfitCenter.ProfitCenter and _CurrentProfitCenter.ValidityStartDate <= $session.system_date and _CurrentProfitCenter.ValidityEndDate >= $session.system_date
[0..1] I_CostCenter _CurrentCostCenter $projection.ControllingArea = _CurrentCostCenter.ControllingArea and $projection.CostCenter = _CurrentCostCenter.CostCenter and _CurrentCostCenter.ValidityStartDate <= $session.system_date and _CurrentCostCenter.ValidityEndDate >= $session.system_date
[0..1] I_WBSElementByInternalKey _WBSElementInternalID $projection.WBSElementInternalID = _WBSElementInternalID.WBSElementInternalID
[0..1] I_WBSElementByInternalKey _WBSElementInternalIDText $projection.WBSElementInternalID = _WBSElementInternalIDText.WBSElementInternalID
[0..1] I_WBSElementBasicData _WBSElementBasicData $projection.WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID
[0..1] I_WBSElementBasicData _WBSElementBasicDataText $projection.WBSElementInternalID = _WBSElementBasicDataText.WBSElementInternalID
[0..1] I_BusinessArea _BusinessArea $projection.BusinessArea = _BusinessArea.BusinessArea
[0..1] I_FunctionalArea _FunctionalArea $projection.FunctionalArea = _FunctionalArea.FunctionalArea
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger
[0..1] I_Ledger _SourceLedger $projection.SourceLedger = _SourceLedger.Ledger
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_Customer _CustomerText $projection.Customer = _CustomerText.Customer
[0..1] I_CustomerGroup _CustomerGroup $projection.CustomerGroup = _CustomerGroup.CustomerGroup
[0..1] I_ProductGroup _SoldProductGroup $projection.SoldProductGroup = _SoldProductGroup.MaterialGroup
[0..1] I_ProductGroup_2 _SoldProductGroup_2 $projection.SoldProductGroup = _SoldProductGroup_2.ProductGroup
[0..1] I_SalesDocument _SalesDocument $projection.SalesDocument = _SalesDocument.SalesDocument
[0..1] I_SalesDocumentItem _SalesDocumentItem $projection.SalesDocument = _SalesDocumentItem.SalesDocument and $projection.SalesDocumentItem = _SalesDocumentItem.SalesDocumentItem
[0..1] I_InternalOrder _InternalOrder $projection.OrderID = _InternalOrder.InternalOrder
[0..1] I_Order _Order $projection.OrderID = _Order.OrderID
[0..1] I_BusinessProcess _BusinessProcess $projection.ControllingArea = _BusinessProcess.ControllingArea and $projection.BusinessProcess = _BusinessProcess.BusinessProcess
[0..1] I_BillingDocumentType _BillingDocumentType $projection.BillingDocumentType = _BillingDocumentType.BillingDocumentType
[0..1] I_SalesOrganization _SalesOrganization $projection.SalesOrganization = _SalesOrganization.SalesOrganization
[0..1] I_DistributionChannel _DistributionChannel $projection.DistributionChannel = _DistributionChannel.DistributionChannel
[0..1] I_Product _SoldProduct $projection.SoldProduct = _SoldProduct.Product
[0..1] I_Country _CustomerSupplierCountry $projection.CustomerSupplierCountry = _CustomerSupplierCountry.Country
[0..1] I_SalesDistrict _SalesDistrict $projection.SalesDistrict = _SalesDistrict.SalesDistrict
[0..1] I_Customer _BillToParty $projection.BillToParty = _BillToParty.Customer
[0..1] I_Customer _ShipToParty $projection.ShipToParty = _ShipToParty.Customer
[0..1] I_ServiceDocumentType _ServiceDocumentType $projection.ServiceDocumentType = _ServiceDocumentType.ServiceDocumentType
[0..1] I_SrvcDocByDocumentType _ServiceDocument $projection.ServiceDocumentType = _ServiceDocument.ServiceDocumentType and $projection.ServiceDocument = _ServiceDocument.ServiceDocument
[0..1] I_SrvcDocItemByDocumentType _ServiceDocumentItem $projection.ServiceDocumentType = _ServiceDocumentItem.ServiceDocumentType and $projection.ServiceDocument = _ServiceDocumentItem.ServiceDocument and $projection.ServiceDocumentItem = _ServiceDocumentItem.ServiceDocumentItem
[0..1] I_ServiceDocumentEnhcd _SolutionOrder $projection.BusinessSolutionOrder = _SolutionOrder.ServiceDocument and _SolutionOrder.ServiceObjectType = 'BUS2000172'
[0..1] I_ServiceDocumentItemEnhcd _SolutionOrderItem _SolutionOrderItem.ServiceObjectType = 'BUS2000172' and $projection.BusinessSolutionOrder = _SolutionOrderItem.ServiceDocument and $projection.BusinessSolutionOrderItem = _SolutionOrderItem.ServiceDocumentItem
[0..1] I_CustomerSalesArea _CustomerSalesArea $projection.Customer = _CustomerSalesArea.Customer and $projection.SalesOrganization = _CustomerSalesArea.SalesOrganization and $projection.DistributionChannel = _CustomerSalesArea.DistributionChannel and $projection.OrganizationDivision = _CustomerSalesArea.Division
[1..1] E_JournalEntryItem _Extension $projection.SourceLedger = _Extension.SourceLedger and $projection.CompanyCode = _Extension.CompanyCode and $projection.FiscalYear = _Extension.FiscalYear and $projection.AccountingDocument = _Extension.AccountingDocument and $projection.LedgerGLLineItem = _Extension.LedgerGLLineItem

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Profitability Segment Substitution view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view

Fields (90)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger I_GLAccountLineItemRawData SourceLedger Source Ledger
KEY CompanyCode I_GLAccountLineItemRawData CompanyCode Receiver Company Code
KEY FiscalYear I_GLAccountLineItemRawData FiscalYear G/L Fiscal Year
KEY AccountingDocument I_GLAccountLineItemRawData AccountingDocument Journal Entry
KEY LedgerGLLineItem I_GLAccountLineItemRawData LedgerGLLineItem Journal Entry Item
KEY Ledger I_CoCodeLedgerSourceLedger Ledger Ledger
BusinessArea I_GLAccountLineItemRawData BusinessArea Business Area
ControllingArea I_GLAccountLineItemRawData ControllingArea Controlling Area
FiscalYearVariant I_GLAccountLineItemRawData FiscalYearVariant FY Variant
BillToParty I_GLAccountLineItemRawData BillToParty Inv. Recipient
BillingDocumentType I_GLAccountLineItemRawData BillingDocumentType Billing Type
BusinessProcess I_GLAccountLineItemRawData BusinessProcess Business Process
BusinessSolutionOrder I_GLAccountLineItemRawData BusinessSolutionOrder Solution Order
BusinessSolutionOrderItem I_GLAccountLineItemRawData BusinessSolutionOrderItem Solution Order Item
CostCenter I_GLAccountLineItemRawData CostCenter Cost Center
CostCtrActivityType I_GLAccountLineItemRawData CostCtrActivityType Activity Type
CostObject I_GLAccountLineItemRawData CostObject Cost Object
Customer I_GLAccountLineItemRawData Customer Sold-to Party
CustomerGroup I_GLAccountLineItemRawData CustomerGroup Customer Group
CustomerSupplierCountry I_GLAccountLineItemRawData CustomerSupplierCountry Customer or Supplier Country/Region
CustomerSupplierIndustry I_GLAccountLineItemRawData CustomerSupplierIndustry Industry
DistributionChannel I_GLAccountLineItemRawData DistributionChannel RefDistCh-Cust/Mat.
FunctionalArea I_GLAccountLineItemRawData FunctionalArea Sendr Fctl Area
OrderID I_GLAccountLineItemRawData OrderID Order ID
OrganizationDivision I_GLAccountLineItemRawData OrganizationDivision Org. Division
PartnerCostCenter I_GLAccountLineItemRawData PartnerCostCenter Sender Cost Ctr
PartnerProfitCenter I_GLAccountLineItemRawData PartnerProfitCenter Profit Center
Plant I_GLAccountLineItemRawData Plant Valuation Area
ProfitCenter I_GLAccountLineItemRawData ProfitCenter Profit Center
ProviderContract I_GLAccountLineItemRawData ProviderContract Contract
ProviderContractItem I_GLAccountLineItemRawData ProviderContractItem Contract Item
SalesDistrict I_GLAccountLineItemRawData SalesDistrict Sales District
SalesDocument I_GLAccountLineItemRawData SalesDocument SD Document
SalesDocumentItem I_GLAccountLineItemRawData SalesDocumentItem Sales Document Item
SalesOrganization I_GLAccountLineItemRawData SalesOrganization Sales Organization
Segment I_GLAccountLineItemRawData Segment Segment number
ServiceDocument I_GLAccountLineItemRawData ServiceDocument Transaction ID
ServiceDocumentItem I_GLAccountLineItemRawData ServiceDocumentItem Service Document
ServiceDocumentType I_GLAccountLineItemRawData ServiceDocumentType Transaction Type
ShipToParty I_GLAccountLineItemRawData ShipToParty Ship-To Party (obsolete)
SoldProduct I_GLAccountLineItemRawData SoldProduct Product Sold
SoldProductGroup I_GLAccountLineItemRawData SoldProductGroup Product Sold Group
WBSElementInternalID I_GLAccountLineItemRawData WBSElementInternalID WBS Internal ID
GLAccount I_GLAccountLineItemRawData GLAccount General Ledger
_JournalEntry _JournalEntry
_CompanyCode _CompanyCode
_CompanyCodeText _CompanyCodeText
_FiscalYearVariant _FiscalYearVariant
_FiscalYear _FiscalYear
_ControllingArea _ControllingArea
_ControllingAreaText _ControllingAreaText
_Segment _Segment
_CurrentProfitCenter _CurrentProfitCenter
_CurrentCostCenter _CurrentCostCenter
_WBSElementInternalID _WBSElementInternalID
_WBSElementInternalIDText _WBSElementInternalIDText
_WBSElementBasicData _WBSElementBasicData
_WBSElementBasicDataText _WBSElementBasicDataText
_BusinessArea _BusinessArea
_FunctionalArea _FunctionalArea
_Plant _Plant
_Ledger _Ledger
_SourceLedger _SourceLedger
_Customer _Customer
_CustomerText _CustomerText
_CustomerGroup _CustomerGroup
_SoldProductGroup _SoldProductGroup
_SoldProductGroup_2 _SoldProductGroup_2
_SalesDocument _SalesDocument
_SalesDocumentItem _SalesDocumentItem
_InternalOrder _InternalOrder
_Order _Order
_SolutionOrder _SolutionOrder
_SolutionOrderItem _SolutionOrderItem
_BusinessProcess _BusinessProcess
_BillingDocumentType _BillingDocumentType
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_SoldProduct _SoldProduct
_CustomerSupplierCountry _CustomerSupplierCountry
_SalesDistrict _SalesDistrict
_BillToParty _BillToParty
_ShipToParty _ShipToParty
_ServiceDocumentType _ServiceDocumentType
_ServiceDocument _ServiceDocument
_ServiceDocumentItem _ServiceDocumentItem
_CustomerSalesArea _CustomerSalesArea
_CustomerCompany I_GLAccountLineItemRawData _CustomerCompany
_ProviderContract I_GLAccountLineItemRawData _ProviderContract
_ProviderContractItem I_GLAccountLineItemRawData _ProviderContractItem

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 FIN_SubValProfSegmentLineitem.
-- 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.

CREATE VIEW FIN_SubValProfSegmentLineitem AS
SELECT
  I_GLAccountLineItemRawData.SourceLedger AS SourceLedger,
  I_GLAccountLineItemRawData.CompanyCode AS CompanyCode,
  I_GLAccountLineItemRawData.FiscalYear AS FiscalYear,
  I_GLAccountLineItemRawData.AccountingDocument AS AccountingDocument,
  I_GLAccountLineItemRawData.LedgerGLLineItem AS LedgerGLLineItem,
  I_CoCodeLedgerSourceLedger.Ledger AS Ledger,
  I_GLAccountLineItemRawData.BusinessArea AS BusinessArea,
  I_GLAccountLineItemRawData.ControllingArea AS ControllingArea,
  I_GLAccountLineItemRawData.FiscalYearVariant AS FiscalYearVariant,
  I_GLAccountLineItemRawData.BillToParty AS BillToParty,
  I_GLAccountLineItemRawData.BillingDocumentType AS BillingDocumentType,
  I_GLAccountLineItemRawData.BusinessProcess AS BusinessProcess,
  I_GLAccountLineItemRawData.BusinessSolutionOrder AS BusinessSolutionOrder,
  I_GLAccountLineItemRawData.BusinessSolutionOrderItem AS BusinessSolutionOrderItem,
  I_GLAccountLineItemRawData.CostCenter AS CostCenter,
  I_GLAccountLineItemRawData.CostCtrActivityType AS CostCtrActivityType,
  I_GLAccountLineItemRawData.CostObject AS CostObject,
  I_GLAccountLineItemRawData.Customer AS Customer,
  I_GLAccountLineItemRawData.CustomerGroup AS CustomerGroup,
  I_GLAccountLineItemRawData.CustomerSupplierCountry AS CustomerSupplierCountry,
  I_GLAccountLineItemRawData.CustomerSupplierIndustry AS CustomerSupplierIndustry,
  I_GLAccountLineItemRawData.DistributionChannel AS DistributionChannel,
  I_GLAccountLineItemRawData.FunctionalArea AS FunctionalArea,
  I_GLAccountLineItemRawData.OrderID AS OrderID,
  I_GLAccountLineItemRawData.OrganizationDivision AS OrganizationDivision,
  I_GLAccountLineItemRawData.PartnerCostCenter AS PartnerCostCenter,
  I_GLAccountLineItemRawData.PartnerProfitCenter AS PartnerProfitCenter,
  I_GLAccountLineItemRawData.Plant AS Plant,
  I_GLAccountLineItemRawData.ProfitCenter AS ProfitCenter,
  I_GLAccountLineItemRawData.ProviderContract AS ProviderContract,
  I_GLAccountLineItemRawData.ProviderContractItem AS ProviderContractItem,
  I_GLAccountLineItemRawData.SalesDistrict AS SalesDistrict,
  I_GLAccountLineItemRawData.SalesDocument AS SalesDocument,
  I_GLAccountLineItemRawData.SalesDocumentItem AS SalesDocumentItem,
  I_GLAccountLineItemRawData.SalesOrganization AS SalesOrganization,
  I_GLAccountLineItemRawData.Segment AS Segment,
  I_GLAccountLineItemRawData.ServiceDocument AS ServiceDocument,
  I_GLAccountLineItemRawData.ServiceDocumentItem AS ServiceDocumentItem,
  I_GLAccountLineItemRawData.ServiceDocumentType AS ServiceDocumentType,
  I_GLAccountLineItemRawData.ShipToParty AS ShipToParty,
  I_GLAccountLineItemRawData.SoldProduct AS SoldProduct,
  I_GLAccountLineItemRawData.SoldProductGroup AS SoldProductGroup,
  I_GLAccountLineItemRawData.WBSElementInternalID AS WBSElementInternalID,
  I_GLAccountLineItemRawData.GLAccount AS GLAccount,
  I_GLAccountLineItemRawData._CustomerCompany AS _CustomerCompany,
  I_GLAccountLineItemRawData._ProviderContract AS _ProviderContract,
  I_GLAccountLineItemRawData._ProviderContractItem AS _ProviderContractItem
FROM I_GLAccountLineItemRawData
INNER JOIN I_CoCodeLedgerSourceLedger ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_JournalEntry AS _JournalEntry ON CompanyCode = _JournalEntry.CompanyCode AND FiscalYear = _JournalEntry.FiscalYear AND AccountingDocument = _JournalEntry.AccountingDocument  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCodeText ON CompanyCode = _CompanyCodeText.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_FiscalYearVariant AS _FiscalYearVariant ON FiscalYearVariant = _FiscalYearVariant.FiscalYearVariant  -- association [1..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND CompanyCode = _FiscalYear.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingAreaText ON ControllingArea = _ControllingAreaText.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_Segment AS _Segment ON Segment = _Segment.Segment  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _CurrentProfitCenter ON ControllingArea = _CurrentProfitCenter.ControllingArea AND ProfitCenter = _CurrentProfitCenter.ProfitCenter AND _CurrentProfitCenter.ValidityStartDate <= $session.system_date AND _CurrentProfitCenter.ValidityEndDate >= $session.system_date  -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _CurrentCostCenter ON ControllingArea = _CurrentCostCenter.ControllingArea AND CostCenter = _CurrentCostCenter.CostCenter AND _CurrentCostCenter.ValidityStartDate <= $session.system_date AND _CurrentCostCenter.ValidityEndDate >= $session.system_date  -- association [0..1]
LEFT OUTER JOIN I_WBSElementByInternalKey AS _WBSElementInternalID ON WBSElementInternalID = _WBSElementInternalID.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_WBSElementByInternalKey AS _WBSElementInternalIDText ON WBSElementInternalID = _WBSElementInternalIDText.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData ON WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicDataText ON WBSElementInternalID = _WBSElementBasicDataText.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea  -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger  -- association [1..1]
LEFT OUTER JOIN I_Ledger AS _SourceLedger ON SourceLedger = _SourceLedger.Ledger  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _CustomerText ON Customer = _CustomerText.Customer  -- association [0..1]
LEFT OUTER JOIN I_CustomerGroup AS _CustomerGroup ON CustomerGroup = _CustomerGroup.CustomerGroup  -- association [0..1]
LEFT OUTER JOIN I_ProductGroup AS _SoldProductGroup ON SoldProductGroup = _SoldProductGroup.MaterialGroup  -- association [0..1]
LEFT OUTER JOIN I_ProductGroup_2 AS _SoldProductGroup_2 ON SoldProductGroup = _SoldProductGroup_2.ProductGroup  -- association [0..1]
LEFT OUTER JOIN I_SalesDocument AS _SalesDocument ON SalesDocument = _SalesDocument.SalesDocument  -- association [0..1]
LEFT OUTER JOIN I_SalesDocumentItem AS _SalesDocumentItem ON SalesDocument = _SalesDocumentItem.SalesDocument AND SalesDocumentItem = _SalesDocumentItem.SalesDocumentItem  -- association [0..1]
LEFT OUTER JOIN I_InternalOrder AS _InternalOrder ON OrderID = _InternalOrder.InternalOrder  -- association [0..1]
LEFT OUTER JOIN I_Order AS _Order ON OrderID = _Order.OrderID  -- association [0..1]
LEFT OUTER JOIN I_BusinessProcess AS _BusinessProcess ON ControllingArea = _BusinessProcess.ControllingArea AND BusinessProcess = _BusinessProcess.BusinessProcess  -- association [0..1]
LEFT OUTER JOIN I_BillingDocumentType AS _BillingDocumentType ON BillingDocumentType = _BillingDocumentType.BillingDocumentType  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON DistributionChannel = _DistributionChannel.DistributionChannel  -- association [0..1]
LEFT OUTER JOIN I_Product AS _SoldProduct ON SoldProduct = _SoldProduct.Product  -- association [0..1]
LEFT OUTER JOIN I_Country AS _CustomerSupplierCountry ON CustomerSupplierCountry = _CustomerSupplierCountry.Country  -- association [0..1]
LEFT OUTER JOIN I_SalesDistrict AS _SalesDistrict ON SalesDistrict = _SalesDistrict.SalesDistrict  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _BillToParty ON BillToParty = _BillToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _ShipToParty ON ShipToParty = _ShipToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_ServiceDocumentType AS _ServiceDocumentType ON ServiceDocumentType = _ServiceDocumentType.ServiceDocumentType  -- association [0..1]
LEFT OUTER JOIN I_SrvcDocByDocumentType AS _ServiceDocument ON ServiceDocumentType = _ServiceDocument.ServiceDocumentType AND ServiceDocument = _ServiceDocument.ServiceDocument  -- association [0..1]
LEFT OUTER JOIN I_SrvcDocItemByDocumentType AS _ServiceDocumentItem ON ServiceDocumentType = _ServiceDocumentItem.ServiceDocumentType AND ServiceDocument = _ServiceDocumentItem.ServiceDocument AND ServiceDocumentItem = _ServiceDocumentItem.ServiceDocumentItem  -- association [0..1]
LEFT OUTER JOIN I_ServiceDocumentEnhcd AS _SolutionOrder ON BusinessSolutionOrder = _SolutionOrder.ServiceDocument AND _SolutionOrder.ServiceObjectType = 'BUS2000172'  -- association [0..1]
LEFT OUTER JOIN I_ServiceDocumentItemEnhcd AS _SolutionOrderItem ON _SolutionOrderItem.ServiceObjectType = 'BUS2000172' AND BusinessSolutionOrder = _SolutionOrderItem.ServiceDocument AND BusinessSolutionOrderItem = _SolutionOrderItem.ServiceDocumentItem  -- association [0..1]
LEFT OUTER JOIN I_CustomerSalesArea AS _CustomerSalesArea ON Customer = _CustomerSalesArea.Customer AND SalesOrganization = _CustomerSalesArea.SalesOrganization AND DistributionChannel = _CustomerSalesArea.DistributionChannel AND OrganizationDivision = _CustomerSalesArea.Division  -- association [0..1]
LEFT OUTER JOIN E_JournalEntryItem AS _Extension ON SourceLedger = _Extension.SourceLedger AND CompanyCode = _Extension.CompanyCode AND FiscalYear = _Extension.FiscalYear AND AccountingDocument = _Extension.AccountingDocument AND LedgerGLLineItem = _Extension.LedgerGLLineItem  -- association [1..1]
;