Setup BOM (recycling)

Hi all,

Our client specializes in the distribution of fertilizers.
the company makes packaging of fertilizers in bags. it also performs a re-bagging of nonconforming fertilizers (broken package for example).
how can we setup the BOMof the product in the case of a re-bagging on Dynamics AX 2009.

Thanks in advance.