Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9041

Setting 1 to Many Associations and possible help represeting on screen

$
0
0

Hi,

 

I've been through a few examples of setting associations to business objects, but in every case the association has been to set to exactly one business object. I'm not sure how to handle the case of having to set the association to multiple business objects and then having then representing the objects from those associations on a screen (I'm guessing it would have to be some sort of Advanced List matrix)? I have had a quick look through at the best practices in the wiki page but couldn't see a relevant guide.

 

So far the usual process has been:

 

1) Create and execute query to retrieve desired business objects eg:

 

qryEmployees = Employee.Identification.QueryByEmployeeAttributes;

 

paramEmployee = qryEmployees.CreateSelectionParams();

 

paramEmployee.Add( something );

 

resultEmployees = qryEmployees.Execute(paramEmployee);

 

 

2) Set the association field to RetrievedItem.ToRoot

 

The next step would be to somehow represent this on an AdvancedListPane

 

If you guys would be so kind as to help this would be a great tutorial example


Viewing all articles
Browse latest Browse all 9041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>