b) Válidos
IERRFECHA
( MGW10048.cError = 0 )
c) R.F.C. no corresponde
( MGW10048.cError = 1 )
f) XML no es CFD/CFDI
( MGW10048.cError = 2 )
a) Todos
IESTFECHA
( MGW10045.cEstado = 11 )
a) Emitidos
( MGW10045.cEstado = 2 ) and ( MGW10045.cEsTrad = 0 or MGW10045.cEsTrad = 3 )
d) Sin emitir
( MGW10045.cEstado = 1 ) and ( MGW10045.cEsTrad = 0 or MGW10045.cEsTrad = 3 )
b) Cancelados
( MGW10045.cEstado = 3 ) and ( MGW10045.cEsTrad = 0 or MGW10045.cEsTrad = 3 )
c) Disponibles
( MGW10045.cEstado = 0 ) and ( MGW10045.cEsTrad = 0 or MGW10045.cEsTrad = 3 )
b) COMERCIAL
( MGW10045.cEstado = 13 )
d) Sin certificado incluido
( MGW10048.cError = 4 )
d) CONTABILIDAD
( MGW10045.cEstado = 14 )
c) COMERCIAL Cancelados
( MGW10045.cEstado = 12 )
e) XML errores varios
( MGW10048.cError = 5 )
Asociados
IEJPETINOP
( MGW10045.cEstado = 13 or MGW10045.cEstado = 14 )
( MGW10045.cEstado >= 12  )
e) BANCOS - COMERCIAL
( MGW10045.cEstado = 13 ) and  ( MGW10045.cPagadoBan >= 1 )
b) BANCOS
( MGW10045.cEstado = 11 ) and  ( MGW10045.cPagadoBan >= 1 )
f) BANCOS - CONTABILIDAD
( MGW10045.cEstado = 14 ) and  ( MGW10045.cPagadoBan >= 1 )
( MGW10045.cEstado >= 11 ) and ( MGW10045.cPagadoBan = 0 )
Seleccionados
( MGW10045.cEstado >= 11 ) and ( MGW10045.cPagadoBan <= 1 )
IDOCTOBAN
( MGW10045.cEstado >= 11 ) and ( MGW10045.cPagadoBan >= 1 )