You need to sign in to do that
Don't have an account?
AVINASH UPADHYA
Update.Insert to Master detail Relationship
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.
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.
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.
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.
You need to use the Application Form Id to be stored in the Family object's College Aid Application Form field.
This will related the Family record with the Application record.
Thanks
AR
All Answers
You need to use the Application Form Id to be stored in the Family object's College Aid Application Form field.
This will related the Family record with the Application record.
Thanks
AR
Have a look on the below links.
https://help.salesforce.com/HTViewHelpDoc?id=workflow_cross_object_field_updates.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=workflow_cross_object_field_updates.htm&language=en_US)
http://salesforce.stackexchange.com/questions/15267/trigger-to-update-parent-value-when-all-child-record-values-are-updated-custom
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AogmIAC
Let me know if I can be of any help.
I am facing one more issue.
In 1st page i am sending the Application ID to Family Detail page using the below code.
And I am trying to read this ID in Family Detail Page extender class using the below code.
But below code returning null value. Any idea where i am going wrong here.
Thanks once again for spending time to respond for my queries :)
Where Application_Form__c is the custome relationship name (Master Detail). When i execute its getting error msg asl below
Please suggest me what is wrong in the above SOQL?
question :)
Try using this statement instead of the existing one to retrieve the PageId.
Thanks
AR
If this solves your problem then please mark it as best answer.
Did your issue got resolved?
AR
But one small doubt here, When we need to use
and when we need to use
When i googled as "how to get the parameter from URL in VF it gave me the 1st answer! So.. Could you please give some info on this too. Thanks again for giving your precious time for solving my query. :)