You need to sign in to do that
Don't have an account?
Collen Mayer 6
Multiple Records on VisualForce Page
All,
I currently have a ClientBilling object that is the child of the parent ClientCase (MasterDetail). I have a visualforce page that creates an invoice from a Detail Page Button for the clientcase, pulling all clientbilling entries for a given clientcase.
I'm wondering how I might go about creating multiple clientcase invoices from a button or tab. For example, in visual force create invoices for ALL clientcases with status field marked "active." What would the SOQL look like in this case (pulling all billing items for clientcases with active status)? Also can someone given an example of how I might do the nested loop in my visual force (looping through clientcases and then looping through billing item of each clientcase)?
If anyone can get me started I woudl be most grateful!
Best,
Collen
I currently have a ClientBilling object that is the child of the parent ClientCase (MasterDetail). I have a visualforce page that creates an invoice from a Detail Page Button for the clientcase, pulling all clientbilling entries for a given clientcase.
I'm wondering how I might go about creating multiple clientcase invoices from a button or tab. For example, in visual force create invoices for ALL clientcases with status field marked "active." What would the SOQL look like in this case (pulling all billing items for clientcases with active status)? Also can someone given an example of how I might do the nested loop in my visual force (looping through clientcases and then looping through billing item of each clientcase)?
If anyone can get me started I woudl be most grateful!
Best,
Collen
May I request you to please refer the below link for reference.
- https://salesforce.stackexchange.com/questions/27063/visualforce-page-for-multiple-record-creation
I hope it will be helpful.Best Regards
Rahul Kumar
All Answers
May I request you to please refer the below link for reference.
- https://salesforce.stackexchange.com/questions/27063/visualforce-page-for-multiple-record-creation
I hope it will be helpful.Best Regards
Rahul Kumar