C_GLIncgOrdPrdtvAnalysis

DDL: C_GLINCGORDPRDTVANALYSIS SQL: CGLIOPRANLS Type: view CONSUMPTION Package: ODATA_INCOMINGORDERS

Pred. Analysis based on Inc. Orders

C_GLIncgOrdPrdtvAnalysis is a Consumption CDS View that provides data about "Pred. Analysis based on Inc. Orders" in SAP S/4HANA. It reads from 1 data source (R_GLIncgOrdPrdtvAnalysis) and exposes 165 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, AccountingDocument. It has 23 associations to related views. Part of development package ODATA_INCOMINGORDERS.

Data Sources (1)

SourceAliasJoin Type
R_GLIncgOrdPrdtvAnalysis _GLI from

Associations (23)

CardinalityTargetAliasCondition
[0..*] I_AccountingDocumentTypeText _AccountingDocumentTypeText $projection.AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType
[0..*] I_BusTransactionTypeText _BusinessTransactionTypeText $projection.BusinessTransactionType = _BusinessTransactionTypeText.BusinessTransactionType
[0..*] I_BusinessAreaText _BusinessAreaText $projection.BusinessArea = _BusinessAreaText.BusinessArea
[0..*] I_ChartOfAccountsText _ChartOfAccountsText $projection.ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts
[0..1] I_Customer _CustomerText $projection.Customer = _CustomerText.Customer
[0..1] I_SalesOrderItem _SalesOrderItemText $projection.SourceReferenceDocument = _SalesOrderItemText.SalesOrder and $projection.SourceReferenceDocumentItem = _SalesOrderItemText.SalesOrderItem
[0..*] I_ProfitCenterText _ProfitCenterText $projection.ControllingArea = _ProfitCenterText.ControllingArea and $projection.ProfitCenter = _ProfitCenterText.ProfitCenter and $projection.ValidityEndDate = _ProfitCenterText.ValidityEndDate
[0..*] I_GLAccountText _GLAccountText $projection.ChartOfAccounts = _GLAccountText.ChartOfAccounts and $projection.GLAccount = _GLAccountText.GLAccount
[0..*] I_DistributionChannelText _DistributionChannelText $projection.DistributionChannel = _DistributionChannelText.DistributionChannel
[0..*] I_ProductText _SoldProductText $projection.SoldProduct = _SoldProductText.Product
[0..*] I_ProductGroupText _ProductGroupText $projection.ProductGroup = _ProductGroupText.MaterialGroup
[0..*] I_CustomerGroupText _CustomerGroupText $projection.CustomerGroup = _CustomerGroupText.CustomerGroup
[0..*] I_SegmentText _SegmentText $projection.Segment = _SegmentText.Segment
[0..*] I_DivisionText _DivisionText $projection.Division = _DivisionText.Division
[0..*] I_SemanticTagText _SemanticTagText $projection.SemanticTag = _SemanticTagText.SemanticTag
[0..*] I_LedgerText _LedgerText $projection.Ledger = _LedgerText.Ledger
[0..*] I_AccountingDocumentCategoryT _AccountingDocumentCategoryT $projection.AccountingDocumentCategory = _AccountingDocumentCategoryT.AccountingDocumentCategory
[0..*] I_SalesOrganizationText _SalesOrganizationText $projection.SalesOrganization = _SalesOrganizationText.SalesOrganization
[0..*] I_CostCenterText _CostCenterText $projection.ControllingArea = _CostCenterText.ControllingArea and $projection.CostCenter = _CostCenterText.CostCenter and _CostCenterText.ValidityStartDate <= $session.system_date and _CostCenterText.ValidityEndDate >= $session.system_date
[0..*] I_UnitOfMeasureText _UnitOfMeasureText $projection.BaseUnit = _UnitOfMeasureText.UnitOfMeasure
[0..1] I_ControllingArea _ControllingAreaText $projection.ControllingArea = _ControllingAreaText.ControllingArea
[0..*] I_GLAccountHierarchyText _GLAccountHierarchyText $projection.GLAccountHierarchy = _GLAccountHierarchyText.GLAccountHierarchy
[0..*] I_SalesDistrictText _SalesDistrictText $projection.SalesDistrict = _SalesDistrictText.SalesDistrict

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CGLIOPRANLS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Pred. Analysis based on Inc. Orders view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.query.implementedBy ABAP:CL_INCOMINGORDERS_QUERY view
UI.headerInfo.typeNamePlural Items view

Fields (165)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger Prediction Ledger
KEY SourceLedger SourceLedger Source Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
KEY GLAccountHierarchy GLAccountHierarchy
KEY SemanticTag SemanticTag Semantic Tag
KEY ValidityStartDate ValidityStartDate Validity Start Date
KEY ValidityEndDate ValidityEndDate ValidTo
PredictionLedger Ledger Prediction Ledger
LedgerName
GLAccountHierarchyName
CompanyCodeName _CompanyCode CompanyCodeName Company Name
SemanticTagName
DocumentDate DocumentDate Journal Entry Date
AmountInGlobalCurrency AmountInGlobalCurrency Amount in Global Currency
InvertedAmountInGlobalCurrency InvertedAmountInGlobalCurrency
ProfitCenter ProfitCenter Profit Center
ProfitCenterName
GLAccount GLAccount General Ledger
GLAccountName
SalesOrder Reference Doc.
SalesOrganization SalesOrganization Sales Organization
SalesOrganizationName
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
DistributionChannelName
SoldProduct Product Sold
SoldProductName
ProductGroup MaterialGroup Product Group
ProductGroupName
CustomerGroup CustomerGroup Customer Group
CustomerGroupName Customer Group Description
Customer Customer Sold-to Party
CustomerName _CustomerText CustomerName Name of Customer
FiscalQuarter FiscalQuarter
FiscalPeriod FiscalPeriod Tax period
FiscalYearVariant FiscalYearVariant FY Variant
FiscalYearPeriod FiscalYearPeriod Period/Year
JrnlEntrDerivedFiscalYear JrnlEntrDerivedFiscalYear
JrnlEntrDerivedFiscalQuarter JrnlEntrDerivedFiscalQuarter
JrnlEntrDerivedFiscalPeriod JrnlEntrDerivedFiscalPeriod
JrnlEntrDerivdFiscalYearPeriod JrnlEntrDerivdFiscalYearPeriod
FiscalPeriodStartDate FiscalPeriodStartDate
CompanyCodeCurrency CompanyCodeCurrency Local Currency
GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
FunctionalCurrency FunctionalCurrency Functional Currency
AmountInFunctionalCurrency AmountInFunctionalCurrency Amount in Functional Currency
InvertedAmtInFuncnlCurrency InvertedAmtInFuncnlCurrency Amount in Functional Currency
SalesDistrict SalesDistrict Sales District
SalesDistrictName
Segment Segment Segment number
SegmentName
SalesOrderItem Ref. Doc. Item
SalesOrderItemText _SalesOrderItemText SalesOrderItemText
OrderType OrderType Order Type
Division Division Internal Division ID
DivisionName
BusinessTransactionType BusinessTransactionType Bus.transaction
BusinessTransactionTypeName Business Transaction Type Text
BusinessArea BusinessArea Business Area
BusinessAreaName
CostCenter CostCenter Cost Center
CostCenterName
CustomerSupplierCountry CustomerSupplierCountry Customer or Supplier Country/Region
ControllingArea R_GLIncgOrdPrdtvAnalysis ControllingArea Controlling Area
ControllingAreaName _ControllingAreaText ControllingAreaName Long Text
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
InvertedAmtInCoCodeCurrency InvertedAmtInCoCodeCurrency
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
AccountingDocumentCategoryName
PostingDate PostingDate Posting Date for GR
CreationDate CreationDate Time Stamp
ChartOfAccounts R_GLIncgOrdPrdtvAnalysis ChartOfAccounts Node Class
ChartOfAccountsName Chart of Accounts Description
LedgerFiscalYear LedgerFiscalYear
FinancialTransactionType FinancialTransactionType Transact. Type
TransactionCurrency TransactionCurrency Transaction Currency
AmountInTransactionCurrency AmountInTransactionCurrency Amount in Trans. Crcy
InvertedAmtInTransCrcy InvertedAmtInTransCrcy Amount in Trans. Crcy
BaseUnit BaseUnit Unit of Measure
BaseUnitName
Quantity Quantity Value
FixedQuantity FixedQuantity Fixed Quantity
DebitCreditCode DebitCreditCode Single-Character Flag
AssignmentReference AssignmentReference Assignment Reference
PostingKey PostingKey Posting Key
AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
GLAccountType GLAccountType G/L Account Type
Plant Plant Valuation Area
FinancialAccountType FinancialAccountType Fin. Account Type
SpecialGLCode SpecialGLCode Special G/L Ind
ClearingDate ClearingDate Clearing Date
ClearingAccountingDocument ClearingAccountingDocument Clearing Journal Entry
BillingDocumentType BillingDocumentType Billing Type
CustomerSupplierIndustry CustomerSupplierIndustry Industry
BillToParty BillToParty Inv. Recipient
ShipToParty ShipToParty Ship-To Party (obsolete)
SourceReferenceDocumentType SourceReferenceDocumentType Ref. procedure
SourceReferenceDocument SourceReferenceDocument Reference Doc.
SourceReferenceDocumentItem SourceReferenceDocumentItem Ref. Doc. Item
OperatingConcern OperatingConcern Operating concern
AccountingDocumentItem AccountingDocumentItem Posting View Item
TransactionTypeDetermination TransactionTypeDetermination Transaction Key
ControllingDebitCreditCode ControllingDebitCreditCode Dr/Cr ind. CO
AccountingDocumentType AccountingDocumentType Journal Entry Type
AccountingDocumentTypeName
ReferenceDocumentType ReferenceDocumentType Reference Document Type
JrnlEntryItemObsoleteReason JrnlEntryItemObsoleteReason
FreeDefinedCurrency1 FreeDefinedCurrency1 Freely Defined Currency 1
AmountInFreeDefinedCurrency1 AmountInFreeDefinedCurrency1 Amount in Freely Defined Currency 1
InvertedAmtInFreeDefinedCrcy1 InvertedAmtInFreeDefinedCrcy1
FreeDefinedCurrency2 FreeDefinedCurrency2 Freely Defined Currency 2
AmountInFreeDefinedCurrency2 AmountInFreeDefinedCurrency2 Amount in Freely Defined Currency 2
InvertedAmtInFreeDefinedCrcy2 InvertedAmtInFreeDefinedCrcy2
FreeDefinedCurrency3 FreeDefinedCurrency3 Freely Defined Currency 3
AmountInFreeDefinedCurrency3 AmountInFreeDefinedCurrency3 Amount in Freely Defined Currency 3
InvertedAmtInFreeDefinedCrcy3 InvertedAmtInFreeDefinedCrcy3
FreeDefinedCurrency4 FreeDefinedCurrency4 Freely Defined Currency 4
AmountInFreeDefinedCurrency4 AmountInFreeDefinedCurrency4 Amount in Freely Defined Currency 4
InvertedAmtInFreeDefinedCrcy4 InvertedAmtInFreeDefinedCrcy4
FreeDefinedCurrency5 FreeDefinedCurrency5 Freely Defined Currency 5
AmountInFreeDefinedCurrency5 AmountInFreeDefinedCurrency5 Amount in Freely Defined Currency 5
InvertedAmtInFreeDefinedCrcy5 InvertedAmtInFreeDefinedCrcy5
FreeDefinedCurrency6 FreeDefinedCurrency6 Freely Defined Currency 6
AmountInFreeDefinedCurrency6 AmountInFreeDefinedCurrency6 Amount in Freely Defined Currency 6
InvertedAmtInFreeDefinedCrcy6 InvertedAmtInFreeDefinedCrcy6
FreeDefinedCurrency7 FreeDefinedCurrency7 Freely Defined Currency 7
AmountInFreeDefinedCurrency7 AmountInFreeDefinedCurrency7 Amount in Freely Defined Currency 7
InvertedAmtInFreeDefinedCrcy7 InvertedAmtInFreeDefinedCrcy7
FreeDefinedCurrency8 FreeDefinedCurrency8 Freely Defined Currency 8
AmountInFreeDefinedCurrency8 AmountInFreeDefinedCurrency8 Amount in Freely Defined Currency 8
InvertedAmtInFreeDefinedCrcy8 InvertedAmtInFreeDefinedCrcy8
CostSourceUnit CostSourceUnit
ValuationQuantity ValuationQuantity
NumberOfSalesOrders NumberOfSalesOrders Number of Sales Orders
SalesOrderDiscountRate Discount Rate
SalesOrderGrossMargin Gross Margin
UnitOfMeasure
RevenueInGlobalCurrency RecognizedRevnAmtInGlobCrcy Revenues
RecognizedMarginAmount RecognizedMarginAmount Margin
SalesDeductionAmountInGlobCrcy Sales Deductions
RecognizableRevnAmtInGlobCrcy RecognizableRevnAmtInGlobCrcy Billed Revenue
ServiceDocument ServiceDocument Transaction ID
ServiceDocumentItem ServiceDocumentItem Service Document
ServiceDocumentType ServiceDocumentType Transaction Type
ValuationArea ValuationArea Valuation Area
Supplier Supplier Supplier
SalesDocument SalesDocument SD Document
FixedAsset FixedAsset Sub-number
MasterFixedAsset MasterFixedAsset Fixed Asset
OrderID OrderID Order ID
OrganizationDivision OrganizationDivision Org. Division
AssetClass AssetClass Asset Class
FunctionalArea FunctionalArea Sendr Fctl Area
_ServiceDocument _ServiceDocument
_Supplier _Supplier
_CurrentCostCenter _CurrentCostCenter
_SalesDocument _SalesDocument
_FixedAsset _FixedAsset
_Order _Order
_Customer _Customer
_AccountingDocumentType _AccountingDocumentType
_CurrentProfitCenter _CurrentProfitCenter
_GLAccountInCompanyCode _GLAccountInCompanyCode

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 C_GLIncgOrdPrdtvAnalysis.
-- 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: CGLIOPRANLS

CREATE VIEW C_GLIncgOrdPrdtvAnalysis AS
SELECT
  Ledger,
  SourceLedger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  GLAccountHierarchy,
  SemanticTag,
  ValidityStartDate,
  ValidityEndDate,
  Ledger AS PredictionLedger,
  _LedgerText[1:Language = $session.system_language].LedgerName AS LedgerName,
  _GLAccountHierarchyText[1:Language = $session.system_language].GLAccountHierarchyName AS GLAccountHierarchyName,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  cast(_SemanticTagText[1:Language = $session.system_language].SemanticTagName as fins_sem_tag_name) AS SemanticTagName,
  DocumentDate,
  AmountInGlobalCurrency,
  InvertedAmountInGlobalCurrency,
  ProfitCenter,
  _ProfitCenterText[1:Language = $session.system_language].ProfitCenterName AS ProfitCenterName,
  GLAccount,
  cast(_GLAccountText[1:Language = $session.system_language].GLAccountName as fin_glaccount_name) AS GLAccountName,
  cast(SourceReferenceDocument as vdm_sales_order) AS SalesOrder,
  SalesOrganization,
  _SalesOrganizationText[1:Language = $session.system_language].SalesOrganizationName AS SalesOrganizationName,
  DistributionChannel,
  _DistributionChannelText[1:Language = $session.system_language].DistributionChannelName AS DistributionChannelName,
  cast (SoldMaterial as fins_matnr_pa preserving type) AS SoldProduct,
  _SoldProductText[1:Language = $session.system_language].ProductName AS SoldProductName,
  MaterialGroup AS ProductGroup,
  cast(_ProductGroupText[1:Language = $session.system_language].MaterialGroupName as fins_matkl_pa_desc) AS ProductGroupName,
  CustomerGroup,
  _CustomerGroupText[1:Language = $session.system_language].CustomerGroupName AS CustomerGroupName,
  Customer,
  _CustomerText.CustomerName AS CustomerName,
  FiscalQuarter,
  FiscalPeriod,
  FiscalYearVariant,
  FiscalYearPeriod,
  JrnlEntrDerivedFiscalYear,
  JrnlEntrDerivedFiscalQuarter,
  JrnlEntrDerivedFiscalPeriod,
  JrnlEntrDerivdFiscalYearPeriod,
  FiscalPeriodStartDate,
  CompanyCodeCurrency,
  GlobalCurrency,
  FunctionalCurrency,
  AmountInFunctionalCurrency,
  InvertedAmtInFuncnlCurrency,
  SalesDistrict,
  _SalesDistrictText[1:Language = $session.system_language].SalesDistrictName AS SalesDistrictName,
  Segment,
  _SegmentText[1:Language = $session.system_language].SegmentName AS SegmentName,
  cast( SourceReferenceDocumentItem as fac_kdpos) AS SalesOrderItem,
  _SalesOrderItemText.SalesOrderItemText AS SalesOrderItemText,
  OrderType,
  Division,
  _DivisionText[1:Language = $session.system_language].DivisionName AS DivisionName,
  BusinessTransactionType,
  _BusinessTransactionTypeText[1:Language = $session.system_language].BusinessTransactionTypeName AS BusinessTransactionTypeName,
  BusinessArea,
  _BusinessAreaText[1:Language = $session.system_language].BusinessAreaName AS BusinessAreaName,
  CostCenter,
  _CostCenterText[1:Language = $session.system_language].CostCenterName AS CostCenterName,
  CustomerSupplierCountry,
  _GLI.ControllingArea AS ControllingArea,
  _ControllingAreaText.ControllingAreaName AS ControllingAreaName,
  AmountInCompanyCodeCurrency,
  InvertedAmtInCoCodeCurrency,
  AccountingDocumentCategory,
  cast(_AccountingDocumentCategoryT[1:Language = $session.system_language].AccountingDocumentCategoryName as fis_bstat_name) AS AccountingDocumentCategoryName,
  PostingDate,
  CreationDate,
  _GLI.ChartOfAccounts AS ChartOfAccounts,
  _ChartOfAccountsText[1:Language = $session.system_language].ChartOfAccountsName AS ChartOfAccountsName,
  LedgerFiscalYear,
  FinancialTransactionType,
  TransactionCurrency,
  AmountInTransactionCurrency,
  InvertedAmtInTransCrcy,
  BaseUnit,
  _UnitOfMeasureText[1:Language = $session.system_language].UnitOfMeasureName AS BaseUnitName,
  Quantity,
  FixedQuantity,
  DebitCreditCode,
  AssignmentReference,
  PostingKey,
  AccountingDocCreatedByUser,
  GLAccountType,
  Plant,
  FinancialAccountType,
  SpecialGLCode,
  ClearingDate,
  ClearingAccountingDocument,
  BillingDocumentType,
  CustomerSupplierIndustry,
  BillToParty,
  ShipToParty,
  SourceReferenceDocumentType,
  SourceReferenceDocument,
  SourceReferenceDocumentItem,
  OperatingConcern,
  AccountingDocumentItem,
  TransactionTypeDetermination,
  ControllingDebitCreditCode,
  AccountingDocumentType,
  _AccountingDocumentTypeText[1:Language = $session.system_language].AccountingDocumentTypeName AS AccountingDocumentTypeName,
  ReferenceDocumentType,
  JrnlEntryItemObsoleteReason,
  FreeDefinedCurrency1,
  AmountInFreeDefinedCurrency1,
  InvertedAmtInFreeDefinedCrcy1,
  FreeDefinedCurrency2,
  AmountInFreeDefinedCurrency2,
  InvertedAmtInFreeDefinedCrcy2,
  FreeDefinedCurrency3,
  AmountInFreeDefinedCurrency3,
  InvertedAmtInFreeDefinedCrcy3,
  FreeDefinedCurrency4,
  AmountInFreeDefinedCurrency4,
  InvertedAmtInFreeDefinedCrcy4,
  FreeDefinedCurrency5,
  AmountInFreeDefinedCurrency5,
  InvertedAmtInFreeDefinedCrcy5,
  FreeDefinedCurrency6,
  AmountInFreeDefinedCurrency6,
  InvertedAmtInFreeDefinedCrcy6,
  FreeDefinedCurrency7,
  AmountInFreeDefinedCurrency7,
  InvertedAmtInFreeDefinedCrcy7,
  FreeDefinedCurrency8,
  AmountInFreeDefinedCurrency8,
  InvertedAmtInFreeDefinedCrcy8,
  CostSourceUnit,
  ValuationQuantity,
  NumberOfSalesOrders,
  cast(0 as abap.dec( 10,2 )) AS SalesOrderDiscountRate,
  cast(0 as abap.dec( 10, 2 )) AS SalesOrderGrossMargin,
  cast('%' as msehi) AS UnitOfMeasure,
  RecognizedRevnAmtInGlobCrcy AS RevenueInGlobalCurrency,
  RecognizedMarginAmount,
  -SalesDeductionAmountInGlobCrcy AS SalesDeductionAmountInGlobCrcy,
  RecognizableRevnAmtInGlobCrcy,
  ServiceDocument,
  ServiceDocumentItem,
  ServiceDocumentType,
  ValuationArea,
  Supplier,
  SalesDocument,
  FixedAsset,
  MasterFixedAsset,
  OrderID,
  OrganizationDivision,
  AssetClass,
  FunctionalArea
FROM R_GLIncgOrdPrdtvAnalysis AS _GLI
LEFT OUTER JOIN I_AccountingDocumentTypeText AS _AccountingDocumentTypeText ON AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType  -- association [0..*]
LEFT OUTER JOIN I_BusTransactionTypeText AS _BusinessTransactionTypeText ON BusinessTransactionType = _BusinessTransactionTypeText.BusinessTransactionType  -- association [0..*]
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_ChartOfAccountsText AS _ChartOfAccountsText ON ChartOfAccounts = _ChartOfAccountsText.ChartOfAccounts  -- association [0..*]
LEFT OUTER JOIN I_Customer AS _CustomerText ON Customer = _CustomerText.Customer  -- association [0..1]
LEFT OUTER JOIN I_SalesOrderItem AS _SalesOrderItemText ON SourceReferenceDocument = _SalesOrderItemText.SalesOrder AND SourceReferenceDocumentItem = _SalesOrderItemText.SalesOrderItem  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenterText AS _ProfitCenterText ON ControllingArea = _ProfitCenterText.ControllingArea AND ProfitCenter = _ProfitCenterText.ProfitCenter AND ValidityEndDate = _ProfitCenterText.ValidityEndDate  -- association [0..*]
LEFT OUTER JOIN I_GLAccountText AS _GLAccountText ON ChartOfAccounts = _GLAccountText.ChartOfAccounts AND GLAccount = _GLAccountText.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_DistributionChannelText AS _DistributionChannelText ON DistributionChannel = _DistributionChannelText.DistributionChannel  -- association [0..*]
LEFT OUTER JOIN I_ProductText AS _SoldProductText ON SoldProduct = _SoldProductText.Product  -- association [0..*]
LEFT OUTER JOIN I_ProductGroupText AS _ProductGroupText ON ProductGroup = _ProductGroupText.MaterialGroup  -- association [0..*]
LEFT OUTER JOIN I_CustomerGroupText AS _CustomerGroupText ON CustomerGroup = _CustomerGroupText.CustomerGroup  -- association [0..*]
LEFT OUTER JOIN I_SegmentText AS _SegmentText ON Segment = _SegmentText.Segment  -- association [0..*]
LEFT OUTER JOIN I_DivisionText AS _DivisionText ON Division = _DivisionText.Division  -- association [0..*]
LEFT OUTER JOIN I_SemanticTagText AS _SemanticTagText ON SemanticTag = _SemanticTagText.SemanticTag  -- association [0..*]
LEFT OUTER JOIN I_LedgerText AS _LedgerText ON Ledger = _LedgerText.Ledger  -- association [0..*]
LEFT OUTER JOIN I_AccountingDocumentCategoryT AS _AccountingDocumentCategoryT ON AccountingDocumentCategory = _AccountingDocumentCategoryT.AccountingDocumentCategory  -- association [0..*]
LEFT OUTER JOIN I_SalesOrganizationText AS _SalesOrganizationText ON SalesOrganization = _SalesOrganizationText.SalesOrganization  -- association [0..*]
LEFT OUTER JOIN I_CostCenterText AS _CostCenterText ON ControllingArea = _CostCenterText.ControllingArea AND CostCenter = _CostCenterText.CostCenter AND _CostCenterText.ValidityStartDate <= $session.system_date AND _CostCenterText.ValidityEndDate >= $session.system_date  -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitOfMeasureText ON BaseUnit = _UnitOfMeasureText.UnitOfMeasure  -- association [0..*]
LEFT OUTER JOIN I_ControllingArea AS _ControllingAreaText ON ControllingArea = _ControllingAreaText.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_GLAccountHierarchyText AS _GLAccountHierarchyText ON GLAccountHierarchy = _GLAccountHierarchyText.GLAccountHierarchy  -- association [0..*]
LEFT OUTER JOIN I_SalesDistrictText AS _SalesDistrictText ON SalesDistrict = _SalesDistrictText.SalesDistrict  -- association [0..*]
;