The Cost function in CCRQBOM can be used to update the cost of assembly items based on the component costs, even when you have multiple level assemblies.
Please note that this process must be done in single user mode and it can take a very long time to complete, if you have a large and/or complicated assembly structure.
More: