eric.dizon
25th March 2015, 22:31
I am trying to mimic the behavior of Sales Order overview session. What I want to duplicate is when you go to View -> Sort By ->

Index 1 : Sales Order
Index 2 : Sold To BP

When you switch the sort by the Sold-To BP showing as a View/Group field on top the Overview grid. I have similar indices in my custom session and followed the same Indices pattern in the form. But when I switch to my Index 2, it does not show the View/Group field instead resort the overview grid to Index 2.

What am I missing?

bhushanchanda
26th March 2015, 14:35
Hi,

Have you written anything to change the view fields?

Never tried it but you can check functions like -

add.view.field (long index.nr, const string fname)
remove.field.from.view (const string fname)

Also, check the Session Properties for Dynamic Index Switching if its set to Always Restart. And make sure all the things in DFE are similar to the standard session.

rahul.kolhe22
27th March 2015, 10:02
Hi,

Please check, may be either of may be missing.
1. In DFE, for all the field properties "Position" tab verify that no field has "View Field" check box selected.
2. After that, double click the session. In "Form" tab, "Dynamic Index Switching" group, select the option "Restart when view fields differ".

I think 2nd point you may be missing.

Hope this helps.

Kind Regards,
Rahul