My Sales invoice Naming series defined get erased while updating bench update

My Sales invoice Naming series defined get erased while updating bench update , also we are not able to update to version 12.2.3, there is rounding off branch dimension error while cancelling purchase invoice attached screen for review and revert of solution.