However whenever I create the child entity it does not show in the browser screen for selection. But if I navigate to the parent entity editor screen and try to add a new child entity then the previously created child entity is now shown in the browser screen but not the newly created one.
Expand the Personnel menu section and create the following
Client (should add a location)
Personnel (should choose Guard as personnel type)
Expand Payroll menu section and create a personnel role for a Guard
Navigate to the Roster menu under Personnel section and create a roster
Select the Add button to create a assignment for the roster
Fill out the fields on the assignment screen then select Ok. You will then be redirected to the browser screen of the assignment. It is at this point the newly created assignment disappears i.e. do not show up in the list until you try to add another assignment where you see the previous assignment after creating the new one and selecting ok again
Thanks for the steps, I see the problem now.
But I don’t quite understand your intention - on one hand, you use “Add” action which allows you to select from a list of existing ShiftAssignments, from the other - you create a new ShiftAssignment right after user clicks Add.
If you really want to always create a new ShiftAssignment, and after saving it allow user to select from all ShiftAssignments, then define a custom action which first shows ShiftAssignment editor, and in its CloseListener shows ShiftAssignment lookup screen.