Closed dcolleoni closed 1 year ago
This was implemented:
add new EstimateType "P" for Patterns to include AmountTypes "CU"
move CU from EstimateType to AmountType, including the changes to formulae
add 'EconomicBasisDriver' to SingleDataNodeParameters, making it optional
add 'ReleasePattern' to SingleDataNodeParameters, making it optional
with some documentation and validations
check the presence of 'CashFlowPeriodicity' and 'InterpolationMethod' in the cashflow, if available, it will use it. Note this is defined for combination of 'AmountType', 'EstimateType' in the cashflow set. If any of the 2 parameters is not available, it will check the 'DataNode' level, namely 'SingleDataNodeParameter' and use for all AmountTypes and EstimateTypes in the given DataNode. In case no information or invalid data is provided, the default values will be used: CashFlowPeriodicity = Monthly and InterpolationMethod = NotApplicable. add "ContractTerm" to GOC (not connected anywhere for now) add basic unit tests for ReleasePattern values