'Create csv data for required raw material to produce finished goods'

def download_raw_materials(self):

    self.validate_data()
    bom_dict = self.get_so_wise_planned_qty()
    self.get_raw_materials(bom_dict)
    return self.get_csv()
