Azzindani/Open_Reaction_Data huggingface dataset:
Reaction SMILES: [NH2:1][C:2]1[N:11]=[C:10]([CH:12]2[CH2:17][CH2:16][NH:15][CH2:14][CH2:13]2)[C:9]2[C:4](=[CH:5][CH:6]=[CH:7][CH:8]=2)[N:3]=1.C(N(CC)CC)C.[CH2:25]1[O:33][C:32]2[CH:31]=[CH:30][C:29]([CH2:34][C:35](Cl)=[O:36])=[CH:28][C:27]=2[O:26]1.C(=O)([O-])O.[Na+]>ClCCl>[NH2:1][C:2]1[N:11]=[C:10]([CH:12]2[CH2:17][CH2:16][N:15]([C:35](=[O:36])[CH2:34][C:29]3[CH:30]=[CH:31][C:32]4[O:33][CH2:25][O:26][C:27]=4[CH:28]=3)[CH2:14][CH2:13]2)[C:9]2[C:4](=[CH:5][CH:6]=[CH:7][CH:8]=2)[N:3]=1
Reactant: Nc1nc(C2CCNCC2)c2ccccc2n1
Reactant: O=C(Cl)Cc1ccc2c(c1)OCO2
Agent: O=C([O-])O
Agent: [Na+]
Solvent: ClCCl
Solvent: CCN(CC)CC
Product: Nc1nc(C2CCN(C(=O)Cc3ccc4c(c3)OCO4)CC2)c2ccccc2n1
Temperature: 0 °C
Reaction time: 2 h

Procedure:
To a suspension of 3,4-methylenedioxyphenylacetic acid (569 mg, 3.16 mmol) in chloroform (6 ml) was added thionyl chloride (1.2 ml). The mixture was refluxed for about 3 hours, and was evaporated. Toluene was added to the residue and the mixture was evaporated to remove the excess of thionyl chloride. To the residue was added dichloromethane (3 ml) to give a dichloromethane solution of 3,4-methylenedioxyphenylacetyl chloride. To an ice-cold mixture of 2-amino-4-(4-piperidinyl)quinazoline (600 mg, 2.63 mmol) and triethylamine (319 mg, 3.16 mmol) in dichloromethane (16 ml) was added dropwise the solution of 3,4-methylenedioxyphenylacetyl chloride prepared above under a nitrogen atmosphere. The mixture was stirred for about two hours and to the reaction mixture was added dichloromethane and saturated sodium hydrogencarbonate aqueous solution followed by extraction. The organic layer was washed with water, and then dried over sodium sulfate and evaporated in vacuo. The residue was purified by silica gel column chromatography (dichloromethane:methanol=30:1). Crystallization from methanol gave the titled compound (617 mg).