• HEMPRASANTH KARUNAKARAN
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi All,

I have added all the Field References in the process builder, but I don't get the reference to [OpportunityLineItem].Id in the picklist.

Field not appearing in the picklist

Can anyone help me regarding this?

Thanks and Regards
Vijay
Create an Apex trigger for Account that matches Shipping Address Postal Code with Billing Address Postal Code based on a custom field

I used the code below and am getting this error... "Challenge Not yet complete... here's what's wrong: 
Setting 'Match_Billing_Address__c' to true did not update the records as expected." I have no other triggers or validation rules activated. any help would be much appreciated. Thanks in advance

trigger AccountAddressTrigger on Account (before insert,before update) {


List<Account> acclst=new List<Account>();
  for(account a:trigger.new){
    if(a.Match_Billing_Address__c==true && a.BillingPostalCode!=null){
    a.ShippingPostalCode=a.BillingPostalCode;
        
    }

}
}