“Can I delete the Amount field on Invoice?”
No 3 things depend on it.
Next: Change those three first, then delete the field.
- Apex classPaymentService
ApexClass:PaymentServiceReads the field. Salesforce will refuse the delete while this code references it.
- Formula fieldInvoice Balance
CustomField:Invoice__c.Balance__cUses the field in its formula.
- Roll-up summaryProject › Total Invoiced
CustomField:Project__c.Total_Invoiced__cSums the field across a project’s invoices.
- Found Apex, Formulas, Roll-ups
- Nothing in Flows, Workflow rules, Validation rules
- Not checked Reports, dashboards and list views, Lightning pages and components, Visualforce, Quick actions and buttons, Assignment, auto-response and escalation rules, Restriction and scoping rules, OmniStudio cards, Email templates, DLRS roll-up definitions, Plain-text mentions of the field name in code
“Not checked” means those kinds of metadata were not in the snapshot, so the answer says so instead of claiming nothing is there.
It also flags Amount as financial data (a pattern match, not a certainty), so a delete may need a data-retention sign-off.
For developers: the tool call
Your assistant made this call to the sf-intelligence MCP server:
{
"name": "sfi.safe_to_delete_field",
"arguments": {
"fieldId": "CustomField:Invoice__c.Amount__c"
}
}