The court may, either of its own motion or upon the application of the district attorney, and in furtherance of justice, order the proceedings to be dismissed. The reasons for the dismissal shall be set forth in the order, which shall be entered in the register.
ORS 135.755