Help with building a BAQ that shows indented BOM for all open sales line item

Can you reformat your code block please?