How can we call the Explode BOM function of Sales Lines (Sales Order Subform Page) through code unit in NAV? Please mention the name of the codeunit as well. Thanks in advance.
What version of NAV are you using???
If you are using NAV 2016 then its Codeunit 63 Sales-Explode BOM. Why do you want to call it from Sales line when its already been called from Sales order subform, does not make any sense.
As sbhatng answered.
Open Page Sales Order and position on TAB: Sales Line
Standard code is applied on Page: Sales Line -> Line -> Explode BOM. This calls codeunit 63 - "Sales-Explode BOM"