-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Account Trigger->Decimal to Integer Illegal Assignment #326
Comments
Hi @jsh4478, thanks for raising this, and thanks for taking a look, let me know if you have any questions! 👍 |
@jsh4478 any news on this? Otherwise i'll take a look at it myself at some point. |
I had a quick fix in place which hard coded the type casting, but
|
No worries, i understand. Maybe you could share here your quick fix code fragment? |
Fixed v2.8. |
Apex trigger dlrs_AccountTrigger caused an unexpected exception, contact your administrator: dlrs_AccountTrigger: execution of AfterUpdate caused by: System.SObjectException: Illegal assignment from Decimal to Integer: (dlrs)
Trying to rollup the NumberOfEmployees standard field between accounts using the ParentId relationship. Using the Managed Package version 2.3
Steps to reproduce:
Parent+Child Object: Account
Relationship Field: ParentId
Field to Aggregate: NumberOfEmployees
Aggregate Operation: Sum
Aggregate Result Field: NumberOfEmployees
Calculation Mode: Realtime
Calculation Sharing Mode: System
I'll be installing the unmanaged package to see if I can code around this, thanks!
The text was updated successfully, but these errors were encountered: