!--a11y-->
Consequences of Changing
Confirmations 
You control how the system reacts to confirmation changes by making settings in Customizing for Purchase Orders.
The following transactions are used for confirmations:
· ME22N/ME22N for creating/changing purchase orders
· VL31N/VL32N for creating/changing confirmations
Confirmations must be goods receipt relevant.
Whenever you enter a shipping notification, the system copies the amount contained in the shipping notification to the schedule lines in the sales order.

For example, suppose you have a sales order for 1000 pieces and you assign a purchase order for 1000 pieces to it. You then receive a shipping notification for 600 pieces. In this case, the system assigns 600 to the sales order schedule line and decreases the amount in the purchase order by the same amount. The purchase order now reflects only the outstanding 400 pieces.
When the system creates these assignments, it compares the schedule line date (EDATU) to the confirmation date (EINDT). It then checks the deallocation rule in ARun Customizing for Purchase Orders. If the difference between the two dates exceeds the No. of days setting in the deallocation rule, the system either proceeds with the deallocation, generates an error or warning message, or takes no action. If the goods receipt date of the confirmation does not match the safety window, the system will not make any assignments for the confirmed quantity (confirmation). See the deallocation rule discussion in Consequences of Changing Purchase Orders.
Similarly, whenever you change a confirmation, the system compares the dates before and after the change and again checks whether the new planned goods receipt date is still within the confirmation safety window.
If you delete a confirmation, the system removes the quantity of the shipping notification from the sales order schedule line and restores it to purchase order.

You have a sales order for 1000 pieces and a purchase order for 3000 pieces assigned to this sales order. You receive the following shipping notifications (SN):
· SN1: 800 pieces
· SN2: 300 pieces
· SN3: 1900 pieces
The first 800 pieces from SN1plus 200 of the 300 pieces from SN2 are assigned to the sales order.
If you now delete SN1, the system would restore the allocations to the purchase order in case the restore flag in the deallocation rule customizing is checked. Hence, the allocations to the sales order would be:
· PO : 800
· SN2: 200