worker-automate-hub 0.4.444__py3-none-any.whl → 0.4.445__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -274,7 +274,36 @@ async def entrada_de_notas_15(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
274
274
  await emsys.verify_warning_and_error("Information", "&No")
275
275
 
276
276
  await worker_sleep(10)
277
- await emsys.select_tipo_cobranca()
277
+ console.print("Navegando pela Janela de Nota Fiscal de Entrada...\n")
278
+ app = Application().connect(class_name="TFrmNotaFiscalEntrada")
279
+ main_window = app["TFrmNotaFiscalEntrada"]
280
+
281
+ main_window.set_focus()
282
+ console.print("Acessando a aba de Pagamentos... \n")
283
+ panel_TPage = main_window.child_window(class_name="TPage", title="Formulario")
284
+ panel_TTabSheet = panel_TPage.child_window(class_name="TcxCustomInnerTreeView")
285
+ panel_TTabSheet.wait("visible")
286
+ panel_TTabSheet.click()
287
+ send_keys("{DOWN " + ("7") + "}")
288
+
289
+ panel_TPage = main_window.child_window(class_name="TPage", title="Formulario")
290
+ panel_TTabSheet = panel_TPage.child_window(class_name="TPageControl")
291
+
292
+ panel_TabPagamento = panel_TTabSheet.child_window(class_name="TTabSheet")
293
+
294
+ panel_TabPagamentoCaixa = panel_TTabSheet.child_window(title="Pagamento Pelo Caixa")
295
+
296
+ tipo_cobranca = panel_TabPagamentoCaixa.child_window(
297
+ class_name="TDBIComboBox", found_index=0
298
+ )
299
+
300
+ console.print(f"Selecionando a Especie de Caixa... \n")
301
+ tipo_cobranca.click()
302
+ try:
303
+ set_combobox("||List", "BANCO DO BRASIL BOLETO")
304
+ except:
305
+ set_combobox("||List", "BOLETO")
306
+
278
307
  await emsys.inserir_vencimento_e_valor(
279
308
  nota.get("nomeFornecedor"),
280
309
  nota.get("dataEmissao"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: worker-automate-hub
3
- Version: 0.4.444
3
+ Version: 0.4.445
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
@@ -39,7 +39,7 @@ worker_automate_hub/tasks/jobs/ecac_estadual_mt.py,sha256=4fe5Ri--lNIlRBSusbjyYt
39
39
  worker_automate_hub/tasks/jobs/ecac_estadual_sc.py,sha256=ZTjc4rS8J7VfWHPFLkJBcSj9sIfwToxTIC0D7p2rQTQ,13677
40
40
  worker_automate_hub/tasks/jobs/ecac_estadual_sp.py,sha256=iS6za_nGCzBRVCXYYuUTIyMWJznHp8l6BPahqwzc_5c,29102
41
41
  worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=ORQbA4DCfyHJqjfvOCenc97QHvBCBlA3oMSzl59K6vg,55316
42
- worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=5Rqz_kf-399nEA3s1_69MGOAn6Mk0GbdAP_0EFzAcYw,16570
42
+ worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=31jRy_PpSjqx6O3oSk_tmqon3dfqtZtXkmX2JaVn38s,17848
43
43
  worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=X4Hv2oWeIrD5eljIBtx_9lJWgpTV8dBx2BPTbRJbNc4,19917
44
44
  worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=TfvGmH1__OGRx5oYordEJt-gpcETKA9OFhwHQD3yqs4,24928
45
45
  worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=l8mAm_OIY2cg_ThdCUqlq9NYbIYJuiK6wVsarStRfG8,32487
@@ -69,7 +69,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
69
69
  worker_automate_hub/utils/util.py,sha256=SWpivcmtSH-4RVwjupyyE8wpRcuFlOlGq3_Z29gvUPM,121845
70
70
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=p5r_L5k7gqCBvV8v6dbLFM6INKiSpGc4Gegid0_YAh4,29017
71
71
  worker_automate_hub/worker.py,sha256=tftQpX8liC-_0_bOUf1YYzXSCvloMQBvjmQ6lzfEE-c,4816
72
- worker_automate_hub-0.4.444.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
73
- worker_automate_hub-0.4.444.dist-info/METADATA,sha256=Nkf-St86T0ceB92JDNaFnHeiitM5Y0U2hpgcy2xBq2A,2895
74
- worker_automate_hub-0.4.444.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
75
- worker_automate_hub-0.4.444.dist-info/RECORD,,
72
+ worker_automate_hub-0.4.445.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
73
+ worker_automate_hub-0.4.445.dist-info/METADATA,sha256=-oJMTPOMZAQPgl7VRBiCBbAMf8h32yn11ISzfxC029U,2895
74
+ worker_automate_hub-0.4.445.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
75
+ worker_automate_hub-0.4.445.dist-info/RECORD,,