Systemorph / IFRS17CalculationEngine

Systemorph IFRS 17 Calculation Engine
MIT License
28 stars 5 forks source link

ReleasePatterns and EconomicBasisDriver #304

Closed sbatka closed 1 year ago

sbatka commented 1 year ago

- add 'CashFlowPeriodicity' and 'InterpolationMethod' to cashflow input importer: 1) 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. 2) 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. 3) In case no information or invalid data is provided, the default values will be used: CashFlowPeriodicity = Monthly and InterpolationMethod = NotApplicable.

dcolleoni commented 1 year ago

Because of the changes in the datamodel, we need a new version of the Initial migration. @nnikolopoulos can show you how to produce it. Thanks!

dcolleoni commented 1 year ago

Could you add some description in the DataStructure NB for these new properties in the SingleDataNodeParameter?

sbatka commented 1 year ago

I have now added a test on ReleasePattern invalid and Null values.