You need to sign in to do that
Don't have an account?
Vladimir Bessonov
I have the following code
I am getting the following errors
What is wrong? Instead of hard coded Custom__c, I want it to define by ID passed or name 'Custom__c'.
I saw this code in various places, but it doesn't work for me.
Cannot cast type
I have the following code
Error force-app/main/default/classes/ObjectStatusUpdate/ObjectStatusUpdate.cls Variable does not exist: PartList1 (35:89) Error force-app/main/default/classes/ObjectStatusUpdate/ObjectStatusUpdate.cls Invalid loop variable type expected SObject was Propulsion_Part__c
I am getting the following errors
Error force-app/main/default/classes/ObjectStatusUpdate/ObjectStatusUpdate.cls Variable does not exist: PartList1 (35:89) Error force-app/main/default/classes/ObjectStatusUpdate/ObjectStatusUpdate.cls Invalid loop variable type expected SObject was Propulsion_Part__c
What is wrong? Instead of hard coded Custom__c, I want it to define by ID passed or name 'Custom__c'.
I saw this code in various places, but it doesn't work for me.
Abhishek Bansal
Both the blocks are same. Can you please add the code?