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?
@DanceWithBhagya
2 жыл бұрын
Please explain about apexcurdviloation
@megheshshenoy
2 жыл бұрын
The error occurs when we try to perform DML Operation without checking Object Level Security or FLS.
@creativemaangai1038
3 жыл бұрын
thank you shrey
@SalesforceHulk
3 жыл бұрын
My Pleasure
@fouskas7400
3 жыл бұрын
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
@ashwintiwari5884
2 жыл бұрын
I guess It wont work , Because once it goes to the recycle Bin there is no list Available
@megheshshenoy
2 жыл бұрын
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
@ajithkumar5013
2 жыл бұрын
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
@megheshshenoy
2 жыл бұрын
go to that field in the Object Under Object Manager in that we have an option to Set an default value for the field.
@ajithkumar5013
2 жыл бұрын
@@megheshshenoy for standard object field, i could there is no such option in object manager
@megheshshenoy
2 жыл бұрын
@@ajithkumar5013 Oh! You are right !T here must be any before insert trigger that must be setting this value!
@ajithkumar5013
2 жыл бұрын
@@megheshshenoy yes, you are right
@nawazbaig3360
3 жыл бұрын
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
@megheshshenoy
2 жыл бұрын
Yes Nawaz! You are Right
@ajithkumar5013
2 жыл бұрын
I couldn't get where it was assigned default to be 100 in the object manager. can you please help?
@megheshshenoy
2 жыл бұрын
@@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
@LetsDoTimePass
2 жыл бұрын
while inserting how can we insert the object by user
Пікірлер: 19