Modified Multilevel BOM Report


I have modified the existing multilevel BOM report to get all the levels of the BOM. The OOTB feature only lets you fecth till the 5th level.

I have modified the existing report to fetch till 18th level which was my initial requirement, this part is hardcoded and I want to make it dynamic.

Please advice me on this topic.

Just to gave a background, I have increased the indenture level in the Report stylesheet to 18 and made other changes accordingly, please let me know if this can be done dynamically.

Please let me know.

Thanks in advance,