Hi,
In standard SAP, there is no link between the 313 and the 315 movement material documents. So the system will allow doing 315 movement multiple times even with the same 313 material document.
Please check the note: 1800451 - No link between the documents of a two step stock transfer (with movment types 303/313 and 305/315).
The note explains the work around also.
You may refer the similar thread: http://scn.sap.com/thread/1658863
Regards,
AKPT