In a management table I have two columns one Status(Coluna A)
and another Estado Anterior status
. In this I want to save the same value as in column A, except for some cases. So it saves a history of status when it is concluído
Ex:
Status Estado Anterior Status
Em contato Em contato
In case it does not change
Status Estado Anterior Status
Concluído Em contato
Ps: I've looked for several code, but can not execute it perfectly.