I find a lot of times I will have a dataview as such
PXSelectJoin<A, LeftJoin<B, ON<A.foreignKey, Equal<B.pk>>>, LeftJoin<C, ON<B.foreignKey, Equal<C.pk>>>> View;
And I will insert a row into the backing cache of the View:
View.Insert(new A()
{
ForeignKey = KeyThatExistsInTheDatabase
}
)
And the row A will insert properly, but the Joined tables B and C will not show up in the UI, even though I have created the proper link in row A on the insert. The UI will only display the data from Table A and the rest of the fields from the joined tables will be null. That is however, until I press save / manually update that row in the UI, then magically the data appears.
I have tried:
View.Select();
View.View.RequestRefresh();
but neither of these fix my problem. Anyone reliably been able to bring in all joined tables when a row with a correct foreign key has been inserted?