Professional Documents
Culture Documents
SQL Pco
SQL Pco
-- Itens Orçamentarios
select * from ak2010 ak2 where ak2.D_E_L_E_T_ <> '*';
-- Estrutura Do Orçamento
select * from ak3010 ak3 where ak3.D_E_L_E_T_ <> '*' and trim(ak3_orcame) =
'FIEMT_2021' --and ak3_descri like '%trein%';
-- Contas Orçamentárias
select * from ak5010 ak5 where ak5.D_E_L_E_T_ <> '*' and ak5_codigo = '21011401024
';
-- Classes Orçamentárias
select * from ak6010 ak6 where ak6.D_E_L_E_T_ <> '*';
-- Centro de Custo
select * from ctt010 ctt where ctt.D_E_L_E_T_ <> '*' and ctt_desc01 like '%capacit
%';
-- ct1
select * from ct1010 ct1 where ct1.D_E_L_E_T_ <> '*' and ct1_desc01 like '%trein%';
-- Lançamentos
select * from akd010 akd where akd.D_E_L_E_T_ <> '*' and akd_co = '21011401024
' and nvl(trim(akd_codpla),' ') = ' '; --and akd_tpsald = 'RE' and akd_data >=
'20210101';
-- tipos de saldo
select * from al2010 al2 where al2.D_E_L_E_T_ <> '*';