For essentially all US airlines, you keep your company longevity (based on DOH) as you move between payscales.
Be aware that is not necessarily the case in all aviation sectors, and it's actually common for foriegn airlines to actually start you over at year one on the CA scale when you upgrade.