I’ve got a questions about the following:
I’ve got an Order entity with a composition to Statuslog update messages entity, and a composition to a Document entity, which has an attachment attribute which can be uploaded.
Now, for a particular status update I’ve got a custom button which opens a custom create/edit Statusupdate screen, in which I want to edit 3 entities at once:
- Create a statuslog message (this is no problem)
- I want to adjust some attributes of the Order (this works as well, after adding an orderDs source to the screen)
- I want two fields of the document entity, including the attachment, so in this screen someone can also perform an upload. This seems to be the issue, since which belongs to another composition relationship.
Secondly, after entering the information on this screen and pressing OK, I would like to refresh the entire page from which it previously came. I’ve added a screenshot. The editscreen which should edit multiple entities is the statusLog Editor. The highlighted screen is used as a view screen, and I would like to refresh this one completely.
I’ve found multiple topics regarding refreshing datasources, but I would like to refresh the entire screen because the screen contains multiple buttons which can appear disabled if some status updates already exists.
Has anyone ran into the same obstacles, and found a way around it ?
Thanks in advance!