How to add a custom part in BOM and save the BOM

Hi,

Does anyone know how to add a custom part in BOM and save the BOM for next time use?

I created BOM in an assembly drawing. When I created a line to inter a custom part, it was disappeared and did not save.

Thanks.