Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
d82c7a6
Ey cases (#296)
May 5, 2023
fd38a2d
Csm improvements (#295)
dcolleoni May 5, 2023
610b0aa
Slice by accident year current and previous (#300)
dcolleoni May 8, 2023
6ce067c
Reports with projections (#292)
andrey-katz-systemorph May 10, 2023
3b84d97
Fixes to reports after projection enhancement (#303)
dcolleoni May 10, 2023
bba8215
LINQ Translation in Reports (#308)
nnikolopoulos May 17, 2023
5f0a4df
ReleasePatterns and EconomicBasisDriver (#304)
sbatka May 26, 2023
39f0973
Paa data and amortization factor refactor (#317)
dcolleoni May 26, 2023
10fde8b
Ey cases (#314)
May 26, 2023
2419d25
Dac calculation (#320)
dcolleoni Jun 1, 2023
13275e0
Contract Term (#327)
sbatka Jun 27, 2023
65aecb1
Merge New Features to Dev (#331)
nnikolopoulos Jun 27, 2023
cefe2fc
Update Interactive Locked In Reports (#332)
nnikolopoulos Jun 29, 2023
0121fe1
Contract term Followup (#339)
sbatka Jul 3, 2023
42d492c
Reinsurance csm (#333)
dcolleoni Jul 4, 2023
b3b8cd3
Remove Contract Term (#342)
sbusato Jul 7, 2023
ee7cbf0
Transactional Data Reimport Test (#294)
nnikolopoulos Jul 11, 2023
73bce14
Test LoadCurrentParameter (#340)
nnikolopoulos Jul 11, 2023
9eabd65
Aoc steps improvements (#344)
dcolleoni Jul 14, 2023
08318fb
Extend Parsed Variables (#345)
tkukuljan Jul 17, 2023
f8c3cb5
Filter identities to compute import scopes (#348)
dcolleoni Jul 20, 2023
32506ff
Placeholder for the customer project method (#351)
tkukuljan Jul 24, 2023
20e0ef2
Ce for projections (#352)
Jul 26, 2023
94b249e
Little things on projections (#356)
Jul 28, 2023
b47b549
Getter of SingleDataNodeParameter (#354)
sbatka Jul 28, 2023
0b35fc5
Deferral clean up (#353)
dcolleoni Aug 2, 2023
d78e480
359 extendable warnings and errors (#362)
andrey-katz-systemorph Aug 8, 2023
489e23d
360 add table name validation (#363)
andrey-katz-systemorph Aug 8, 2023
f6d63e4
fix with explicit names (#366)
andrey-katz-systemorph Aug 9, 2023
ee63845
Fix Loreco in P&L (#365)
Aug 9, 2023
9456ad6
Include the current yield curves (#368)
andrey-katz-systemorph Aug 10, 2023
fd11d23
Fix to P&L PAA (#371)
Aug 10, 2023
1202d20
Tm amount type (#367)
dcolleoni Aug 10, 2023
2ed712c
Report scope BE and RA - PPA,LRC (#373)
dcolleoni Aug 11, 2023
b5e675a
369 export to share point (#374)
andrey-katz-systemorph Aug 16, 2023
b31408a
GetHierarchy getter (#377)
sbatka Aug 25, 2023
d9d6a55
changes to FP (#378)
Aug 29, 2023
cc8a21f
Ay in lrc (#380)
Sep 19, 2023
d7bb16a
Extend Portfolio (#385)
tkukuljan Sep 25, 2023
9ff2099
Fix TechnicalMarginForPaa EconomicBasis (#384)
nnikolopoulos Sep 26, 2023
fb7cce6
Fixes for ia and others (#387)
Oct 2, 2023
307bfbd
update version
dcolleoni Oct 2, 2023
b58fe9a
update version (#391)
dcolleoni Oct 2, 2023
3bba46b
Merge remote-tracking branch 'origin/main' into toMain
dcolleoni Oct 2, 2023
5b2c130
Merge remote-tracking branch 'origin/develop' into toMain
dcolleoni Oct 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ifrs17-template/Constants/CalculationEngine.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"cell_type": "code",
"source": [
"var projectName = \"ifrs17\";",
"\nvar environmentName = \"v1.3.1\";",
"\nvar environmentName = \"v1.3.2\";",
"\nvar notebookName = \"CalculationEngine\";",
"\nvar calculationEngine = $\"#!import \\\"//{projectName}/{environmentName}/{notebookName}\\\"\";"
],
Expand Down
53 changes: 53 additions & 0 deletions ifrs17-template/Constants/Sharepoint.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"metadata": {
"authors": [],
"id": "FhSOUFpXwkCCDrVeJ6_P0g",
"kernelspec": {
"display_name": "Formula Framework",
"language": "C#",
"name": "C#"
},
"language_info": {
"file_extension": ".cs",
"mimetype": "text/plain",
"name": "C#"
}
},
"nbformat": 4,
"nbformat_minor": 5,
"cells": [
{
"cell_type": "markdown",
"source": [
"<p style=\"font-weight:bold;\"> <span style=\"font-size: 36px\"> Sharepoint Settings </span> </p>"
],
"metadata": {},
"execution_count": 0,
"outputs": []
},
{
"cell_type": "markdown",
"source": [
"This notebook allows to enter the details to connect the IFRS 17 calculation engine to your personal sharepoint. This allows the calculation engine to import data directly from your sharepoint and to export reports and other financial documents directly to your sharepoint."
],
"metadata": {},
"execution_count": 0,
"outputs": []
},
{
"cell_type": "code",
"source": [
"public class Sharepoint{",
"\n public const string Sites = \"sites/XXX\"; //Sharepoint sites",
"\n public const string Tenant = \"systemorph.sharepoint.com\"; //Sharepoint tenant",
"\n public const string Root = \"Dev/\"; //Dev main directory",
"\n public const string PathToExport = Root + \"ExportFilesTest/\" //Target export directory ",
"\n public const string PathToImport = Root + \"ImportFiles/\"",
"\n}"
],
"metadata": {},
"execution_count": 0,
"outputs": []
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
{
"cell_type": "code",
"source": [
"[Migration(\"20230425145745_InitialTypes\")]",
"[Migration(\"20230523120744_InitialTypes\")]",
"\npublic class InitialTypes : Migration",
"\n{",
"\n protected override void Up(MigrationBuilder migrationBuilder)",
Expand Down Expand Up @@ -162,7 +162,9 @@
"\n ReinsuranceCoverage = table.Column<double>(type: \"float\", nullable: true),",
"\n PremiumAllocation = table.Column<double>(type: \"float\", nullable: true),",
"\n CashFlowPeriodicity = table.Column<int>(type: \"int\", nullable: true),",
"\n InterpolationMethod = table.Column<int>(type: \"int\", nullable: true)",
"\n InterpolationMethod = table.Column<int>(type: \"int\", nullable: true),",
"\n EconomicBasisDriver = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
"\n ReleasePattern = table.Column<byte[]>(type: \"varbinary(max)\", nullable: true)",
"\n },",
"\n constraints: table =>",
"\n {",
Expand Down Expand Up @@ -421,7 +423,8 @@
"\n SystemName = table.Column<string>(type: \"nvarchar(16)\", maxLength: 16, nullable: false),",
"\n Shift = table.Column<int>(type: \"int\", nullable: false),",
"\n TimeStep = table.Column<int>(type: \"int\", nullable: false),",
"\n DisplayName = table.Column<string>(type: \"nvarchar(max)\", nullable: true)",
"\n DisplayName = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
"\n Order = table.Column<int>(type: \"int\", nullable: false)",
"\n },",
"\n constraints: table =>",
"\n {",
Expand Down
51 changes: 51 additions & 0 deletions ifrs17-template/Export/ExportSettings.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"metadata": {
"authors": [],
"id": "SW5aARBVpEi8-8zKI1xJoQ",
"kernelspec": {
"display_name": "Formula Framework",
"language": "C#",
"name": "C#"
},
"language_info": {
"file_extension": ".cs",
"mimetype": "text/plain",
"name": "C#"
}
},
"nbformat": 4,
"nbformat_minor": 5,
"cells": [
{
"cell_type": "markdown",
"source": [
"In order to allow direct export of the files into the sharepoint folder of choice, please comment out the first row of the following code and uncomment the rest of the code."
],
"metadata": {},
"execution_count": 0,
"outputs": []
},
{
"cell_type": "code",
"source": [
"var pathToExport = \"\";",
"\n//#!import \"../Constants/Sharepoint\"",
"\n//var fileStorage = SharePoint.Site(Sharepoint.Sites, Sharepoint.Tenant);",
"\n//var pathToExport = Sharepoint.PathToExport",
"\n//Export.SetDefaultFileStorage(fileStorage);"
],
"metadata": {},
"execution_count": 0,
"outputs": []
},
{
"cell_type": "code",
"source": [
""
],
"metadata": {},
"execution_count": 0,
"outputs": []
}
]
}
15 changes: 8 additions & 7 deletions ifrs17-template/Export/MapTemplate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@
{
"cell_type": "code",
"source": [
"#!eval-notebook \"../Import/CloseImportTemplate\""
"#!eval-notebook \"../Import/CloseImportTemplate\"",
"\n#!eval-notebook \"ExportSettings\""
],
"metadata": {},
"execution_count": 0,
Expand Down Expand Up @@ -110,7 +111,7 @@
"source": [
"# Map Template: Data Node",
"\n",
"\n[DataNodes](https://portal.systemorph.cloud/project/ifrs17/env/v1.3.1/DataModel/DataStructure#data-node) defines the properties of [Portfolios](https://portal.systemorph.cloud/project/ifrs17/env/v1.3.1/DataModel/DataStructure#portfolios) and [Group of Contracts](https://portal.systemorph.cloud/project/ifrs17/env/v1.3.1/DataModel/DataStructure#group-of-contracts)."
"\n[DataNodes](https://portal.systemorph.cloud/project/ifrs17/env/v1.3.2/DataModel/DataStructure#data-node) defines the properties of [Portfolios](https://portal.systemorph.cloud/project/ifrs17/env/v1.3.2/DataModel/DataStructure#portfolios) and [Group of Contracts](https://portal.systemorph.cloud/project/ifrs17/env/v1.3.2/DataModel/DataStructure#group-of-contracts)."
],
"metadata": {},
"execution_count": 0,
Expand Down Expand Up @@ -147,7 +148,7 @@
{
"cell_type": "code",
"source": [
"await Export.ToExcel(\"DataNodes\")",
"await Export.ToExcel(pathToExport + \"DataNodes\")",
"\n .WithSource(Workspace)",
"\n .PortfolioConfiguration<ReinsurancePortfolio>()",
"\n .PortfolioConfiguration<InsurancePortfolio>()",
Expand All @@ -166,7 +167,7 @@
"source": [
"# Map Template: Data Node State",
"\n",
"\n[Data Node State](https://portal.systemorph.cloud/project/ifrs17/env/v1.3.1/DataModel/DataStructure#data-node-state) defines whether the instance is active (used in import/output) or inactive (present in the DataSource but not used in input/output operations)."
"\n[Data Node State](https://portal.systemorph.cloud/project/ifrs17/env/v1.3.2/DataModel/DataStructure#data-node-state) defines whether the instance is active (used in import/output) or inactive (present in the DataSource but not used in input/output operations)."
],
"metadata": {},
"execution_count": 0,
Expand Down Expand Up @@ -235,7 +236,7 @@
{
"cell_type": "code",
"source": [
"await Export.ToExcel(\"DataNodeState\")",
"await Export.ToExcel(pathToExport + \"DataNodeState\")",
"\n .WithSource(Workspace)",
"\n .StateEnumConfiguration() ",
"\n .DataNodeStateConfiguration(dataNodeStates)",
Expand All @@ -252,7 +253,7 @@
"source": [
"# Map Template: Data Node Parameter",
"\n",
"\n[Data Node Parameters](https://portal.systemorph.cloud/project/ifrs17/env/v1.3.1/DataModel/DataStructure#data-node-parameters) are defined at the Group of Contract level and are used during the import calculation. "
"\n[Data Node Parameters](https://portal.systemorph.cloud/project/ifrs17/env/v1.3.2/DataModel/DataStructure#data-node-parameters) are defined at the Group of Contract level and are used during the import calculation. "
],
"metadata": {},
"execution_count": 0,
Expand Down Expand Up @@ -323,7 +324,7 @@
{
"cell_type": "code",
"source": [
"await Export.ToExcel(\"DataNodeParameter\")",
"await Export.ToExcel(pathToExport + \"DataNodeParameter\")",
"\n .WithSource(Workspace)",
"\n .DataNodeParameterConfiguration(dataNodeParameters)",
"\n .MainTabConfiguration(partition)",
Expand Down
54 changes: 28 additions & 26 deletions ifrs17-template/Files/DataNodes/DataNodeParameters_CH_2020_12.csv
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
@@Main,,
ReportingNode,Year,Month
CH,2020,12
,,
@@SingleDataNodeParameter,,
DataNode,PremiumAllocation,
GicComplex,0.8,
DT1.1,0.8,
DT1.2,0.8,
DT1.3,1,
DT1.4,0.8,
DT1.5,0.8,
DT2.1,0.8,
DT2.2,0.8,
DT3.1,0.8,
DT4.1,0.8,
,,
@@InterDataNodeParameter,,
DataNode,LinkedDataNode,ReinsuranceCoverage
DT1.1,DTR1.1,1
DT1.2,DTR1.2,1
DT1.4,DTR1.3,1
DT1.5,DTR1.4,1
DT2.1,DTR2.1,1
DT2.2,DTR2.2,1
GricComplex,GicComplex,1
@@Main,,,,,,,,,
ReportingNode,Year,Month,,,,,,,
CH,2020,12,,,,,,,
,,,,,,,,,
@@SingleDataNodeParameter,,,,,,,,,
DataNode,PremiumAllocation,CashFlowPeriodicity,InterpolationMethod,EconomicBasisDriver,ReleasePattern0,ReleasePattern1,ReleasePattern2,ReleasePattern3,ReleasePattern4
GicComplex,0.8,Monthly,,,,,,,
DT1.1,0.8,Monthly,,,,,,,
DT1.2,0.8,Monthly,,,,,,,
DT1.3,1,Monthly,,,,,,,
DT1.4,0.8,Monthly,,,,,,,
DT1.5,0.8,Monthly,,,,,,,
DT2.1,0.8,Monthly,,,,,,,
DT2.2,0.8,Monthly,,,,,,,
DT3.1,0.8,Monthly,,,,,,,
DT4.1,0.8,Monthly,,,,,,,
DT10.1,0,Yearly,Uniform,,,,,,
DT10.2,0,Yearly,Uniform,N,1.41,1.14,0.87,0.58,
,,,,,,,,,
@@InterDataNodeParameter,,,,,,,,,
DataNode,LinkedDataNode,ReinsuranceCoverage,,,,,,,
DT1.1,DTR1.1,0.5,,,,,,,
DT1.2,DTR1.2,0.5,,,,,,,
DT1.4,DTR1.3,0.5,,,,,,,
DT1.5,DTR1.4,0.5,,,,,,,
DT2.1,DTR2.1,0.5,,,,,,,
DT2.2,DTR2.2,0.5,,,,,,,
GricComplex,GicComplex,0.5,,,,,,,
18 changes: 18 additions & 0 deletions ifrs17-template/Files/DataNodes/DataNodeParameters_ES_2020_12.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@@Main,,
ReportingNode,Year,Month
ES,2020,12
,,
@@SingleDataNodeParameter,,
DataNode,PremiumAllocation,
3BBBA.0,1,
3BPAA.0,1,
3BBBA.1,1,
3BPAA.1,1,
3BBBA.2,1,
3BPAA.2,1,
3BBBA.3,1,
3BPAA.3,1,
3BBBA.4,1,
3BPAA.4,1,
3BBBA.5,1,
3BPAA.5,1,
24 changes: 24 additions & 0 deletions ifrs17-template/Files/DataNodes/DataNodeParameters_FR_2020_12.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@@Main,,
ReportingNode,Year,Month
FR,2020,12
,,
@@SingleDataNodeParameter,,
DataNode,PremiumAllocation,
EY52BBA.1,1,
EY52BBA.2,1,
EY52PAA.1,0,
EY57G.1,1,
EY58G.1,1,
EY58G.2,1,
EY59G.1,1,
EY59G.2,1,
EY63G.1,1,
,,
@@InterDataNodeParameter,,
DataNode,LinkedDataNode,ReinsuranceCoverage
EY57G.1,EY57R.1,0.3
EY58G.1,EY58R.1,0.3
EY58G.2,EY58R.1,0.3
EY59G.1,EY59R.1,0.3
EY59G.2,EY59R.2,0.3
EY63G.1,EY63R.1,0.5
2 changes: 2 additions & 0 deletions ifrs17-template/Files/DataNodes/DataNodeStates_CH_2020_12.csv
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ DTR1.4,Active,
DTR2.1,Active,
DTR2.2,Active,
DTP1.1,Active,
DT10.1,Active,
DT10.2,Active,
18 changes: 18 additions & 0 deletions ifrs17-template/Files/DataNodes/DataNodeStates_ES_2020_12.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@@Main,,
ReportingNode,Year,Month
ES,2020,12
,,
@@DataNodeState,,
DataNode,State,
3BBBA.0,Active,
3BPAA.0,Active,
3BBBA.1,Active,
3BPAA.1,Active,
3BBBA.2,Active,
3BPAA.2,Active,
3BBBA.3,Active,
3BPAA.3,Active,
3BBBA.4,Active,
3BPAA.4,Active,
3BBBA.5,Active,
3BPAA.5,Active,
20 changes: 20 additions & 0 deletions ifrs17-template/Files/DataNodes/DataNodeStates_FR_2020_12.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@@Main,,
ReportingNode,Year,Month
FR,2020,12
,,
@@DataNodeState,,
DataNode,State,
EY52BBA.1,Active,
EY52BBA.2,Active,
EY52PAA.1,Active,
EY57G.1,Active,
EY57R.1,Active,
EY58G.1,Active,
EY58G.2,Active,
EY58R.1,Active,
EY63G.1,Active,
EY59G.1,Active,
EY59G.2,Active,
EY59R.1,Active,
EY59R.2,Active,
EY63R.1,Active,
7 changes: 5 additions & 2 deletions ifrs17-template/Files/DataNodes/DataNodes_CH.csv
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ DT2,DT2 NOCI,USD,ANN,BBA,,
DT3,DT3 RunOff,USD,ANN,BBA,Default,
DT4,DT4 OCI,USD,ANN,BBA,Default,
DT5,DT5 Simple Import,USD,ANN,BBA,Default,
DT10,DT10 PPA,USD,ANN,PAA,Default,
,,,,,,
@@GroupOfInsuranceContract,,,,,,
SystemName,DisplayName,InsurancePortfolio,AnnualCohort,LiabilityType,Profitability,
SystemName,DisplayName,InsurancePortfolio,AnnualCohort,LiabilityType,Profitability,YieldCurveName
GicComplex,Gic test discounting,DT,2020,LRC,P,
DT1.1,DT1.1 OCI LRC PA 0.8,DT1,2020,LRC,P,
DT1.2,DT1.2 OCI LIC,DT1,2020,LIC,P,
Expand All @@ -24,7 +25,9 @@ DT2.2,DT2.2 NOCI LIC,DT2,2020,LIC,P,
DT3.1,DT3.1 Runoff - PA 0.8,DT3,2020,LRC,P,
DT4.1,DT4.1 CSM PA 0.8,DT4,2020,LRC,P,
DT5.1,DT5.1 Simple Import on DT 4.1,DT5,2020,LRC,P,
DTP1.1,DTP1.1 Projection,DT1,2020,LRC,P,
DTP1.1,DTP1.1 Projection,DT1,2020,LRC,P,NoDiscount
DT10.1,DT10.1 PAA,DT10,2020,LIC,P,
DT10.2,DT10.1 PAA,DT10,2020,LRC,P,
,,,,,,
@@ReinsurancePortfolio,,,,,,
SystemName,DisplayName,ContractualCurrency,LineOfBusiness,ValuationApproach,OciType,
Expand Down
Loading