1
I’m racking my brain here to get to a common denominator, I have a system in Delphi with Postgresql, this system has a budget session
I need to control the changes made in these budgets by placing version number, that is to each change requested by the customer the seller forwarding a new budget has to register in the system each change.
Example: Seller sent 10 items, customer asked to leave only 9
Thus the first budget would be: 1.00, but the second 1.01
I’m gonna need to control everything, everything, even a comma.
I was thinking of cloning the tables (6 tables) that are used in this budget and storing the records in them whenever there is a update, but I can see that it will be very difficult to maintain this mirroring.
I ask colleagues if they’ve ever needed something like this and if they can contribute ideas, I work alone so I came to you.
You can place the structure of your tables?
– Roberto de Campos
Will you need to go back to the "version" of the budget? Or would it be another Log?
– David
I will have to make it available to the seller to view the old budget and if I need to send to the customer to do the confrontation, IE he will have the option to see and print the old budget, so I was thinking of cloning everything.
– Marcelo
David you quoting a log gave me an idea here, I can make a table as change log and save the budgets sent to PDF clients in a folder on the server.
– Marcelo
@Marcelo Did the answer solve what was in doubt? Do you need something better? Do you think it is possible to accept it now?
– Maniero