@triud_doc_props_actn_tab.trg;
@TRU_DOCPROP_DESCR_UNIQUE.trg;
@triud_doc_props_actn_doc_descr.trg;
@tsiud_doc_kind_props_actn_run.trg;
@TIUD_DOC_KIND_PROPS_TAB.trg;
@triu_doc_kind_props_actn_ref.trg;
@tu_loop_check.trg;
@tr_resource_delete.trg;
@TR_VOCAB_VALUE_PROTECTION.trg;
@td_doc_kinds_events.trg;
@TI_DOCUMENT_DOCF_NULL.trg;
@TI_DOC_KIND_PROPS_NULL_VALUES.trg;
@TD_DOC_PROPERTIES_CRON.trg;
@TR_AllParameters_id.trg;
@TR_DOCUMENT_ID.trg;
@TR_DOCUMENT_PARENT.trg;
@tiud_vocabs.trg;
@TI_DOC_EVENT_MASK.trg;
@TU_DOC_EVENT_MASK.trg;
@TR_VOCAB_ROLES.trg;
@trid_doc_refs_actn_ctrl.trg;
@tr_contacts_log.trg;
@TD_VOCAB_A.trg;
@TD_VOCAB_B.trg;
@td_doc_check_lock.trg;
@tsd_vocab_run.trg;
@triu_doc_props_actn_round.trg;
@TIU_DOC_KIND_PROP_2_PROPEVENTS.trg;
@t_doc_kind_name_actn_run.trg;

DROP TRIGGER TIU_DOC_FORMZ_PERMISSIONS;

@flags.spc;
@pkg_mdb_report.pck;
@objects.wrapped\action.plb;
@PKG_ID_CACHE.pck;
@PKG_FILE.pck;
@objects.wrapped\PKG_REPLICATION.plb;
@dirlist.jsp
@mdbrep.jsp
@lobcompressor.jsp
@remotelob.jsp
@FTP.pck;
@APPL_LOCK.pck;

drop type t_docf_calc_call_stack;
drop type t_docf_calc_call_stack_list;
drop type t_docf_calc_call_stack_element;

@t_docf_calc_call_stack_element.tps;
@objects.wrapped\t_docf_calc_call_stack_element.plb;
@t_docf_calc_call_stack_list.tps;
@t_docf_calc_call_stack.tps;
@t_docf_xml_prop_value.tps;
@objects.wrapped\t_docf_calc_call_stack.plb;
@objects.wrapped\t_docf_calc_path.plb;
@objects.wrapped\DOCF_CALC_CALL_STACK_COVER.plb;

@objects.wrapped\t_action_docf_kind_prop_gumo.plb;
@objects.wrapped\t_action_docf_kind_prop_ref.plb;
@objects.wrapped\t_action_docf_kind_prop_frgn.plb;
@objects.wrapped\t_action_docf_ref_ctrl.plb;
@objects.wrapped\t_action_docf_ref_frgn.plb;
@objects.wrapped\t_action_docf_prop_values.plb;
@objects.wrapped\t_action_docf_prop_frgn.plb;
@objects.wrapped\t_action_not_docf.plb;
@objects\t_action_events.tps;
@objects.wrapped\t_action_events.plb;

@t_docf_xml_document.tps;
@T_PERMISSION_PROP_REC.tps;
@T_PERMISSION_PROP.tps;
@T_DOCF_VAL.tps;
@T_DOCF_VAL_LIST.tps;
@T_DOCF_NESTED_VAL.tps;
@T_DOCF_NESTED_VAL_LIST.tps;
@T_DOCKINDNAME.tps;
@T_DOCKINDNAME_LIST.tps;
@objects.wrapped\t_docf_xml_document.plb;
@objects.wrapped\t_docf_xml_loader.plb;
@objects.wrapped\t_docf_xml_loader_properties.plb;
@objects.wrapped\t_docf_xml_loader_vocabs.plb;
@objects.wrapped\t_action_docf_prop_res.plb;
@objects.wrapped\pkg_tables.plb;
@objects.wrapped\pkg_xml.plb;
@objects.wrapped\PKG_XML_REPL.plb;
@objects.wrapped\pkg_values.plb;
@objects.wrapped\PKG_IDENTIFY.plb;
@objects.wrapped\RESOURCES_PKG.plb;
DROP PACKAGE documents;
@objects\DOCUMENTS.spc;
@objects.wrapped\DOCUMENTS.plb;
@objects.wrapped\TYPES_CRITERIES.plb;
@objects.wrapped\PKG_PROPERTIES.plb;
@objects.wrapped\PKG_MAILER.plb;

@SEND_MSG.pck;

@user_log;
@modify_log;
@new_objects.sql;
@new_statuses.sql;
@set_ini_params.sql;

@GET_STACK_LOG.fnc;
@GET_QUERY_PERMISSION.fnc;
@WRITE_USER_LOG_EVENT.prc;
@COPY_PERMISSIONS_BY_PROP.prc;
@COPY_PERMISSIONS_BY_STATUS.prc;
@COPY_ROLE_PERMISSIONS.prc;
@GET_SIMPLE_FIELD_OLD.fnc;
@GET_SIMPLE_FIELD_AS_CLOB.fnc;
@GET_LOCKED_DOC_BY_ID.fnc;
@UPDATE_SIMPLE_FIELD_AS_CLOB.prc;
@BLOB_TO_CLOB.fnc;
@CLOB2BLOB.prc;
@UPSET.fnc;
@LOWSET.fnc;
@INIT_PROC.prc;
@CREATE_COPY.fnc;
@DOCF_REPORTS_SV.fnc;
@CREATE_DOCUMENT_EMPTY_WITH_FUN.fnc;
@CREATE_DOCUMENT_EMPTY_BLANK.fnc;
@SET_STATUS2.fnc;
@GET_REFS_COUNT.fnc;
@GET_OBJ_BY_REF_COUNT.fnc;
@GET_UNIQUE_LIST.fnc;
@KILL_SESSION.prc;
@UPDATE_PLURAL_FIELD_AS_NUMBER.prc;
@indexes;

@TUID_PARAM_SYNC.trg;
@TUD_DOCFOLDER_MASK.trg;
@TIU_DOC_KIND_PROPS_RULES.trg;
@ti_reports_list_id.trg;
@td_doc_actn_run.trg;
@TD_DOCUMENT_NOT_DOCF_NULL.trg;
@tru_doc_kind_props_actn_gumo.trg;

@version;
@invalides;
@repair_res_krylia;

exit;
