You need to sign in to do that
Don't have an account?
Hanumantha Rao 6
How to display all related opportunity records for a particular account using a visual force page
Hi i have a requirement please find the below req and suugget me , or send my any related code is already developed .
Display all related opp records for a particualr account with the below conditions
1) Opportunities which are status= TRUE
2) These Opportunities should have at least one Product.
3) This VF page should support Pagination, each page should have max of 25 record.
This VF page should have sorting in all the columns.
4) VF page should have i/p check box has to be present in front of every record.
i developed VF page for pagination for displaying account records but dont know how to to display one account related opportunities , please help me on this or send any code
Regards,
Hanu
Display all related opp records for a particualr account with the below conditions
1) Opportunities which are status= TRUE
2) These Opportunities should have at least one Product.
3) This VF page should support Pagination, each page should have max of 25 record.
This VF page should have sorting in all the columns.
4) VF page should have i/p check box has to be present in front of every record.
i developed VF page for pagination for displaying account records but dont know how to to display one account related opportunities , please help me on this or send any code
Regards,
Hanu
In the below code I am displaying all accounts and opportunities and a checkbox we also have a functionality where I am displaying only the selected records.
Have a look on the code and modify as per your needs.
#PAGE
#CLASS Let me know in case of any issue.
All Answers
https://developer.salesforce.com/page/Wrapper_Class
with
http://blog.jeffdouglas.com/2009/07/14/visualforce-page-with-pagination/
I tried those things , but how i can display one one account record related opportunities in VF page.
based on the above conditions will dispaly those records, any more few suggestion ?
it would be helpfull for me .
I feel you are not using the correct URL then
your salesforce page URL should have Id appended at the end
say you have url as Then you need to hit the URL as
Hope this helps
Are you trying to display the list of accounts and the opportunities related to each of those accounts on the same visualforce page, and you want to display only the related opportunities of the selected account from the account list.
In that case you can create a visualforce component that takes the Account ID as the parameter and renders the related opportunities.
Regards,
Krishna.
In the below code I am displaying all accounts and opportunities and a checkbox we also have a functionality where I am displaying only the selected records.
Have a look on the code and modify as per your needs.
#PAGE
#CLASS Let me know in case of any issue.