Open a specific document using custom script

Hi,
Is there any way that I can open a specific document using script like I want to use an
item code 010-0010213

Link it to #Form/Item/010-0010213