• Post Reply Bookmark Topic Watch Topic
  • New Topic

Master details relation in CMPs , how I should set collection of childs ....  RSS feed

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for reading my mail.
I have a master details relation between and Invoice and item CMPs
As invoice is parent CMP and item is child there is a method in invoive
localHome that allow me to add a collection of items to it.
now my question is :
What is this collection content type ?
are they itemLocalHome ?
should i create all of item CMP and then pass them to setItemBean(collection itemBean) ?
can some one pleas explain me what happens when we pass a collection to this method ?
 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some one please help me about it ?
i have a collection of Child table DTOS now i want to add them to parent record in parent table ,
i see that parent table CMP has a method which take a collection but i do not know how to use DTOs to feed this collection.

Thank you
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!