Dirsovisk

Consulta por perfil de Emissao corrigida

Aug 5th, 2020
2,465
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT
  2.     nfe_notas.codigo, nfe_notas.tva0900, nfe_notas.de_cnpjcpf, nfe_notas.de_inscr_est, nfe_notas.de_razao_social, nfe_notas.de_uf, nfe_notas.nfe_cfop, nfe_notas.nfe_tipo_ass,
  3.     nfe_notas.dt_emissao, nfe_notas.dt_cancelado, nfe_notas.nfe_modelo, nfe_notas.serie, nfe_notas.subserie, nfe_notas.numero, nfe_notas.nfe_hash, nfe_notas.total_nota, nfe_notas.base_calculo,
  4.     nfe_notas.total_icms, nfe_notas.DNRTIT
  5. FROM
  6.     nfe_notas, nfe_perfil_emissao
  7. WHERE
  8.     nfe_notas.dt_emissao >= '2020-07-01'
  9.     AND nfe_notas.dt_emissao <= '2020-07-31'
  10.     AND nfe_notas.nfe_perfil_emissao ='7'
  11.     AND nfe_perfil_emissao.nfe_serie_nota = nfe_notas.nfe_serie_nota
  12. GROUP BY
  13.     nfe_notas.codigo
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×