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.
| Field | Description |
|---|---|
| Total Allocated Amount | The total amount of all Fund Allocations associated with this Fund. |
| Total Unallocated Amount | The Fund Value minus the Total Allocated Amount |
| Total Quarantined Amount | The total Quarantined Amount across all Fund Allocations that have linked Fund Source Allocations. |
| Available for Allocation | The Fund Value minus the Total Quarantined Amount. |
| Total Value of Fund Sources | The total value of all Fund Sources associated with this Fund. |
| Fund to Fund Source Variance | The difference between the Total Value of Fund Sources and the Fund Value. |
| Total Write backs | The total amount from Contract Transactions classified as Write Back and linked to Contracts under this Fund. |
| Funds Reallocated | The total amount from Fund Sources originally sourced from this Fund that have since been moved to a different Fund. |
| Total Funding Paid Out | The total Paid Amount from all Contracts associated with this Fund. |
| Total Contracted Funding | The total Contract Amount for all active Contracts under this Fund, excluding revised or cancelled Contracts. |
| Active Contract Amount | The total Contract Amount for all Active Contracts associated with this Fund. |
| Draft Contract Amount | The total Contract Amount for all Draft Contracts associated with this Fund. |
| Approved but Not Contracted | The Total Approved Funding minus the total Contract Amount for Contracts associated with this Fund. |
| Total Requested Funding | The total Requested Amount across all Applications linked to this Fund. |
| Balance of this Fund | The Fund Value minus Total Funding Paid Out, minus Funds Reallocated, plus Total Write Backs. |
| Total Remaining Amount | The 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
- Due to a Microsoft change, the values used are now different. Utilise the fields labelled as "NEW" in the CRM
- 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)
Navigate to the app registration for the environment to be configured (dev, uat, prod).
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
Enter your Application (Client) ID and Tenant ID for the app registration from step 1 into the page in step 2 and click 'Save'.
Refresh the page, as the inputs will recalculate after update of the Tenant ID.
In the app registration (tab/window from step 1) create a Federated Credential, using the details found in the CRM window:
- Click on Federated Credentials
- Click on Add Credential
- Select "Other Issuer" as the scenario
- Enter the "Issuer" as present in the CRM window/tab
- Enter the "Subject Identifier" as present in the CRM window/tab
- Enter the Credential Name as something you can easily identify your environment as (e.g. Mater CRM Dev)
- Edit the "Audience", and update as present in the CRM window/tab
Last updated on