I am a student studying. I'm trying to watch all PD1 related videos, but some videos have subtitles and some don't. Can you provide subtitles?
@DanceWithBhagya2 жыл бұрын
Please explain about apexcurdviloation
@megheshshenoy2 жыл бұрын
The error occurs when we try to perform DML Operation without checking Object Level Security or FLS.
@fouskas74003 жыл бұрын
If it was: List accList = [Select Name,NumberOfEmployees from Account where Name Like 'Update'] delete accList; undelete accList; Shouldn't it work too? Because the Accounts I want to undelete are already stored to a list variable in my program, so I dont need ALL ROWS
@ashwintiwari58842 жыл бұрын
I guess It wont work , Because once it goes to the recycle Bin there is no list Available
@megheshshenoy2 жыл бұрын
It will Work! @Fouskas7 You are right! insert ( new Account(Name ='Universal Containers')); List accList = [Select Name from Account where Name Like 'Universal Containers']; delete accList; undelete accList; Here's the code! Tried it in my Dev console
@creativemaangai10383 жыл бұрын
thank you shrey
@SalesforceHulk3 жыл бұрын
My Pleasure
@nawazbaig33603 жыл бұрын
So the value 100 under Number of Employees automatically got assigned when we did the INSERT DML statement because it was set as default value while creating the field? 17th min in the video
@megheshshenoy2 жыл бұрын
Yes Nawaz! You are Right
@ajithkumar50132 жыл бұрын
I couldn't get where it was assigned default to be 100 in the object manager. can you please help?
@megheshshenoy2 жыл бұрын
@@ajithkumar5013 go to that field in the Object Under Object Manager in that we have an option to Set an default value for the field. There can also be an before trigger that may be setting this value
@LetsDoTimePass2 жыл бұрын
while inserting how can we insert the object by user
@ajithkumar50132 жыл бұрын
Hi Shrey, First of all thanks for these videos. I didn't get how the value 100 is updated automatically during upsert statement. Please help me understand
@megheshshenoy2 жыл бұрын
go to that field in the Object Under Object Manager in that we have an option to Set an default value for the field.
@ajithkumar50132 жыл бұрын
@@megheshshenoy for standard object field, i could there is no such option in object manager
@megheshshenoy2 жыл бұрын
@@ajithkumar5013 Oh! You are right !T here must be any before insert trigger that must be setting this value!