function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tapas TuloTapas Tulo 

field intigrity exception

Hi ,
Hope Your doing good.
 whenever i am trying to write a programme/code in DEV Console am getting this error not only same programme but also the new one that i am trying to save,i encounter the same field intigrity exception.
thanks In Advance
tapas,my error page screen shot
Best Answer chosen by Tapas Tulo
Amit Chaudhary 8Amit Chaudhary 8
Can you please post your class ?

Please try to save your class from saleforce UI its look like some issue in developer console. Try in salesforce UI
Setup--> Develop-->Apex Classes

Let us know if that will work

 

All Answers

Amit Chaudhary 8Amit Chaudhary 8
Can you please post your class ?

Please try to save your class from saleforce UI its look like some issue in developer console. Try in salesforce UI
Setup--> Develop-->Apex Classes

Let us know if that will work

 
This was selected as the best answer
Tapas TuloTapas Tulo
thank you Amit Chaudhary 8.
its working .but i want to knw by saving my code on sfdc UI am i able to test these all in my anonymous(CTRL+E).
regarding my issue can u pls explain a bit more.
Thank you so much in advance.
Amit Chaudhary 8Amit Chaudhary 8
I also faced this type of issue in developer console. That is why i always recommend to use Salesforce UI