Include BOM for each item code in Crystal Report

SUGGESTED

Hello,

I'm modifying the Accounts Receivable Invoice History Report to include Bill of Materials, grouped by Item Code. So far, I've joined the BM_ProductionHistoryDetail, BM_ProductionHistoryHeader and BM_ProductionHistoryTierDist to the report and I'm having trouble determining how to best go about this. The only thing I've figured out should work (but didn't for me) was joining the production sequence number in detail to the header table, then pulling the BillNo into the group but it breaks the report no matter where I place it.

I'm new to BOMs so any help would be greatly appreciated.