Total Committed Calculation
Learn about the Total Committed Calculation in Maica
In Maica, the Total Committed field helps monitor committed funding within a Service Agreement. It combines Delivery Activity records and forecasted usage from Recurring Schedules to reflect committed values. The calculation is governed by a global setting and can be adjusted with manual overrides when needed.
Overview & Fields
As mentioned, the Total Committed calculation provides visibility into the total expected expenditure under a Service Agreement, combining:
Actuals: Delivery Activities that have been completed and/or invoiced
Forecasts: Recurring schedules and upcoming appointments
The following fields underpin the calculation logic:
Total Committed
Shows the committed funding value for individual service lines.
Agreement Item
Total Committed
Summarises the committed values from all related Agreement Items within a Service Agreement.
Service Agreement (roll-up)
Committed Override
Allows manual control over whether a Delivery Activity is included in the Total Committed calculation. Use Include
to force inclusion, or Exclude
to prevent it. Leave blank to apply system logic.
Delivery Activity
Is Committed
Indicates whether the Delivery Activity meets the criteria for the Total Committed calculation based on override settings, status, billing status, and invoice linkage. Full formula included below.
Agreement Item (formula)
Is Committed
Formula:
IF(
TEXT(maica__Committed_Override__c) = "Include",
TRUE,
IF(
TEXT(maica__Committed_Override__c) = "Exclude",
FALSE,
(
ISBLANK(TEXT(maica__Committed_Override__c)) &&
NOT(ISPICKVAL(maica__Status__c, "Cancelled")) &&
NOT(
ISPICKVAL(maica__Billing_Status__c, "Do Not Bill") ||
ISPICKVAL(maica__Billing_Status__c, "Generated")
) &&
ISBLANK(maica__Invoice_Line_Item__c)
) ||
(
ISBLANK(TEXT(maica__Committed_Override__c)) &&
ISBLANK(maica__Invoice_Line_Item__c) &&
ISPICKVAL(maica__Status__c, "Completed")
)
)
)
Calculation Logic
Once the Global Setting is enabled, three background batch jobs are triggered:
Clear existing values
Process existing
Delivery Activity
recordsForecast from uncreated Appointment records based on recurring schedules
Additional Functionality
Quick Action: Allows you to recalculate Total Committed on a Service Agreement manually as well as preview Total Committed Values for a specified Date Range.
Scheduled Jobs: Background jobs clear and process all Delivery Activities when enabled. Job automation is handled via the Scheduled Jobs tab.
Forecasting Logic: Includes future Appointment records derived from recurring schedules.
Example Scenarios
A Delivery Activity is marked Exclude
✅ Omitted from all calculations
A Delivery Activity is Completed
but not invoiced
✅ Included, unless override = Exclude
A Service Agreement contains 5 Agreement Items with forecasts
✅ Total Committed shows the combined committed value
The global setting is disabled
✅ Calculation is skipped, values remain unchanged
Last updated
Was this helpful?