1
I have a question, a customer reported that there was an error in the registration of his products, and the employees registered the cost price as the price practiced and vice versa.
Could I run an update by Postgresql, by changing the cost prices to the prevailing price?
In fact it’s the opposite, I have to take the cost price, and insert in the price the column vlpreco is the one that has to be inserted in the column clprecoant
If I understand correctly you want to take the value contained in the price attribute practiced and insert in the cost price attribute and then delete the attribute of the price practiced. correct? If this is the case, post an image of the table structure.
– Rafael Salomão