Merge RecalculateCostsForAssembly into RecalculateRecurse so calculating costs, demand and capability done with one walk over parts tree with single entry through call to Recalculate stored procedure.
Best approach would be to:
write tests for current RecalculateRecurse to make sure it works properly as is
merge stored procedures
make sure test cases for RecalculateCostsForAssembly and old RecalculateRecurse not broken when using combined stored procedure.
Merge RecalculateCostsForAssembly into RecalculateRecurse so calculating costs, demand and capability done with one walk over parts tree with single entry through call to Recalculate stored procedure. Best approach would be to: