What conditions need to be met for a judgment to acquire res judicata effect when adjudicating on a legal proceeding in contrast to another judgment rendered on the same merits between the same litigants? 
The judgment must have been adjudicated on the legal proceeding in contrast to another judgment rendered on the same merits between the same litigants and have acquired the res judicata effect.