If you use Lucanet Lease Accounting together with Consolidation & Financial Planning (CFP), you can import the postings saved in Lease Accounting into CFP using a script. To do so, you first need to save the postings in Lease Accounting, and then trigger the import of the postings into the selected reporting entities in CFP.

The integration uses the existing workflow for a data source of type Provision via script with the dedicated Lucanet Lease Accounting script. The script is executed on the server; no Lucanet.Script Execution Application is required.

The workspace names in this article are the default names of the Import and Journals workspace in CFP. If the folders in your CFP overview have been renamed, the paths differ accordingly.

Before you can import postings from Lease Accounting into CFP, the following must be set up:

  • A CFP user account with permissions for the Import and Journals workspace (see Defining User Permissions)
  • The Lucanet Lease Accounting script in the Scripts workspace of your CFP environment. You download the script file in Lease Accounting and upload it to CFP yourself. CFP does not update the script automatically, see Uploading and Updating the Script.
  • The reporting entities for which you import postings exist in CFP and have been imported into Lease Accounting as lessees (see Importing and Configuring Reporting Entities)
  • Postings have been saved in Lease Accounting for the periods you want to import (see Saving Postings)
  • An adjustment level for the lease accounting postings exists in CFP. We recommend a separate adjustment level such as IFRS 16, so that the lease accounting postings remain separate from the other postings of the reporting entity.

The Lucanet Lease Accounting script is provided by Lucanet as a script file. You download the latest version of the script file in the Export postings workspace of Lease Accounting, see Downloading the ETL Script in Lease Accounting. The version of the script is part of the script name, for example Lucanet Lease Accounting #3692-STAT.SQL.FOS v1.7.1.

New versions of the script are not installed automatically. When Lucanet releases a new version, download the current script file in the Export postings workspace of Lease Accounting. Compare the version in the script name in your Scripts workspace with the version of the downloaded file, and upload the new file if the versions differ.

To upload the Lucanet Lease Accounting script to CFP:

1

Navigate to Import and Journals | Scripts.

2

Right-click Scripts or a folder in the tree view and select Create | Script. The Create Script dialog is displayed as follows:

Shows the 'Create Script' dialog in CFP with the type 'Script', the 'File' upload area with the 'browse' link, the 'Name' field containing 'LeaseAccounting', and the 'Cancel' and 'Save' buttons.
The 'Create Script' dialog
3

Drag and drop the downloaded script file into the dialog, or click browse and select the script file (see Creating a Script). The script is created with the name of the script file, including the version.

To update the script to a new version, upload the new script file as described above and then select the new script in the data source (see Configuring the Data Source for Lease Accounting in CFP). The existing data imports keep working, because they reference the data source and not the script.

After you have uploaded the Lucanet Lease Accounting script to CFP, configure the script in its detail view in the Scripts workspace.

To configure the Lucanet Lease Accounting script in CFP:

1

Navigate to Import and Journals | Scripts and select the Lucanet Lease Accounting script in the tree view.

2

Click Edit in the top right corner. The detail view of the script is displayed as follows, for example:

Shows the detail view of the 'Lucanet Lease Accounting #3692-STAT.SQL.FOS v1.7.1' script in CFP in edit mode with the 'Execution location' field set to 'Execute on the server', the 'Configuration' tab with the 'Connection', 'Dimension configuration', and 'Import configuration' tabs, the 'Reporting entities' table with one row for 'Test GmbH', the 'Add row' button, and the 'Trust all certificates' check box.
Detail view of the 'Lucanet Lease Accounting' script
3

On the Configuration tab, configure the settings on the Connection tab as follows:

  • Reporting entities: Click Add row for every reporting entity whose postings you want to import. In the Reporting entity column, select the CFP reporting entity. In the Reporting entity code column, enter the ID of the reporting entity in Lease Accounting. In the First month of fiscal year column, enter the number of the first month of the fiscal year, for example 1 for January.
  • Trust all certificates: Leave the check box deactivated unless Lucanet Support instructs you otherwise.
4

On the Dimension configuration tab, specify which additional information the script writes into the CFP dimensions:

  • Set contract and component information in cost center dimension: Activate the check box if the contract and component of each posting are to be written into the Cost center dimension.
  • Set lessor company name as legal entity partner: Activate the check box if the name of the lessor is to be written into the Partner dimension.
5

On the Import configuration tab, select under Retrieve postings by whether the script assigns the postings to the accounting periods by PostingDate or by DocumentDate.

6

Click Save in the top right corner.

The data source for Lease Accounting determines which script CFP executes and which data levels, adjustment levels, dimensions, and reporting entities the import uses. You create the data source once, before you create the data import.

To create the data source for Lease Accounting in CFP:

1

Navigate to Import and Journals | Importing data into reporting entities.

2

Right-click the Data sources folder and select Create | Data source. The Create data source dialog is displayed as follows:

Shows the 'Create data source' dialog in CFP with the 'Origin of the data' field set to 'Provision via script (#2075)' and the 'Element name' field containing 'Lease Accounting'.
The 'Create data source' dialog
3

In the Origin of the data field, select Provision via script (#2075), enter a name such as Lease Accounting in the Element name field, and click Save.

After you have created the data source, configure the data source for Lease Accounting. For a description of each field of the data source, see Provision via script (#2075). The values below are the ones that apply to Lease Accounting.

To configure the data source for Lease Accounting in CFP:

1

Navigate to Import and Journals | Importing data into reporting entities.

2

Select the new data source in the tree view and click Edit in the top right corner. The detail view of the data source is displayed as follows, for example:

Shows the detail view of the 'Lease Accounting' data source in CFP with 'Lucanet Lease Accounting #3692-STAT.SQL.FOS v1.7.1' in the 'Drill down to posting level' and 'Display scanned documents' fields, and the 'General' tab with the script list, the import type 'Transaction figures or balances (selection when importing)', the data level 'Actual', the adjustment level 'LocalGAAP', and the dimensions 'Account', 'Cost center', 'Partner', and 'Transaction type'.
Detail view of the 'Lease Accounting' data source
3

In the upper area, select the Lucanet Lease Accounting script in the Drill down to posting level and Display scanned documents fields.

4

On the General tab, add the Lucanet Lease Accounting script to the list of scripts that are executed during the data import. Leave Application set to Execute on the server.

5

Still on the General tab, configure the following:

  • Import type: Select Transaction figures. If you want to decide per import whether transaction figures or balances are imported, select Transaction figures or balances (selection when importing).
  • Data levels: Add the data level into which the postings are imported, typically Actual.
  • Adjustment levels: Add the adjustment level for the lease accounting postings, for example IFRS 16.
  • Accounting periods per year: Leave the default value 12.
  • Dimensions: Activate the dimensions Account, Cost center, Partner, and Transaction type. The script delivers these dimensions with the dimension codes GLAccount, CostCenter, LegalEntityPartner, and TransactionType.
  • Cost centers in the Balance Sheet: Select Use specified cost centers if the cost centers assigned to the components in Lease Accounting are to be used for the balance sheet accounts. Otherwise, leave Use default cost centers always (recommended) selected.
6

On the Reporting entities tab, add the reporting entities whose postings you want to import. Only reporting entities added here are available for selection when you execute the import. Enter the ID of the reporting entity in Lease Accounting in the ID in data source column and the first month of the fiscal year in the First month of the fiscal year column.

7

Click Save in the top right corner.

The assignment table for Lease Accounting maps the elements delivered by the Lucanet Lease Accounting script to the elements of your CFP database: the accounts, transaction types, partners, and the transaction currency of the postings as well as the reporting entity, cost centers, data level, and adjustment level. You create the assignment table empty; CFP fills the list of elements to be assigned when you execute the first import (see Creating Assignment Tables).

To create the assignment table for Lease Accounting in CFP:

1

Navigate to Import and Journals | Importing data into reporting entities.

2

Right-click the Assignment tables folder and select Create | Assignment table. The Create element dialog is displayed as follows:

Shows the 'Create element' dialog in CFP with the type 'Assignment table' and the 'Element name' field containing 'Lease Accounting'.
The 'Create element' dialog
3

In the Element name field, enter a name such as Lease Accounting and click Save.

The data import for Lease Accounting references the data source and the assignment table that you created for Lease Accounting. You create the data import once and execute it for every accounting period.

To create the data import for Lease Accounting in CFP:

1

Navigate to Import and Journals | Importing data into reporting entities.

2

Right-click the Data imports folder, or a folder you have created below it, and select Create | Data import. The New Data Import view is displayed as follows:

Shows the 'New Data Import' view in CFP with the 'Name', 'Data source', and 'Assignment table' fields, the 'Configure' link, the 'Execute data import as initial consolidation' check box, the actions '1. Import', '2. Assign', and '3. Save', and the empty 'Postings' section.
The 'New Data Import' view
3

Enter a Name for the data import.

4

In the Data source field, select the data source that executes the Lucanet Lease Accounting script.

5

In the Assignment table field, select the assignment table you created for Lease Accounting.

6

Click Save in the top right corner. The 1. Import action becomes available, and CFP prompts you to execute the data import.

CFP stores the new data import only after you have executed the import, assigned the data, and clicked 3. Save. If you leave the view before that, the data import is discarded.

Configure next to the Data source field reopens the configuration of the selected data source. Any change you make there applies to every data import that uses this data source.

We recommend importing the Lease Accounting postings into CFP every month, after you have saved the postings of the month in Lease Accounting.

To import the Lease Accounting postings into CFP:

1

Open the data import and click Edit in the top right corner.

2

Click 1. Import. The Provision via script (#2075) dialog is displayed as follows:

Shows the 'Provision via script (#2075)' dialog in CFP with the 'Configuration' tab, the 'Reporting entity(s)' field, the 'Import type' options 'Balances (cumulated values)' and 'Transaction figures', the 'Fiscal year' field containing '2025', and the 'Accounting periods' fields from '6' to '6'.
The 'Provision via script (#2075)' dialog
3

On the Configuration tab, configure the following:

  • Reporting entity(s): Select one or more of the reporting entities configured in the data source.
  • Import type: Select Transaction figures to import the postings of the selected periods. Select Balances (cumulated values) to import the cumulated balances up to the selected period. This option is only displayed if the data source allows the selection when importing.
  • Fiscal year: Enter the fiscal year of the postings.
  • Accounting periods: Enter the first and the last accounting period to import. For balances, enter the single Accounting period.
4

Click Save. CFP executes the script, retrieves the postings from Lease Accounting, and displays the progress. The import typically takes a few minutes.

If elements delivered by the script have not been assigned to CFP elements yet, CFP displays the message Missing assignments with the number of unassigned reporting entities or cost centers, accounts, transaction types, adjustment levels, data levels, partners, and transaction currencies. This is expected for the first import.

5

Click 2. Assign and assign the elements delivered by the script to the elements of your CFP database (see Assigning Data). Alternatively, open the assignment table and use the Not assigned filter on each tab to complete the assignments.

The script delivers the accounts with their descriptions from Lease Accounting, for example BS Lease liabilities IFRS 16 <1 year or PL Depreciation Right-of-use assets - buildings. Assign the adjustment level delivered by the script to the adjustment level you created for the lease accounting postings, and the data level to Actual.

6

Click 3. Save to save the data import. The Postings section of the data import displays the imported postings with their reporting entity, data level, period, transaction currency, and adjustment level.

CFP remembers the assignments in the assignment table. For subsequent imports, you only need to assign new elements, for example accounts of a new asset class.

To import the postings of the next month, open the data import, click Edit, and repeat the steps above with the new accounting period (see also Updating Data Imports).

Once the postings imported from Lease Accounting are correct, you can finalize the data import in CFP to prevent it from being changed or deleted. To do so, right-click the data import in the tree view and select Finalize data import (see Finalizing a Data Import).

If you reverse postings in Lease Accounting after they have been imported, Lease Accounting creates contra entries (see Reversing Postings). Import the affected periods again so that the contra entries are transferred to CFP.

This content was generated using AI and reviewed by Lucanet subject matter experts before publication.