Está en la página 1de 1

G014296

----------------------------------------------------------
SELECT G0168POSICIONCUOTA, COUNT (G0168POSICIONCUOTA)
FROM AG00T00.GIT0168
WHERE G0168IMPUESTO = 7
AND G0168POSICIONANIO = 2022
AND G0168MARCAANU = ' '
AND G0168CONCEPTO = 5215
GROUP BY G0168POSICIONCUOTA
;

G014297
--------------------------------------------------------

SELECT G0170POSICIONCUOTA, COUNT (G0170POSICIONCUOTA)


FROM AG00T00.GIT0170
WHERE G0170IMPUESTO = 7
AND G0170POSICIONANIO = 2022
AND G0170MARCAANU = ' '
AND G0170CONCEPTO = 5215
GROUP BY G0170POSICIONCUOTA
;

cantidad de cuotas 90 se emitieron en 2022 que no se encuentren anuladas (git0168)


y cantidad de pagos concepto 5215 en 2022 que no se encuentren anulados (git0170).

+-------------------------------------+
| G0168POSICIONCUOTA | |
+-------------------------------------+
| 90 | 259369 |
+-------------------------------------+

+-------------------------------------+
| G0170POSICIONCUOTA | |
+-------------------------------------+
| 90 | 167672 |
+-------------------------------------+

También podría gustarte