Klevr Product Documentation logo

Funding Summary Web Resource

The Fund Statistics web resource is displayed on the Fund record and provides a consolidated summary of calculated values related to the Fund.

📊 Web Resource: Fund Statistics

The Fund Statistics web resource is displayed on the Fund record and provides a consolidated summary of calculated values related to the Fund.

The calculations themselves are stored as calculated fields on the Fund table, with values derived from related records across the system (for example, totals of paid-out contracts associated with the Fund).

This web resource brings these calculations together into a single, easy-to-read summary, reducing the need to surface numerous individual fields directly on the Fund form while still allowing the values to be reported on and reused elsewhere in the application.

From a technical perspective, the summary is rendered using a web resource that displays HTML within a form section and surfaces calculated Fund fields that reference data across multiple related tables.

  • A lot of the calculations will only show once there is relevant data within them this is to remove clutter and not show unnecessary fields that have no data.
  • For this web resource to work you will need to have Plugin Managed Identity setup. Explanation on how to setup is at the bottom of this article.

Below is a list of summary fields along with descriptions explaining how/what is being calculated.

FieldDescription
Total Allocated AmountThe total amount of all Fund Allocations associated with this Fund.
Total Unallocated AmountThe Fund Value minus the Total Allocated Amount
Total Quarantined AmountThe total Quarantined Amount across all Fund Allocations that have linked Fund Source Allocations.
Available for AllocationThe Fund Value minus the Total Quarantined Amount.
Total Value of Fund SourcesThe total value of all Fund Sources associated with this Fund.
Fund to Fund Source VarianceThe difference between the Total Value of Fund Sources and the Fund Value.
Total Write backsThe total amount from Contract Transactions classified as Write Back and linked to Contracts under this Fund.
Funds ReallocatedThe total amount from Fund Sources originally sourced from this Fund that have since been moved to a different Fund.
Total Funding Paid OutThe total Paid Amount from all Contracts associated with this Fund.
Total Contracted FundingThe total Contract Amount for all active Contracts under this Fund, excluding revised or cancelled Contracts.
Active Contract AmountThe total Contract Amount for all Active Contracts associated with this Fund.
Draft Contract AmountThe total Contract Amount for all Draft Contracts associated with this Fund.
Approved but Not ContractedThe Total Approved Funding minus the total Contract Amount for Contracts associated with this Fund.
Total Requested FundingThe total Requested Amount across all Applications linked to this Fund.
Balance of this FundThe Fund Value minus Total Funding Paid Out, minus Funds Reallocated, plus Total Write Backs.
Total Remaining AmountThe Fund Value minus Total Approved Funding, minus Total Quarantined Amount.

✅ Benefits

  • Single View of Funding Health: No need to manually cross-reference multiple tables.
  • Real-Time Calculations: Automatically updates as records change.
  • Audit-Ready: Clear breakdown of fund allocations and variances.

Setting Up the Plugin Managed Identity

Pre-requisites:

  • User must be a System Administrator in the CE environment AND have edit access to Application Registrations in Entra ID
  • An application registration must exist for each CE environment and identified for use as the managed identity provider for that environment (and used in step 3 below for each env) Refer to A Visual Guide To Power Platform Service Principal Setup if these haven't yet been created
  1. Due to a Microsoft change, the values used are now different. Utilise the fields labelled as "NEW" in the CRM
  2. Updating the tenant as part of step 3 doesn't automatically recalculate the field values after save. Do a page refresh after saving to ensure the correct values are used

Steps (For Each CE Environment)

1
Open the App Registration

Navigate to the app registration for the environment to be configured (dev, uat, prod).

2
Open the Plugin Managed Identity Page

In a separate tab/window, open the following location in CRM:

  • Dev: {devtest environment URL}/webresources/klevr_PluginManagedIdentity.html
  • UAT: {staging environment URL}/webresources/klevr_PluginManagedIdentity.html
  • Prod: {prod environment URL}/webresources/klevr_PluginManagedIdentity.html
3
Enter the Application and Tenant IDs

Enter your Application (Client) ID and Tenant ID for the app registration from step 1 into the page in step 2 and click 'Save'.

4
Refresh the Page

Refresh the page, as the inputs will recalculate after update of the Tenant ID.

5
Create a Federated Credential

In the app registration (tab/window from step 1) create a Federated Credential, using the details found in the CRM window:

  1. Click on Federated Credentials
  2. Click on Add Credential
  3. Select "Other Issuer" as the scenario
  4. Enter the "Issuer" as present in the CRM window/tab
  5. Enter the "Subject Identifier" as present in the CRM window/tab
  6. Enter the Credential Name as something you can easily identify your environment as (e.g. Mater CRM Dev)
  7. Edit the "Audience", and update as present in the CRM window/tab

Last updated on