diff --git a/ifrs17-template/Constants/Sharepoint.ipynb b/ifrs17-template/Constants/Sharepoint.ipynb
new file mode 100644
index 00000000..91ef6588
--- /dev/null
+++ b/ifrs17-template/Constants/Sharepoint.ipynb
@@ -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": [
+ "
Sharepoint Settings
"
+ ],
+ "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": []
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ifrs17-template/Export/ExportSettings.ipynb b/ifrs17-template/Export/ExportSettings.ipynb
new file mode 100644
index 00000000..747db88e
--- /dev/null
+++ b/ifrs17-template/Export/ExportSettings.ipynb
@@ -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": []
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ifrs17-template/Export/MapTemplate.ipynb b/ifrs17-template/Export/MapTemplate.ipynb
index 3eb3eeed..5b45aa42 100644
--- a/ifrs17-template/Export/MapTemplate.ipynb
+++ b/ifrs17-template/Export/MapTemplate.ipynb
@@ -72,7 +72,8 @@
{
"cell_type": "code",
"source": [
- "#!eval-notebook \"../Import/CloseImportTemplate\""
+ "#!eval-notebook \"../Import/CloseImportTemplate\"",
+ "\n#!eval-notebook \"ExportSettings\""
],
"metadata": {},
"execution_count": 0,
@@ -147,7 +148,7 @@
{
"cell_type": "code",
"source": [
- "await Export.ToExcel(\"DataNodes\")",
+ "await Export.ToExcel(pathToExport + \"DataNodes\")",
"\n .WithSource(Workspace)",
"\n .PortfolioConfiguration()",
"\n .PortfolioConfiguration()",
@@ -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)",
@@ -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)",
diff --git a/ifrs17-template/Initialization/ImportSettings.ipynb b/ifrs17-template/Initialization/ImportSettings.ipynb
new file mode 100644
index 00000000..f61fe1c4
--- /dev/null
+++ b/ifrs17-template/Initialization/ImportSettings.ipynb
@@ -0,0 +1,42 @@
+{
+ "metadata": {
+ "authors": [],
+ "id": "qm1URhtQPEmdOMumfNuQaQ",
+ "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. In order to ensure that the import proceeds without errors, please make sure that you sharepoint import folder has a structure, similar to the one of the Files folder in our template. "
+ ],
+ "metadata": {},
+ "execution_count": 0,
+ "outputs": []
+ },
+ {
+ "cell_type": "code",
+ "source": [
+ "var pathToImport = \"../Files/\";",
+ "\n//#!import \"../Constants/Sharepoint\"",
+ "\n//var fileStorage = SharePoint.Site(Sharepoint.Sites, Sharepoint.Tenant);",
+ "\n//var pathToImport = Sharepoint.PathToImport",
+ "\n//Import.SetDefaultFileStorage(fileStorage);"
+ ],
+ "metadata": {},
+ "execution_count": 0,
+ "outputs": []
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ifrs17-template/Initialization/InitSystemorphBaseToMemory.ipynb b/ifrs17-template/Initialization/InitSystemorphBaseToMemory.ipynb
index ecb28355..f43c59ff 100644
--- a/ifrs17-template/Initialization/InitSystemorphBaseToMemory.ipynb
+++ b/ifrs17-template/Initialization/InitSystemorphBaseToMemory.ipynb
@@ -85,7 +85,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/DataNodes/DataNodes_FR.csv\")",
+ "await Import.FromFile(pathToImport + \"DataNodes/DataNodes_FR.csv\")",
"\n .WithFormat(ImportFormats.DataNode)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -98,7 +98,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/DataNodes/DataNodeStates_FR_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"DataNodes/DataNodeStates_FR_2020_12.csv\")",
"\n .WithFormat(ImportFormats.DataNodeState)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -111,7 +111,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/DataNodes/DataNodeParameters_FR_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"DataNodes/DataNodeParameters_FR_2020_12.csv\")",
"\n .WithFormat(ImportFormats.DataNodeParameter)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -133,7 +133,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/DataNodes/DataNodes_ES.csv\")",
+ "await Import.FromFile(pathToImport + \"DataNodes/DataNodes_ES.csv\")",
"\n .WithFormat(ImportFormats.DataNode)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -146,7 +146,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/DataNodes/DataNodeStates_ES_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"DataNodes/DataNodeStates_ES_2020_12.csv\")",
"\n .WithFormat(ImportFormats.DataNodeState)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -159,7 +159,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/DataNodes/DataNodeParameters_ES_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"DataNodes/DataNodeParameters_ES_2020_12.csv\")",
"\n .WithFormat(ImportFormats.DataNodeParameter)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -181,7 +181,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/DataNodes/DataNodes_CH.csv\")",
+ "await Import.FromFile(pathToImport + \"DataNodes/DataNodes_CH.csv\")",
"\n .WithFormat(ImportFormats.DataNode)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -194,7 +194,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/DataNodes/DataNodeStates_CH_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"DataNodes/DataNodeStates_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.DataNodeState)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -207,7 +207,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/DataNodes/DataNodeParameters_CH_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"DataNodes/DataNodeParameters_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.DataNodeParameter)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
diff --git a/ifrs17-template/Initialization/InitSystemorphRefDataToMemory.ipynb b/ifrs17-template/Initialization/InitSystemorphRefDataToMemory.ipynb
index 0ecdf39c..365c2704 100644
--- a/ifrs17-template/Initialization/InitSystemorphRefDataToMemory.ipynb
+++ b/ifrs17-template/Initialization/InitSystemorphRefDataToMemory.ipynb
@@ -38,6 +38,15 @@
"execution_count": 0,
"outputs": []
},
+ {
+ "cell_type": "code",
+ "source": [
+ "#!import \"ImportSettings\""
+ ],
+ "metadata": {},
+ "execution_count": 0,
+ "outputs": []
+ },
{
"cell_type": "markdown",
"source": [
@@ -96,7 +105,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/Dimensions.csv\")",
+ "await Import.FromFile(pathToImport + \"Dimensions.csv\")",
"\n .WithType()",
"\n .WithType()",
"\n .WithType()",
@@ -127,7 +136,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/Dimensions.csv\")",
+ "await Import.FromFile(pathToImport + \"Dimensions.csv\")",
"\n .WithFormat(ImportFormats.AocConfiguration)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -140,7 +149,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/ReportingNodes/ReportingNodes.csv\")",
+ "await Import.FromFile(pathToImport + \"ReportingNodes/ReportingNodes.csv\")",
"\n .WithType()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -162,42 +171,42 @@
{
"cell_type": "code",
"source": [
- "var log = await Import.FromFile(\"../Files/Parameters/YieldCurve_2019_12.csv\")",
+ "var log = await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2019_12.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
"\n .ExecuteAsync();",
- "\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2020_1.csv\")",
+ "\nlog.Merge(await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2020_1.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
- "\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2020_3.csv\")",
+ "\nlog.Merge(await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2020_3.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
- "\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2020_12.csv\")",
+ "\nlog.Merge(await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2020_12.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
- "\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2021_3.csv\")",
+ "\nlog.Merge(await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2021_3.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
- "\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2021_6.csv\")",
+ "\nlog.Merge(await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2021_6.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
- "\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2021_12.csv\")",
+ "\nlog.Merge(await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2021_12.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -211,7 +220,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/Parameters/ExchangeRate.csv\")",
+ "await Import.FromFile(pathToImport + \"Parameters/ExchangeRate.csv\")",
"\n .WithType()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -224,7 +233,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/Parameters/PartnerRating.csv\")",
+ "await Import.FromFile(pathToImport + \"Parameters/PartnerRating.csv\")",
"\n .WithType()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -237,7 +246,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/Parameters/CreditDefaultRate.csv\")",
+ "await Import.FromFile(pathToImport + \"Parameters/CreditDefaultRate.csv\")",
"\n .WithType()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
diff --git a/ifrs17-template/Initialization/InitSystemorphToDatabase.ipynb b/ifrs17-template/Initialization/InitSystemorphToDatabase.ipynb
index b54f5f1c..39ccd301 100644
--- a/ifrs17-template/Initialization/InitSystemorphToDatabase.ipynb
+++ b/ifrs17-template/Initialization/InitSystemorphToDatabase.ipynb
@@ -34,6 +34,15 @@
"execution_count": 0,
"outputs": []
},
+ {
+ "cell_type": "code",
+ "source": [
+ "#!import \"ImportSettings\""
+ ],
+ "metadata": {},
+ "execution_count": 0,
+ "outputs": []
+ },
{
"cell_type": "markdown",
"source": [
@@ -73,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/Dimensions.csv\")",
+ "await Import.FromFile(pathToImport + \"Dimensions.csv\")",
"\n .WithType()",
"\n .WithType()",
"\n .WithType()",
@@ -105,7 +114,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/ReportingNodes/ReportingNodes.csv\")",
+ "await Import.FromFile(pathToImport + \"ReportingNodes/ReportingNodes.csv\")",
"\n .WithType()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -127,42 +136,42 @@
{
"cell_type": "code",
"source": [
- "var log = await Import.FromFile(\"../Files/Parameters/YieldCurve_2019_12.csv\")",
+ "var log = await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2019_12.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
"\n .ExecuteAsync();",
- "\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2020_1.csv\")",
+ "\nlog.Merge(await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2020_1.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
- "\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2020_3.csv\")",
+ "\nlog.Merge(await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2020_3.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
- "\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2020_12.csv\")",
+ "\nlog.Merge(await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2020_12.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
- "\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2021_3.csv\")",
+ "\nlog.Merge(await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2021_3.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
- "\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2021_6.csv\")",
+ "\nlog.Merge(await Import.FromFile(pathToImport + \"Parameters/YieldCurve_2021_6.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
"\n .ExecuteAsync()",
"\n );",
- "\nlog.Merge(await Import.FromFile(\"../Files/Parameters/YieldCurve_2021_12.csv\")",
+ "\nlog.Merge(await Import.FromFile(pathToImport \"Parameters/YieldCurve_2021_12.csv\")",
"\n .WithFormat(ImportFormats.YieldCurve)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -177,7 +186,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/Parameters/ExchangeRate.csv\")",
+ "await Import.FromFile(pathToImport + \"Parameters/ExchangeRate.csv\")",
"\n .WithType()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -190,7 +199,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/Parameters/PartnerRating.csv\")",
+ "await Import.FromFile(pathToImport + \"Parameters/PartnerRating.csv\")",
"\n .WithType()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -203,7 +212,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/Parameters/CreditDefaultRate.csv\")",
+ "await Import.FromFile(pathToImport +\"Parameters/CreditDefaultRate.csv\")",
"\n .WithType()",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -225,7 +234,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/DataNodes/DataNodes_CH.csv\")",
+ "await Import.FromFile(pathToImport + \"DataNodes/DataNodes_CH.csv\")",
"\n .WithFormat(ImportFormats.DataNode)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -238,7 +247,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/DataNodes/DataNodeStates_CH_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"DataNodes/DataNodeStates_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.DataNodeState)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -251,7 +260,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/DataNodes/DataNodeParameters_CH_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"DataNodes/DataNodeParameters_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.DataNodeParameter)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -273,7 +282,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/Openings_CH_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/Openings_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.Opening)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -286,7 +295,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/NominalCashflows_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.Cashflow)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -299,7 +308,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/Actuals_CH_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/Actuals_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.Actual)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -312,7 +321,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2021_3.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/NominalCashflows_CH_2021_3.csv\")",
"\n .WithFormat(ImportFormats.Cashflow)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -325,7 +334,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/Actuals_CH_2021_3.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/Actuals_CH_2021_3.csv\")",
"\n .WithFormat(ImportFormats.Actual)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -338,7 +347,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/SimpleValue_CH_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/SimpleValue_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.SimpleValue )",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -351,7 +360,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2020_12_MTUP10pct.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/NominalCashflows_CH_2020_12_MTUP10pct.csv\")",
"\n .WithFormat(ImportFormats.Cashflow)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
diff --git a/ifrs17-template/Initialization/InitSystemorphToMemory.ipynb b/ifrs17-template/Initialization/InitSystemorphToMemory.ipynb
index aa4bd390..4d70a9cc 100644
--- a/ifrs17-template/Initialization/InitSystemorphToMemory.ipynb
+++ b/ifrs17-template/Initialization/InitSystemorphToMemory.ipynb
@@ -75,7 +75,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/Openings_FR_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/Openings_FR_2020_12.csv\")",
"\n .WithFormat(ImportFormats.Opening)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -88,7 +88,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_FR_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/NominalCashflows_FR_2020_12.csv\")",
"\n .WithFormat(ImportFormats.Cashflow)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -101,7 +101,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/Actuals_FR_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/Actuals_FR_2020_12.csv\")",
"\n .WithFormat(ImportFormats.Actual)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -123,7 +123,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/Openings_ES_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/Openings_ES_2020_12.csv\")",
"\n .WithFormat(ImportFormats.Opening)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -136,7 +136,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_ES_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/NominalCashflows_ES_2020_12.csv\")",
"\n .WithFormat(ImportFormats.Cashflow)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -149,7 +149,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/Actuals_ES_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/Actuals_ES_2020_12.csv\")",
"\n .WithFormat(ImportFormats.Actual)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -171,7 +171,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/Openings_CH_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/Openings_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.Opening)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -184,7 +184,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/NominalCashflows_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.Cashflow)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -197,7 +197,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/Actuals_CH_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/Actuals_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.Actual)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -210,7 +210,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/SimpleValue_CH_2020_12.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/SimpleValue_CH_2020_12.csv\")",
"\n .WithFormat(ImportFormats.SimpleValue )",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -223,7 +223,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2020_12_MTUP10pct.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/NominalCashflows_CH_2020_12_MTUP10pct.csv\")",
"\n .WithFormat(ImportFormats.Cashflow)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -236,7 +236,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2021_3.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/NominalCashflows_CH_2021_3.csv\")",
"\n .WithFormat(ImportFormats.Cashflow)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
@@ -249,7 +249,7 @@
{
"cell_type": "code",
"source": [
- "await Import.FromFile(\"../Files/TransactionalData/Actuals_CH_2021_3.csv\")",
+ "await Import.FromFile(pathToImport + \"TransactionalData/Actuals_CH_2021_3.csv\")",
"\n .WithFormat(ImportFormats.Actual)",
"\n .WithTarget(DataSource)",
"\n .WithActivityLog()",
diff --git a/ifrs17-template/Report/InteractiveReports/Accruals.ipynb b/ifrs17-template/Report/InteractiveReports/Accruals.ipynb
index 7c253ae2..c3837167 100644
--- a/ifrs17-template/Report/InteractiveReports/Accruals.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/Accruals.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"Accruals\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"Accruals\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/Csm-Lc-LoReCo.ipynb b/ifrs17-template/Report/InteractiveReports/Csm-Lc-LoReCo.ipynb
index c7725e94..e44f6d50 100644
--- a/ifrs17-template/Report/InteractiveReports/Csm-Lc-LoReCo.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/Csm-Lc-LoReCo.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"CsmLcLorecoReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"CsmLcLorecoReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/Deferrals.ipynb b/ifrs17-template/Report/InteractiveReports/Deferrals.ipynb
index 101e8172..38300b7b 100644
--- a/ifrs17-template/Report/InteractiveReports/Deferrals.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/Deferrals.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"DeferralsReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"DeferralsReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/ExperienceAdjustment.ipynb b/ifrs17-template/Report/InteractiveReports/ExperienceAdjustment.ipynb
index b93dab83..3df43157 100644
--- a/ifrs17-template/Report/InteractiveReports/ExperienceAdjustment.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/ExperienceAdjustment.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"ExpAdjReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"ExpAdjReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/FinancialPerformance.ipynb b/ifrs17-template/Report/InteractiveReports/FinancialPerformance.ipynb
index c176dff5..5c02869d 100644
--- a/ifrs17-template/Report/InteractiveReports/FinancialPerformance.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/FinancialPerformance.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"FpReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"FpReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/FulfilmentCashflow.ipynb b/ifrs17-template/Report/InteractiveReports/FulfilmentCashflow.ipynb
index 4811cdd6..351d993b 100644
--- a/ifrs17-template/Report/InteractiveReports/FulfilmentCashflow.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/FulfilmentCashflow.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"FcfReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"FcfReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/LIC.ipynb b/ifrs17-template/Report/InteractiveReports/LIC.ipynb
index dd4a1c74..2fa6a63a 100644
--- a/ifrs17-template/Report/InteractiveReports/LIC.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/LIC.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"LicReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"LicReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/LRC.ipynb b/ifrs17-template/Report/InteractiveReports/LRC.ipynb
index 64039671..ee749220 100644
--- a/ifrs17-template/Report/InteractiveReports/LRC.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/LRC.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"LrcReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"LrcReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/LicActuarial.ipynb b/ifrs17-template/Report/InteractiveReports/LicActuarial.ipynb
index 1a794500..64c982fd 100644
--- a/ifrs17-template/Report/InteractiveReports/LicActuarial.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/LicActuarial.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"LicActualReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"LicActualReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/LoadData.ipynb b/ifrs17-template/Report/InteractiveReports/LoadData.ipynb
index 0b97f90a..22241f1e 100644
--- a/ifrs17-template/Report/InteractiveReports/LoadData.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/LoadData.ipynb
@@ -45,7 +45,8 @@
{
"cell_type": "code",
"source": [
- "#!import \"../../Import/CloseImportTemplate\""
+ "#!import \"../../Import/CloseImportTemplate\"",
+ "\n#!import \"../../Export/ExportSettings\""
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/LrcActuarial.ipynb b/ifrs17-template/Report/InteractiveReports/LrcActuarial.ipynb
index 2eb300db..b2ee1ad5 100644
--- a/ifrs17-template/Report/InteractiveReports/LrcActuarial.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/LrcActuarial.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"LrcActualReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"LrcActualReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/PresentValue.ipynb b/ifrs17-template/Report/InteractiveReports/PresentValue.ipynb
index 8695c9e8..9beb6a88 100644
--- a/ifrs17-template/Report/InteractiveReports/PresentValue.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/PresentValue.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"PvReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"PvReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/RiskAdjustment.ipynb b/ifrs17-template/Report/InteractiveReports/RiskAdjustment.ipynb
index 8b34e0dc..c93a6c72 100644
--- a/ifrs17-template/Report/InteractiveReports/RiskAdjustment.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/RiskAdjustment.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"RiskAdjReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"RiskAdjReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/TechnicalMargin.ipynb b/ifrs17-template/Report/InteractiveReports/TechnicalMargin.ipynb
index c97b5168..a0c9c475 100644
--- a/ifrs17-template/Report/InteractiveReports/TechnicalMargin.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/TechnicalMargin.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"TmReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"TmReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17-template/Report/InteractiveReports/WrittenActual.ipynb b/ifrs17-template/Report/InteractiveReports/WrittenActual.ipynb
index 41c56af7..54f7c9b2 100644
--- a/ifrs17-template/Report/InteractiveReports/WrittenActual.ipynb
+++ b/ifrs17-template/Report/InteractiveReports/WrittenActual.ipynb
@@ -82,7 +82,7 @@
{
"cell_type": "code",
"source": [
- "await ifrs17Interactive.ExportToExcelAsync(\"WrittenReport\", addDateTime : true)"
+ "await ifrs17Interactive.ExportToExcelAsync(pathToExport + \"WrittenReport\", addDateTime : true)"
],
"metadata": {},
"execution_count": 0,
diff --git a/ifrs17/Constants/Validations.ipynb b/ifrs17/Constants/Validations.ipynb
index 94f2d623..8e654e7d 100644
--- a/ifrs17/Constants/Validations.ipynb
+++ b/ifrs17/Constants/Validations.ipynb
@@ -301,4 +301,4 @@
"outputs": []
}
]
-}
+}
\ No newline at end of file