Construction Integration

This page describes how the Toolbox integrates with a Construction ERP system to publish projects, BoQs (Bill of Quantities) and templates, and how the mapping/ignore/error settings affect the Construction Index.

Note: link references to the external Construction ERP documentation are used so the source of truth stays up to date. Replace the example link below with your vendor's documentation URL.

Creating a profile

  1. Open the Toolbox application and go to the Integrations or Settings area.
  2. Choose Construction ERP and select Create Profile.
  3. Provide the endpoint URL for your Construction ERP, an API key or credentials as required, and a friendly profile name (for example, Acme Construction ERP).
  4. Test the connection and save the profile.

ERP Profile

Note : Authentication can be via a Bearer token / api-key or basic user / password. If user / password then all for the erp actions will be tracked under the same logon

How to create a Project and BoQ in Construction ERP

The Toolbox does not duplicate project creation logic — it publishes the project and associated BoQ to the Construction ERP using the profile you created.

Templates — how they work and how to edit them

Templates define the structure and default mappings used when creating or publishing BoQs and projects. A template typically includes:

To edit a template:

  1. Open the Templates view in the Toolbox.
  2. Select a template and click Edit.
  3. Modify mappings or default values. Save as a new version if you want to preserve the previous template.

Templates are applied at publish time. If a template is updated after a BoQ was published, re-publishing the BoQ will apply the new template only if you choose to overwrite existing ERP records.

Ignore / Error / Map

The import pipeline applies one of three actions for each BoQ item or mapped field:

How each affects the Construction Index:

Mapping Rules

Mapping Dialog

When mapping a category / class the following process should be followed

  1. Enter the search criteria and unit to populate the Results. If there are no results then the elements cannot be mapped
  1. Enter the property path for description / quantity and optionally classification. Ensure the Quantity Type is the same type as the Unit eg Volume for m3 or 100 m3
  1. Set the maximum confidence this will be used as the baseline for each corresponding row.

  2. Refer to the annex below for details on how to build an ecSQL to populate the description and quantity

Publish into Construction ERP

To publish:

  1. Select the Project and BoQ in Toolbox.
  2. Confirm the target profile (Construction ERP profile) and template version.
  3. Review the preview of mapped items — resolve any errors or adjust ignores/mappings.
  4. Click Publish → Construction ERP.

After publish, review the publish log for success, warnings, or errors. Successful publishes will update the Construction Index and create/modify the corresponding project and BoQ in the ERP.

Custom ecSQL Mapping

SELECT
  ifcmain.ifcobjecttype || '-' || asp1.ifcsize AS description,
  SUM(asp1.ifclength) AS quantity,
  'length' AS quantityType,
  'm' AS unit,
  COUNT(*) AS recordCount,
  SUM(
    CASE
        WHEN asp1.ifclength IS NOT NULL THEN 1
        ELSE 0
    END
    ) AS nonNullCount,
    (CAST(
        SUM(
            CASE
                WHEN asp1.ifclength IS NOT NULL THEN 1
                ELSE 0
            END) AS REAL) / CAST(COUNT(*) AS REAL) * 0.9) AS adjustedConfidence
FROM
    IFCDynamic.ifcpipesegment ifcmain
LEFT JOIN bis.Category cat ON cat.ECInstanceId = ifcmain.Category.Id
LEFT JOIN ifcdynamic.ifcAspect_Dimensions asp1 ON asp1.Element.Id = ifcmain.ECInstanceId
WHERE
  ifnull(cat.UserLabel, cat.CodeValue) = 'M-590-M_PIPEWORK'
GROUP BY
    ifcmain.ifcobjecttype, asp1.ifcsize
ORDER BY
    quantity DESC