worker-automate-hub 0.5.41__py3-none-any.whl → 0.5.43__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- worker_automate_hub/tasks/jobs/entrada_de_notas_505.py +16 -4
- {worker_automate_hub-0.5.41.dist-info → worker_automate_hub-0.5.43.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.41.dist-info → worker_automate_hub-0.5.43.dist-info}/RECORD +5 -5
- {worker_automate_hub-0.5.41.dist-info → worker_automate_hub-0.5.43.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.41.dist-info → worker_automate_hub-0.5.43.dist-info}/entry_points.txt +0 -0
@@ -340,6 +340,18 @@ async def entrada_de_notas_505(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
|
|
340
340
|
await incluir_registro()
|
341
341
|
|
342
342
|
await worker_sleep(6)
|
343
|
+
|
344
|
+
# Verificando a existencia de erros
|
345
|
+
erro_pop_up = await is_window_open("Erro")
|
346
|
+
if erro_pop_up["IsOpened"] == True:
|
347
|
+
error_work = await error_after_xml_imported()
|
348
|
+
return RpaRetornoProcessoDTO(
|
349
|
+
sucesso=error_work.sucesso,
|
350
|
+
retorno=error_work.retorno,
|
351
|
+
status=error_work.status,
|
352
|
+
tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
|
353
|
+
)
|
354
|
+
|
343
355
|
nf_imported = await check_nota_importada(nota.get("nfe"))
|
344
356
|
if nf_imported.sucesso == True:
|
345
357
|
await worker_sleep(3)
|
@@ -363,11 +375,11 @@ async def entrada_de_notas_505(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
|
|
363
375
|
)
|
364
376
|
else:
|
365
377
|
console.print("Erro ao lançar nota", style="bold red")
|
378
|
+
error_work = await error_after_xml_imported()
|
366
379
|
return RpaRetornoProcessoDTO(
|
367
|
-
sucesso=
|
368
|
-
retorno=
|
369
|
-
status=
|
370
|
-
tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
|
380
|
+
sucesso=error_work.sucesso,
|
381
|
+
retorno=error_work.retorno,
|
382
|
+
status=error_work.status,
|
371
383
|
)
|
372
384
|
|
373
385
|
except Exception as ex:
|
@@ -53,7 +53,7 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=ZxW4ueC4WsTbkx4S47i
|
|
53
53
|
worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=Az4XFUDK6NP428bk3q__zioJQX8OoLIcgrAz1-Uv9Kg,23180
|
54
54
|
worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=xKOJvPqEOm6CwJ1QtwNqmtmRayT70fOJjlJh9D4BtOw,35951
|
55
55
|
worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=8RLB2G_NphDr802c1Swk1e-k2ObaxeEQlyuxVhP9iUk,33990
|
56
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=
|
56
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=xs9KEzHED7JBUD9O-HEzKy7A0DS4Tx-rKBK-uHrYhGM,15669
|
57
57
|
worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=SFYM1xNJVBt-GnY5Zl1xsrsGdcsb-aUZcUjF2VkNEiE,15927
|
58
58
|
worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=vUj25yHxkCNhpyOU5Vk81gsYcTTH1TJ3yn-b8N00JfQ,52857
|
59
59
|
worker_automate_hub/tasks/jobs/exemplo_processo.py,sha256=nV0iLoip2FH2-FhLmhX3nPqsfl_MPufZ3E5Q5krJvdc,3544
|
@@ -76,7 +76,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
|
|
76
76
|
worker_automate_hub/utils/util.py,sha256=tRVO_0kuWFTRiJBBYgra0cXrtURdnY1n4YnaQaRzk8w,154906
|
77
77
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=ZTb1XoKWZY7coXt06iIE8KI56N6AguhZv5DEPX2qUu8,31862
|
78
78
|
worker_automate_hub/worker.py,sha256=CT-poyP1ZYvubArYsnnNd9oJ53SPaDwgr6p6keS3nI4,6248
|
79
|
-
worker_automate_hub-0.5.
|
80
|
-
worker_automate_hub-0.5.
|
81
|
-
worker_automate_hub-0.5.
|
82
|
-
worker_automate_hub-0.5.
|
79
|
+
worker_automate_hub-0.5.43.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
80
|
+
worker_automate_hub-0.5.43.dist-info/METADATA,sha256=wUYsnFN6zryGfbODsLc4hWqsoeGDzNn6f84ncQmUcm8,2894
|
81
|
+
worker_automate_hub-0.5.43.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
|
82
|
+
worker_automate_hub-0.5.43.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.41.dist-info → worker_automate_hub-0.5.43.dist-info}/entry_points.txt
RENAMED
File without changes
|