Yes, any salary from being temporarily promoted is included in your Average Pensionable Pay (APP)