• AVINASH UPADHYA
  • NEWBIE
  • 50 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 11
    Questions
  • 11
    Replies
Hi All,
I have got a Master Objtect which is application_Forcm__c and Detail/Child Object is Family_Detail__c.

Master child relation name is Family_Detail_Info.

Requirement:
Once user fills the Application page details and submits page redirects to Family detail Page where user enters Family deails which will be associated with the application form.
I am using controller extension on Family Detail page, and i want whatever Family Data entered by user it should be automaticaly mapped to Application form he submitted.

Basically i want to skip pressing search application button and selecting application form number as shown bellow.
User-added image
How can i do this suggest me please.

My Approch: From Application form page i am passing the Application form Id which user just submitted, And i will SOQL and get the Appliction From Number. But problem with this is i am not getting what name i should use in INSERT Statment of Family Detail so that application form number is mapped. 
Hello All,
Can any one please tell me what are the permissions are required to allow a VF Page/App to give a public acess as in the bellow URL
http://demopoint-developer-edition.ap1.force.com/apex/wrapperAccountSelect

It looks like we need to use Site.com.. If yes please give some suggetions on what are the setups required for this?

Thanks in advance!
Avinash

Hi All,

I am trying to build a Simpale calculator in different way. I have created a custome object Calculator__C having 3 fields Var1, Var2, Result.

Bellow is the controller for same but its not working. Please suggest me what needs be modified in bellow code.

public class CalculatorController {
    public Calculator__C  Calc  {get; set;}
   
Public void Add(){
      Calc.Result__c = Calc.Var1__c + Calc.Var2__c; 
        }
Public void Sub(){
      Calc.Result__c = Calc.Var1__c - Calc.Var2__c; 
    }  
Public void Div(){
     Calc.Result__c = Calc.Var1__c / Calc.Var2__c; 
    }
   
}
Hi All,
I need to pull one single report, Its like combining of two reports.. Contacts with sponsership details also contacts with affiliation details.
Sponsership has lookup field to contact and Affiliation too.. How can i cobine all these data in single report ??

Thanks.
Hi Friends,
I am facing one small issue. I am trying to generate a reports from the contact object. When i run the report without ANY Filter conditions it is giving me a only 50 records but when i run a query on my contacts it has more than 5k+ records.

Can you please tell me why my reports are getting less records?

Thanks in advance!
Hi All,

Can anyone please help me with bellow challenge.


Create an Apex trigger for Account that matches Shipping Address Postal Code with Billing Address Postal Code based on a custom field.
For this challenge, you need to create a trigger that, before insert or update, checks for a checkbox, and if the checkbox field is true, sets the Shipping Postal Code (whose API name is ShippingPostalCode) to be the same as the Billing Postal Code (BillingPostalCode).The Apex trigger must be called 'AccountAddressTrigger'.
The Account object will need a new custom checkbox that should have the Field Label 'Match Billing Address' and Field Name of 'Match_Billing_Address'. The resulting API Name should be 'Match_Billing_Address__c'.
With 'AccountAddressTrigger' active, if an Account has a Billing Postal Code and 'Match_Billing_Address__c' is true, the record should have the Shipping Postal Code set to match on insert or update.

For above challenge i tried with following code but looks like it doesnt mach the requirement.

trigger AccountAddressTrigger on Account (before insert, before update) {
    for(Account a : Trigger.new){
        If (a.Match_Billing_Address__c = true) {
            /*ShippingPostalCode = BillingPostalCode;*/
        }   
    } 

}

Please help me
Hi All,
I am a learner in this platform. I was waondering is there any meterial which can help me to understand the use of Standard objects in slaesforce.

If you know any such meterial please suggest me the same.

Thanks in advance.