Keeps initial product quantity unchanged Previously, the product quantity was being decreased as new sales was being created. But the generated product report required to display the original product quantity. After this changes, the original product quantity will remain untouched. A new variable will be introduced to track number of units sold. Available units will be determined on the fly. While editing product, the price and quantity can not be modified after more than 1 units has been sold.