Open samlimster opened 3 years ago
@samlimster Did you ever find the test code needed to enable rollups from GAU Allocations?
I have some notes on code for this, but I am not sure how to contribute them. Happy to help if someone can direct me. This has always been a pain for using DLRS with NPSP!
@Amanda-Styles you can certainly Fork the project and provide a Pull Request with the code. you can also drop a code block here in a comment if you do not want to do that, and it's a smaller amount of code or a sample to reference.
Describe the bug I'm trying to deploy the DLRS trigger to the NPSP allocation object (npspAllocationc) but I'm getting the following error
dlrs_npsp_AllocationTest.testTrigger System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Enter a value in either the Amount field or the Percent field.: [] Class.dlrs.RollupService.testHandler: line 282, column 1 Class.dlrs_npsp_AllocationTest.testTrigger: line 11, column 1
To Reproduce Steps to reproduce the behavior:
Expected behavior The trigger should be deployed.
Screenshots Error Rollup:
Additional context