Subcontracting providing material to third-party supplier

I have a case that I haven’t found in ERPNext documentation:
I have a Finished product called X with a BOM containing components C1 and C2.
If I manufacture by myself, no problem about how to do.
But, what is the best way in case I provide components C1 and C2 to a supplier that returns to me product X?
How can I manage this case?
If someone already faced this problem, could please share the solution adopted?

Thanks in advance :slight_smile:

We use subcontracting on a daily basis in ERPNext. Please follow this guide Subcontracting