Thank you for input on this. I added UoM and if used with drawings having the Sequence Number is also a must so line items can be matched to drawings.
This also occurs in BOMIndentedReverse.php.
We also have some very minor inconsistencies in headers and code in these two files.
As I am still a novice with respect to webERP coding conventions perhaps somebody can take a look at the two attached files and unify the header , SQL statements, and code positions to be sure meet standard webERP coding conventions...