Hello Diego,
To the best of my knowledge standard solution of your requirement does not exist.
but you can:
1-step
1) create field 'release from Quarantine' in table: MCH1 (data format)
2) add field 'release from Quarantine' to tcode: MSC1N/MSC2N/MSC3N
3) create field 'material Quarantine duration' to table MARC (day unit of measure)
4) create program which will be triggered during batch determination which will be:
- sum 'RFQ' and 'MQD' if 'MQD' > 0
- copy 'Production data' from MCHA or MCH1 to 'RFQ' if 'MQD' = 0 (in case when batch needs to be released immediately after production)
after these steps you know when batches should be released from Quarantine (in date format) and you can set up different duration of Quarantine for material/plant combinations.
then you only need to execute this information
2-step
if you use automatic batch determination you can for example:
1) create condition records on plant level in tcode:VCH1 (as I remember condition on plant level is placed on 1st position)
2) add condition in Strategy selection class screen
release from Quarantine < current data.
In case you need block materials for all movements in WH not only block material for distribution, you need to rearrange 2-step.
please remember to test this solution for batches which come out of SAP especially for batches created by IDOCs.
GL and I hope it is still useful for you.