Business Objects and multiple one to many relations grouping
Posted: Wed Jul 15, 2015 8:30 am
We use Stimulsoft combined with business objects and this has been working very well for us, but now we have a situation where I'm not sure if it's possible to do this in Stimulsoft or where we need to 'flatten' our business objects.
Say we have a business object named Customer. This customer has a list of Address objects and a list of EmailAddress objects, so the class is as follows:
Customer
- IList<Address> AddressList
- IList<EmailAddress> EmailAddressList
What we would like to achieve is that if a certain customer has two addresses and two email addresses, that we can show a report with four lines as follows:
John Smith - Address 1 - Email address 1
John Smith - Address 1 - Email address 2
John Smith - Address 2 - Email address 1
John Smith - Address 2 - Email address 2
Is this possible if the resulting data set only contains one business object with in each of the lists two 'sub business objects' that are both connected to the root object?
I've tried adding multiple group header bands, but it seems like I can only get it to show either the two different addresses or the two different email addresses. I never get more than two lines in this situation.
The alternative would be to flatten the business object on our side and name it like CustomerAddressEmailAddress of something, but it would not be ideal.
Thanks in advance.
Say we have a business object named Customer. This customer has a list of Address objects and a list of EmailAddress objects, so the class is as follows:
Customer
- IList<Address> AddressList
- IList<EmailAddress> EmailAddressList
What we would like to achieve is that if a certain customer has two addresses and two email addresses, that we can show a report with four lines as follows:
John Smith - Address 1 - Email address 1
John Smith - Address 1 - Email address 2
John Smith - Address 2 - Email address 1
John Smith - Address 2 - Email address 2
Is this possible if the resulting data set only contains one business object with in each of the lists two 'sub business objects' that are both connected to the root object?
I've tried adding multiple group header bands, but it seems like I can only get it to show either the two different addresses or the two different email addresses. I never get more than two lines in this situation.
The alternative would be to flatten the business object on our side and name it like CustomerAddressEmailAddress of something, but it would not be ideal.

Thanks in advance.