Hi all,
I'm adding view to CaseDetail form extension (CaseDetail.KOP) for displaying active activities per case and I do not know how to join this view to CaseDetailBase ds without outerJoin. Outer join works well, but is problematic as it breaks positionToRecord method and user's refresh makes grid jump to first record.
For 'delayed' joinType the positionToRecord() works well but view's results are displayed only in first row, but correctly. If I select e.g. 3rd row, correct result is diplayed in the 1st row.
Query on view DS seems to have correct link (CaseDetailBase.CaseId = view.CaseId) - results are correct but are only displayed wrong.
Is there any way to join view with types of join other than inner or outer join? Am I missing something? Should I create table?
I have chosen view as users want to sort by this field, so display method is not suitable.
I tried to link CaseDetailBase DS and view by code, but since link is okay and only display is broken, it didn't helped. I didn't try outerJoin by code as I do not expect to do anything else what outerJoin in DS properties is doing.
I have this problem on some other form extensions, so any advice would help me a lot. I'm asking this before making everything into table as both displayMethod and jumping to first record are unacceptable for client.
grid displaying view's result only in first row with 'delayed' linkType:
with outerJoin:
view is very simple:
Thanks for any advice!
Šimon