update prod_nfe set prod_nfe.cfop = ’5102′ where prod_nfe.csosn = ’102′;
update prod_nfe set prod_nfe.cfop = ’5405′ where prod_nfe.csosn = ’500′;
update prod_nfe set prod_nfe.csosn = ’500′ where prod_nfe.cfop = ’5405′;
update prod_nfe set prod_nfe.csosn = ’102′ where prod_nfe.cfop = ’5102′;
update produto a
set a.cod_aliquota = ‘FF’,
a.sit_trib = ‘Substiuicao tributaria’,
a.aliquota = ’0,00′
where a.cod_prod in (
select prod_nfe.cod_prod from prod_nfe where prod_nfe.cfop = ’5405′
)
0 pessoas acharam este artigo útil
0 pessoas acharam este artigo útil