I have two UBC. One UBC stores the main record. The second UBC stores the many attachments (vendor quotes, supporting docs, etc.) How do I represent this via the UI? Is this done using a composite form? Thank you.
I don't remember the exact steps
but
1) Create a one to many relation between the 2 classes
2) Create a list on the second UBC that references the index used to relate the 2 UBC
3) add the list on the second UBC as an panel item on the first UBC form
Thanks for the help with this. I've related the two classes. Also created a list in my attachment UBC below. ByUPHSFinCer is the index that relates the two classes. How/where does the list reference the index?
UPHSFinCerAttachList is a List is primary propagate as a drill Display Fields UPHSFinCer UPHSFinCerAttach AttachType FileName
Also, I've attempted to add the list to the main UBC form using a panel item. I think something is amiss. Although it saves, the changes actually don't get saved when I go back into the form LPL.
UPHSFinCerAttachPage is a Page
UPHSFinCerAttachment is a Panel
business class is UPHSFinCerAttach
list is UPHSFinCerAttachList
write like this : replace <relationname> with your own relation defined as one to many.
UPHSFinCerAttachment is a Panel list is <RelationnName>.UPHSFinCerAttachList
Thanks again for any help. I get an error of 'Component is unexpected in this context' when I add this code to my main UBC form
UPHSFinCerAttach is a Panel list is UPHSFinCerRel.UPHSFinCerAttachList