worker-automate-hub 0.5.617__py3-none-any.whl → 0.5.619__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_ctf.py +1 -1
- worker_automate_hub/tasks/jobs/entrada_de_notas_16.py +8 -1
- worker_automate_hub/tasks/task_definitions.py +1 -0
- worker_automate_hub/utils/utils_nfe_entrada.py +44 -8
- {worker_automate_hub-0.5.617.dist-info → worker_automate_hub-0.5.619.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.617.dist-info → worker_automate_hub-0.5.619.dist-info}/RECORD +8 -8
- {worker_automate_hub-0.5.617.dist-info → worker_automate_hub-0.5.619.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.617.dist-info → worker_automate_hub-0.5.619.dist-info}/entry_points.txt +0 -0
@@ -132,7 +132,7 @@ async def devolucao_ctf(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoDTO:
|
|
132
132
|
# )
|
133
133
|
|
134
134
|
#Realizando o login
|
135
|
-
app = Application(backend="win32").start("C:\\Rezende\\EMSys3\\
|
135
|
+
app = Application(backend="win32").start("C:\\Rezende\\EMSys3\\EMSys3_35.exe")
|
136
136
|
warnings.filterwarnings("ignore",category=UserWarning,message="32-bit application should be automated using 32-bit Python")
|
137
137
|
console.print("\nEMSys iniciando...", style="bold green")
|
138
138
|
return_login = await login_emsys(config.conConfiguracao, app, task)
|
@@ -207,7 +207,14 @@ async def entrada_de_notas_16(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
207
207
|
)
|
208
208
|
combo_box_natureza_operacao.click()
|
209
209
|
await worker_sleep(4)
|
210
|
-
|
210
|
+
try:
|
211
|
+
set_combobox("||List", "1403 - COMPRA DE MERCADORIAS- 1.403")
|
212
|
+
except:
|
213
|
+
select_1403 = main_window.child_window(
|
214
|
+
class_name="TDBIComboBox", found_index=0
|
215
|
+
)
|
216
|
+
select_1403.select("1403-COMPRA DE MERCADORIAS- 1.403")
|
217
|
+
send_keys('{ENTER}')
|
211
218
|
await worker_sleep(3)
|
212
219
|
elif nota.get("cfop") == "6910":
|
213
220
|
combo_box_natureza_operacao = main_window.child_window(
|
@@ -135,6 +135,7 @@ task_definitions = {
|
|
135
135
|
"abf3725f-d9d9-4f48-a31d-b22efb422e08": entrada_cte_333,
|
136
136
|
"e9f9a463-c2b6-40cb-8d67-a80d0725b424": entrada_cte_1353,
|
137
137
|
"cf25b3f3-b9f1-45b5-a8d2-8c087024afdc": devolucao_ctf,
|
138
|
+
"47acd280-925a-4913-ac63-92e000018fb4": devolucao_ctf, #Cartao Frot
|
138
139
|
"f241dbd6-f4a7-4afb-822a-46a628cfc916": exportacao_docs_portal_b2b, # FIDC
|
139
140
|
"5ad2d209-e9da-438c-ba62-db0a5f9a3795": exportacao_docs_portal_b2b, # Banco do brasil
|
140
141
|
"326a746e-06ec-44c0-84bb-3a2dd866353e": cte_manual,
|
@@ -134,7 +134,7 @@ class EMSys:
|
|
134
134
|
index_item_atual = 0
|
135
135
|
index_ultimo_item = await self.get_ultimo_item()
|
136
136
|
console.print(f"Index ultimo item: {index_ultimo_item}")
|
137
|
-
|
137
|
+
|
138
138
|
try:
|
139
139
|
while index_item_atual < index_ultimo_item:
|
140
140
|
send_keys("^({HOME})")
|
@@ -159,6 +159,7 @@ class EMSys:
|
|
159
159
|
edit = main_window.child_window(
|
160
160
|
class_name="TDBIEditCode", found_index=0
|
161
161
|
)
|
162
|
+
|
162
163
|
#seta IPI 0%
|
163
164
|
ipi_combobox = main_window.child_window(
|
164
165
|
class_name="TDBIComboBox", found_index=4
|
@@ -182,8 +183,32 @@ class EMSys:
|
|
182
183
|
try:
|
183
184
|
console.print(f"Trabalhando com os itens, alterando o código de tributação dos ISQUEIROS/ACENDEDORES para manual \n")
|
184
185
|
console.print("Item encontrado: ISQUEIRO/ACENDEDORES. Processando...\n")
|
185
|
-
|
186
|
-
|
186
|
+
|
187
|
+
tipos_unidade = ["UNIDADE", "UN"]
|
188
|
+
for tipo in tipos_unidade:
|
189
|
+
try:
|
190
|
+
await worker_sleep(4)
|
191
|
+
# Selecionar natureza da operação 9 - outros
|
192
|
+
select_other = main_window.child_window(
|
193
|
+
class_name="TDBIComboBox", found_index=1
|
194
|
+
).click()
|
195
|
+
select_other.select(tipo)
|
196
|
+
# Check Alterar Trib. Manual
|
197
|
+
pyautogui.click(1177, 740)
|
198
|
+
# pyautogui.moveTo(1177, 740)
|
199
|
+
|
200
|
+
# Click Alterar
|
201
|
+
await worker_sleep(1)
|
202
|
+
pyautogui.click(1180, 776)
|
203
|
+
await worker_sleep(1)
|
204
|
+
|
205
|
+
await worker_sleep(1)
|
206
|
+
await self.verify_warning_and_error("Confirm")
|
207
|
+
await worker_sleep(1)
|
208
|
+
except Exception as e:
|
209
|
+
print(f"Não foi possível selecionar '{tipo}': {e}")
|
210
|
+
|
211
|
+
# await self.alterar_item()
|
187
212
|
await worker_sleep(3)
|
188
213
|
await self.click_itens_da_nota()
|
189
214
|
except Exception as error:
|
@@ -250,12 +275,23 @@ class EMSys:
|
|
250
275
|
send_keys("{DOWN " + ("2") + "}")
|
251
276
|
|
252
277
|
await worker_sleep(2)
|
253
|
-
pyautogui.click(893, 549)
|
278
|
+
# pyautogui.click(893, 549)
|
254
279
|
await worker_sleep(5)
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
280
|
+
tipos_cobranca = ["BANCO DO BRASIL BOLETO", "BOLETO"]
|
281
|
+
for tipo in tipos_cobranca:
|
282
|
+
try:
|
283
|
+
await worker_sleep(4)
|
284
|
+
# Selecionar natureza da operação 9 - outros
|
285
|
+
select_other = main_window.child_window(
|
286
|
+
class_name="TDBIComboBox", found_index=0
|
287
|
+
).click()
|
288
|
+
select_other.select(tipo)
|
289
|
+
except Exception as e:
|
290
|
+
print(f"Não foi possível selecionar '{tipo}': {e}")
|
291
|
+
# try:
|
292
|
+
# set_combobox("||List", "BANCO DO BRASIL BOLETO")
|
293
|
+
# except:
|
294
|
+
# set_combobox("||List", "BOLETO")
|
259
295
|
|
260
296
|
async def inserir_vencimento_e_valor(self, nome_fornecedor, data_emissao, data_vencimento, valor):
|
261
297
|
|
@@ -42,7 +42,7 @@ worker_automate_hub/tasks/jobs/conexao_rdp.py,sha256=S6QC4xhuo0pB5FjaUJZNMm1LIgE
|
|
42
42
|
worker_automate_hub/tasks/jobs/cte_manual.py,sha256=JucHpRMjMiy-QEJ0wtFnytLpN53tKXgCDI05nGLGclU,603
|
43
43
|
worker_automate_hub/tasks/jobs/cte_xml.py,sha256=CdDcDRjCJTU2DV0KAglqgCVb13ahMqzYdmaeJRKcR0o,15038
|
44
44
|
worker_automate_hub/tasks/jobs/descartes.py,sha256=E5kKef8j7e0PTm6NBeZAXkljUoAFEMjVWvHaJ8g2fv4,44451
|
45
|
-
worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=
|
45
|
+
worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=5vHKXUJjW5p-UgnghjgSTaSRYFbkiImQO7lNxFvAPbo,252967
|
46
46
|
worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=byIk02T4fWCVgKisf50ZAEY26d8FMTlX9S7RnQVtoEE,256763
|
47
47
|
worker_automate_hub/tasks/jobs/ecac_estadual_go.py,sha256=dKkf22nH5gp3RErq5u0UzRsKyJ81fc6ZZ4vLtUuMwHA,21002
|
48
48
|
worker_automate_hub/tasks/jobs/ecac_estadual_main.py,sha256=8WmKe4-MRtzHobXz2S4YBDNN8alfawkC-BBlRY-mn1g,1726
|
@@ -53,7 +53,7 @@ worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=VFOrbMuMHL3ac1sJ-z-N1p1WYt
|
|
53
53
|
worker_automate_hub/tasks/jobs/entrada_cte_1353.py,sha256=knwPbjZZsnvHKurs7O7gv7bFpQIAmv4qPB1rZa3zBsY,12102
|
54
54
|
worker_automate_hub/tasks/jobs/entrada_cte_333.py,sha256=FvpU_bsdPB2ANQ_i63Jlkdo5yZM4zJdr2mm41KTrJtE,13285
|
55
55
|
worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=BYmdPLJFZEHD_lVSpuaTDLZrx33ox8Re7QDzXjXDiB8,29524
|
56
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256
|
56
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=_61V5AtpWQNXfJRTva_9NV8V28f52E2dvzs3hJXhLtE,36014
|
57
57
|
worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=A5HM2Eh2bGZueVefnQL9KiCWW95j8zX1v2MslgbDcUE,36871
|
58
58
|
worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=lku233FqwOknXF14HHC6fZ75WubE69Jp32bAUhKPtGQ,34575
|
59
59
|
worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=MO5hjy2NS__6FXvzd3R24hGEf4u_bOvqD5lJx70Awu0,33590
|
@@ -85,7 +85,7 @@ worker_automate_hub/tasks/jobs/notas_faturamento_sap.py,sha256=p6tVE027FHHXBxt2s
|
|
85
85
|
worker_automate_hub/tasks/jobs/playground.py,sha256=7vWDg9DwToHwGJ6_XOa8TQ6LmfRV5Qz2TaOV3q3P9sA,1918
|
86
86
|
worker_automate_hub/tasks/jobs/sped_fiscal.py,sha256=Zsq-IwKxA0b2tikO6Rri4WXVj10jK-Jd0-gxk8yVBH0,31064
|
87
87
|
worker_automate_hub/tasks/jobs/transferencias.py,sha256=-xW66JNYvhWmyNAYGukiLZ_O5NHQHskH36EkxtXnANg,44321
|
88
|
-
worker_automate_hub/tasks/task_definitions.py,sha256=
|
88
|
+
worker_automate_hub/tasks/task_definitions.py,sha256=TjD5yKFpNF8NrWCl9Y-ITDh-Dq1I4wtnTucgNFqQXV0,11464
|
89
89
|
worker_automate_hub/tasks/task_executor.py,sha256=9dmLUlMpJOI7FhbaFE593TcWnDxBvuXbGVecs1aaJxE,5728
|
90
90
|
worker_automate_hub/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
91
91
|
worker_automate_hub/utils/env.py,sha256=TacQjGRO7PUNpttrhTAc5Gnegaiysl2Knsv1P8qfkfs,57
|
@@ -94,9 +94,9 @@ worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1
|
|
94
94
|
worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
|
95
95
|
worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
|
96
96
|
worker_automate_hub/utils/util.py,sha256=_pgZOFWgXoov6WPbqyRTDVXJCRFfucYB3gb9swzU7bo,198281
|
97
|
-
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=
|
97
|
+
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=bcnsdADBNZn-ltEebKBs7SxstoZOagyaLWftM5-1BCA,35178
|
98
98
|
worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
|
99
|
-
worker_automate_hub-0.5.
|
100
|
-
worker_automate_hub-0.5.
|
101
|
-
worker_automate_hub-0.5.
|
102
|
-
worker_automate_hub-0.5.
|
99
|
+
worker_automate_hub-0.5.619.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
100
|
+
worker_automate_hub-0.5.619.dist-info/METADATA,sha256=utVSNIPiYEzQSbOST1Oq8ipyMhzDU4J7jUhixFOHHp8,3049
|
101
|
+
worker_automate_hub-0.5.619.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
102
|
+
worker_automate_hub-0.5.619.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.617.dist-info → worker_automate_hub-0.5.619.dist-info}/entry_points.txt
RENAMED
File without changes
|