How to transfer stock from APRV location to Rejected location if stock transfer is not allowed for it?

Suggestion: System has the provision of using QC order manually. A QC order can also be manually generated if some item is to be tested on an adhoc basis. Usually, manual QC Orders is when the material is to be tested before the re-test period. For a manual QC order, type is set as Sampling. The QC Order quantity is from the full quantity a representative sample is drawn to decide the quality of the full lot. Item code is to be entered by the user creating the transaction. When the QC order is confirmed / passed , Users have to enter the lot number in which the material is available in the Inventory. Enter the lot sl in which the material is available in the Inventory and the item qty goes not approved location. But If material is rejected, users have to select the appropriate reason code using pop-help. If sample quantity is entered in the header, then select the packet no and enter the sample quantity. If a full packet has been rejected and the same quantity is entered as Quantity Rejected in the header, then change Appv / Rej Type as ‘ Rejection / Hold’. Save the QC Order. If the material has been Rejected, then click on the Failed button and Confirm the record.