I have a program to handle sales and inventory of businesses (of all dimensions) and i\'ve made it so everytime it interacts with the data stored in the database a function