C_AllocationSegmentTP

DDL: C_ALLOCATIONSEGMENTTP SQL: CALLOCSEGMENT Type: view CONSUMPTION

Allocation Segment

C_AllocationSegmentTP is a Consumption CDS View that provides data about "Allocation Segment" in SAP S/4HANA. It reads from 1 data source (I_AllocationSegmentTP) and exposes 89 fields with key fields AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment. It has 24 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_AllocationSegmentTP I_AllocationSegmentTP from

Associations (24)

CardinalityTargetAliasCondition
[0..*] C_AllocationSenderInformation _SenderInformation $projection.AllocationType = _SenderInformation.AllocationType and $projection.allocationpostingtype = _SenderInformation.AllocationPostingType and $projection.allocationactualplanvariant = _SenderInformation.AllocationActualPlanVariant
[0..*] C_AllocationSenderKeyFieldTP _SenderField $projection.AllocationType = _SenderField.AllocationType and $projection.AllocationCycle = _SenderField.AllocationCycle and $projection.AllocationCycleStartDate = _SenderField.AllocationCycleStartDate and $projection.AllocationCycleSegment = _SenderField.AllocationCycleSegment
[0..*] C_AllocReceiverInformation _ReceiverInformation $projection.AllocationType = _ReceiverInformation.AllocationType and $projection.allocationpostingtype = _ReceiverInformation.AllocationPostingType and $projection.allocationactualplanvariant = _ReceiverInformation.AllocationActualPlanVariant
[0..*] C_AllocationReceiverKeyFieldTP _ReceiverField $projection.AllocationType = _ReceiverField.AllocationType and $projection.AllocationCycle = _ReceiverField.AllocationCycle and $projection.AllocationCycleStartDate = _ReceiverField.AllocationCycleStartDate and $projection.AllocationCycleSegment = _ReceiverField.AllocationCycleSegment
[0..*] C_AllocSenderValueInformation _SenderValueInformation $projection.AllocationType = _SenderValueInformation.AllocationType and $projection.allocationpostingtype = _SenderValueInformation.AllocationPostingType and $projection.allocationactualplanvariant = _SenderValueInformation.AllocationActualPlanVariant
[0..*] C_AllocSenderValueKeyFieldTP _SenderValueField $projection.AllocationType = _SenderValueField.AllocationType and $projection.AllocationCycle = _SenderValueField.AllocationCycle and $projection.AllocationCycleStartDate = _SenderValueField.AllocationCycleStartDate and $projection.AllocationCycleSegment = _SenderValueField.AllocationCycleSegment
[0..*] C_AllocRcvrTracingInformation _ReceiverTracingInformation $projection.AllocationType = _ReceiverTracingInformation.AllocationType and $projection.allocationpostingtype = _ReceiverTracingInformation.AllocationPostingType and $projection.allocationactualplanvariant = _ReceiverTracingInformation.AllocationActualPlanVariant
[0..*] C_AllocRcvrTracingKeyFieldTP _ReceiverTracingField $projection.AllocationType = _ReceiverTracingField.AllocationType and $projection.AllocationCycle = _ReceiverTracingField.AllocationCycle and $projection.AllocationCycleStartDate = _ReceiverTracingField.AllocationCycleStartDate and $projection.AllocationCycleSegment = _ReceiverTracingField.AllocationCycleSegment
[0..*] C_AllocationSenderElementTP _SenderElement $projection.AllocationType = _SenderElement.AllocationType and $projection.AllocationCycle = _SenderElement.AllocationCycle and $projection.AllocationCycleStartDate = _SenderElement.AllocationCycleStartDate and $projection.AllocationCycleSegment = _SenderElement.AllocationCycleSegment
[0..*] C_AllocationReceiverElementTP _ReceiverElement $projection.AllocationType = _ReceiverElement.AllocationType and $projection.AllocationCycle = _ReceiverElement.AllocationCycle and $projection.AllocationCycleStartDate = _ReceiverElement.AllocationCycleStartDate and $projection.AllocationCycleSegment = _ReceiverElement.AllocationCycleSegment
[0..*] C_AllocReceiverFactorElementTP _ReceiverWeightingElement $projection.AllocationType = _ReceiverWeightingElement.AllocationType and $projection.AllocationCycle = _ReceiverWeightingElement.AllocationCycle and $projection.AllocationCycleStartDate = _ReceiverWeightingElement.AllocationCycleStartDate and $projection.AllocationCycleSegment = _ReceiverWeightingElement.AllocationCycleSegment
[1..1] I_AllocationSenderRule _AllocationSenderRule $projection.AllocationSenderRule = _AllocationSenderRule.AllocationSenderRule
[1..1] I_AllocationReceiverRule _AllocationReceiverRule $projection.AllocationReceiverRule = _AllocationReceiverRule.AllocationReceiverRule
[1..1] I_AllocScNgtvTracingFactor _AllocScNgtvTracingFactor $projection.AllocScNgtvTracingFctr = _AllocScNgtvTracingFactor.AllocScNgtvTracingFctr
[1..1] C_AllocationCycleTP _Cycle $projection.AllocationType = _Cycle.AllocationType and $projection.AllocationCycle = _Cycle.AllocationCycle and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate
[1..1] P_AllocationSegmentStatusText _SegmentTest $projection.AllocationSegmentIsLocked = _SegmentTest.AllocationSegmentIsLocked
[1..1] P_AllocationCycleCalc _CycleCalc $projection.AllocationCycle = _CycleCalc.AllocationCycle and $projection.AllocationType = _CycleCalc.AllocationType and $projection.AllocationCycleStartDate = _CycleCalc.AllocationCycleStartDate
[0..*] C_AllocRcvrTmplItm _AllocRcvrTmplItm $projection.topdwndistrtmplname = _AllocRcvrTmplItm.TopDwnDistrTmplName and $projection.AllocationType = _AllocRcvrTmplItm.AllocationType
[0..*] C_AllocSndrTmplItm _AllocSndrTmplItm $projection.topdwndistrtmplname = _AllocSndrTmplItm.TopDwnDistrTmplName and $projection.AllocationType = _AllocSndrTmplItm.AllocationType
[0..*] C_AllocRcvrTracingTmplItm _AllocRcvrTracingTmplItm $projection.topdwndistrtmplname = _AllocRcvrTracingTmplItm.TopDwnDistrTmplName and $projection.AllocationType = _AllocRcvrTracingTmplItm.AllocationType
[0..*] C_AllocSndrValTmplItm _AllocSndrValTmplItm $projection.topdwndistrtmplname = _AllocSndrValTmplItm.TopDwnDistrTmplName and $projection.AllocationType = _AllocSndrValTmplItm.AllocationType
[0..*] C_AllocationSegmentNoteTP _SegmentNote $projection.AllocationType = _SegmentNote.AllocationType and $projection.AllocationCycle = _SegmentNote.AllocationCycle and $projection.AllocationCycleStartDate = _SegmentNote.AllocationCycleStartDate and $projection.AllocationCycleSegment = _SegmentNote.AllocationCycleSegment
[0..*] C_AllocTagSegmentAssignmentTP _SegmentTag $projection.AllocationType = _SegmentTag.AllocationType and $projection.AllocationCycle = _SegmentTag.AllocationCycle and $projection.AllocationCycleStartDate = _SegmentTag.AllocationCycleStartDate and $projection.AllocationCycleSegment = _SegmentTag.AllocationCycleSegment
[0..*] C_AllocationTagForSegment _AllocationTagForSegment $projection.AllocationType = _AllocationTagForSegment.AllocationType and $projection.AllocationCycle = _AllocationTagForSegment.AllocationCycle and $projection.AllocationCycleStartDate = _AllocationTagForSegment.AllocationCycleStartDate and $projection.AllocationCycleSegment = _AllocationTagForSegment.AllocationCycleSegment

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CALLOCSEGMENT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Allocation Segment view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view

Fields (89)

KeyFieldSource TableSource FieldDescription
KEY AllocationType I_AllocationSegmentTP AllocationType Table
KEY AllocationCycle AllocationCycle Cycle
KEY AllocationCycleStartDate AllocationCycleStartDate Valid From
KEY AllocationCycleSegment AllocationCycleSegment Segment Number
SegmentName SegmentName Segment Name
SegmentNameDescription SegmentNameDescription Segment Description
AllocationSegmentPosition AllocationSegmentPosition
AllocationSenderRule AllocationSenderRule Sender Rule
AllocationSenderRuleText
AllocationReceiverRule AllocationReceiverRule Receiver Rule
AllocationReceiverRuleText
AllocationStatusDescription
AllocationSegmentIsLocked AllocationSegmentIsLocked Lock indicator
CriticalityCode _SegmentTest CriticalityCode Criticality
AllocationStatus _SegmentTest AllocationStatus
AllocScNgtvTracingFctr AllocScNgtvTracingFctr Scale Neg. Factors
AllocScNgtvTracingFctrText
SenderTracingFieldGroup SenderTracingFieldGroup
SenderFieldGroup SenderFieldGroup
ReceiverFieldGroup ReceiverFieldGroup
ReceiverTracingFieldGroup ReceiverTracingFieldGroup
AllocationSenderFixedField1 AllocationSenderFixedField1
AllocationSenderFixedField2 AllocationSenderFixedField2
AllocationSenderFixedField3 AllocationSenderFixedField3
AllocationSenderFixedField4 AllocationSenderFixedField4
AllocationSenderFixedField5 AllocationSenderFixedField5
AllocationSenderFixedField6 AllocationSenderFixedField6
AllocationSenderFixedField7 AllocationSenderFixedField7
AllocationSenderFixedField8 AllocationSenderFixedField8
AllocationSenderFixedField9 AllocationSenderFixedField9
AllocationSenderFixedField10 AllocationSenderFixedField10
AllocationCurrency AllocationCurrency Currency
AllocationReceiverFixedField1 AllocationReceiverFixedField1
AllocationReceiverFixedField2 AllocationReceiverFixedField2
AllocationReceiverFixedField3 AllocationReceiverFixedField3
AllocationReceiverFixedField4 AllocationReceiverFixedField4
AllocationReceiverFixedField5 AllocationReceiverFixedField5
AllocationReceiverFixedField6 AllocationReceiverFixedField6
AllocationReceiverFixedField7 AllocationReceiverFixedField7
AllocationReceiverFixedField8 AllocationReceiverFixedField8
AllocationReceiverFixedField9 AllocationReceiverFixedField9
AllocationReceiverFixedField10 AllocationReceiverFixedField10
AllocationFieldGroup Var. Portion Type
AllocationTagID AllocationTagID Allocation Tags
AssessmentCostElement Overhead Allocation Account
CostElementDescription
AllocationFixedCostCenterCost AllocationFixedCostCenterCost
AllocationVariableCostCtrCost AllocationVariableCostCtrCost
AllocationAccountAssignment AllocationAccountAssignment
AllocationSegmentSortField AllocationSegmentSortField
AllocIsSndrExclAsRcvr AllocIsSndrExclAsRcvr
ManipulationRuleForCyclicMaint ManipulationRuleForCyclicMaint Manipulation Rule
AllocationStructure AllocationStructure Alloc.Structure
AllocationTransferStructure AllocationTransferStructure
AllocSndrFctrPercent AllocSndrFctrPercent
AllocRcvrFctrPercent AllocRcvrFctrPercent
AllocSegmentShareInPercent AllocSegmentShareInPercent Share in %
AllocationActualPlanVariant _Cycle AllocationActualPlanVariant Actual/Plan
AllocationPostingType _Cycle AllocationPostingType Posting Type
AllocationPostingTypeText _Cycle AllocationPostingTypeText
CompanyCode _CycleCalc CompanyCode Receiver Company Code
TopDwnDistrTmplName _Cycle TopDwnDistrTmplName
ControllingArea _Cycle ControllingArea Controlling Area
AllocationReferenceLedger AllocationReferenceLedger
PlanningCategory PlanningCategory Plan Category
UnitOfMeasure UnitOfMeasure Unit Protected Qty
AllocationSenderValueIsNew AllocationSenderValueIsNew
_Cycle _Cycle
_SenderInformation _SenderInformation
_SenderField _SenderField
_ReceiverInformation _ReceiverInformation
_ReceiverField _ReceiverField
_SenderValueInformation _SenderValueInformation
_SenderValueField _SenderValueField
_ReceiverTracingInformation _ReceiverTracingInformation
_ReceiverTracingField _ReceiverTracingField
_AllocationSenderRule _AllocationSenderRule
_AllocationReceiverRule _AllocationReceiverRule
_AllocScNgtvTracingFactor _AllocScNgtvTracingFactor
_SenderElement _SenderElement
_ReceiverElement _ReceiverElement
_ReceiverWeightingElement _ReceiverWeightingElement
_AllocRcvrTmplItm _AllocRcvrTmplItm
_AllocSndrTmplItm _AllocSndrTmplItm
_AllocRcvrTracingTmplItm _AllocRcvrTracingTmplItm
_AllocSndrValTmplItm _AllocSndrValTmplItm
_SegmentNote _SegmentNote
_SegmentTag _SegmentTag
_AllocationTagForSegment _AllocationTagForSegment

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_AllocationSegmentTP.
-- 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: CALLOCSEGMENT

CREATE VIEW C_AllocationSegmentTP AS
SELECT
  I_AllocationSegmentTP.AllocationType AS AllocationType,
  AllocationCycle,
  AllocationCycleStartDate,
  AllocationCycleSegment,
  SegmentName,
  SegmentNameDescription,
  AllocationSegmentPosition,
  AllocationSenderRule,
  _AllocationSenderRule._Text[1:Language = $session.system_language].AllocationSenderRuleText AS AllocationSenderRuleText,
  AllocationReceiverRule,
  _AllocationReceiverRule._Text[1:Language = $session.system_language].AllocationReceiverRuleText AS AllocationReceiverRuleText,
  _SegmentTest._Text[1:Language = $session.system_language].AllocationStatusDescription AS AllocationStatusDescription,
  AllocationSegmentIsLocked,
  _SegmentTest.CriticalityCode AS CriticalityCode,
  _SegmentTest.AllocationStatus AS AllocationStatus,
  AllocScNgtvTracingFctr,
  _AllocScNgtvTracingFactor._Text[1:Language = $session.system_language].AllocScNgtvTracingFctrText AS AllocScNgtvTracingFctrText,
  SenderTracingFieldGroup,
  SenderFieldGroup,
  ReceiverFieldGroup,
  ReceiverTracingFieldGroup,
  AllocationSenderFixedField1,
  AllocationSenderFixedField2,
  AllocationSenderFixedField3,
  AllocationSenderFixedField4,
  AllocationSenderFixedField5,
  AllocationSenderFixedField6,
  AllocationSenderFixedField7,
  AllocationSenderFixedField8,
  AllocationSenderFixedField9,
  AllocationSenderFixedField10,
  AllocationCurrency,
  AllocationReceiverFixedField1,
  AllocationReceiverFixedField2,
  AllocationReceiverFixedField3,
  AllocationReceiverFixedField4,
  AllocationReceiverFixedField5,
  AllocationReceiverFixedField6,
  AllocationReceiverFixedField7,
  AllocationReceiverFixedField8,
  AllocationReceiverFixedField9,
  AllocationReceiverFixedField10,
  cast(AllocationFieldGroup as fco_alloc_var_portion_type preserving type) AS AllocationFieldGroup,
  AllocationTagID,
  cast(AssessmentCostElement as fco_alloc_asacc preserving type) AS AssessmentCostElement,
  cast( '' as kltxt ) AS CostElementDescription,
  AllocationFixedCostCenterCost,
  AllocationVariableCostCtrCost,
  AllocationAccountAssignment,
  AllocationSegmentSortField,
  AllocIsSndrExclAsRcvr,
  ManipulationRuleForCyclicMaint,
  AllocationStructure,
  AllocationTransferStructure,
  AllocSndrFctrPercent,
  AllocRcvrFctrPercent,
  AllocSegmentShareInPercent,
  _Cycle.AllocationActualPlanVariant AS AllocationActualPlanVariant,
  _Cycle.AllocationPostingType AS AllocationPostingType,
  _Cycle.AllocationPostingTypeText AS AllocationPostingTypeText,
  _CycleCalc.CompanyCode AS CompanyCode,
  _Cycle.TopDwnDistrTmplName AS TopDwnDistrTmplName,
  _Cycle.ControllingArea AS ControllingArea,
  AllocationReferenceLedger,
  PlanningCategory,
  UnitOfMeasure,
  AllocationSenderValueIsNew
FROM I_AllocationSegmentTP
LEFT OUTER JOIN C_AllocationSenderInformation AS _SenderInformation ON AllocationType = _SenderInformation.AllocationType AND allocationpostingtype = _SenderInformation.AllocationPostingType AND allocationactualplanvariant = _SenderInformation.AllocationActualPlanVariant  -- association [0..*]
LEFT OUTER JOIN C_AllocationSenderKeyFieldTP AS _SenderField ON AllocationType = _SenderField.AllocationType AND AllocationCycle = _SenderField.AllocationCycle AND AllocationCycleStartDate = _SenderField.AllocationCycleStartDate AND AllocationCycleSegment = _SenderField.AllocationCycleSegment  -- association [0..*]
LEFT OUTER JOIN C_AllocReceiverInformation AS _ReceiverInformation ON AllocationType = _ReceiverInformation.AllocationType AND allocationpostingtype = _ReceiverInformation.AllocationPostingType AND allocationactualplanvariant = _ReceiverInformation.AllocationActualPlanVariant  -- association [0..*]
LEFT OUTER JOIN C_AllocationReceiverKeyFieldTP AS _ReceiverField ON AllocationType = _ReceiverField.AllocationType AND AllocationCycle = _ReceiverField.AllocationCycle AND AllocationCycleStartDate = _ReceiverField.AllocationCycleStartDate AND AllocationCycleSegment = _ReceiverField.AllocationCycleSegment  -- association [0..*]
LEFT OUTER JOIN C_AllocSenderValueInformation AS _SenderValueInformation ON AllocationType = _SenderValueInformation.AllocationType AND allocationpostingtype = _SenderValueInformation.AllocationPostingType AND allocationactualplanvariant = _SenderValueInformation.AllocationActualPlanVariant  -- association [0..*]
LEFT OUTER JOIN C_AllocSenderValueKeyFieldTP AS _SenderValueField ON AllocationType = _SenderValueField.AllocationType AND AllocationCycle = _SenderValueField.AllocationCycle AND AllocationCycleStartDate = _SenderValueField.AllocationCycleStartDate AND AllocationCycleSegment = _SenderValueField.AllocationCycleSegment  -- association [0..*]
LEFT OUTER JOIN C_AllocRcvrTracingInformation AS _ReceiverTracingInformation ON AllocationType = _ReceiverTracingInformation.AllocationType AND allocationpostingtype = _ReceiverTracingInformation.AllocationPostingType AND allocationactualplanvariant = _ReceiverTracingInformation.AllocationActualPlanVariant  -- association [0..*]
LEFT OUTER JOIN C_AllocRcvrTracingKeyFieldTP AS _ReceiverTracingField ON AllocationType = _ReceiverTracingField.AllocationType AND AllocationCycle = _ReceiverTracingField.AllocationCycle AND AllocationCycleStartDate = _ReceiverTracingField.AllocationCycleStartDate AND AllocationCycleSegment = _ReceiverTracingField.AllocationCycleSegment  -- association [0..*]
LEFT OUTER JOIN C_AllocationSenderElementTP AS _SenderElement ON AllocationType = _SenderElement.AllocationType AND AllocationCycle = _SenderElement.AllocationCycle AND AllocationCycleStartDate = _SenderElement.AllocationCycleStartDate AND AllocationCycleSegment = _SenderElement.AllocationCycleSegment  -- association [0..*]
LEFT OUTER JOIN C_AllocationReceiverElementTP AS _ReceiverElement ON AllocationType = _ReceiverElement.AllocationType AND AllocationCycle = _ReceiverElement.AllocationCycle AND AllocationCycleStartDate = _ReceiverElement.AllocationCycleStartDate AND AllocationCycleSegment = _ReceiverElement.AllocationCycleSegment  -- association [0..*]
LEFT OUTER JOIN C_AllocReceiverFactorElementTP AS _ReceiverWeightingElement ON AllocationType = _ReceiverWeightingElement.AllocationType AND AllocationCycle = _ReceiverWeightingElement.AllocationCycle AND AllocationCycleStartDate = _ReceiverWeightingElement.AllocationCycleStartDate AND AllocationCycleSegment = _ReceiverWeightingElement.AllocationCycleSegment  -- association [0..*]
LEFT OUTER JOIN I_AllocationSenderRule AS _AllocationSenderRule ON AllocationSenderRule = _AllocationSenderRule.AllocationSenderRule  -- association [1..1]
LEFT OUTER JOIN I_AllocationReceiverRule AS _AllocationReceiverRule ON AllocationReceiverRule = _AllocationReceiverRule.AllocationReceiverRule  -- association [1..1]
LEFT OUTER JOIN I_AllocScNgtvTracingFactor AS _AllocScNgtvTracingFactor ON AllocScNgtvTracingFctr = _AllocScNgtvTracingFactor.AllocScNgtvTracingFctr  -- association [1..1]
LEFT OUTER JOIN C_AllocationCycleTP AS _Cycle ON AllocationType = _Cycle.AllocationType AND AllocationCycle = _Cycle.AllocationCycle AND AllocationCycleStartDate = _Cycle.AllocationCycleStartDate  -- association [1..1]
LEFT OUTER JOIN P_AllocationSegmentStatusText AS _SegmentTest ON AllocationSegmentIsLocked = _SegmentTest.AllocationSegmentIsLocked  -- association [1..1]
LEFT OUTER JOIN P_AllocationCycleCalc AS _CycleCalc ON AllocationCycle = _CycleCalc.AllocationCycle AND AllocationType = _CycleCalc.AllocationType AND AllocationCycleStartDate = _CycleCalc.AllocationCycleStartDate  -- association [1..1]
LEFT OUTER JOIN C_AllocRcvrTmplItm AS _AllocRcvrTmplItm ON topdwndistrtmplname = _AllocRcvrTmplItm.TopDwnDistrTmplName AND AllocationType = _AllocRcvrTmplItm.AllocationType  -- association [0..*]
LEFT OUTER JOIN C_AllocSndrTmplItm AS _AllocSndrTmplItm ON topdwndistrtmplname = _AllocSndrTmplItm.TopDwnDistrTmplName AND AllocationType = _AllocSndrTmplItm.AllocationType  -- association [0..*]
LEFT OUTER JOIN C_AllocRcvrTracingTmplItm AS _AllocRcvrTracingTmplItm ON topdwndistrtmplname = _AllocRcvrTracingTmplItm.TopDwnDistrTmplName AND AllocationType = _AllocRcvrTracingTmplItm.AllocationType  -- association [0..*]
LEFT OUTER JOIN C_AllocSndrValTmplItm AS _AllocSndrValTmplItm ON topdwndistrtmplname = _AllocSndrValTmplItm.TopDwnDistrTmplName AND AllocationType = _AllocSndrValTmplItm.AllocationType  -- association [0..*]
LEFT OUTER JOIN C_AllocationSegmentNoteTP AS _SegmentNote ON AllocationType = _SegmentNote.AllocationType AND AllocationCycle = _SegmentNote.AllocationCycle AND AllocationCycleStartDate = _SegmentNote.AllocationCycleStartDate AND AllocationCycleSegment = _SegmentNote.AllocationCycleSegment  -- association [0..*]
LEFT OUTER JOIN C_AllocTagSegmentAssignmentTP AS _SegmentTag ON AllocationType = _SegmentTag.AllocationType AND AllocationCycle = _SegmentTag.AllocationCycle AND AllocationCycleStartDate = _SegmentTag.AllocationCycleStartDate AND AllocationCycleSegment = _SegmentTag.AllocationCycleSegment  -- association [0..*]
LEFT OUTER JOIN C_AllocationTagForSegment AS _AllocationTagForSegment ON AllocationType = _AllocationTagForSegment.AllocationType AND AllocationCycle = _AllocationTagForSegment.AllocationCycle AND AllocationCycleStartDate = _AllocationTagForSegment.AllocationCycleStartDate AND AllocationCycleSegment = _AllocationTagForSegment.AllocationCycleSegment  -- association [0..*]
;