Error in Part names on BOM

Good Morning Folks,

I have an issue with my BOM's at the moment. I have attached a couple pictures.

The parts have part hodes for stock chek, these are correct in the assembly, but when putting a BOM into the drawing the numbers are not coming across correctly.

firstly, whats going on?

and how can I fix it?

thanks.

SolidworksDrawings And Detailing