“What sets Invoice Status to Paid?”
1 may set it nothing sets Paid outright in the metadata.
Next: Open PaymentService and find where it assigns Status.
None found in the metadata.
May set Paid- Apex classPaymentService
ApexClass:PaymentServiceWrites Status. The value is set in code, which the snapshot does not capture, so read the class to confirm.
None found.
Never modelled: managed-package code and automation, dynamic Apex, integrations and API loads, data imports, and manual edits. An empty “definitely sets” list is not proof that nothing sets the value.
For developers: the tool call
Your assistant made this call to the sf-intelligence MCP server. sfi.why_field_changed isn’t in the short default tool list, so it runs through sfi.run_analysis:
{
"name": "sfi.run_analysis",
"arguments": {
"name": "sfi.why_field_changed",
"args": {
"fieldId": "CustomField:Invoice__c.Status__c",
"value": "Paid"
}
}
}