• sindhu@demo.com
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 7
    Replies
Hi, I have created a VF page "AddMultipleOppy" which adds Multiple opportunities related to a custom Object "Project__c".I want this Vf page to be displayed as list button in related list of opportunities on "Project__c" object So,I have created the custom list button on "Project__c " object and tried to add this button on related list properties of "Opportunity" object in page layout but I could find this button. Am I missing out on anything?? Thanks Regards, Prasanna
Hi Everyone,
 I have a custom field in "Account" Object(Remaining Meetings). 
I need a trigger to roll up on Activities related to the Account object. 
All the openactivities(Count) of type "Meeting" should be counted and displayed "remaining Meetings" field.
 I have written a trigger on Tasks to count the no of open activities when a task is created and assigning the count value to the field in Account but the value is not updated.
 Can anyone help me with this??
 trigger UpdateAccount on Task (before insert) 
for(Task t : Trigger.new)
 {
 Account acc =[SELECT id,Annual_On_Site_Meetings__c,Actual_Meetings_Year_to_Date__c,(SELECT Status,WhatId from OpenActivities Where ActivityType Like 'Meeting') FROM Account where id=:t.WhatId];
 integer count = 0;
 for(OpenActivity oa:acc.OpenActivities)
 {
 count++;
 } 
System.Debug('-------Count'+count); 
acc.Annual_On_Site_Meetings__c=count; 
}
}
Hi Everyone!! I need a trigger on a Chatter post on the Account object that does the following: • If the hashtag “#request” is used in the post, the trigger creates a record in the Request__c custom object. • The Account ID is populated in Account__c • The Type__c field is “Other” It would be helpful if someone help me out in writing trigger on chatter post on "Account" object. Regards, Sindhu
Hi, I have written a trigger and is perfectly fine.I want this trigger to be executed when clicked on a custom button in Case object. Can anyone help me out with this??