Web SDK - generating multiple code type, and set fix Index.cshtml to be display

SOLVED

Hi all,


I am making a project that is generated by Solution Wizard.

But I am stuck at certain part, and reshuffle my strategies on how to complete the project.

as we know, we can generate code by type: Flat, Process, Dynamic Query, Report, Inquiry, and Header Detail. 

In my project, I will be using 4 views.

VI0700 and VI0704 - table generated by Orchid-Extender. I plan to generate its code by using "Flat". Meaning I will have 2 flat entities. But only VI0700 will have the client files. For VI0704, I just want the backend files because I am going to use it to insert information.

OE0520 and OE0500 - I plan to generate its code by using "Header Detail" because I want it to get it as Parent->Child. The container name=OEOD. I want some information to be displayed based on selected Order Number selected.

However, when I generate the code and run, the client view is from OEOD instead of VI0700.

So, my question is,
1. Is it possible to have multiple type of code generated in the same project?
2. how to set fix the index to be display, and how to change to different index to be display?
3. Is my workflow above possible to be done?

Thank you.