• SV 9
  • NEWBIE
  • 10 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 3
    Replies
Could someone please help me with the after update trigger on contact.
Search contacts when email is updated, if there are more than 2 records, exit the loop, displaying an error message. If there are only 2 potential duplicates which have the same email id, then need to merge those 2 records.
  • May 14, 2021
  • Like
  • 0
I am trying to create a Survey Dashboard. 
Created 
First  Report Type : Case- Survey Subject -  Survey Response - Survey Question Response.

Created 3 reports for 3 survey questions.
Filter by Quesntion name and Case Opened date.
Groupd by  Question Name and Response Value.

Second Report Type:
Case.
Created 2 to display the Survey Cases and Survey Response Case

Added all 5 reports into the dashboard. Now added Date Filter: Case Opened date , related date : This Week, This Month, Last Month.

When i select the date filter the first report type reports throw an error : The component can't be displayed because the field(s) you chose for the filter are unavailable.

the second report type case reports are displaying the data.

How to overcome this error. Tried different combination with the date fields and still see the error.
  • July 02, 2020
  • Like
  • 0
Have to insert historical products which are not there in PBE. 
i am new to coding and now sure how to write a trigger, below is the requirement.

Object 1 ( Prod by country)
fields: Unique_id = Countryid-Prodcode
Countryid
ProdID
Prodcode
Product_Name__c    

Object 2 (PricebookEntry)

Currencycode
unique_id = Prodcode-Countryid.number
isactive
IsArchived
IsArchived
Pricebook2Id
Product2Id
Productcode
UnitPrice
UseStandardPrice

Trigger on Object1(Prod by Country)

IF countryid.number=100, then
insert below product details into PBE
CurrencyISO Code = USD
External_ID__c = object1.Productcode'-'object1.countryid
IsActive = Object1. Isactive
IsArchived= false    
IsArchived = obejct1.isdelete
Name =  Object1.Product_Name__c    
Pricebook2Id = 'USA PB ID hardcode'
Product2Id=Object1.Prodid
Productcode= Object1.Product_Code__c
UnitPrice = 1.0
UseStandardPrice = False

else if countryid.number=200
CurrencyISO Code = IST
External_ID__c = object1.Productcode'-'object1.countryid
IsActive = Object1. Isactive
IsArchived= false    
IsArchived = obejct1.isdelete
Name =  Object1.Product_Name__c    
Pricebook2Id = 'IND PB ID hardcode'
Product2Id=Object1.Prodid
Productcode= Object1.Product_Code__c
UnitPrice = 1.0
UseStandardPrice = False
  • June 01, 2020
  • Like
  • 0
Can we build process builder to accept Rest @httppost and create records in the object? If  this is possible, how can this be achieved?
  • May 26, 2020
  • Like
  • 0
There are 2 objects
Object 1: Contact - Field Contact Opt Out : Check box
Object 2 : Survey - Field Survey Optout : CheckBox

When Object 2: Surveyoptout is true, then Object 1 : Contact Opt out checkbox should be true
  • May 21, 2020
  • Like
  • 0
Need to move all historical email attachments to files.
  • May 21, 2020
  • Like
  • 0
Could someone please help me with the after update trigger on contact.
Search contacts when email is updated, if there are more than 2 records, exit the loop, displaying an error message. If there are only 2 potential duplicates which have the same email id, then need to merge those 2 records.
  • May 14, 2021
  • Like
  • 0
There are 2 objects
Object 1: Contact - Field Contact Opt Out : Check box
Object 2 : Survey - Field Survey Optout : CheckBox

When Object 2: Surveyoptout is true, then Object 1 : Contact Opt out checkbox should be true
  • May 21, 2020
  • Like
  • 0
Need to move all historical email attachments to files.
  • May 21, 2020
  • Like
  • 0