Sequences are the applied configuration objects. They are intended to ensure the control of the correctness of changes applied by the documents in the accounting data. In addition, the sequences, in case of need, allow restoring the correct map of the changes.

The algorithm of document conduction usually reflects in the accounting of the data contained in the document itself. However, in some cases the algorithm of document conduction analyzes also the current results using them during conduction. For example, if the document writes-off the goods or materials with an average prime cost, then, to determine the sum of writing-off, the algorithm of conduction will analyze the remains of goods in the numerical and summation expression at the moment of writing-off.

Let us suppose that it was recorded 10 units of goods with 26 rubles as received by purchase invoice. Then the remains of goods in the enterprise will be equal to 260 rubles in the summation expression. After that, all the goods have been sent to the client. During conduction of sales invoice the remains of these goods were analyzed and it was calculated that the average prime cost of the unit of goods is equal to 26 rubles. As a result of these actions, the remains of goods in the enterprise both in the summation and numerical expression are equal to zero:

1C:Enterprise 8 - Sequence

In a few days after that, an error is discovered in the purchase invoice: it turns out that a prime cost of the unit of goods is not 26, but 20 rubles. In the purchase invoice the corresponding changes were applied, and it was conducted over again. As a result, it was found that the data in the accounting system are incorrect, since all the subsequent documents still apply the changes based on the old prime cost of the goods and "do not know" that it was changed:

1C:Enterprise 8 - Sequence

In order to avoid such situation, these two documents can be merged in a single sequence. Then, in case of changing the purchase invoice, the system will automatically determine that the document sequence is broken and can re-conduct all the subsequent documents that can depend on the results of purchase invoice conduction. In other words, the sales invoice will be checked over again and, when analyzing the remains of goods, the new prime cost (20 rubles) will be received with which the goods will be written-off.

The above example is a fairly simple, however, in the real application solutions the mutual influence of one documents to another can be very complex. Therefore, the system allows creating in a single application solution an arbitrary number of document sequences:

1C:Enterprise 8 - Sequence

The sequence allows describing the documents which will be related to this sequence, as well as a list of accounting mechanisms of application solution the modification of which must result in re-conduction of the documents of a given sequence:

1C:Enterprise 8 - Sequence

The mechanism of sequences allows more delicate configuring, if it is necessary to make the sequence taking into account not all, but quite certain situations. In this case, it is possible to specify for sequence the measures, and only those documents will be re-conducted that applied the changes in the accounting mechanisms according to the values of measures.

1C:Enterprise 8 - Sequence

Leave a Reply

Your email address will not be published. Required fields are marked *

1C:Enterprise Developer's Community