QCOrder/CreateQcOrderLockedBatches()
Generates a QC order for all locked batches, and when an Inspection plan is defined for this scenario.