bug fix* IsEditOrViewMode parameter added. If it equal to 1 then Audit or Cameral process can be non closed