ERPNext Conference 2019* ERPNext.com Blog

What is lft & rgt in account doctype?


#1

I came across these 2 fields in account doctype. What are they actually used for?


#2

Those fields are required to generate tree view for a doctype


#3

These fields are used for creating a tree structure for the account doctype.


#4

@revant_one @ManasSolanki . I noticed that this field is also being used to order accounts in reports? I am trying to have the direct expense display above indirect expense in P&L . Where do i tinker around exactly to achieve this?