Use a Business Activity Query (BAQ) data source to bring Epicor ERP data into Epicor FP&A for reporting and analysis. A BAQ data source creates a Data Class that stores BAQ results and makes the data available throughout the application.
In this article, we will cover:
About BAQs
A Business Activity Query (BAQ) is a custom query created in Epicor ERP to retrieve data for reporting and analysis. Epicor FP&A can access BAQs from connected Epicor ERP environments and use them as data sources.
BAQ Integration Modes
Epicor FP&A supports several BAQ integration approaches.
| Mode | Description |
|---|---|
| New Standard Data Class and Dimension Member Load | Creates a new Data Class and loads dimension members. |
| New Dynamic Data Class and Dimension Member Load | Creates a view without creating a full Data Class. |
| Load into Existing Data Class | Loads BAQ data into an existing Data Class. |
| Dimension Members Load Only | Loads only dimension members. |
Supported Mode
Currently, only New Standard Data Class and Dimension Member Load is supported.
Creating a BAQ Data Source
Opening Data Sources
Open Data Sources.
Review the list of existing BAQ data sources.
Creating a Data Source
Select Create.
-
Complete the required fields:
Field Description Credentials REST connection credentials used to connect to Epicor ERP. BAQ The BAQ to retrieve data from. Name Name of the Data Class that will be created. -
Select Save.
The new data source appears in the Data Sources list.
Configuring a BAQ Data Source
After creating the data source, configure the BAQ column mappings.
Opening the Configuration
Select the data source.
Select Configure Source.
Reviewing the Preview Data
The configuration page displays:
Available BAQ columns
Sample BAQ rows
-
Mapping controls
Use the preview to determine how each BAQ column should map to FP&A dimensions and properties.
Mapping Columns
To map a column:
Select the column.
Review the mapping panel.
Assign the appropriate Type, Dimension, and Property.
Save the mapping.
Mapping a Date Column
Use a date column to populate the Time dimension.
Configuring a Time Mapping
Select the BAQ date column.
Set Type to: TimeDate
Set Sub Type to: Date
Select the Time dimension.
-
Save the mapping.
Epicor FP&A extracts Year and Month values from the source date and populates the Time dimension.
Mapping a Dimension Member
Dimension member columns can be mapped to existing dimensions.
Example: Supplier Dimension
Select the vendor identifier column.
-
Set:
Setting Value Type Dimension Sub Type String Dimension Supplier
Auto Add Members
If source data contains dimension members that do not already exist in FP&A, they can be created automatically.
Clear Auto Add if you do not want new members added automatically.
Mapping Dimension Properties
Additional source columns can populate dimension properties.
Example: Supplier Description
For a supplier name column:
| Setting | Value |
|---|---|
| Type | Dimension Property |
| Property | MemberDescription |
This allows the supplier description to be maintained alongside the Supplier dimension member.
Mapping Measure Columns
Measure columns store the numeric values used for reporting.
Configuring a Measure
Select the value column.
Set Type to: Measure
-
Select a Sub Type:
Currency
Quantity
Enter a measure name.
Save the mapping.
Measure Rules
Measure columns must contain numeric values.
Use Mapping Filters
The Filter list helps you review mapping progress.
Available Filters
| Filter | Description |
|---|---|
| End Result | Displays mapped columns only. |
| Source Preview | Displays all source columns. |
| Left to Do | Displays unmapped columns. |
Skipping Unmapped Columns
Before testing the data source, all remaining columns must either be mapped or skipped.
Skipping Remaining Columns
Set the filter to Left to Do.
Select Skip All.
-
Confirm the action.
All unmapped columns are marked as skipped and the data source becomes eligible for testing.
Configuring the Data Class
Open the DataClass tab to configure dimensions for the new Data Class.
Required Dimensions
The following dimensions are mandatory:
| Dimension |
|---|
| Account |
| BusinessProcess |
| Time or TimeDate |
| Currency |
Adding Additional Dimensions
Select Add Dimension.
Select the required dimension.
Configure the default value.
Save the changes.
Saving the Configuration
Review all mappings and dimensions.
-
Select Save Configuration.
The data source status changes to: Configured and the Test Data Source option becomes available.
Testing the Data Source
Running the Initial Load
Select Test Data Source.
-
Select Run.
The system:
- Creates the Data Class
- Processes the BAQ data
- Publishes the data source
The initial load may take some time to complete.
Published Status
After processing, the status displays: Published / Suspended.
Configuring Automatic Synchronization
Use synchronization schedules to refresh BAQ data automatically.
Enabling Synchronization
Select the data source.
Select Run.
Enable Sync.
Enter the synchronization time.
-
Save the schedule.
Synchronization times use UTC. Convert the time appropriately for your local time zone.
The status changes to: Published / Active Schedule.
Configuring Multiple Measures
BAQ data sources support multiple measures within a single Data Class. This eliminates the need to create separate BAQ configurations for each value column.
Adding an Additional Measure
Open the data source configuration.
Select Source Preview.
Select the additional numeric column.
Set Type to: Measure.
-
Configure:
Sub Type
Measure Name
Account
Save the mapping.
Multiple Measure Rules
Each measure:
Must contain numeric values.
Must be mapped to a unique Account.
Must represent a distinct business meaning.
Using separate accounts prevents double counting and maintains reporting accuracy.
Using the Data Class in Reports
After publication, the BAQ Data Class can be used like any other Data Class in Report Editor.
Creating a Report
Open Report Editor.
Select the BAQ Data Class.
Configure report dimensions and filters.
Save the report.
Limitations
The following limitations apply to BAQ data sources.
Special characters in BAQ data sources and columns are not supported when creating new dimension members.
Integration Modes 2, 3, and 4 are not currently supported.
Best Practices
Use meaningful Data Class names that reflect the BAQ purpose.
Configure all mandatory dimensions before testing the data source.
Review source preview data before mapping columns.
Use unique accounts for each measure.
Enable synchronization schedules for BAQs that require regular refreshes.
Verify mapping completeness before running the initial test.
Additional Information
BAQ stands for Business Activity Query.
BAQs retrieve data from Epicor ERP for reporting and analysis.
The primary supported integration method creates a new Data Class and dimension members.
Multiple measures are supported within a single BAQ Data Class.
Published BAQ Data Classes can be used throughout the reporting framework.