I'm getting an error for the Timecard object and needing to write a test code for a DLRS rollup. My parent object is the Milestones in PSA and I'm rolling up the total hours field from the Timecard header.
dlrs_pse_Timecard_HeaderTest.testTrigger System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Timecard Header must specify a Project.: [pse__Project__c] Class.dlrs.RollupService.testHandler: line 282, column 1 Class.dlrs_pse_Timecard_HeaderTest.testTrigger: line 11, column 1
I'm not a developer and would like to know what exactly I need to put in the Developer Console's Execute Anonymous Window. I believe I need to use the "TimecardProjectSelectorTest" apex class but not sure if that's correct or what else I need to format everything correctly in the window.