It should occur in the initial scope definition to determine whether the entire project should be completed in-house or procured. (although additional make or buy decisions might be made as the project evolves).