ITK-dev-shared-components 2.16.0__tar.gz → 2.16.1__tar.gz
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.
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/PKG-INFO +1 -1
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/sap/opret_kundekontakt.py +15 -11
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components.egg-info/PKG-INFO +1 -1
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/pyproject.toml +1 -1
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/LICENSE +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/README.md +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/__init__.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/eflyt/__init__.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/eflyt/eflyt_case.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/eflyt/eflyt_letter.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/eflyt/eflyt_login.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/eflyt/eflyt_search.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/eflyt/eflyt_util.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/getorganized/__init__.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/getorganized/go_api.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/graph/__init__.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/graph/authentication.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/graph/common.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/graph/file.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/graph/mail.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/graph/site.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/kmd_nova/__init__.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/kmd_nova/authentication.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/kmd_nova/cpr.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/kmd_nova/nova_cases.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/kmd_nova/nova_documents.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/kmd_nova/nova_notes.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/kmd_nova/nova_objects.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/kmd_nova/nova_tasks.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/kmd_nova/util.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/misc/__init__.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/misc/address_lookup.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/misc/cpr_util.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/misc/cvr_lookup.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/misc/file_util.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/sap/__init__.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/sap/fmcacov.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/sap/gridview_util.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/sap/multi_session.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/sap/sap_login.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/sap/sap_util.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/sap/tree_util.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/smtp/__init__.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components/smtp/smtp_util.py +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components.egg-info/SOURCES.txt +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components.egg-info/dependency_links.txt +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components.egg-info/requires.txt +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/itk_dev_shared_components.egg-info/top_level.txt +0 -0
- {itk_dev_shared_components-2.16.0 → itk_dev_shared_components-2.16.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: itk_dev_shared_components
|
|
3
|
-
Version: 2.16.
|
|
3
|
+
Version: 2.16.1
|
|
4
4
|
Summary: Shared components to use in RPA projects
|
|
5
5
|
Author-email: ITK Development <itk-rpa@mkb.aarhus.dk>
|
|
6
6
|
Project-URL: Homepage, https://github.com/itk-dev-rpa/itk-dev-shared-components
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from typing import Literal
|
|
4
4
|
from datetime import date
|
|
5
|
+
import time
|
|
5
6
|
import threading
|
|
6
7
|
|
|
7
8
|
import win32clipboard
|
|
@@ -125,18 +126,21 @@ def _confirm_kundekontakt(session, notat: str, art: str):
|
|
|
125
126
|
Compare date, art and (up to) the first 10 letters of the notat
|
|
126
127
|
"""
|
|
127
128
|
session.findById("wnd[0]/usr/tabsDATA_DISP/tabpDATA_DISP_FC3").select()
|
|
128
|
-
table = session.findById("wnd[0]/usr/tabsDATA_DISP/tabpDATA_DISP_FC3/ssubDATA_DISP_SCA:RFMCA_COV:0204/cntlRFMCA_COV_0100_CONT3/shellcont/shell")
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
for i in range(5):
|
|
131
|
+
table = session.findById("wnd[0]/usr/tabsDATA_DISP/tabpDATA_DISP_FC3/ssubDATA_DISP_SCA:RFMCA_COV:0204/cntlRFMCA_COV_0100_CONT3/shellcont/shell")
|
|
132
|
+
rows = min(10, table.RowCount)
|
|
133
|
+
for row in range(rows):
|
|
134
|
+
kundekontakt_date = table.GetCellValue(row, "DATE")
|
|
135
|
+
kontaktart = table.GetCellValue(row, "ZZ_KONTAKTART")
|
|
136
|
+
kontakttekst = table.GetCellValue(row, "ZZ_TEXT")
|
|
131
137
|
|
|
132
|
-
|
|
133
|
-
kundekontakt_date = table.GetCellValue(row, "DATE")
|
|
134
|
-
kontaktart = table.GetCellValue(row, "ZZ_KONTAKTART")
|
|
135
|
-
kontakttekst = table.GetCellValue(row, "ZZ_TEXT")
|
|
138
|
+
length_to_compare = min([10, len(notat), len(kontakttekst)])
|
|
136
139
|
|
|
137
|
-
|
|
140
|
+
if (date.today().strftime("%d.%m.%Y") == kundekontakt_date and art == kontaktart and notat[:length_to_compare] == kontakttekst[:length_to_compare]):
|
|
141
|
+
return
|
|
138
142
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
+
time.sleep(i+1)
|
|
144
|
+
session.findById("wnd[0]/tbar[1]/btn[7]").press() # Refresh page
|
|
145
|
+
|
|
146
|
+
raise RuntimeError("The kundekontakt wasn't found in the kontakt-table after creation.")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: itk_dev_shared_components
|
|
3
|
-
Version: 2.16.
|
|
3
|
+
Version: 2.16.1
|
|
4
4
|
Summary: Shared components to use in RPA projects
|
|
5
5
|
Author-email: ITK Development <itk-rpa@mkb.aarhus.dk>
|
|
6
6
|
Project-URL: Homepage, https://github.com/itk-dev-rpa/itk-dev-shared-components
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|