Комментарии:
Great explaination !!
ОтветитьThanks for your session...
You are using rating condition three and also for industry condition media only but many industry options are there then how to use if else conditions, i think 8 industry names are there, then is this possible to set a rating. If we set conditions 8! = 40320 is this possible to code write???
. Write a Trigger to Add salutation to Customer Name.
if Gender = Male
Name = Mr.
If Gender = Female
Name = Miss.
can anyone help me with this senario
sir for example I have written update DML by using beforeupdate as context variable it is throwing an error...As it is already updating without DML ...is that correct sir..please see the below code and reply sir
for example say:
list<Account>Accountlist = new list<account>();
For(account abc: trigger.new){
if(abc.status__c == 'XYZ'){
abc.comment__c = 'NEW account created';
Accountlist.add(abc);
}
}
update Accountlist;
in which line error will occur and why
If Acc.Industry=='Media' THEN obviously it will be not NULL not need for two conditions
Ответитьwatched all the videos, you have created good and informative content relayed to sfdc
Thanks Sanjay Gupta Ji Very Humble Person.
can you please share your experience like which type of work we get in Real time scenario as a Salesforce Developer?
If we complete all this basic only can we able to work in real time project.. or what should we need to do exactly?
Thanks brother 👍🏼
ОтветитьThanks
Ответитьthis video is really helpful. I got The concept. Thankyou for explaining soo with easy example and indetail
ОтветитьHi Sanjay, I am trying to create trigger after insert check latest student code bases on start and end date, Can you help please I am new to APEX
ОтветитьThis question is coming from a beginner. Sir, what if we do not explicitly mention "isBefore" and "isAfter", after the Trigger.isInsert, will it lead to execute both the statements (will call both the functions ) AccountTriggerHandler.beforeInsert() and AccountTriggerHandler.afterInsert() or will this lead to an Error.
I have tried doing this, but I could not able to replicate the scenario. Could you please answer this Sir.
Thanks for this video
Ответить@Sanjaygupta I am not able to create opportunity. Followed the same code as you mentioned
Ответитьpublic class Account {
public static void beforeInsert(list<Account>lst){
for(Account acc : lst){
if(acc.Industry ! = Null && acc.Industry == 'Media'){
acc.Rating = 'Hot';
}
}
}
}
i amgetting error
very nice explanation. with examples
ОтветитьThanks Sanjay, Its helping ..!
ОтветитьIts Very nice Sanjay thanks for giving this
ОтветитьNice explanation...Thanks you so much
Ответить