Sorry, but you are using some strange syntax...
First - what do you mean by (in bold):
*SELECT(%FCTPERS%,ID,Time,CALC=N AND ID>2016008 AND YEAR0000.Generic AND ID<>SELECT_TIME)
Please provide the list of TIME dimension members (dimension administration).
And explain the calculation logic in details... "I want to post it to the time period that matches the value stored in another Account (CapnMth) provided by the user." - not clear!