function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ManzManz 

Salesforce-Lookup-Rollup-Summaries : Error: Compile Error: Invalid type: LREngine.Context at line xx column xx


Hello,
I am getting below Error when ever I am trying to use the below Syntax
"LREngine.Context ctx = new LREngine.Context(Parent_API.SobjectType, // parent object
                                                                               Child_API.SobjectType,  // child object
                                                                               Schema.SObjectType.Child.fields.Relationship_Field_API // relationship field name
    );
"

Error: Compile Error: Invalid type: LREngine.Context at line 18 column 32

Can you please help me fix this?
I tried in many blogs but I didnt receive any reply from others.

Thanks,
MR
 
Frédéric TrébuchetFrédéric Trébuchet
Hi,

Do you still have installed LREngine?
Else, have a look at http://andyinthecloud.com/2013/07/07/new-tool-declarative-rollups-for-lookups/.

Hope this helps,
Fred