
Consistency Check in the Derivation - Example
The following examples explain the different situations that are recognized by the derivation’s consistency check:
Starting point:

Order 123 produces batch C using component batches D and E.
Order 124 produces batch A using component batches B and C.
Derivation:
Batch A receives the expiration date.
The selection rule for the expiration date is minimum.
A derivation took place, in which the batches B and E each sent their expiration date. The expiration date of batch B has been transferred, since it is smaller than that of batch E.
Result:
Batch A’s expiration date is now 04.20.
Example 1:
Change:
Batch E is replaced by batch X in order 123.
The consistency check converts the status of this derivation due to the change.

Example 1.1:
The expiration date of batch X is 4.1:
The expiration date 04.20 of batch A is now incorrect and must be corrected to by the new value 04.01. After this correction, the status of the derivation can be set to manually confirmed.
Example 1.2:
The expiration date of batch X is 5.1:
The 04.20 in A is still correct. The status of the derivation can be set to manually confirmed without any further corrections.
Example 2:
Change:
Batch C is replaced by batch X in order 124.
The consistency check converts the status of this derivation due to the change.

Batch X was produced from batches Y and Z. Batch Z would also be a sender for a new derivation.
Example 2.1:
The expiration date of batch Z is 4.1:
The 04.20 in A is incorrect and must be corrected (new value 04.01). After this correction, the status of the derivation can be set to manually confirmed.
Example 2.2:
The expiration date of batch Z is 05.1:
The 04.20 in A is still correct. The status of the derivation can be set to manually confirmed without any further corrections.
Example 3:
Change
Batch C is replaced by batch X in order 123.
The consistency check converts the status of this derivation due to the change.

Batch C is still entered as a component in order 124. Batch E is no longer contained in the batch where-used list for batch A. You can only make the necessary correction after you adjust order 124. Until then, in this example, the 04.20 in batch A would formally be correct.