In the pharmacy and stock control module I followed data integrity and transaction processes. When a medicine is dispensed, decreasing the stock and creating the movement record must be parts of the same operation. If one happens and the other does not, the stock information does not reflect reality. The importance of transaction logic became clear here.
Eczane ve stok kontrol modülünde veri bütünlüğü ve işlem süreçlerini takip ettim. Bir ilaç verildiğinde, stoğun azaltılması ve hareket kaydının oluşturulması aynı işlemin parçası olmalıdır. Biri gerçekleşirken diğeri gerçekleşmezse, stok bilgisi gerçeği yansıtmaz. İşlem mantığının önemi burada açıkça ortaya çıktı.