declarative-lookup-rollup-summaries icon indicating copy to clipboard operation
declarative-lookup-rollup-summaries copied to clipboard

Getting RollupJob error: "ERROR at Row:1:Column:49 Invalid field: 'Name'. Review Rollup Summary Schedule Items"

Open lrock-eqt opened this issue 7 months ago • 1 comments

Describe the bug I'm not sure what's going on, but running the RollupJob is resulting in an invalid field error on the 'Name' field. This is a field for which permissions are automatically granted when you have access to an object, so I need some help understanding what could possibly going wrong.

This is replicatable in production and full sandbox.

To Reproduce Steps to reproduce the behavior:

  1. Create a Lookup Rollup Summary on Account that uses a Calculation Mode of "Realtime" and activate it (may or may not need both the Parent and Child objects to be "Account").
  2. Merge two accounts to generate a "Lookup Rollup Summary Schedule Item".
  3. Run the RollupJob.
  4. Observe an error email is received: Error: dlrs__LookupRollupSummary2__c, dlrs__ParentId__c, dlrs__ParentKeyPrefix__c ^ ERROR at Row:1:Column:49 Invalid field: 'Name'. Review Rollup Summary Schedule Items

Expected behavior No error should be encountered on the Name field as this field is automatically granted when the user has access to the "Lookup Rollup Summary Schedule Item" object and the fields are being dynamically queried based on user access.

Screenshots LookupRollupSummaryScheduleItem_InvalidFieldName

erroremail

Additional context N/A

lrock-eqt avatar Jul 09 '24 18:07 lrock-eqt