Stock gains as quarterly profit beats expectations, while revenue slipped as growth in case volume and price was offset by negative currency moves.