• shubam rajora
  • 3 Points
  • Member since 2018
  • Mr
  • MIET

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 3

hi , i heed help regarding formula filed
this is the formula for understanding       IF(Text(APTS_Discount_Type__c) = 'Tier Discount', IF(MAX(APTS_Discount_Tier_1_c,APTS_Discount_Tier_2c,APTS_Discount_Tier_3c,APTS_Discount_Tier_4c,APTS_Discount_Tier_5_c)> 0, MAX( APTS_Discount_Tier_1_c, APTS_Discount_Tier_2c , APTS_Discount_Tier_3c , APTS_Discount_Tier_4c, APTS_Discount_Tier_5_c ), MAX( APTS_Agreement_Group_r.APTS_Discount_Tier_1c, APTS_Agreement_Groupr.APTS_Discount_Tier_2c, APTS_Agreement_Groupr.APTS_Discount_Tier_3c, APTS_Agreement_Groupr.APTS_Discount_Tier_4c, APTS_Agreement_Groupr.APTS_Discount_Tier_5_c)), IF(Text(APTS_Discount_Type__c) = 'Tier Discount % + Scaled', IF(MAX(APTS_Discount_Tier_1_c+APTS_Scaled_Discount_Percent_Tier_1c, APTS_Discount_Tier_2c+APTS_Scaled_Discount_Percent_Tier_2c, APTS_Discount_Tier_3c+APTS_Scaled_Discount_Percent_Tier_3c, APTS_Discount_Tier_4c+APTS_Scaled_Discount_Percent_Tier_4c, APTS_Discount_Tier_5c+APTS_Scaled_Discount_Percent_Tier_5_c)>0, MAX( APTS_Discount_Tier_1_c + APTS_Scaled_Discount_Percent_Tier_1c , APTS_Discount_Tier_2c + APTS_Scaled_Discount_Percent_Tier_2c , APTS_Discount_Tier_3c + APTS_Scaled_Discount_Percent_Tier_3c , APTS_Discount_Tier_4c + APTS_Scaled_Discount_Percent_Tier_4c , APTS_Discount_Tier_5c + APTS_Scaled_Discount_Percent_Tier_5_c ), MAX(APTS_Agreement_Group_r.APTS_Discount_Tier_1c+APTS_Agreement_Groupr.APTS_Scaled_Discount_Tier_1c, APTS_Agreement_Groupr.APTS_Discount_Tier_2c+APTS_Agreement_Groupr.APTS_Scaled_Discount_Tier_2c,APTS_Agreement_Groupr.APTS_Discount_Tier_3c+APTS_Agreement_Groupr.APTS_Scaled_Discount_Tier_3c,APTS_Agreement_Groupr.APTS_Discount_Tier_4c+APTS_Agreement_Groupr.APTS_Scaled_Discount_Tier_4c,APTS_Agreement_Groupr.APTS_Discount_Tier_5c+APTS_Agreement_Groupr.APTS_Scaled_Discount_Tier_5_c)), 0)) ​-----------------------------------formula ends here------------- for ->    max tier discount%  ​      max(tier1+tier2+tier3+tier4+tier5) + max((Scaled+tier1)+(Scaled+tier2)+(Scaled+tier3)+(Scaled+tier4)+(Scaled+tier5)))                                                                                                                                                                 __________________________________________now what is case  ->  if all the value of (tier1 ) or( Scaled + tier 1 ) becomes null then the value should be fetched from  agreement lione items          ( we need mainly on the tier +Scaled     it takes from the agreement group )                                                                                                                      what modification can be done in code or how can it be done ? more over if tier1 is null it should not chek tier2 or any other tiers
only if tier1 has some value then it will check tier2 ....
similarly like tier1 it will check tier2 is null or have some value if the value is there it checks for tier3 if not it will check the maximum value of tier1 and tier2 
similarly for scaled+tier thing
#Apex  #Apex Class  #Formula Field  #Formulas  #Formula  #Formulas & Validations #Trailhead #Answer Community
Show Less
Message : Challenge Not yet complete... here's what's wrong: 
Could not find a sharing solution 'Volunteerism Board'.

I made this :

User-added image

User-added image

Maybe.. I think problem is 
" Also, provide edit access to this field on an individual-by-individual basis without modifying profiles. Call this solution "Volunteerism Board". "

How can I do?
Hi there, 

I got following error on step 3.

A Volunteer Shift Worker record created for another user is not in their approval queue, or it does not have the correct status automatically assigned.

Anyone passed this step?

I am working on the App Customization Specialist Superbadge and this one has me baffled. Here is the part I'm stuck on...

Quick Self Sign Up
Maria asked for a quick way for users to sign themselves up for a Shift directly from a Volunteer Shift record. Your solution was an action with the label Sign Me Up. To keep it simple there should be no fields on the pop-up. Instead the action automatically sets the Volunteer to the user clicking the button, changes the status to Confirmed, and assigns the currently viewed Shift as the new record's Volunteer Shift. Once the action is done show the friendly message "Congratulations, you are signed up!".

Based on what I'm reading, they seem to be asking me to create a Quick Action button that creates a new record with the necessary fields set to default values. The problem is that two of the fields that are required are Lookups that I was required to create in the first challenge. One to supply the User Name and another to supply the Volunteer Shift Name. Quick Action default values can't populate Lookup fields, right? I tried creating a flow, but you can't trigger an autolaunched flow from a Quick Action, only Screen Flows. The challenge wants one button click and it's done. Can someone tell me what I'm missing here?