-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
13Questions
-
7Replies
Significance of Role Hierarchy
Significance of Role Hierarchy
Scenario: In a organization Manager-A & Subordinates, Manager-B & Subordinates, Manager-C & Subordinates. When ever any subordinate will create record, no other subordinate will have access, but all the managers should have access for all the records. how to solve this?
Scenario: In a organization Manager-A & Subordinates, Manager-B & Subordinates, Manager-C & Subordinates. When ever any subordinate will create record, no other subordinate will have access, but all the managers should have access for all the records. how to solve this?
- phanip admin
- September 07, 2023
- Like
- 0
- Continue reading or reply
Flow & Trigger are created on same object, how to avoid recursion.
Flow & Trigger are created on same object, how to avoid recursion. pleae explain this proivde the solution?
- phanip admin
- September 07, 2023
- Like
- 0
- Continue reading or reply
My Secenario
I have 3 objects (Account,contact, ABC__C) Account have filed Name is Total, Contact have filed Name is Amount, ABC_C have filed Name is Amount, in ths contact amount filed adn custom obejct amount filed sum after reflected by Total filed in Account object.
(for example contact amount is : 20 , Custom object amount is : 20, = 40 dispaly in Account total field : 40) maybe user change (contact amount is : 30 , Custom object amount is : 20, = 50 dispaly in Account total field : 50)using trigger how
(for example contact amount is : 20 , Custom object amount is : 20, = 40 dispaly in Account total field : 40) maybe user change (contact amount is : 30 , Custom object amount is : 20, = 50 dispaly in Account total field : 50)using trigger how
- phanip admin
- October 02, 2020
- Like
- 0
- Continue reading or reply
I have one scenario using VF Page please help any one
User should be able to view all the accounts (keep it to a limited number of records per page) in the organization as a list. The list should display few columns from the Account including sorting on columns Name, Phone and Type. List should contain additional column called Action where we have two actions Edit and Delete (links). Clicking on Edit link should render an Edit section below the Accounts list with few fields. User should be able change the values of the Account and save it. User should be provided two options Save and Cancel. Where Save will commit the changes to the database and the changes will be reflected on the list page along with hiding the Edit section. Cancel will not perform any changes to the record and hides the Edit section. When user clicks on Delete link the page should prompt the user with the confirmation. Once user confirms the record should be deleted from the database and the Account list should be refreshed.
- phanip admin
- May 19, 2020
- Like
- 0
- Continue reading or reply
i have one visualforce page in two fields (one is text, second one picklist) once i selected the picklist value after text field automatically disable/hide?
Hi Everyone
Please helpme above secenario, anyone give code please ASAP?
Thanks
Please helpme above secenario, anyone give code please ASAP?
Thanks
- phanip admin
- March 12, 2018
- Like
- 0
- Continue reading or reply
Display list of contact records from other development org?
Hi Guys,
I'm new to integration
Please help me please above secenario code?
Thanks in adv...!
I'm new to integration
Please help me please above secenario code?
Thanks in adv...!
- phanip admin
- March 12, 2018
- Like
- 0
- Continue reading or reply
Create a button on account on click of which we should see it's related contacts, user should be able to select checkbox and the selected contact should be receiving an email in send email button?
Hi guys
Please give me the secenario code?
Create a button on account on click of which we should see it's related contacts, user should be able to select checkbox and the selected contact should be receiving an email in send email button?
Thanks in Advance
Please give me the secenario code?
Create a button on account on click of which we should see it's related contacts, user should be able to select checkbox and the selected contact should be receiving an email in send email button?
Thanks in Advance
- phanip admin
- March 12, 2018
- Like
- 0
- Continue reading or reply
select id, lastname, account.id, account.lastname from contact where lastname!=null
HI Everyone
Good Afternoon,
Please help me this query syntax
Actullay my secenario is null values not show to contact lastname
select id, lastname, account.id, account.lastname from contact where lastname!=null
Good Afternoon,
Please help me this query syntax
Actullay my secenario is null values not show to contact lastname
select id, lastname, account.id, account.lastname from contact where lastname!=null
- phanip admin
- April 10, 2017
- Like
- 0
- Continue reading or reply
I have trigger seneccario i create contact automatically account will be created but i want update the contact details it is not update account record
Hi Everyone?
I have trigger scenario i create contact automatically account will be created but i want update the contact details it is not update account record?
i write a code pls check this code? (insert work fine but update is not working ple help me as well as give me code also delete)
trigger acct on Contact (after insert,after update) {
list<account>acct=new List<account>();
Map<string,account> accountmap=new Map<string,account>();
if(trigger.isafter){
if(trigger.isinsert){
for(contact con:trigger.new){
account acc=new account();
acc.Name=con.LastName;
acc.id=con.AccountId;
acc.Phone=con.Phone;
acct.add(acc);
}
insert acct;
}
if(trigger.isafter && trigger.isupdate){
for(account acc:[select id from account WHERE id IN:trigger.newMap.keySet()]){
accountmap.put(acc.Id, acc);
}
for(contact con:trigger.new){
account acc=new account();
if(accountmap.containsKey(acc.Id))
acc.Id=accountmap.get(acc.Id).id;
acc.Phone=con.Phone;
acc.Name=con.LastName;
acc.Id=con.AccountId;
}
}
if(acct.size()>0)
update acct;
}
}
I have trigger scenario i create contact automatically account will be created but i want update the contact details it is not update account record?
i write a code pls check this code? (insert work fine but update is not working ple help me as well as give me code also delete)
trigger acct on Contact (after insert,after update) {
list<account>acct=new List<account>();
Map<string,account> accountmap=new Map<string,account>();
if(trigger.isafter){
if(trigger.isinsert){
for(contact con:trigger.new){
account acc=new account();
acc.Name=con.LastName;
acc.id=con.AccountId;
acc.Phone=con.Phone;
acct.add(acc);
}
insert acct;
}
if(trigger.isafter && trigger.isupdate){
for(account acc:[select id from account WHERE id IN:trigger.newMap.keySet()]){
accountmap.put(acc.Id, acc);
}
for(contact con:trigger.new){
account acc=new account();
if(accountmap.containsKey(acc.Id))
acc.Id=accountmap.get(acc.Id).id;
acc.Phone=con.Phone;
acc.Name=con.LastName;
acc.Id=con.AccountId;
}
}
if(acct.size()>0)
update acct;
}
}
- phanip admin
- April 02, 2017
- Like
- 0
- Continue reading or reply
Engineering has received authorization for 40 new positions. An HR employee is going to upload the approved positions from a spreadsheet rather than entering them individually. The code in PositionAnnouncementTrigger will work or not work in this case.
Hi guys
"A Universal Containers developer new to the Force.com platform was given the task of creating a trigger that posts a Chatter notification to the entire organization when a position moves to the open/approved state, so that everyone in the company has the opportunity to recommend
people and earn the hiring b"?
"A Universal Containers developer new to the Force.com platform was given the task of creating a trigger that posts a Chatter notification to the entire organization when a position moves to the open/approved state, so that everyone in the company has the opportunity to recommend
people and earn the hiring b"?
- phanip admin
- November 06, 2016
- Like
- 0
- Continue reading or reply
I have a batch class that batch class should not run Saturdays and Sundays and consider as public holidays(like Diwali) how to achieve this ? Pls give me the solution ?
Hi Every One
Pls help Me the question
I have a batch class that batch class should not run Saturdays and Sundays and consider as public holidays(like Diwali) how to achieve this ?
Pls give me the solution ?
Pls help Me the question
I have a batch class that batch class should not run Saturdays and Sundays and consider as public holidays(like Diwali) how to achieve this ?
Pls give me the solution ?
- phanip admin
- November 06, 2016
- Like
- 0
- Continue reading or reply
please any one help me what is N-1 trigger code
HI Everyone
i am new salesforce pls help me
my senerio is i have a 100 contacts i wanna 99 contacts using trigger
Thanks in Advance :
Phanindra
i am new salesforce pls help me
my senerio is i have a 100 contacts i wanna 99 contacts using trigger
Thanks in Advance :
Phanindra
- phanip admin
- May 11, 2016
- Like
- 0
- Continue reading or reply
Visual force using input text field and one button(like submit). You enter any value in input text field after click button show as pass or you not enter anything click the button show as fail
Hi Averyone..
My name is phanindra im new from salesforce
i have attend a last week interview in MNC Company
He asking one senerio in Visual force ?
Senerio is : input text field and one button(like submit).
You enter any value in input text field after click button show as pass or you not enter anything click the button show as fail
Please give me Reply ASAP: )
Thanks in Advance..
My name is phanindra im new from salesforce
i have attend a last week interview in MNC Company
He asking one senerio in Visual force ?
Senerio is : input text field and one button(like submit).
You enter any value in input text field after click button show as pass or you not enter anything click the button show as fail
Please give me Reply ASAP: )
Thanks in Advance..
- phanip admin
- May 04, 2016
- Like
- 0
- Continue reading or reply
I have one scenario using VF Page please help any one
User should be able to view all the accounts (keep it to a limited number of records per page) in the organization as a list. The list should display few columns from the Account including sorting on columns Name, Phone and Type. List should contain additional column called Action where we have two actions Edit and Delete (links). Clicking on Edit link should render an Edit section below the Accounts list with few fields. User should be able change the values of the Account and save it. User should be provided two options Save and Cancel. Where Save will commit the changes to the database and the changes will be reflected on the list page along with hiding the Edit section. Cancel will not perform any changes to the record and hides the Edit section. When user clicks on Delete link the page should prompt the user with the confirmation. Once user confirms the record should be deleted from the database and the Account list should be refreshed.
- phanip admin
- May 19, 2020
- Like
- 0
- Continue reading or reply
order of exection
Hi All,
I am new to salesforce and just want to learn the order of exection in salesforce.
I have created custom validaton rule, lead assignemnt rule, before trigger and After trigger on lead object. I just want to check the order of execution using Debug log. How can i do this?
I am new to salesforce and just want to learn the order of exection in salesforce.
I have created custom validaton rule, lead assignemnt rule, before trigger and After trigger on lead object. I just want to check the order of execution using Debug log. How can i do this?
- jagdish nikam 9
- December 05, 2016
- Like
- 1
- Continue reading or reply
User Mode and system Mode
Hello
I have some difficulty in understanding the following
a) Normally apex code & trigger run in system.context
But How to make the apex code execute in USER Mode?
if the apex code executing in USER Mode is called by a trigger, will the trigger also execute in USER Mode?
b) Can a visual force page run in USER Mode instead of system.context , again what changes need to be done and why?
c) By default webservice classes written in apex , rest api execute in what Mode?
d) what is the use of system.RunAs with respect to the above.
I hope I am clear
Thanks
Vandana R
I have some difficulty in understanding the following
a) Normally apex code & trigger run in system.context
But How to make the apex code execute in USER Mode?
if the apex code executing in USER Mode is called by a trigger, will the trigger also execute in USER Mode?
b) Can a visual force page run in USER Mode instead of system.context , again what changes need to be done and why?
c) By default webservice classes written in apex , rest api execute in what Mode?
d) what is the use of system.RunAs with respect to the above.
I hope I am clear
Thanks
Vandana R
- vandana raju
- November 28, 2016
- Like
- 2
- Continue reading or reply
I have a batch class that batch class should not run Saturdays and Sundays and consider as public holidays(like Diwali) how to achieve this ? Pls give me the solution ?
Hi Every One
Pls help Me the question
I have a batch class that batch class should not run Saturdays and Sundays and consider as public holidays(like Diwali) how to achieve this ?
Pls give me the solution ?
Pls help Me the question
I have a batch class that batch class should not run Saturdays and Sundays and consider as public holidays(like Diwali) how to achieve this ?
Pls give me the solution ?
- phanip admin
- November 06, 2016
- Like
- 0
- Continue reading or reply
please any one help me what is N-1 trigger code
HI Everyone
i am new salesforce pls help me
my senerio is i have a 100 contacts i wanna 99 contacts using trigger
Thanks in Advance :
Phanindra
i am new salesforce pls help me
my senerio is i have a 100 contacts i wanna 99 contacts using trigger
Thanks in Advance :
Phanindra
- phanip admin
- May 11, 2016
- Like
- 0
- Continue reading or reply
Visual force using input text field and one button(like submit). You enter any value in input text field after click button show as pass or you not enter anything click the button show as fail
Hi Averyone..
My name is phanindra im new from salesforce
i have attend a last week interview in MNC Company
He asking one senerio in Visual force ?
Senerio is : input text field and one button(like submit).
You enter any value in input text field after click button show as pass or you not enter anything click the button show as fail
Please give me Reply ASAP: )
Thanks in Advance..
My name is phanindra im new from salesforce
i have attend a last week interview in MNC Company
He asking one senerio in Visual force ?
Senerio is : input text field and one button(like submit).
You enter any value in input text field after click button show as pass or you not enter anything click the button show as fail
Please give me Reply ASAP: )
Thanks in Advance..
- phanip admin
- May 04, 2016
- Like
- 0
- Continue reading or reply