Hi All,
I am trying to create an indented BOM in BC. The closest I get is when I show BOM from assembly item, giving an image like the below. Ideally - I want the "No." field name to be indented based on indentation level value
My AL code is below as well, as a page extension for BOM STRUCTURE....however it doesn't seem to do anything on the page...what am i missing?
trigger OnOpenPage() var levelOneIndent: Text[20]; levelTwoIndent: Text[20]; begin levelOneIndent := ' '; levelTwoIndent := ' '; repeat if rec.Indentation = 1 then rec."No." := levelOneIndent rec."No."; if rec.Indentation = 2 then rec."No." := levelTwoIndent rec."No."; rec.Modify() until rec.Next() = 0; end;