Cap should have its own BOM, bottle should have its own BOM, and a finished bottle should have its own BOM = cap + bottle.
I think what u r looking for is some kind of automation to help u to reduce manual transactions once conditions are met, such as auto assemble finished bottle based on cap and bottle, etc.
I've done this many times, u can contact me about it. wangzhaoye@hotmail.com
Frank