You need to sign in to do that
Don't have an account?
Satheesh Bojanapu
Getting FSL Apex Trigger Error on loading Service Appointments using CLI
Hi Excells,
I badly need your help on resolving the Issue:
I am getting following error message while attempting to load the service appointments for FSL thought I provided all required fields.
CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY:FSL.TR001_Service_BeforeInsert: execution of BeforeInsert
caused by: System.NullPointerException: Attempt to de-reference a null object
Class.FSL.TR001_ServiceUtils.assignDurationAndDDOffsetByWorkType: line 1689, column 1
Trigger.FSL.TR001_Service_BeforeInsert: line 13, column 1
I am using CLI for uploading the data.
Thanks in Advance.
Satheesh.
I badly need your help on resolving the Issue:
I am getting following error message while attempting to load the service appointments for FSL thought I provided all required fields.
CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY:FSL.TR001_Service_BeforeInsert: execution of BeforeInsert
caused by: System.NullPointerException: Attempt to de-reference a null object
Class.FSL.TR001_ServiceUtils.assignDurationAndDDOffsetByWorkType: line 1689, column 1
Trigger.FSL.TR001_Service_BeforeInsert: line 13, column 1
I am using CLI for uploading the data.
Thanks in Advance.
Satheesh.
Alex Noble 6
I am having this same issue. Did you ever find an answer to this, Satheesh?
Fernando Fernandez
The error went away when I populated ParentRecordID with a work order id in the test class.
Satheesh Bojanapu
That's right @Fernando, I figured that out and populated parentRecordId, which is a SFId of parent object.