1s 8.3 zup deleting marked objects. Accounting info. How to mark all documents for deletion at once without checking referential integrity

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 item really needs to 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.

Almost every accountant in the course of his work is faced with the need to delete any document in 1C. If you don’t know how to properly delete documents in 1C, our new article is especially for you.

Almost every accountant in the course of his work is faced with the need to delete some file or document. Deleting a document in 1C is not much different from a similar process when working with the Windows operating system. There are a few important differences though:

    firstly, initially the document that needs to be deleted must be marked with a special sign (if we compare it with Windows OS, we can draw an analogy with moving a file to the trash);

    secondly, direct deletion occurs according to a strictly defined algorithm of actions.

If you are using version 1C 8.2, then in order to delete a file you need:

    right-click on the required document;

    wait until the context menu appears;

    mark a specific file for deletion, for which in the list that appears, select “set a deletion mark”;

    give your consent to the system warning.

You can do it simpler and simply press the delete key after selecting the file to be deleted.


After all these manipulations, you will need to go to the main menu item called “Operations” and select the function of deleting marked objects. The system will give you a warning, which you will need to agree to before the program continues.



Next, the system will open a window in front of you where everything in the databases that are marked for deletion will be listed. From this list you have to select those that you want to delete right now. This can be one document or a whole group. When the file or files you are looking for are highlighted, you need to click the "Control" button. This is required in order to check links.


In the process of these actions, it may become clear that, for example, 1C directories contain links to the document to be deleted, or that the tax invoice contains a link that leads to the file that you are going to delete (an invoice). To be able to complete the deletion process, you will need to open tax invoices or directories, or those documents that contain links to the file being deleted, and delete these same links. First, you will need to once again weigh the feasibility of such actions.




To avoid further confusion, you will need to recheck later after removing all links. And so on until the check shows that there are no links to the file to be deleted in other documents. After this, you will have access to the function of deleting marked objects. To complete the entire process, you will need to click on the “delete” button, after which the file will be deleted permanently.

/
Administration 1C:Enterprise 7.7

By mistake, a document or directory entry that is no longer needed can be deleted. Deleting records in the 1C program occurs in two stages:

First stage :

Marking objects for deletion that need to be deleted.


Manipulating an object's mark in a window Removing marked objects does not in any way affect the deletion mark in magazines and directories.

Postings operations marked for deletion turn off, postings document - are deleted. When the deletion mark is removed, the transactions are not automatically restored.

For recovery transaction postings select a team menu-> ACTIONS-> Enable postings, For document postings you need to open the document and re-run.

Deleting marked objects without exclusive mode.

If 1C is not running in exclusive mode, you will not be able to use standard uninstallation tools - 1C will display the error “”

How to delete marked objects without exclusive mode?

In a situation where it is not possible to run 1C in exclusive mode, but you need to delete marked objects, the “Deletion” processing, which can be downloaded from us, will help: deletion without exclusive access ( author Alexander Shatsky, modified by me: the speed of work has been significantly increased).

You can start processing in the “Enterprise” mode using the menu command file - open.

The interface is similar to standard processing. If you You don’t want to receive an “Object not found” error instead of the filled-in details - delete only with link control, without using the “Delete all” / “Delete links” checkbox.

Why were some objects unable to be deleted?

Such objects are displayed in the "Cannot be deleted" column. During verification (control), the message “*** from *** selected objects cannot be deleted” will be displayed.

Now why can’t some objects be deleted from the 1C database? It’s just that there are links to these objects in the 1C database. Somewhere in directories, documents, movements, this object is indicated and therefore the system cannot delete it. Such situations corrected manually and here you need a good knowledge of the 1C configuration.

All elements where the object being deleted is used are displayed in the "Links to the object being deleted" list. If it is possible to delete all references to the object being deleted, it will be possible to delete the object itself. If you forcefully delete an object, the system line " will appear in place of references to it<

When starting to work in 1C company programs, many people have a question: how to delete unnecessary documents or directory elements? When you click on the "Del" button, the document is only marked for deletion and remains in its place. After reading the article you will know the answer to this question.

Now we will look at how to delete documents in different 1C programs. A common point for all programs is that deletion is only possible in exclusive mode, i.e. No one except you should be working in the program at this moment; it should be closed on all other computers.

Now let’s figure out how to remove unnecessary elements in one of the most popular programs at the moment - 1C: Enterprise Accounting 8, version 2.0.

First you need to switch the interface to Full. Go to the menu item

Tools -> Switch interface -> Full

Now select the item

Operations ->

And we agree that the operation may take a long time. Then in the window that opens, click the “Control” button.

The program begins checking whether other documents contain links to the ones you want to delete. For example, the document “Sales of goods and services” is marked for deletion, but there is a link to this document in the invoice. The program will report this and will not delete the document in this case. In order for a document or directory element to be deleted, you must first remove links to it from all other documents.


Green checkmarks in the figure indicate those documents that can be deleted, and red checkmarks indicate those that have links. The bottom part of the form shows which documents use the object marked for deletion.

After clicking the "Delete" button, those items that are marked in green will be deleted.

In order to delete objects in the new version of 1C: Accounting - edition 3.0, you need to go to the "Administration" tab and select the "Delete marked objects" item.


And starting from version 3.0.34, you need to go to the menu

Administration -> Support and Maintenance -> Deleting marked objects

Then you need to choose whether you want to delete all marked objects or just some of them.

In the program 1C: Integrated automation 8 and 1C: Salary and personnel management 8 you also need to switch the interface to “Full” and go to the menu

Operations -> Deleting marked objects

In conclusion, I would also like to note that documents that are marked for deletion but are found in a closed period (a date for prohibiting editing has been set) will not be deleted. Therefore, it is better to do everything in a timely manner, for example, once a month or before starting preparation for reporting.

And if you need more information about working in 1C: Enterprise Accounting 8, then you can get our book onlink.

Suitable for 1C 8.3 ZUP, 1C 8.3 Trade Management, 1C 8.3 Accounting and other 1C 8.3 configurations. Let's study the launch mode of the 1C 8.3 program Managed application.

Not everyone knows that this treatment actually replaced the treatment Universal selection and processing of objects. And the mark for deletion in 1C 8.3 is considered a service attribute of the object. Therefore, we can talk about changing the document details if you want to mark the document for deletion.

How to mark for deletion in the document journal

It makes sense to use the processing discussed above in 1C 8.3 for complex selections and a large volume of deleted documents. If you delete documents from one document journal, you can proceed as follows.

Step 1

In the open journal of Implementations documents, we set the selection for the counterparty “Carpenter+” and the Organization “Ivanov IP”:

Step 2

Click Ctrl+A– mark all selection documents, then while pressing the key Ctrl Click on the document that does not need to be deleted. For example, sales less than 10,000 rubles. Thus, we selected the necessary documents according to the example, which are highlighted in color (in this case yellow):

Step 3

Right-click on the list. In the drop-down context menu (or by clicking the More) select the desired command Mark for deletion/Unmark:

We get the result - 6 selected documents are marked for deletion:

How to mark for deletion using processing Universal selection and processing of objects

There is special processing for Information Technology Support (ITS) subscribers UniversalSelectionAndProcessingObjects.epf. You can find it on the ITS disk in the directory \1CITS\EXE\ExtReps\Unireps82\UniversalSelection\ or by searching in the online version of the ITS.

True, it only works when running 1C 8.3 in normal application mode. For a managed application, you can find similar treatments on developer sites.

We will use processing for ITS subscribers. To do this, we will configure the launch of the 1C 8.3 program in normal mode. Let's look at an example in the 1C 8.3 ZUP 3.0 program. We launch the 1C ZUP 3.0 program in Configurator mode. On the menu Service Parameters on the bookmark Launch of 1C Enterprise put a dot, as in the figure below, at the application Thick client (regular application):

Click apply. We launch the 1C ZUP 3.0 (8.3) program in mode Enterprise(you can use the F5 button from the configurator). Now you can from the menu File – Open select processing from the directory where it is installed (or you can connect it).

Problem to be solved: Mark all documents for deletion Payroll and contributions for the Main Division for the period February-June 2016. for organizing Ideal in 1C 8.3 ZUP 3.0

Step 1

In the Search Object window, start typing the word “accrual”. The 1C ZUP 3.0 (8.3) program will offer options in the drop-down list. Selecting an object Calculation of salaries and contributions:

Step 2

On the Selection by details values ​​tab, use the “green button with a plus” to add selections, and set the condition: date > 02/01/2016, since the 1C 8.3 ZUP database contains the latest documents for June 2016:

Step 3

Click on the button Find Objects. We get the result. If we don’t want to mark an object for deletion, then uncheck the box next to it:

Step 4

Go to the bookmark Processing. Selecting processing Mark for deletion By clicking on the arrow, move it to the right side of the window - Selected treatments. Click Run. We get the result:

Step 5

Next, open the Payroll journal. We see that all payroll documents from February for the “Ideal” organization (except for the document for not to the Main unit) are marked for deletion. Let's open a document that is not marked for deletion. We see that it is formed according to Division 2:

How to mark all documents for deletion at once without checking referential integrity

For example, this method can be used when a 1C 8.3 user decides to completely clear the 1C 8.3 database of documents, and use the existing directories and settings to keep records for another organization.

In the Main Menu (triangle in the upper left corner) select All functions. Finding processing

On the bookmark Deleting data With this processing, you can select not only all documents to be deleted at once, but also set individual types of documents and the deletion period. By default in 1C 8.3 there is a checkmark Delete objects, for which you have access rights:

We tick all documents. All you have to do is press the button Delete. But, please note that without referential integrity control, it makes sense to delete configuration objects when cleaning the 1C 8.3 database or when debugging the transfer (warning message from the developers). In other cases, it is better to mark objects for deletion.