1c 8.3 deleting marked objects. Processing “Deleting marked objects”

Send this article to my email

When trying to delete an unnecessary system object (directory item, document, report option, etc.), the user will not be able to permanently remove it from the 1C database; he can only set a mark for deletion. Therefore, the question arises - How to delete marked objects in 1C 8.3?

In this article we will look at how to complete this process. The deletion functionality for many configurations is identical and the described technique is suitable for UT, ERP, Accounting and ZUP.

To completely remove an object from the 1C database, you must run the Deletion of marked objects processing. This was done not to complicate the work of users, but to avoid errors. For example, if you remove the counterparty to whom the sale is registered, the products will be sold to no one. Therefore, it is impossible to simply remove objects from the system; you must first make sure that it is not used anywhere and its absence will not lead to errors in the program, and it is for this purpose that the Deletion of marked objects processing is provided.

Thus, in 1C, deletion is performed in two stages:

 Setting a mark for deletion in 1C;

 Final removal by processing if the object is not involved in any way in the system.

How to set a deletion mark in 1C 8.3?

To set a mark for deletion in 1C, select the desired reference book/document (you can also select a list of objects at once), in the More menu, select the Mark for deletion/Unmark command (in some magazines an icon of this command is displayed) or press the delete button on your keyboard . The system will ask you to confirm your intentions and after that the mark will be checked.

Please note that if you try to set a mark on an already marked element, the reverse action will be performed - unchecking it.

How to delete marked objects?

In Accounting and ZUP, processing is available in the Administration section, in UT and ERP in the Master Data and Administration → Support and Maintenance section. And if you suddenly forgot in which section to look for the desired system object, you can always use the All functions section.

Processing Removal of marked objects is controlled by referential integrity, i.e. if the object being deleted has references in other objects, the deletion procedure will not be performed.

Two processing modes are available, automatic and manual (selective), and you can also set up a routine task for automatic removal according to a given schedule.

In selective mode, the system will display all items marked for deletion, grouped by type. Using the checkboxes, you can select objects that you want to permanently remove from the system. By double clicking the mouse you can open the object. After the selection is made, you need to click Delete and the process of clearing the database of marked objects will begin.

At automatic mode this process will be launched immediately.

As a result, regardless of the selected mode, processing will attempt to delete all objects that have the mark. If deletion is not possible, a list of non-deleted objects will be displayed with links to their places of use.

The options available in this case are:

 Mark the places of use for deletion and try to delete again.

 Make corrections at points of use. For example, if you need to delete an employee who is in the Hiring list document, you need to delete him from this document.

 Perform the replacement procedure using the Replace command. A list of similar items for replacement will be offered. For example, if you need to replace a characteristic of an item in a document, a list of characteristics of the same item will be offered.

To automatically perform the procedure using a scheduled task, you need to set the Automatically delete marked objects on a schedule flag in processing and configure the schedule.

The 1C 8.3 program does not allow you to delete directories and documents in the database immediately, without additional checks. This is done in order to avoid possible errors. For example, if you want to delete an item that is included in a document, you cannot do this.

Let's look at how to delete documents and directories marked for deletion in 1C 8.3. Removal in 1C 8.2 is slightly different, but has a similar algorithm.

Deleting objects in 1C occurs in two stages:

  1. Mark for deletion— setting a sign that a document or directory is planned to be deleted. This element is no different from others; it can also be selected in other objects.
  2. Direct removal— a special procedure during which the system controls whether there are links to a given object in the database. After reference control, 1C makes a decision: whether the object marked for deletion can be deleted or not.

Let's look at these two steps. The instructions are absolutely universal and are suitable for all configurations on 1C 8.3 - Accounting, ZUP, Trade Management, ERP, Small Firm Management and so on.

Setting a mark for deletion in 1C is very simple. Simply select the document or reference book you are interested in from the list and press the “delete” button:

After which you need to confirm your intention. You can now see a special note in the log:

This means that the next time you delete objects through special processing, the system will offer to delete this item of the nomenclature.

How to delete objects marked for deletion in 1C 8.3

The second stage is directly deleting what is already marked in the 1C database. This is done using a special service processing “Deleting marked objects”. It is located on the “Administration” tab:

Get 267 video lessons on 1C for free:

When opening, 1C will give us two options to choose from - automatic deletion of all objects and selective deletion:

Selective can be useful to remove a specific object. For example, select “Automatic mode” and click “Delete”. The deletion of all objects marked for deletion in the system will begin. At the end of the work, the system will display conflict situations—objects that are marked for deletion but are included in accounting:

Here you need to make a choice. For example, we marked “Board 4000x200x20” for deletion, but it is included in the “Operation” and ““ documents. If we don’t need these documents either, we simply mark them for deletion and click on the “Repeat deletion” button. If documents are needed, it is worth thinking about whether this item should not be marked for deletion.

In our example, I decided that I didn’t need these documents in the database either, so I checked them. As a result, the system deleted both the interfering item and the unnecessary document:

That's all, now you know how to delete documents and directories from 1C 8.3.

Automatic deletion of directories and documents

In the process of work, almost every accountant encounters situations when, for one reason or another, it is necessary to delete either a document or an element of the directory. In the 1C program, deletion occurs according to a procedure similar to deleting files in the operating room Windows system, but with a number of differences. Those. First, the item to be deleted is marked with the appropriate sign, i.e., as if placed in the trash. Physical removal is carried out after performing a certain algorithm of actions. How to delete documents marked for deletion in 1C.


Complete deletion occurs after checking all possible links in the information database. Often, differences in the format of the actions performed cause confusion and difficulties for program users. Now we will deal with the issue of deleting documents in different versions of the 1C program. It is worth noting that this procedure is almost the same in different program configurations.

In 1C version 7.7, to delete a document, you need to select the exclusive operating mode when entering 1C:Enterprise mode. Actually, exclusive mode is not needed to mark for deletion, but it is necessary to physically delete marked objects.

After logging in, select the desired entry in the journal and right-click on it, then select “Mark for deletion.” After this, the document or directory element will change its icon to an icon with a cross. Pressing the “Del” key on the selected element will have the same effect.

After this, the document is considered deleted and does not participate in calculations performed automatically by the program. However, it remains in the information base. To completely remove it, proceed to processing that deletes marked files. To do this, close all windows in 1c and click the main menu item “Operations” and the submenu “Deleting marked objects...”.

Agree with the proposal to continue the operation.

In the window that opens, you will see a list of all documents or directory elements to be deleted. In our case, this is only one document.

The top menu buttons control actions on documents. A button with an icon of installed checkboxes will highlight the entire list of documents. The next button with empty cells will clear the selected list. The third button opens the selected document.

Select the documents or directory elements that need to be physically deleted and click the “Control” button. This button analyzes reference links with the selected document. Note that the “Delete” button is not available before control. After control check, if there is a problem-free option to delete an element, the “Control” button becomes unavailable and the “Delete” button becomes available. To physically delete a document, simply click the “Delete” button and agree to the final warning.

The document has been deleted.

However, there are cases when the check of reference relationships ends with the discovery of relationships with the selected document of other documents. In this case, do not yet remove all detected links to the document being deleted complete removal it will be impossible to do.

****************************************************************

In 1C version 8.2, to delete a document, you need to select the document to be deleted and press the right button to display the context menu. Next, you need to select “Set deletion mark” and agree to the warning. These actions will also occur when you press the “Del” key.

Yes, 1C 8.2 is not 7.7, even the deletion mark on the document is suspiciously long.

We agree with the warning about the duration of the operation.

In the window that opens, we see a list of database elements marked for deletion. The assignments of the control buttons are similar to those discussed in the section for 1C version 7.7. List selection of documents, list deselection, and opening of the selected document are available.

Select the desired element or group of elements and click the “Control” button to check the links. After checking, it turned out that there is a link to the Expense Invoice document that we are deleting in the Tax Invoice document. Let's delete the link to the consumable patch and check the links again.

After deleting the link, we carry out repeated control, after which it becomes possible to delete the selected invoice.

By clicking the “Delete” button, we delete the document permanently.


Download illustrated instructions:

You can discuss the operation and ask questions about it at.

The software product “1C 8.3” does not allow documents and reference books in the database to be deleted immediately, without checks. This, of course, is done in order to avoid possible errors. For example, if you want to delete an item that is included in a document, then this is not allowed.

In this material we will look at how to delete directories and documents marked for deletion in the above-mentioned software product.

In the 1C program, object deletion is carried out in 2 stages. The first of them is a mark for deletion. This is an indication that a directory or document is planned to be deleted. Such an element is no different from others; it can be corrected in other objects. The second stage will be the actual removal. This is a special procedure during which the system checks whether there are links to the selected object in the information database.

Now let's look at these two stages in more detail. It is important to say that the proposed instructions are absolutely universal and are suitable for all configurations on “1C 8.3”: “Trade Management”, “”, “Accounting”, “”, “Small Firm Management”, etc.

First stage - mark for deletion

In “1C” it ​​is very easy to set a mark for deletion. To do this, you just need to select the directory or document that interests us and press the “delete” key:

Once done, you must confirm the desired operation. A special note will appear in the journal:

This means that when deleting objects using special processing, the system will prompt you to delete this item of the nomenclature.

How to delete designated objects in 1C 8.3?

The next, second stage is directly deleting objects marked in the database. This is done with the participation of a special service processing called “Deleting marked objects.” It is located on the tab called “Administration”:

During opening, “1C” will give you a choice of 2 options - selective deletion of all objects and automatic:

Selective can be useful for deleting specific objects. For example, you can select “Automatic mode” and press the “Delete” button. All objects detected in the system will be deleted. At the end of the work, the system will display conflict situations: objects that participate in accounting, but are still marked for deletion:

Here you need to choose. For example, the item “Board 4000x200x20” in this case is designated for deletion, but it is included in the documents called “Production report for the shift” and “Operation”. If these documents are not needed, then you just need to mark them for deletion and press the button called “Repeat deletion”. If documents are needed for work, then you need to think about whether this nomenclature must be deleted. In our example, we decided that we do not need these documents.

Now it’s clear how you can delete directories and documents from 1C 8.3.

Deleting documents and reference books automatically

In the 1C 8.3 platform it is now possible to delete detected objects automatically. This possibility became a reality with the participation of the so-called regulatory task. The system performs this procedure according to a schedule. It will only take 3 minutes of your time.

To configure, you first need to go to the tab called “Administration”, then - “Support and Maintenance”, where there is a checkbox “Automatically delete detected objects on a schedule”:

When you click on it, the system will offer the required option:

We recommend that you leave the default settings and simply click on the “OK” button. In this case, deletion of marked objects will be carried out at night, because at this time, as a rule, no one is working in the program.

In the 1C program, almost no object can be physically deleted immediately. This feature can be configured in roles (the “delete” and “interactive deletion” rights). Typically, the developer does not allow such actions to be performed in order to avoid disastrous consequences in the future.

Marking for deletion means that the object is no longer relevant for the user. When a mark is placed on a document, its posting is automatically cancelled.

Example of deleting a directory item Nomenclature

In our example, we will delete an element, but the process of deleting a document or any other object is no different from the instructions given.

Let's set a checkbox for deletion directly from the list form of this directory. To do this, select the position we need and press the Del key on the keyboard (or use the context menu).

The program will ask us a question about the need (or removal) of the deletion mark. Let's answer “Yes”.

After this, a sign will appear next to the selected directory element. We remind you that if a configuration object has delete or interactive delete rights, then using the Shift+Del combination you can immediately delete it physically.

Now we can proceed to directly deleting our directory object. If you do not have access to this functionality, it means that you do not have the appropriate rights to it.

Select the “Delete marked objects” item in the “Administration” menu.

This functionality is also available in the “All functions” menu.

In the window that opens, the program will ask you to choose whether you want to delete all objects marked for deletion or only some. In our example, we will only delete the item “Edged board 50*250*300”.

For some time, the system will calculate whether other infobase objects reference our board. As a result, the program gave us a notification that deletion was impossible.

In order for our item to be deleted, we need to mark all objects in the table on the right for deletion. Another option is to replace our object with another everywhere.

You shouldn't have any problems marking related objects for deletion, so we'll choose a replacement.

Click on the "Replace..." button.

Let's select the item that will be replaced in all related objects. After this, you will again be presented with a window to delete again. This time everything went well, as the program notified us about.

Automatic deletion of marked objects according to schedule

In newer versions of the 1C program (starting from 8.3), the developers have added a very convenient feature automatic deletion marked objects according to schedule. Let's look at how to make this setting.

In the form that opens, go to the “Routine Operations” section and check the box “Automatically delete marked objects on a schedule.” After this, the “Set up schedule” hyperlink will become active for you. Follow it.

A standard form for setting up a schedule will open in front of you. If necessary, you can change the default values, but so that the start time of this routine operation does not coincide with the working hours of your organization’s employees.

Publications on the topic