worker-automate-hub 0.4.424__py3-none-any.whl → 0.4.426__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/fidc_gerar_nosso_numero.py +20 -4
- worker_automate_hub/utils/utils_nfe_entrada.py +2 -2
- {worker_automate_hub-0.4.424.dist-info → worker_automate_hub-0.4.426.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.4.424.dist-info → worker_automate_hub-0.4.426.dist-info}/RECORD +6 -6
- {worker_automate_hub-0.4.424.dist-info → worker_automate_hub-0.4.426.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.4.424.dist-info → worker_automate_hub-0.4.426.dist-info}/entry_points.txt +0 -0
@@ -135,6 +135,26 @@ async def gerar_nosso_numero(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoD
|
|
135
135
|
|
136
136
|
# Clicando em na coluna da tabela para ordenar os titulos com nosso número
|
137
137
|
pyautogui.click(718,642, clicks=2, interval=1)
|
138
|
+
|
139
|
+
await worker_sleep(1)
|
140
|
+
|
141
|
+
# Indo para o ultimo titulo
|
142
|
+
with pyautogui.hold('ctrl'):
|
143
|
+
pyautogui.press('end')
|
144
|
+
|
145
|
+
await worker_sleep(2)
|
146
|
+
|
147
|
+
with pyautogui.hold('ctrl'):
|
148
|
+
pyautogui.press('c')
|
149
|
+
|
150
|
+
actual_line = pyperclip.paste()
|
151
|
+
print(actual_line)
|
152
|
+
if actual_line.split('\n')[1].split('\t')[2] != '':
|
153
|
+
log_msg = "Todos os nossos numeros estao preenchidos!"
|
154
|
+
console.print(log_msg, style="bold yellow")
|
155
|
+
return RpaRetornoProcessoDTO(
|
156
|
+
sucesso=False, retorno=log_msg, status=RpaHistoricoStatusEnum.Falha
|
157
|
+
)
|
138
158
|
|
139
159
|
# Indo para o primeiro titulo
|
140
160
|
with pyautogui.hold('ctrl'):
|
@@ -148,8 +168,6 @@ async def gerar_nosso_numero(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoD
|
|
148
168
|
|
149
169
|
#Se a Coluna "Nosso Numero" estiver populada desceleciona o dado
|
150
170
|
if actual_line.split('\n')[1].split('\t')[2] != '':
|
151
|
-
|
152
|
-
|
153
171
|
pyautogui.press('enter')
|
154
172
|
#Se a Coluna "Nosso Numero" estiver vazia quebra o loop
|
155
173
|
elif actual_line.split('\n')[1].split('\t')[2] == '':
|
@@ -228,5 +246,3 @@ async def gerar_nosso_numero(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoD
|
|
228
246
|
return RpaRetornoProcessoDTO(
|
229
247
|
sucesso=False, retorno=log_msg, status=RpaHistoricoStatusEnum.Falha
|
230
248
|
)
|
231
|
-
finally:
|
232
|
-
await kill_process("EMSys")
|
@@ -198,6 +198,8 @@ class EMSys:
|
|
198
198
|
await worker_sleep(1)
|
199
199
|
pyautogui.click(1180, 776)
|
200
200
|
await worker_sleep(1)
|
201
|
+
pyautogui.click(619, 377)
|
202
|
+
await worker_sleep(1)
|
201
203
|
|
202
204
|
# Fecha a janela de alteração de item
|
203
205
|
# try:
|
@@ -212,8 +214,6 @@ class EMSys:
|
|
212
214
|
await worker_sleep(1)
|
213
215
|
pyautogui.click(1083, 682)
|
214
216
|
|
215
|
-
|
216
|
-
# pyautogui.click(619, 377)
|
217
217
|
|
218
218
|
except Exception as e:
|
219
219
|
return {
|
@@ -50,7 +50,7 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=jIml8gjXPdI6_x7S9V
|
|
50
50
|
worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=8XP9G3n0PUeshbRWkWKOMnyUGRWspIolPZVqQTR3SMI,14184
|
51
51
|
worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=SF1IXzLV83MxHm0QA1VhOoOS-2RNnOLm5U7_pvMbqGU,49546
|
52
52
|
worker_automate_hub/tasks/jobs/exemplo_processo.py,sha256=3-zxbb-9YHPmSA_K1Qgxp_FwSqg2QDjGBRCLxDZ8QoQ,3451
|
53
|
-
worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py,sha256=
|
53
|
+
worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py,sha256=mZ6mCaz1lYmyFxwC8MVLXPsgynE1VkNKlEzYGsciDiY,10179
|
54
54
|
worker_automate_hub/tasks/jobs/fidc_remessa_cobranca_cnab240.py,sha256=QBGm6eS5JghgNWNqZlk1g2a2iV8LnBLiOTBBL3Giet0,4181
|
55
55
|
worker_automate_hub/tasks/jobs/login_emsys.py,sha256=IoGCIvO4UwmuxOZEn3cvYJlKyhsWvtHvbFk8vwjTroQ,5620
|
56
56
|
worker_automate_hub/tasks/jobs/playground.py,sha256=bdnXv3C7WLQUxt4edGZDfAbRJJ2-q4zuIQaK3GLnaUc,1765
|
@@ -65,9 +65,9 @@ worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1
|
|
65
65
|
worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
|
66
66
|
worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
|
67
67
|
worker_automate_hub/utils/util.py,sha256=JpRM3ltfGNkzui0RAjUK1FhWT3aWUjt3ljEyQez3Sbw,120156
|
68
|
-
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=
|
68
|
+
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=7ju688sD52y30taGSm5rPMGdQyByUUwveLeKV4ImEiE,28401
|
69
69
|
worker_automate_hub/worker.py,sha256=KDBU3L2kVobndrnN5coRZFTwVmBLKmPJjRv20sCo5Hc,4697
|
70
|
-
worker_automate_hub-0.4.
|
71
|
-
worker_automate_hub-0.4.
|
72
|
-
worker_automate_hub-0.4.
|
73
|
-
worker_automate_hub-0.4.
|
70
|
+
worker_automate_hub-0.4.426.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
71
|
+
worker_automate_hub-0.4.426.dist-info/METADATA,sha256=F1pEFiv7lyjlK5XAO0rgAjYnqX4g6tDuPoeWalvStS8,2895
|
72
|
+
worker_automate_hub-0.4.426.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
73
|
+
worker_automate_hub-0.4.426.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.4.424.dist-info → worker_automate_hub-0.4.426.dist-info}/entry_points.txt
RENAMED
File without changes
|