Current deletion logic allows deletion via goods name. Hence, if Bread has been supplied by two suppliers, deletegoods gn/Bread will result in both suppliers records being deleted. As such, delete goods should consider both goods name and supplier name to ensure data integrity.
Current deletion logic allows deletion via goods name. Hence, if
Bread
has been supplied by two suppliers,deletegoods gn/Bread
will result in both suppliers records being deleted. As such, delete goods should consider both goods name and supplier name to ensure data integrity.