How do you access the Bill of Materials sublist field on the Assembly Item record under the Manufacturing tab on the BOM sublist via scripting?
you should be able to loop through bill of Materials line using the Line Group – billofmaterials
once you have got the count of Line Item (‘billofmaterials), you can loop through the lines and get the field values.
these are the set of fields we have in our instance.
hope this helps.