worker-automate-hub 0.5.317__py3-none-any.whl → 0.5.319__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/devolucao_prazo_a_faturar.py +29 -7
- {worker_automate_hub-0.5.317.dist-info → worker_automate_hub-0.5.319.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.317.dist-info → worker_automate_hub-0.5.319.dist-info}/RECORD +5 -5
- {worker_automate_hub-0.5.317.dist-info → worker_automate_hub-0.5.319.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.317.dist-info → worker_automate_hub-0.5.319.dist-info}/entry_points.txt +0 -0
@@ -2206,6 +2206,7 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
|
|
2206
2206
|
|
2207
2207
|
try:
|
2208
2208
|
#Clcica no OK para seguir a transmissão da pré-venda
|
2209
|
+
console.print("Identificando - TFrmDadosFaturamentoPreVenda")
|
2209
2210
|
app = Application().connect(class_name="TFrmDadosFaturamentoPreVenda", timeout=60)
|
2210
2211
|
main_window = app["TFrmDadosFaturamentoPreVenda"]
|
2211
2212
|
main_window.set_focus()
|
@@ -2219,24 +2220,27 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
|
|
2219
2220
|
#ADICIONANDO MENSAGEM
|
2220
2221
|
await worker_sleep(5)
|
2221
2222
|
try:
|
2223
|
+
console.print("Identificando - TFrmDadosFaturamentoPreVenda 1")
|
2222
2224
|
app = Application().connect(class_name="TFrmDadosFaturamentoPreVenda", timeout=10)
|
2223
2225
|
main_window = app["Confirm"]
|
2224
2226
|
main_window.set_focus()
|
2225
2227
|
except:
|
2226
|
-
console.print(
|
2227
|
-
app = Application().connect(class_name="TMessageForm", timeout=10)
|
2228
|
+
console.print("Identificando - TMessageForm 1")
|
2229
|
+
app = Application().connect(class_name="TMessageForm", timeout=10, title='Confirm')
|
2228
2230
|
main_window = app["TMessageForm"]
|
2229
2231
|
main_window.set_focus()
|
2230
2232
|
|
2231
|
-
btn_yes = main_window.child_window(class_name="TButton",
|
2233
|
+
btn_yes = main_window.child_window(class_name="TButton", title="&Yes")
|
2232
2234
|
btn_yes.click()
|
2235
|
+
|
2233
2236
|
await worker_sleep(5)
|
2234
2237
|
|
2235
2238
|
try:
|
2239
|
+
console.print('Identificando - TFrmDadosFaturamentoPreVenda 2')
|
2236
2240
|
app = Application().connect(class_name="TFrmDadosFaturamentoPreVenda", timeout=10)
|
2237
2241
|
main_window = app["TMessageForm"]
|
2238
2242
|
except Exception as ex:
|
2239
|
-
console.print(f'{ex}')
|
2243
|
+
console.print(f'{ex} - TMessageForm 2')
|
2240
2244
|
app = Application().connect(class_name="TMessageForm", timeout=10)
|
2241
2245
|
main_window = app["TMessageForm"]
|
2242
2246
|
|
@@ -3512,37 +3516,55 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
|
|
3512
3516
|
|
3513
3517
|
try:
|
3514
3518
|
#Clcica no OK para seguir a transmissão da pré-venda
|
3519
|
+
console.print("Clicando em ok para fatura pré-venda... \n")
|
3515
3520
|
app = Application().connect(class_name="TFrmDadosFaturamentoPreVenda", timeout=60)
|
3516
3521
|
main_window = app["TFrmDadosFaturamentoPreVenda"]
|
3517
3522
|
main_window.set_focus()
|
3518
3523
|
btn_ok = main_window.child_window(class_name="TBitBtn", found_index=1)
|
3519
3524
|
btn_ok.click()
|
3520
3525
|
except:
|
3526
|
+
console.print("Clicando em OK no except... \n")
|
3521
3527
|
btn_ok = main_window.child_window(title="&Ok")
|
3522
3528
|
btn_ok.click()
|
3523
|
-
|
3529
|
+
|
3530
|
+
await worker_sleep(5)
|
3531
|
+
|
3532
|
+
try:
|
3533
|
+
console.print("Clicando em sim para faturar pre-venda... \n")
|
3534
|
+
app = Application().connect(class_name="TMessageForm", timeout=10, title="Confirm")
|
3535
|
+
main_window = app["TMessageForm"]
|
3536
|
+
main_window.set_focus()
|
3537
|
+
main_window.chiwld_window(title="&Yes").click()
|
3538
|
+
except:
|
3539
|
+
...
|
3540
|
+
|
3524
3541
|
#Lucas Fim
|
3525
3542
|
#ADICIONANDO MENSAGEM
|
3526
3543
|
|
3527
3544
|
try:
|
3545
|
+
console.print("Identificando tela - 'TFrmDadosFaturamentoPreVenda' 1 ")
|
3528
3546
|
app = Application().connect(class_name="TFrmDadosFaturamentoPreVenda", timeout=10)
|
3529
3547
|
main_window = app["Confirm"]
|
3530
3548
|
main_window.set_focus()
|
3531
3549
|
except:
|
3532
|
-
console.print('
|
3550
|
+
console.print("Identificando tela - 'TMessageForm' 1 ")
|
3533
3551
|
app = Application().connect(class_name="TMessageForm", timeout=10)
|
3534
3552
|
main_window = app["TMessageForm"]
|
3535
3553
|
main_window.set_focus()
|
3536
|
-
|
3554
|
+
|
3555
|
+
console.print("Clicando em sim para faturar pre-venda... \n")
|
3537
3556
|
btn_yes = main_window.child_window(class_name="TButton", found_index=1)
|
3538
3557
|
btn_yes.click()
|
3558
|
+
|
3539
3559
|
await worker_sleep(5)
|
3540
3560
|
|
3541
3561
|
try:
|
3562
|
+
console.print("Identificando tela - 'TFrmDadosFaturamentoPreVenda' 2 ")
|
3542
3563
|
app = Application().connect(class_name="TFrmDadosFaturamentoPreVenda", timeout=10)
|
3543
3564
|
main_window = app["TMessageForm"]
|
3544
3565
|
except Exception as ex:
|
3545
3566
|
console.print(f'{ex}')
|
3567
|
+
console.print("Identificando tela - 'TMessageForm' 2 ")
|
3546
3568
|
app = Application().connect(class_name="TMessageForm", timeout=10)
|
3547
3569
|
main_window = app["TMessageForm"]
|
3548
3570
|
|
@@ -42,7 +42,7 @@ worker_automate_hub/tasks/jobs/cte_manual.py,sha256=JucHpRMjMiy-QEJ0wtFnytLpN53t
|
|
42
42
|
worker_automate_hub/tasks/jobs/descartes.py,sha256=2zODOekSJSr7nuO9sUzT_F3YeG7N5EHuxnp05RguirE,41361
|
43
43
|
worker_automate_hub/tasks/jobs/despesas_cte.py,sha256=TWbjBMZjYDugiqYUa_1DtCAUWOyVetoZI2SPs7AdDNc,13264
|
44
44
|
worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=A41O9a6kVUweUBy7Lc2dpJoeAi8QYxu-pMc8u-g0yTg,110241
|
45
|
-
worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=
|
45
|
+
worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=n78D9acEABATRi1Mx3oD4oFmCUVObrkPaWQ-zNQ-N8M,233902
|
46
46
|
worker_automate_hub/tasks/jobs/ecac_estadual_go.py,sha256=dKkf22nH5gp3RErq5u0UzRsKyJ81fc6ZZ4vLtUuMwHA,21002
|
47
47
|
worker_automate_hub/tasks/jobs/ecac_estadual_main.py,sha256=8WmKe4-MRtzHobXz2S4YBDNN8alfawkC-BBlRY-mn1g,1726
|
48
48
|
worker_automate_hub/tasks/jobs/ecac_estadual_mt.py,sha256=C26zmpGQGUq6sP9lU9nanM3Fje-rkyx5tjwmRy4lyL8,25300
|
@@ -85,7 +85,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
|
|
85
85
|
worker_automate_hub/utils/util.py,sha256=WZK1VjdoOCHWWXzLt9gh2uUi_6p3OfvI6DvAYIGi998,185072
|
86
86
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=wmnpuOesmPSryZszmapa37b9YNC0E2MkeDYnbwr-0rU,33315
|
87
87
|
worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
|
88
|
-
worker_automate_hub-0.5.
|
89
|
-
worker_automate_hub-0.5.
|
90
|
-
worker_automate_hub-0.5.
|
91
|
-
worker_automate_hub-0.5.
|
88
|
+
worker_automate_hub-0.5.319.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
89
|
+
worker_automate_hub-0.5.319.dist-info/METADATA,sha256=SjVPwoRC_fe0R7sgPd_rrbZhFFv5fIOCpaxU0x91ARo,3041
|
90
|
+
worker_automate_hub-0.5.319.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
91
|
+
worker_automate_hub-0.5.319.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.317.dist-info → worker_automate_hub-0.5.319.dist-info}/entry_points.txt
RENAMED
File without changes
|