Projects fetching from project management query

Hello,

I want to fetch the projects in the same order as they are displayed in project hierarchy on the form in project management.

Example

P1

P1.1

P1.1.1

P1.1.2

P1.2

P1.2.1

P1.2.1.1

P1.2.1.2

P1.2.2

P1.2.2.1

P1.2.2.1.1

P1.2.2.2

P1.2.2.2.1

So on.

I wan to fetch this details from projTable in the same order by using code. I am able to fetch all projects but not in the orders as it displayed in the project form project hierarchy.

Please guide me.

Thanks,

Rakesh

Related
Recommended