A state appellate court has reinstated a lawsuit brought by a woman who claims that her New York attorney sexually harassed and discriminated against her when she was his potential client.