Author |
Message
|
jeevan |
Posted: Thu Nov 17, 2005 10:21 am Post subject: processing a bo with multiple children |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
can the children within a BO be sorted based on some attribute? |
|
Back to top |
|
 |
Ratan |
Posted: Thu Nov 17, 2005 10:25 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
what are you trying to do? _________________ -Ratan |
|
Back to top |
|
 |
jeevan |
Posted: Thu Nov 17, 2005 10:38 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
there are repeating body of a long xml message which comes Source BO and the repeating portion as children BO. there is no one to one relationship between source Children bo and destination children. we need to process source children bos to get one destination children bo. this is one on two attribute in the repeating children bo in the source. if I process one by one hundred of bo has to be created. So I am wondering whether we can group on the attrabute sothat I can finish creating one destination children bo before I start processing another destination Children BO. |
|
Back to top |
|
 |
Ratan |
Posted: Thu Nov 17, 2005 11:16 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I dont understand what you said, but there is no automatic sorting. You have to do it on your own. _________________ -Ratan |
|
Back to top |
|
 |
vk |
Posted: Thu Nov 17, 2005 12:53 pm Post subject: |
|
|
Partisan
Joined: 20 Sep 2005 Posts: 302 Location: Houston
|
Can you post a sample showing the Source and Destination BO formats?
Regards,
VK. |
|
Back to top |
|
 |
jeevan |
Posted: Thu Nov 17, 2005 2:24 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
let say, I have a general BO as this
begining of record
header
header
subheader
subheader
body
data
end data
data
end data
end of body
end of whole record
the final structure is
header
record
details record
trailer
final trailer
the details record in the destination is created processing the data in the xml message in the GBO
hope this helps to understand
thanks |
|
Back to top |
|
 |
christian witschel |
Posted: Wed Dec 07, 2005 1:08 am Post subject: |
|
|
Apprentice
Joined: 07 Dec 2005 Posts: 27
|
Can't you let the source system do the sorting?
Meaning if the BO is generated from a DB then you have to define a sorting pattern in the source BO decription.
Workaround: Save the data in a Database and pull them back out sorted using the BO definition sorting attributes. |
|
Back to top |
|
 |
|