He visto este fragmento de codigo en uVerifactuFuncs:
Código Delphi
[-]
if afactura.exenta[j].baseImp<>0 then
begin
if not ExisteTipoExenta( afactura.exenta[j].tipoExenta ) then exit;
if afactura.exenta[j].calificacionOperacion<>'' then
if not ExisteCalificacion( afactura.exenta[j].calificacionOperacion) then exit;
if not ExisteTranscendencia( afactura.exenta[j].claveRegimen ) then exit;
end;
y creo que modificandolo de la siguiente manera quizás resolvería el problema, dado que repito tipo exenta y calificacion de la operación son excluyentes una y la otra:
Código Delphi
[-]
if afactura.exenta[j].baseImp<>0 then
begin
if afactura.exenta[j].tipoExenta<>'' then
if not ExisteTipoExenta( afactura.exenta[j].tipoExenta ) then exit;
if afactura.exenta[j].calificacionOperacion<>'' then
if not ExisteCalificacion( afactura.exenta[j].calificacionOperacion) then exit;
if not ExisteTranscendencia( afactura.exenta[j].claveRegimen ) then exit;
end;
No se si debería recompilar la dll, lo he intentado con 10.2 y me da errores por todos los lados.
Un saludo,
Ramiro