R_SecurityClassConditionTP_2

DDL: R_SECURITYCLASSCONDITIONTP_2 Type: view_entity TRANSACTIONAL Package: RAP_FIN_TRM_SEC_SC

Security Class Condition

R_SecurityClassConditionTP_2 is a Transactional CDS View that provides data about "Security Class Condition" in SAP S/4HANA. It reads from 1 data source (I_SecurityClassCondition) and exposes 139 fields with key fields SecurityClass, FinConditionConditionType, FinConditionSubItem. It has 42 associations to related views. Part of development package RAP_FIN_TRM_SEC_SC.

Data Sources (1)

SourceAliasJoin Type
I_SecurityClassCondition I_SecurityClassCondition from

Associations (42)

CardinalityTargetAliasCondition
[0..1] I_FinCndnInterestCalcType _FinCndnInterestCalcType $projection.InterestCalculationType = _FinCndnInterestCalcType.InterestCalculationType
[0..1] I_FinCndnConditionType _FinCndnConditionType $projection.FinConditionConditionType = _FinCndnConditionType.FinConditionConditionType and _FinCndnConditionType.TreasuryContractType = '2'
[0..1] I_FactoryCalendarValueHelp _FactoryCalendar1 $projection.FinConditionFactoryCalendar1 = _FactoryCalendar1.FactoryCalendarLegacyID
[0..1] I_FactoryCalendarValueHelp _FactoryCalendar2 $projection.FinConditionFactoryCalendar2 = _FactoryCalendar2.FactoryCalendarLegacyID
[0..1] I_FactoryCalendarValueHelp _FactoryCalendar3 $projection.FinConditionFactoryCalendar3 = _FactoryCalendar3.FactoryCalendarLegacyID
[0..1] I_FactoryCalendarValueHelp _FactoryCalendar4 $projection.FinConditionFactoryCalendar4 = _FactoryCalendar4.FactoryCalendarLegacyID
[0..1] I_FactoryCalendarValueHelp _FactoryCalendar5 $projection.FinConditionFactoryCalendar5 = _FactoryCalendar5.FactoryCalendarLegacyID
[0..1] I_ReferenceInterestRate _InterestReference $projection.InterestReference = _InterestReference.ReferenceInterestRate
[0..1] I_FinancialConditionForm _FinConditionForm $projection.FinConditionForm = _FinConditionForm.FinConditionForm
[0..1] I_InterestCalculationMethod _InterestCalculationMethod $projection.InterestCalculationMethod = _InterestCalculationMethod.InterestCalculationMethod
[0..1] I_FinCndnDateUpdateRule _FinCndnCalcDteUpdateRule $projection.FinCndnCalcDteUpdateRule = _FinCndnCalcDteUpdateRule.FinCndnDateUpdateRule
[0..1] I_FinCndnDateUpdateRule _FinCndnDueDteUpdateRule $projection.FinCndnDueDteUpdateRule = _FinCndnDueDteUpdateRule.FinCndnDateUpdateRule
[0..1] I_FinCndnDateUpdateRule _InterestRateFixingDateRule $projection.InterestRateFixingDateRule = _InterestRateFixingDateRule.FinCndnDateUpdateRule
[0..1] I_ExptlIntrstSettlmtFrqcy _ExptlIntrstSettlmtFrqcy $projection.ExponentialIntrstSettlmtFrqcy = _ExptlIntrstSettlmtFrqcy.ExponentialIntrstSettlmtFrqcy
[0..1] I_DividendFactorType _DividendFactorType $projection.DividendFactorType = _DividendFactorType.DividendFactorType
[0..1] I_FinCndnAmountRoundingCat _FinCndnRateFactorRndngCat $projection.FinCndnRateFactorRndngCategory = _FinCndnRateFactorRndngCat.FinCndnAmountRoundingCategory
[0..1] I_FinCndnAmountRoundingCat _FinCndnFactorRoundingCat $projection.FinCndnFactorRoundingCategory = _FinCndnFactorRoundingCat.FinCndnAmountRoundingCategory
[0..1] I_FinCndnAmountRoundingCat _FinCndnBaseFactorRndngCat $projection.FinCndnBaseFactorRndngCategory = _FinCndnBaseFactorRndngCat.FinCndnAmountRoundingCategory
[0..1] I_FinCndnAmountRoundingCat _FinCndnAmountRoundingCat $projection.FinCndnAmountRoundingCategory = _FinCndnAmountRoundingCat.FinCndnAmountRoundingCategory
[0..1] I_FinCndnAmountTimeUnit _FinCndnAmountTimeUnit $projection.FinCndnAmountTimeUnit = _FinCndnAmountTimeUnit.FinCndnAmountTimeUnit
[0..1] I_AvgIntrstRateWeightingCat _AvgIntrstRateWeightingCat $projection.AverageIntrstRateWeightingCat = _AvgIntrstRateWeightingCat.AverageIntrstRateWeightingCat
[0..1] I_FinCndnAmountRoundingCat _AvgIntrstRateRndngCategory $projection.AverageIntrstRateRndngCategory = _AvgIntrstRateRndngCategory.FinCndnAmountRoundingCategory
[0..1] I_AvgIntrstRateResetCalcEvt _AvgIntrstRateResetCalcEvt $projection.AverageIntrstRateResetCalcEvt = _AvgIntrstRateResetCalcEvt.AverageIntrstRateResetCalcEvt
[0..1] I_InterestRateFixingDateRef _InterestRateFixingDateRef $projection.InterestRateFixingDateRef = _InterestRateFixingDateRef.InterestRateFixingDateRef
[0..1] I_FinCndnUpdateRuleEntryType _FinCndnUpdateRuleEntryType $projection.FinCndnUpdateRuleEntryType = _FinCndnUpdateRuleEntryType.FinCndnUpdateRuleEntryType
[0..1] I_FinCndnDateFrqcyUnit _FinCndnCalcDteFrqcyUnit $projection.FinCndnCalcDteFrqcyUnit = _FinCndnCalcDteFrqcyUnit.FinCndnDateFrqcyUnit
[0..1] I_FinCndnDateFrqcyUnit _FinCndnDueDteFrqcyUnit $projection.FinCndnDueDteFrqcyUnit = _FinCndnDueDteFrqcyUnit.FinCndnDateFrqcyUnit
[0..1] I_FinCndnDateFrqcyUnit _InterestRateAdjmtFrqcyUnit $projection.InterestRateAdjmtFrqcyUnit = _InterestRateAdjmtFrqcyUnit.FinCndnDateFrqcyUnit
[0..1] I_FinCndnDateFrqcyUnit _InterestRateFixingFrqcyUnit $projection.InterestRateFixingFrqcyUnit = _InterestRateFixingFrqcyUnit.FinCndnDateFrqcyUnit
[0..1] I_IntrstCalcDateReference _IntrstCalcDateReference $projection.InterestCalculationDateRef = _IntrstCalcDateReference.InterestCalculationDateRef
[0..1] I_InterestDueDateReference _InterestDueDateReference $projection.InterestDueDateReference = _InterestDueDateReference.InterestDueDateReference
[0..1] I_FinCndnRpaytSettlmtRule _FinCndnSettlementRule $projection.FinCndnRpaytSettlmt = _FinCndnSettlementRule.FinCndnRpaytSettlmt
[0..1] I_FinCndnDueDteShiftToTermEnd _FinConditionDueDateShift $projection.FinCndnDueDteShiftToTermEnd = _FinConditionDueDateShift.FinCndnDueDteShiftToTermEnd
[0..1] I_IntrstRateAdjmtDteUpdtRule _IntrstRateAdjmtDteUpdtRule $projection.InterestRateAdjustmentDateRule = _IntrstRateAdjmtDteUpdtRule.InterestRateAdjustmentDateRule
[0..1] I_FinancialWorkingDayShift _FinCndnCalcDteWrkgDayShft $projection.FinCndnCalcDteWrkgDayShft = _FinCndnCalcDteWrkgDayShft.FinancialWorkingDayShift
[0..1] I_FinancialWorkingDayShift _FinCndnDueDteWrkgDayShft $projection.FinCndnDueDteWrkgDayShft = _FinCndnDueDteWrkgDayShft.FinancialWorkingDayShift
[0..1] I_FinancialWorkingDayShift _IntrstRateAdjmtDteWrkgDayShft $projection.IntrstRateAdjmtDateWrkgDayShft = _IntrstRateAdjmtDteWrkgDayShft.FinancialWorkingDayShift
[0..1] I_FinCndnPaytDteWrkgDayShift _FinCndnPaytDateWrkgDayShft $projection.FinCndnPaytDateWrkgDayShft = _FinCndnPaytDateWrkgDayShft.FinancialWorkingDayShift
[0..1] I_FinCndnPerdCalculationMethod _FinCndnFirstPeriodCalcMethod $projection.FinCndnFirstPeriodCalcMethod = _FinCndnFirstPeriodCalcMethod.FinCndnPeriodCalcMethod
[0..1] I_FinCndnPerdCalculationMethod _FinCndnLastPeriodCalcMethod $projection.FinCndnLastPeriodCalcMethod = _FinCndnLastPeriodCalcMethod.FinCndnPeriodCalcMethod
[0..1] I_FinCndnCalcBaseReference _FinCndnCalcBaseReference $projection.FinCndnCalcBaseReference = _FinCndnCalcBaseReference.FinCndnCalcBaseReference and _FinCndnCalcBaseReference.TreasuryContractType = '2'
[0..*] R_ScrtyClCndnFmlaVariableTP_2 _FormulaVariable

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
EndUserText.label Security Class Condition view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (139)

KeyFieldSource TableSource FieldDescription
KEY SecurityClass SecurityClass
KEY FinConditionConditionType FinConditionConditionType
KEY FinConditionSubItem FinConditionSubItem
FinancialInstrProductCategory FinancialInstrProductCategory
CndnItmValdtyStrtDtIsInclusive CndnItmValdtyStrtDtIsInclusive
FinConditionForm FinConditionForm
FinCndnReferenceConditionType FinCndnReferenceConditionType
FinCndnRefAccumulatingCndnType FinCndnRefAccumulatingCndnType
InterestCalculationMethod InterestCalculationMethod
InterestCalculationType InterestCalculationType
ExponentialIntrstSettlmtFrqcy ExponentialIntrstSettlmtFrqcy
IntrstCalcMethFactoryCalendar IntrstCalcMethFactoryCalendar
InterestFirstPeriodRate InterestFirstPeriodRate
InterestRefRateOptrSign InterestRefRateOptrSign
InterestReference InterestReference
ConditionPercentageRate ConditionPercentageRate
FinancialConditionPaymentRate FinancialConditionPaymentRate
DividendFactorType DividendFactorType
FinCndnRateFactorRndngCategory FinCndnRateFactorRndngCategory
FinCndnRateFactorRndngDecimals FinCndnRateFactorRndngDecimals
FinCndnFactorRoundingCategory FinCndnFactorRoundingCategory
FinCndnFactorRoundingDecimals FinCndnFactorRoundingDecimals
FinCndnBaseFactorRndngCategory FinCndnBaseFactorRndngCategory
FinCndnBaseFactorRndngDecimals FinCndnBaseFactorRndngDecimals
FinCndnAmountRoundingCategory FinCndnAmountRoundingCategory
FinCndnAmountRoundingUnit FinCndnAmountRoundingUnit
RndngBaseUntAmtInCndnItmCrcy RndngBaseUntAmtInCndnItmCrcy
FinConditionIntrstBaseAmount FinConditionIntrstBaseAmount
FinCndnCalcBaseReference FinCndnCalcBaseReference
FinancialConditionItemAmount FinancialConditionItemAmount
FinancialConditionItemCurrency FinancialConditionItemCurrency
FinCndnAmountTimeUnit FinCndnAmountTimeUnit
ScrtyClCndnDrctExchRate ScrtyClCndnDrctExchRate
ScrtyClCndnIndrctExchRate ScrtyClCndnIndrctExchRate
FinConditionFactoryCalendar1 FinConditionFactoryCalendar1
FinConditionFactoryCalendar2 FinConditionFactoryCalendar2
FinConditionFactoryCalendar3 FinConditionFactoryCalendar3
FinConditionFactoryCalendar4 FinConditionFactoryCalendar4
FinConditionFactoryCalendar5 FinConditionFactoryCalendar5
AverageIntrstRateWeightingCat AverageIntrstRateWeightingCat
AverageIntrstRateRndngCategory AverageIntrstRateRndngCategory
AverageIntrstRateRndngDecimals AverageIntrstRateRndngDecimals
AverageInterestRateSpreadValue AverageInterestRateSpreadValue
AvgIntrstRateHasUsedUpperLimit AvgIntrstRateHasUsedUpperLimit
AverageInterestUpperLimitRate AverageInterestUpperLimitRate
AvgIntrstRateHasUsedLowerLimit AvgIntrstRateHasUsedLowerLimit
AverageInterestLowerLimitRate AverageInterestLowerLimitRate
AverageIntrstRateResetCalcEvt AverageIntrstRateResetCalcEvt
FinCndnUpdateRuleEntryType FinCndnUpdateRuleEntryType
FinCndnCalcDteUpdateRule FinCndnCalcDteUpdateRule
CalculationDate CalculationDate
FinCndnCalcDteFrequency FinCndnCalcDteFrequency
FinCndnCalcDteFrqcyUnit FinCndnCalcDteFrqcyUnit
CalcDateIsAsEndDateInclusive CalcDateIsAsEndDateInclusive
CalcDateIsAsEndDateMonthEnd CalcDateIsAsEndDateMonthEnd
FinCndnCalcDteWrkgDayShft FinCndnCalcDteWrkgDayShft
FinCndnCalcDteShftDrctn FinCndnCalcDteShftDrctn
ScrtyClCndnCalcDteShftNrOfDays ScrtyClCndnCalcDteShftNrOfDays
CalcDteIsRegularWithVarblDte CalcDteIsRegularWithVarblDte
InterestCalculationDateRef InterestCalculationDateRef
FinCndnDueDteUpdateRule FinCndnDueDteUpdateRule
DueDate DueDate
FinCndnDueDteFrequency FinCndnDueDteFrequency
FinCndnDueDteFrqcyUnit FinCndnDueDteFrqcyUnit
DueDateIsAsEndDateInclusive DueDateIsAsEndDateInclusive
DueDateIsAsEndDateMonthEnd DueDateIsAsEndDateMonthEnd
FinCndnDueDteWrkgDayShft FinCndnDueDteWrkgDayShft
FinCndnDueDteShftDrctn FinCndnDueDteShftDrctn
ScrtyClCndnDueDteShftNrOfDays ScrtyClCndnDueDteShftNrOfDays
DueDteIsRegularWithVarblDte DueDteIsRegularWithVarblDte
InterestDueDateReference InterestDueDateReference
FinCndnPaytDateWrkgDayShft FinCndnPaytDateWrkgDayShft
FinCndnDueDteShiftToTermEnd FinCndnDueDteShiftToTermEnd
FinCndnDuDteIsFinMathCalcReltd FinCndnDuDteIsFinMathCalcReltd
FinCndnRpaytSettlmt FinCndnRpaytSettlmt
FinCndnFirstPeriodCalcMethod FinCndnFirstPeriodCalcMethod
FinCndnLastPeriodCalcMethod FinCndnLastPeriodCalcMethod
InterestRateAdjustmentDateRule InterestRateAdjustmentDateRule
InterestRateAdjustmentDate InterestRateAdjustmentDate
IntrstRateAdjmtDateIsMonthEnd IntrstRateAdjmtDateIsMonthEnd
InterestRateAdjustmentFrqcy InterestRateAdjustmentFrqcy
InterestRateAdjmtFrqcyUnit InterestRateAdjmtFrqcyUnit
IntrstRateAdjmtDateWrkgDayShft IntrstRateAdjmtDateWrkgDayShft
FinCndnAdjmtDteShftDrctn FinCndnAdjmtDteShftDrctn
ScrtyClIntrstRateAdjmtShftDays ScrtyClIntrstRateAdjmtShftDays
InterestRateFixingDateRule InterestRateFixingDateRule
InterestRateFixingDate InterestRateFixingDate
IntrstRateFixingDateIsMonthEnd IntrstRateFixingDateIsMonthEnd
InterestRateFixingFrqcy InterestRateFixingFrqcy
InterestRateFixingFrqcyUnit InterestRateFixingFrqcyUnit
FinCndnFixingDteShftDrctn FinCndnFixingDteShftDrctn
ScrtyClIntrstRateFixShftDays ScrtyClIntrstRateFixShftDays
FinCndnRateFixingLockoutPeriod FinCndnRateFixingLockoutPeriod
IntrstRateFixDteShftIsModifd IntrstRateFixDteShftIsModifd
InterestRateFixingDateRef InterestRateFixingDateRef
FinancialInstrumentProductType _SecurityClass FinancialInstrumentProductType
_FormulaVariable _FormulaVariable
_SecurityClass _SecurityClass
_FinCndnConditionType _FinCndnConditionType
_FinCndnInterestCalcType _FinCndnInterestCalcType
_DividendFactorType _DividendFactorType
_FactoryCalendar1 _FactoryCalendar1
_FactoryCalendar2 _FactoryCalendar2
_FactoryCalendar3 _FactoryCalendar3
_FactoryCalendar4 _FactoryCalendar4
_FactoryCalendar5 _FactoryCalendar5
_InterestReference _InterestReference
_FinConditionForm _FinConditionForm
_InterestCalculationMethod _InterestCalculationMethod
_FinCndnCalcDteUpdateRule _FinCndnCalcDteUpdateRule
_FinCndnDueDteUpdateRule _FinCndnDueDteUpdateRule
_InterestRateFixingDateRule _InterestRateFixingDateRule
_ExptlIntrstSettlmtFrqcy _ExptlIntrstSettlmtFrqcy
_FinCndnRateFactorRndngCat _FinCndnRateFactorRndngCat
_FinCndnFactorRoundingCat _FinCndnFactorRoundingCat
_FinCndnBaseFactorRndngCat _FinCndnBaseFactorRndngCat
_FinCndnAmountRoundingCat _FinCndnAmountRoundingCat
_FinCndnAmountTimeUnit _FinCndnAmountTimeUnit
_AvgIntrstRateWeightingCat _AvgIntrstRateWeightingCat
_AvgIntrstRateRndngCategory _AvgIntrstRateRndngCategory
_AvgIntrstRateResetCalcEvt _AvgIntrstRateResetCalcEvt
_FinCndnUpdateRuleEntryType _FinCndnUpdateRuleEntryType
_FinCndnCalcDteFrqcyUnit _FinCndnCalcDteFrqcyUnit
_FinCndnDueDteFrqcyUnit _FinCndnDueDteFrqcyUnit
_InterestRateFixingFrqcyUnit _InterestRateFixingFrqcyUnit
_IntrstCalcDateReference _IntrstCalcDateReference
_InterestDueDateReference _InterestDueDateReference
_FinCndnSettlementRule _FinCndnSettlementRule
_FinConditionDueDateShift _FinConditionDueDateShift
_IntrstRateAdjmtDteUpdtRule _IntrstRateAdjmtDteUpdtRule
_InterestRateAdjmtFrqcyUnit _InterestRateAdjmtFrqcyUnit
_FinCndnCalcDteWrkgDayShft _FinCndnCalcDteWrkgDayShft
_FinCndnDueDteWrkgDayShft _FinCndnDueDteWrkgDayShft
_IntrstRateAdjmtDteWrkgDayShft _IntrstRateAdjmtDteWrkgDayShft
_FinCndnPaytDateWrkgDayShft _FinCndnPaytDateWrkgDayShft
_FinCndnFirstPeriodCalcMethod _FinCndnFirstPeriodCalcMethod
_FinCndnLastPeriodCalcMethod _FinCndnLastPeriodCalcMethod
_FinCndnCalcBaseReference _FinCndnCalcBaseReference
_InterestRateFixingDateRef _InterestRateFixingDateRef
@AccessControl.authorizationCheck: #MANDATORY
@VDM.viewType: #TRANSACTIONAL
@ObjectModel.usageType:{
  serviceQuality: #C,
  sizeCategory: #M,
  dataClass: #MASTER
}
@EndUserText.label: 'Security Class Condition'
@VDM.lifecycle.contract.type:#SAP_INTERNAL_API
define view entity R_SecurityClassConditionTP_2
  as select from I_SecurityClassCondition
  association        to parent R_SecurityClassTP      as _SecurityClass                 on  $projection.SecurityClass = _SecurityClass.SecurityClass

  composition [0..*] of R_ScrtyClCndnFmlaVariableTP_2 as _FormulaVariable
  association [0..1] to I_FinCndnInterestCalcType     as _FinCndnInterestCalcType       on  $projection.InterestCalculationType = _FinCndnInterestCalcType.InterestCalculationType
  association [0..1] to I_FinCndnConditionType        as _FinCndnConditionType          on  $projection.FinConditionConditionType      = _FinCndnConditionType.FinConditionConditionType
                                                                                        and _FinCndnConditionType.TreasuryContractType = '2'
  association [0..1] to I_FactoryCalendarValueHelp    as _FactoryCalendar1              on  $projection.FinConditionFactoryCalendar1 = _FactoryCalendar1.FactoryCalendarLegacyID
  association [0..1] to I_FactoryCalendarValueHelp    as _FactoryCalendar2              on  $projection.FinConditionFactoryCalendar2 = _FactoryCalendar2.FactoryCalendarLegacyID
  association [0..1] to I_FactoryCalendarValueHelp    as _FactoryCalendar3              on  $projection.FinConditionFactoryCalendar3 = _FactoryCalendar3.FactoryCalendarLegacyID
  association [0..1] to I_FactoryCalendarValueHelp    as _FactoryCalendar4              on  $projection.FinConditionFactoryCalendar4 = _FactoryCalendar4.FactoryCalendarLegacyID
  association [0..1] to I_FactoryCalendarValueHelp    as _FactoryCalendar5              on  $projection.FinConditionFactoryCalendar5 = _FactoryCalendar5.FactoryCalendarLegacyID
  association [0..1] to I_ReferenceInterestRate       as _InterestReference             on  $projection.InterestReference = _InterestReference.ReferenceInterestRate

  //VHs

  //association [0..1] to I_ScrtyClConditionType        as _ScrtyClConditionType          on  $projection.FinConditionConditionType = _ScrtyClConditionType.FinConditionConditionType

  association [0..1] to I_FinancialConditionForm      as _FinConditionForm              on  $projection.FinConditionForm = _FinConditionForm.FinConditionForm
  association [0..1] to I_InterestCalculationMethod   as _InterestCalculationMethod     on  $projection.InterestCalculationMethod = _InterestCalculationMethod.InterestCalculationMethod
  association [0..1] to I_FinCndnDateUpdateRule       as _FinCndnCalcDteUpdateRule      on  $projection.FinCndnCalcDteUpdateRule = _FinCndnCalcDteUpdateRule.FinCndnDateUpdateRule
  association [0..1] to I_FinCndnDateUpdateRule       as _FinCndnDueDteUpdateRule       on  $projection.FinCndnDueDteUpdateRule = _FinCndnDueDteUpdateRule.FinCndnDateUpdateRule
  association [0..1] to I_FinCndnDateUpdateRule       as _InterestRateFixingDateRule    on  $projection.InterestRateFixingDateRule = _InterestRateFixingDateRule.FinCndnDateUpdateRule
 
  association [0..1] to I_ExptlIntrstSettlmtFrqcy     as _ExptlIntrstSettlmtFrqcy       on  $projection.ExponentialIntrstSettlmtFrqcy = _ExptlIntrstSettlmtFrqcy.ExponentialIntrstSettlmtFrqcy
  association [0..1] to I_DividendFactorType          as _DividendFactorType            on  $projection.DividendFactorType = _DividendFactorType.DividendFactorType
  association [0..1] to I_FinCndnAmountRoundingCat    as _FinCndnRateFactorRndngCat     on  $projection.FinCndnRateFactorRndngCategory = _FinCndnRateFactorRndngCat.FinCndnAmountRoundingCategory
  association [0..1] to I_FinCndnAmountRoundingCat    as _FinCndnFactorRoundingCat      on  $projection.FinCndnFactorRoundingCategory = _FinCndnFactorRoundingCat.FinCndnAmountRoundingCategory
  association [0..1] to I_FinCndnAmountRoundingCat    as _FinCndnBaseFactorRndngCat     on  $projection.FinCndnBaseFactorRndngCategory = _FinCndnBaseFactorRndngCat.FinCndnAmountRoundingCategory
  association [0..1] to I_FinCndnAmountRoundingCat    as _FinCndnAmountRoundingCat      on  $projection.FinCndnAmountRoundingCategory = _FinCndnAmountRoundingCat.FinCndnAmountRoundingCategory
  association [0..1] to I_FinCndnAmountTimeUnit       as _FinCndnAmountTimeUnit         on  $projection.FinCndnAmountTimeUnit = _FinCndnAmountTimeUnit.FinCndnAmountTimeUnit
  association [0..1] to I_AvgIntrstRateWeightingCat   as _AvgIntrstRateWeightingCat     on  $projection.AverageIntrstRateWeightingCat = _AvgIntrstRateWeightingCat.AverageIntrstRateWeightingCat
  association [0..1] to I_FinCndnAmountRoundingCat    as _AvgIntrstRateRndngCategory    on  $projection.AverageIntrstRateRndngCategory = _AvgIntrstRateRndngCategory.FinCndnAmountRoundingCategory
  association [0..1] to I_AvgIntrstRateResetCalcEvt   as _AvgIntrstRateResetCalcEvt     on  $projection.AverageIntrstRateResetCalcEvt = _AvgIntrstRateResetCalcEvt.AverageIntrstRateResetCalcEvt
  association [0..1] to I_InterestRateFixingDateRef   as _InterestRateFixingDateRef     on  $projection.InterestRateFixingDateRef = _InterestRateFixingDateRef.InterestRateFixingDateRef
  association [0..1] to I_FinCndnUpdateRuleEntryType  as _FinCndnUpdateRuleEntryType    on  $projection.FinCndnUpdateRuleEntryType = _FinCndnUpdateRuleEntryType.FinCndnUpdateRuleEntryType
  association [0..1] to I_FinCndnDateFrqcyUnit      as _FinCndnCalcDteFrqcyUnit       on  $projection.FinCndnCalcDteFrqcyUnit = _FinCndnCalcDteFrqcyUnit.FinCndnDateFrqcyUnit
  association [0..1] to I_FinCndnDateFrqcyUnit      as _FinCndnDueDteFrqcyUnit        on  $projection.FinCndnDueDteFrqcyUnit = _FinCndnDueDteFrqcyUnit.FinCndnDateFrqcyUnit
  association [0..1] to I_FinCndnDateFrqcyUnit      as _InterestRateAdjmtFrqcyUnit    on  $projection.InterestRateAdjmtFrqcyUnit = _InterestRateAdjmtFrqcyUnit.FinCndnDateFrqcyUnit
  association [0..1] to I_FinCndnDateFrqcyUnit      as _InterestRateFixingFrqcyUnit   on  $projection.InterestRateFixingFrqcyUnit = _InterestRateFixingFrqcyUnit.FinCndnDateFrqcyUnit
  association [0..1] to I_IntrstCalcDateReference     as _IntrstCalcDateReference       on  $projection.InterestCalculationDateRef = _IntrstCalcDateReference.InterestCalculationDateRef
  association [0..1] to I_InterestDueDateReference    as _InterestDueDateReference      on  $projection.InterestDueDateReference = _InterestDueDateReference.InterestDueDateReference
  association [0..1] to I_FinCndnRpaytSettlmtRule       as _FinCndnSettlementRule         on  $projection.FinCndnRpaytSettlmt = _FinCndnSettlementRule.FinCndnRpaytSettlmt
  association [0..1] to I_FinCndnDueDteShiftToTermEnd    as _FinConditionDueDateShift      on  $projection.FinCndnDueDteShiftToTermEnd = _FinConditionDueDateShift.FinCndnDueDteShiftToTermEnd
  association [0..1] to I_IntrstRateAdjmtDteUpdtRule  as _IntrstRateAdjmtDteUpdtRule    on  $projection.InterestRateAdjustmentDateRule = _IntrstRateAdjmtDteUpdtRule.InterestRateAdjustmentDateRule
  association [0..1] to I_FinancialWorkingDayShift    as _FinCndnCalcDteWrkgDayShft     on  $projection.FinCndnCalcDteWrkgDayShft = _FinCndnCalcDteWrkgDayShft.FinancialWorkingDayShift
  association [0..1] to I_FinancialWorkingDayShift    as _FinCndnDueDteWrkgDayShft      on  $projection.FinCndnDueDteWrkgDayShft = _FinCndnDueDteWrkgDayShft.FinancialWorkingDayShift
  association [0..1] to I_FinancialWorkingDayShift    as _IntrstRateAdjmtDteWrkgDayShft on  $projection.IntrstRateAdjmtDateWrkgDayShft = _IntrstRateAdjmtDteWrkgDayShft.FinancialWorkingDayShift
  association [0..1] to I_FinCndnPaytDteWrkgDayShift    as _FinCndnPaytDateWrkgDayShft    on  $projection.FinCndnPaytDateWrkgDayShft = _FinCndnPaytDateWrkgDayShft.FinancialWorkingDayShift
  association [0..1] to I_FinCndnPerdCalculationMethod     as _FinCndnFirstPeriodCalcMethod  on  $projection.FinCndnFirstPeriodCalcMethod = _FinCndnFirstPeriodCalcMethod.FinCndnPeriodCalcMethod
  association [0..1] to I_FinCndnPerdCalculationMethod     as _FinCndnLastPeriodCalcMethod   on  $projection.FinCndnLastPeriodCalcMethod = _FinCndnLastPeriodCalcMethod.FinCndnPeriodCalcMethod
  association [0..1] to I_FinCndnCalcBaseReference    as _FinCndnCalcBaseReference      on  $projection.FinCndnCalcBaseReference = _FinCndnCalcBaseReference.FinCndnCalcBaseReference
                                                                                        and _FinCndnCalcBaseReference.TreasuryContractType = '2'

{
  key SecurityClass,
  key FinConditionConditionType,
  key case
        when dats_is_valid(ConditionItemValidityStartDate) = 1
          then ConditionItemValidityStartDate
        else
          '99991231'
      end as ConditionItemValidityStartDate,
  key FinConditionSubItem,

      FinancialInstrProductCategory,
      CndnItmValdtyStrtDtIsInclusive,
      FinConditionForm,

      FinCndnReferenceConditionType,
      FinCndnRefAccumulatingCndnType,

      InterestCalculationMethod,

      InterestCalculationType,

      ExponentialIntrstSettlmtFrqcy,
      IntrstCalcMethFactoryCalendar,
      InterestFirstPeriodRate,

      InterestRefRateOptrSign,
      InterestReference,
      ConditionPercentageRate,
      FinancialConditionPaymentRate,

      DividendFactorType,
      FinCndnRateFactorRndngCategory,
      FinCndnRateFactorRndngDecimals,

      FinCndnFactorRoundingCategory,
      FinCndnFactorRoundingDecimals,
      FinCndnBaseFactorRndngCategory,
      FinCndnBaseFactorRndngDecimals,

      FinCndnAmountRoundingCategory,
      FinCndnAmountRoundingUnit,
      RndngBaseUntAmtInCndnItmCrcy,
      FinConditionIntrstBaseAmount,
      FinCndnCalcBaseReference,
      FinancialConditionItemAmount,
      FinancialConditionItemCurrency,

      FinCndnAmountTimeUnit,

      //FinConditionExchangeRate,

      ScrtyClCndnDrctExchRate,
      ScrtyClCndnIndrctExchRate,
      FinConditionFactoryCalendar1,
      FinConditionFactoryCalendar2,
      FinConditionFactoryCalendar3,
      FinConditionFactoryCalendar4,
      FinConditionFactoryCalendar5,

      //Average Interest Rate

      AverageIntrstRateWeightingCat,
      AverageIntrstRateRndngCategory,
      AverageIntrstRateRndngDecimals,
      AverageInterestRateSpreadValue,
      AvgIntrstRateHasUsedUpperLimit,
      AverageInterestUpperLimitRate,
      AvgIntrstRateHasUsedLowerLimit,
      AverageInterestLowerLimitRate,
      AverageIntrstRateResetCalcEvt,

      //Update Rule

      FinCndnUpdateRuleEntryType,
      //      FinCndnUpdateRuleFirstDate,

      //      FinCndnUpdateRuleDateFrequency,

      //      FinCndnUpdateRuleDateFrqcyUnit,

      //      UpdateRuleDateIsMonthEnd,

      //      FinCndnUpdtRuleDateWrkgDayShft,


      //Calculation Date

      FinCndnCalcDteUpdateRule,
      CalculationDate,
      FinCndnCalcDteFrequency,
      FinCndnCalcDteFrqcyUnit,
      CalcDateIsAsEndDateInclusive,
      CalcDateIsAsEndDateMonthEnd,
      FinCndnCalcDteWrkgDayShft,
      FinCndnCalcDteShftDrctn,
      ScrtyClCndnCalcDteShftNrOfDays,
      CalcDteIsRegularWithVarblDte,
      InterestCalculationDateRef,

      //Due Date

      FinCndnDueDteUpdateRule,
      DueDate,
      FinCndnDueDteFrequency,
      FinCndnDueDteFrqcyUnit,
      DueDateIsAsEndDateInclusive,
      DueDateIsAsEndDateMonthEnd,
      FinCndnDueDteWrkgDayShft,
      FinCndnDueDteShftDrctn,
      ScrtyClCndnDueDteShftNrOfDays,
      DueDteIsRegularWithVarblDte,
      InterestDueDateReference,

      //Payment Date

      FinCndnPaytDateWrkgDayShft,

      //Other Calculation Date

      FinCndnDueDteShiftToTermEnd,
      FinCndnDuDteIsFinMathCalcReltd,
      FinCndnRpaytSettlmt,
      FinCndnFirstPeriodCalcMethod,
      FinCndnLastPeriodCalcMethod,

      //Interest Rate Adjustment Date

      InterestRateAdjustmentDateRule,
      InterestRateAdjustmentDate,
      IntrstRateAdjmtDateIsMonthEnd,
      InterestRateAdjustmentFrqcy,
      InterestRateAdjmtFrqcyUnit,
      IntrstRateAdjmtDateWrkgDayShft,
      FinCndnAdjmtDteShftDrctn,
      ScrtyClIntrstRateAdjmtShftDays,

      //Interest Rate Fixing Date

      InterestRateFixingDateRule,
      InterestRateFixingDate,
      IntrstRateFixingDateIsMonthEnd,
      InterestRateFixingFrqcy,
      InterestRateFixingFrqcyUnit,
      FinCndnFixingDteShftDrctn,
      ScrtyClIntrstRateFixShftDays,
      FinCndnRateFixingLockoutPeriod,
      IntrstRateFixDteShftIsModifd,
      InterestRateFixingDateRef,

      _SecurityClass.FinancialInstrumentProductType,

      _FormulaVariable,

      _SecurityClass,
      

      //Value Help

      //_ScrtyClConditionType,

      _FinCndnConditionType,
      _FinCndnInterestCalcType,
      _DividendFactorType,
      _FactoryCalendar1,
      _FactoryCalendar2,
      _FactoryCalendar3,
      _FactoryCalendar4,
      _FactoryCalendar5,
      _InterestReference,
      _FinConditionForm,
      _InterestCalculationMethod,
      _FinCndnCalcDteUpdateRule,
      _FinCndnDueDteUpdateRule,
      _InterestRateFixingDateRule,
      _ExptlIntrstSettlmtFrqcy,
      _FinCndnRateFactorRndngCat,
      _FinCndnFactorRoundingCat,
      _FinCndnBaseFactorRndngCat,
      _FinCndnAmountRoundingCat,
      _FinCndnAmountTimeUnit,
      _AvgIntrstRateWeightingCat,
      _AvgIntrstRateRndngCategory,
      _AvgIntrstRateResetCalcEvt,
      _FinCndnUpdateRuleEntryType,
      _FinCndnCalcDteFrqcyUnit,
      _FinCndnDueDteFrqcyUnit,
      _InterestRateFixingFrqcyUnit,
      _IntrstCalcDateReference,
      _InterestDueDateReference,
      _FinCndnSettlementRule,
      _FinConditionDueDateShift,
      _IntrstRateAdjmtDteUpdtRule,
      _InterestRateAdjmtFrqcyUnit,
      //working date shift VH

      _FinCndnCalcDteWrkgDayShft,
      _FinCndnDueDteWrkgDayShft,
      _IntrstRateAdjmtDteWrkgDayShft,
      _FinCndnPaytDateWrkgDayShft,
      _FinCndnFirstPeriodCalcMethod,
      _FinCndnLastPeriodCalcMethod,
      _FinCndnCalcBaseReference,

      _InterestRateFixingDateRef
}