To be honest I think most people would just have the PM log on and take over for the two weeks. If you need to show that in the project schedule then either a separate task or add that person to the task. Either case it’s a manual process. My suggestion…KISS (think simple. Not the answer you wanted but hope it might help you think of something that works for you.