
/*------ ATD 353391 ------*/
INSERT INTO OPCSISTCAD (codsis,codopc,nomeopc,ativado,numeroativ,mediauso,numdemeses,usoultmes)
SELECT 'FAT', '1.20', 'Demonst. Saldo pedidos pendentes', 'S', 0, 0, 0, 0
FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM OPCSISTCAD WHERE CODSIS='FAT' AND CODOPC = '1.20');
commit;
