Table of Contents

Report Parameters


Report Parameters represents data fetched from Creditsafe. In the XML definition of a report, parameters are specified to define how the data shall be stored in Business Central.

Field Description
Code Specifies the parameter code.
Description Specifies the parameter description.
Parameter Group Code Specifies which group the parameter belongs to.
Data Type Specifies the datatype for formatting.
Sort Index Specifies the sorting of the parameter within the parameter group.
Ignore Empty Values Specifies if parameters with empty values should be stored or not.
Active Specifies if the parameter is empty.
Used in Reports Specifies the number of XML definitions the parameter is referenced in.

Video


Transcript

Report Parameters

Report Parameters and Report Parameter Groups in Creditsafe Connect for Microsoft Dynamics 365 Business Central determine how information retrieved from Creditsafe is stored and presented to users.

Creditsafe APIs can return information using different structures and field names. Creditsafe Connect normalizes this information into a common set of Report Parameters.

This allows the same Business Central functionality to work with data from different Creditsafe APIs and countries.

Report Parameter Groups

Report Parameters are organized into Report Parameter Groups.

A group acts as a heading when Report Data is displayed.

For example:

Basic → Registered Name → City → Other Basic Information

In this example, Basic is the Report Parameter Group while Registered Name and City are individual Report Parameters.

Report Parameters

A Report Parameter represents a specific type of information stored in Business Central.

Each parameter has a unique Parameter Code.

For example:

Display Name Parameter Code
Registered Name Name
City City

The Parameter Code provides a common internal identifier regardless of how the value is represented in the original Creditsafe API.

Normalizing Different Data Sources

Different Creditsafe APIs can use different data structures for the same information.

For example, a company's registered name may appear in different locations or under different field names in:

  • Global Report Data
  • Norwegian consumer data
  • Norwegian sole trader data
  • Swedish basic reports
  • Swedish credit reports

Creditsafe Connect maps all of these source values to the same Report Parameter:

Name

Conceptually:

Global Business Name ↘

Norwegian Name → Report Parameter: Name

Swedish Registered Name ↗

Business Central can therefore process the registered company name consistently regardless of its original source.

Source Data Processing

Creditsafe Connect internally processes source data using an XML structure.

The Global Creditsafe API returns JSON data, but Creditsafe Connect converts this data into an XML representation for processing.

Conceptually:

Creditsafe JSON → Internal XML Structure → XML Leaf Node → Report Parameter

Sources that already use another structure are handled through the same normalized processing model.

This allows the data-import logic to work with a common internal representation.

Leaf Nodes

Creditsafe Connect identifies individual values through leaf nodes in the internal XML structure.

Each relevant leaf node can be associated with a Report Parameter Code.

For example, the Global report may contain a structure conceptually similar to:

Company Summary → Business Name

The leaf node containing Business Name is mapped to:

Parameter Code = Name

When Creditsafe Connect processes the report, the value from that leaf node is stored as the corresponding Report Parameter.

One Parameter from Multiple Reports

A single Report Parameter can be used by several different Report Data definitions.

For example, the Name parameter can occur in multiple report definitions.

Each report can have a different source path or leaf node, but all of them can map to:

Parameter Code = Name

Conceptually:

Report Definition A → Leaf Node A ↘

Report Definition B → Leaf Node B → Parameter: Name

Report Definition C → Leaf Node C ↗

This is one of the mechanisms Creditsafe Connect uses to normalize different Creditsafe APIs.

Report Parameter Usage

The Report Parameter setup shows how many Report Data definitions use a particular parameter.

For example, the Name parameter may be used in five different report definitions.

Drilling down into this number displays the corresponding source nodes.

This can be useful when investigating:

  • Which APIs provide a particular value.
  • Where in the source data the value originates.
  • Which Report Data definitions use the parameter.
  • How data from different sources is normalized.

Source Path

Report Data provides access to the source path for individual parameters.

For example:

Report Parameter = Name

may have a source path ending in:

Business Name

The source path identifies where the original value was located in the Creditsafe data structure.

This is particularly useful when configuring or troubleshooting Report Parameters.

Viewing Source Data

The original source data can be inspected from Business Central.

Source data can be:

  • Viewed directly in Business Central.
  • Exported to an external file.

For Global Report Data, the source represents the information originally received as JSON from Creditsafe and converted internally for processing.

Viewing the original data makes it possible to compare:

Creditsafe Source Data → Source Path → Report Parameter → Value displayed in Business Central

This is useful when creating new mappings or diagnosing unexpected values.

Configuring Report Parameter Groups

Report Parameter Groups can be configured under the Data Processing functionality.

The initial groups are created as default setup data during Assisted Setup.

Each group has configuration options such as:

  • Active
  • Sort Index

Active Groups

A Report Parameter Group can be disabled if users are not interested in that category of information.

For example, if previous addresses are not relevant, the corresponding group can be made inactive.

Inactive groups do not need to be presented in normal Report Data views.

This allows organizations to reduce the amount of information shown to users.

Group Sorting

The Sort Index controls where a Report Parameter Group appears when Report Data is displayed.

A lower Sort Index places an important group higher in the report.

For example, if Key Values are considered particularly important, the group can be assigned a lower Sort Index so that it appears near the beginning of Report Data.

Configuring Individual Parameters

Individual Report Parameters can also be configured.

Configuration includes:

  • Display name
  • Parameter Code
  • Data type
  • Sort Index
  • Ignore Empty Values
  • Active status

This provides control over both how Report Data is stored and how it is presented.

Data Types

A Report Parameter can have a Data Type.

The Data Type is primarily used to format the value correctly when it is displayed.

For example, date parameters can be formatted as dates rather than displayed as unformatted source values.

This improves readability without changing the underlying meaning of the data.

Parameter Sorting

Parameters also have their own Sort Index.

This determines their order inside the Report Parameter Group.

There are therefore two levels of sorting:

  1. Group Sort Index determines the order of groups.
  2. Parameter Sort Index determines the order of values inside each group.

Conceptually:

Group Sort Index → Report Parameter Group

Parameter Sort Index → Parameters within the Group

Ignoring Empty Values

Individual parameters can be configured to ignore empty values.

This prevents Report Data views from becoming cluttered with parameters for which Creditsafe did not return any information.

This is particularly useful because not every Report Parameter is available for every country, company, or report type.

Active Parameters

Individual Report Parameters can also be disabled.

This provides another level of control over which Creditsafe information is displayed to Business Central users.

The presentation can therefore be controlled at both levels:

Report Parameter Group → Active / Inactive

and:

Individual Report Parameter → Active / Inactive

Relation to Parameter Mappings

Report Parameters represent normalized Creditsafe information.

Parameter Mappings determine how those values are transferred to fields on the Monitoring Object.

The distinction is:

Report Parameter

Defines and stores normalized Creditsafe data:

Creditsafe Source → Report Parameter

Parameter Mapping

Determines where that Report Parameter is used:

Report Parameter → Parameter Mapping → Monitoring Object Field

For example:

Global API: Business Name → Report Parameter: Name → Parameter Mapping → Monitoring Object.Name

Relation to Custom Data Fields

Report Parameters can also be mapped to the five Custom Data Fields available on the Monitoring Object.

This provides a way to expose additional Creditsafe information that does not already have a dedicated Monitoring Object field.

Conceptually:

Creditsafe Source Data → XML Leaf Node → Report Parameter → Parameter Mapping → Custom Data Field → FactBox

This allows additional values from Creditsafe to be exposed to Business Central users without adding a dedicated field for every possible Report Parameter.

Configuration and Troubleshooting

Report Parameters are particularly useful when extending or troubleshooting Creditsafe Connect.

When investigating a value:

  1. Retrieve Report Data for a Monitoring Object.
  2. Locate the Report Parameter.
  3. Review its Parameter Code.
  4. Review the Source Path.
  5. View the original source data if required.
  6. Identify the corresponding leaf node.
  7. Review how that leaf node is mapped to the Parameter Code.
  8. Review the Parameter Mapping if the value should populate a Monitoring Object field.

This makes it possible to trace a value from its original Creditsafe representation all the way to Business Central.

Overall Data Model

The complete processing model can be summarized as:

Creditsafe API → Source Data → Internal XML Structure → Leaf Node → Report Parameter → Report Parameter Group → Parameter Mapping → Monitoring Object

Additional processing can then continue:

Monitoring Object → Custom Data / FactBox → Field Mapping → Customer / Vendor / Contact

Report Parameters therefore provide the common internal vocabulary that allows Creditsafe Connect to work consistently with data from different Creditsafe APIs and countries.