part number and drawing numbers in BOM

How do I modify my company BOM to include both part numbers and drawing numbers? Currently the the BOM puts the drawing number (ex: D127-0019 this is also the file name) in the part number column of the BOM. The part number should be CP5XT500.  But the BOM is showing the drawing number.

SolidworksDrawings And Detailing