HELP! Quick question about Pension benefit asset or liability

help please!! In pension journal entry, when we record the contribution to the pension plan, in terms of whether to use pension benefit asset OR liability, does it depend on BEGINNING of the year funded status, or END of the year funded status (overfunded/underfunded)??