Plan the finished item, not only its immediate ingredients. A recipe produces a whole batch, so a small order may leave spare items. Deduct stock you already own, then follow each remaining ingredient to its recipes and gathering sources. Where several recipes exist, choose the one your settlement can actually use.