Change Naming Series Prefix

Is there way through which I can use Fiscal Year in naming series? Not hard coded but based on dynamic fiscal year.

I want to show naming series option of one doctype to another doctype.Means if doctype-A has HR-PRUN-.YYYY.-##### naming series.So it should be visible on doctype-B. Any help?

Now there is an option to add fiscal year in the naming series using .FY. ex:- INV-.FY.-