• test pawan
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies

trigger TimeZone on Contact (before insert, before update) {

 for (Contact cc : Trigger.new)
 
 {
  if(cc.User_Place_Time_Zone__c =='GMT+05:30')
  {
   if(CC.Customer_Place_Time_Zone1__c=='GMT+01:00')
    {
     cc.Customer_Place_Time__c = System.Now()- (0.1875);
    }
   if(CC.Customer_Place_Time_Zone1__c=='GMT+02:00')
    {
     cc.Customer_Place_Time__c = System.Now()- (0.14583);
    }
   if(CC.Customer_Place_Time_Zone1__c=='GMT+03:00')
    {
     cc.Customer_Place_Time__c = System.Now()- (0.1042);
    }

}

}

Hey,

 

Can any one help me on configuring Bugzilla with SFDC.

 

Regs,

Pawan

Hey,

I can any one give help on how to configure Bugzilla with SFDC.

 

 

Thanks & Regards,

Pawan

 

public class Activity 
{

public Activity(ApexPages.StandardController controller) 
{
    }
List<Task> tsk = new List<Task>();
public List<Task> getactivit()
    { 
     tsk = [select Subject, Assign_To__c,Status, ActivityDate, Description, Action_Item__c from Task where WhatId =:ApexPages.CurrentPage().getParameters().get('id')];
         return tsk;
     }

Hi,

 

I want to create a rollup field in Account Object with Opportunity Amount. Can any one help me on this, Actually i'm new in  trigger.