dbo.get_location_name(a.site, a.issue_to_loc) as issueToLocName,
a.note_text,
a.line_sequence
FROM plm_bom_component as a
LEFT JOIN plm_routing_component as b on a.operation_id = b.operation_id
where a.site = #{site} and a.part_no = #{partNo} and a.bom_type = #{bomType} and a.eng_chg_level = #{engChgLevel} and a.alternative_no = #{alternativeNo}