i want to link the sheet number of a detail to the BOM

When I create my BOM, I would like the sheetnum of the specific detail to show up in a column. I was wondering if anyone had found a way to automate this. Right now, I have been editing the properties of the details, once put on a sheet, with that sheet number and then it shows up in the BOM. If I forget to do that, or delete the view and move it to another sheet, I have to remember to manually update the property.

SolidworksDrawings And Detailing