• Gauri Gaikwad 13
  • NEWBIE
  • 50 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 7
    Replies
i have deployed on production the functionality to update account field on button click.but client is saying field are not updating. how to debug this? and no error in sandbox.

one more , i have deployed some fields to production and those are not visible to end cliednt on page layout, why it is not visibile?
SOSL query: i want to count number of records of .com in account, leads, opportynity object

FIND {.com}, count()
IN ALL FIELDS
RETURNING Opportunity(AccountId), Lead(company),Account(Name)
 
hi, i am trying to add trigger  & apex code i am getting error as (Error: Compile Error: Invalid type: Pen_c at line 3 column 51).


code in apex class----------------------

Public Class PenClassDemonstration{

public static void ApplyDiscountPen (List< Pen_c >VarPensListNew){

For(Pen_c VarP: VarPensListNew){

if(VarP.Price_c>= 100){

VarP.Price_c= VarP.Price_c- 20;

}
}
}
}