worker-automate-hub 0.4.417__py3-none-any.whl → 0.4.418__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -69,20 +69,6 @@ async def entrada_de_notas_16(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
69
69
  # Abre um novo emsys
70
70
  await kill_process("EMSys")
71
71
 
72
- #Verifica se a nota ja foi lançada
73
- console.print("\nVerifica se a nota ja foi lançada...")
74
- nf_chave_acesso = int(nota.get("nfe"))
75
- status_nf_emsys = await get_status_nf_emsys(nf_chave_acesso)
76
- if status_nf_emsys.get("status") == "Lançada":
77
- console.print("\nNota ja lançada, processo finalizado...", style="bold green")
78
- return RpaRetornoProcessoDTO(
79
- sucesso=False,
80
- retorno="Nota já lançada",
81
- status=RpaHistoricoStatusEnum.Descartado,
82
- )
83
- else:
84
- console.print("\nNota não lançada, iniciando o processo...")
85
-
86
72
  app = Application(backend="win32").start("C:\\Rezende\\EMSys3\\EMSys3.exe")
87
73
  warnings.filterwarnings(
88
74
  "ignore",
@@ -359,6 +345,7 @@ async def entrada_de_notas_16(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
359
345
 
360
346
  await worker_sleep(10)
361
347
  await emsys.percorrer_grid()
348
+ pyautogui.click(585, 328)
362
349
  await emsys.select_tipo_cobranca()
363
350
  await emsys.inserir_vencimento_e_valor(
364
351
  nota.get("nomeFornecedor"),
@@ -536,4 +523,4 @@ async def entrada_de_notas_16(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
536
523
  sucesso=False,
537
524
  retorno=observacao,
538
525
  status=RpaHistoricoStatusEnum.Falha,
539
- )
526
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: worker-automate-hub
3
- Version: 0.4.417
3
+ Version: 0.4.418
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
@@ -38,7 +38,7 @@ worker_automate_hub/tasks/jobs/ecac_estadual_sc.py,sha256=ZTjc4rS8J7VfWHPFLkJBcS
38
38
  worker_automate_hub/tasks/jobs/ecac_estadual_sp.py,sha256=iS6za_nGCzBRVCXYYuUTIyMWJznHp8l6BPahqwzc_5c,29102
39
39
  worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=ORQbA4DCfyHJqjfvOCenc97QHvBCBlA3oMSzl59K6vg,55316
40
40
  worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=5Rqz_kf-399nEA3s1_69MGOAn6Mk0GbdAP_0EFzAcYw,16570
41
- worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=t13fW63d52OwIUHaJrHY3qxIkd1LjHE_bHkSWqVhy3I,21129
41
+ worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=qt844lVCy4ljxGbnG3fTP5fbIY7g1qC57jwhQqdlFUM,20499
42
42
  worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=TfvGmH1__OGRx5oYordEJt-gpcETKA9OFhwHQD3yqs4,24928
43
43
  worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=0cneKY6bQU5neo3TKlGynney_CoOB_J_dctFMYf26WM,32388
44
44
  worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=ktXc_kdMhlz9cbb7XjfMJhME29mgMFd_FnatxSZZU_s,31457
@@ -67,7 +67,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
67
67
  worker_automate_hub/utils/util.py,sha256=YQkdPMCgrwuCJG_069p1cIG7xTg8VgvSHlGnIQrlyHo,119625
68
68
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=yQFyDzvXPSO-UYV1m38WLJ3AWQgZYcyUkHZdCKE1jG4,28360
69
69
  worker_automate_hub/worker.py,sha256=KDBU3L2kVobndrnN5coRZFTwVmBLKmPJjRv20sCo5Hc,4697
70
- worker_automate_hub-0.4.417.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
71
- worker_automate_hub-0.4.417.dist-info/METADATA,sha256=LHx1gr8Grvvbo4E1tstlbhrnbCh56AgV68a6onv6JPA,2895
72
- worker_automate_hub-0.4.417.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
73
- worker_automate_hub-0.4.417.dist-info/RECORD,,
70
+ worker_automate_hub-0.4.418.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
71
+ worker_automate_hub-0.4.418.dist-info/METADATA,sha256=yb3yQ_jrNDOBfVQfhOY1M6qtRTEeB52ce6Dd0OwGFso,2895
72
+ worker_automate_hub-0.4.418.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
73
+ worker_automate_hub-0.4.418.dist-info/RECORD,,