Making document field as option for other document

Please check the reference and set the logic according to the scenario.