...
update c_invoice
set dateinvoiced = '2016-08-15 00:00:00'
where dateinvoiced = '2016-08-17 00:00:00' and docstatus = 'DR'
2. Atualizar datas de emissão na nota fiscal
begin transaction;
...
...
update c_invoice
set dateinvoiced = '2016-08-15 00:00:00'
where dateinvoiced = '2016-08-17 00:00:00' and docstatus = 'DR'
2. Atualizar datas de emissão na nota fiscal
begin transaction;
...