Performance improvement of "NF3.0 Tree On Any Table".

Description

Hi,All.

I use Tree On Any Table
ref: https://wiki.idempiere.org/en/NF3.0_Tree_On_Any_Table).
ref: Supporting tree on any custom table

I like this feature.

So, I think that I found Performance improvement point of Tree On Any Table.

Tree On Any Table load all record in spite of applying Parent column limit.
I make performance improvement of this feature, and I would like to use this feature at high volume table like a C_OrderLine.

[How to reproduce]
Step1 : Set up Tree at C_OrderLine like the image1.png and imge2.png
Step2 : Opne the Sales Order Window, go to Order Line tab.

MTree#getNodeDetails() load all record of C_OrderLine. image3.png

Since the original source is well made, I think that it can be realized with a little modification.

Environment

None

Attachments

3

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 20, 2021 at 2:54 PM
Updated December 1, 2021 at 5:27 PM
Resolved October 22, 2021 at 2:43 PM