During the cancellation the system verifies if in a warehouse there is any quantity of a resource from delivery as that which was subject to devaluation. In case the quantity:
- is available – the value of a resource in a warehouse is update by the amount which was devaluated for that resource
There are 5 pcs of item Scarf from document POR/2016/00001 for 1.00 USD/pcs available in the outlet warehouse before the devaluation – resource value is 5.00 USD. Price of the item was reduced on the devaluation document to 0.90 USD. Delivery status after devaluation: 5 pcs * 0.90 USD = 4.50 USD Delivery status after the release with the use of the document SOR/2016/00002 1 pcs * 0.90 USD = 0.90 USD Delivery status after devaluation: Value: 1.40 USD (0.90 USD resource value + 0.50 USD from the canceled devaluation)
- is not available – a CC is generated. A CC generated this way is not associated with any warehouse document.
There are 10 pcs of item Tie from document POR/2016/00002 for 10.00 USD/pcs available in the complaint warehouse before the devaluation – resource value is 100.00 USD. Price of the item was reduced on the devaluation document to 9.00 USD. Delivery status after devaluation: 10 pcs * 9.00 USD = 90.00 USD Resource status after the release: No resource. CC document for the complaint warehouse was created. CC value: 10.00 USD