Writer attaching file to record

Writer attaching file to record

Hi,

I have setup a document for the mege in writer.  But I simply want it to attach to the deal record once merged and not for it to do anything else.  Is there a piece of code for this?

Thanks
Jon