Article Details
Id:22335
Product:finPOWER Connect
Type:NEW
Version:6.00.00
Opened:14/10/2024
Closed:15/10/2024
Released:17/04/2025
Job: J034483
High Importance
Breaking Change

Documents; Flag to allow Script to reference Reports has been removed since Scripts can now always reference Reports

The Document page of the Documents form had a checkbox to "Allow Script to create and use Reports and Queries?".

This option has been removed since Reports are now ALWAYS available to Scripts.

In the business layer, the finDocument.ScriptReferenceReports property no longer exists.

Previously, in code, a Document wishing to create a report or query would need to create it's own Reporting layer, e.g.:

Dim Query As ISQueryBase
Dim Reports As ISfinReports

Reports = New ISfinReports(finBL)
Reports.CreateQuery(isefinQueryType.AccountList, Query)

Now that the Reporting engine is available to all Scripts, instead of creating a new ISfinReports object, code can do the following:

Dim Query As ISQueryBase

finBL.Reports.CreateQuery(isefinQueryType.AccountList, Query)