worker-automate-hub 0.4.330__py3-none-any.whl → 0.4.331__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -2378,10 +2378,17 @@ async def error_before_persist_record() -> RpaRetornoProcessoDTO:
2378
2378
  for control in all_controls_from_error:
2379
2379
  control_text = control.window_text()
2380
2380
 
2381
- if capturar_proxima_mensagem:
2381
+ if "que a data de entrada" in control_text:
2382
+ return RpaRetornoProcessoDTO(
2383
+ sucesso=False,
2384
+ retorno=f"Erro ao incluir registro, As datas das parcelas não podem ser menores que a data de entrada da nota: {control_text} \n",
2385
+ status=RpaHistoricoStatusEnum.Falha,
2386
+ )
2387
+
2388
+ elif capturar_proxima_mensagem:
2382
2389
  return RpaRetornoProcessoDTO(
2383
2390
  sucesso=False,
2384
- retorno=f"Pop-UP Erro após a importação do arquivo, erro do banco de dados: {control_text} \n",
2391
+ retorno=f"Erro ao incluir registro: {control_text} \n",
2385
2392
  status=RpaHistoricoStatusEnum.Falha,
2386
2393
  )
2387
2394
  except:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: worker-automate-hub
3
- Version: 0.4.330
3
+ Version: 0.4.331
4
4
  Summary: Worker Automate HUB é uma aplicação para automatizar rotinas de RPA nos ambientes Argenta.
5
5
  Author: Joel Paim
6
6
  Requires-Python: >=3.12,<4.0
@@ -64,10 +64,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
64
64
  worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
65
65
  worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
66
66
  worker_automate_hub/utils/updater.py,sha256=0LR6Xpe3HZk-xu-trH7vKRhP5FXp0nhp1qxtygE2Jps,7280
67
- worker_automate_hub/utils/util.py,sha256=YSSgkrbzabIkyy8W4GXpfu0tCPBVp1lddg1BYIuXJks,118568
67
+ worker_automate_hub/utils/util.py,sha256=Wt37CS6zt5be0_mGy8iIeqnYdObUKbHWvj7agcnYx1U,118884
68
68
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=VowHS7r3wRv3f-KAyJAqZLhe7Dkwj8CVaWGNNAQP9YY,27389
69
69
  worker_automate_hub/worker.py,sha256=vkl_x7gSo6nQlhSBLwRkGx6LEONnYptfBaGxOy1ZLsE,4634
70
- worker_automate_hub-0.4.330.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
71
- worker_automate_hub-0.4.330.dist-info/METADATA,sha256=zjdYXXiZcxwEJG6vDdHxMg8YiKC_xGII4gmaaarzhBg,2884
72
- worker_automate_hub-0.4.330.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
73
- worker_automate_hub-0.4.330.dist-info/RECORD,,
70
+ worker_automate_hub-0.4.331.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
71
+ worker_automate_hub-0.4.331.dist-info/METADATA,sha256=lTXYhsLmlZ0W39Lgf5b8A8pCKHebJDL7rKbSJ23lqiA,2884
72
+ worker_automate_hub-0.4.331.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
73
+ worker_automate_hub-0.4.331.dist-info/RECORD,,