Wal-Mart Stores Inc. will get another chance to argue its case that it shouldn’t have to pay millions of dollars in overtime to pharmacists.

The 10th U.S. Circuit Court of Appeals ordered a new hearing in the case, saying Tuesday a federal judge that ruled the company had violated the law by failing to pay the overtime acted too quickly and should reconsider the evidence.