Second, the serial numbers used are determined by the first serialized item issued to the order. So, in the case of the bikes, the derailleurs would need to be issued to the job before any other serialized material is issued.
This is a one-to-one relationship. The serial number of each finished good is based on the serialized item issued to it