opret_kundekontakter
(session, fp: str, aftaler: list[str] | None, art: Literal[’ ‘, ‘Automatisk’, ‘Fakturagrundlag’, ‘Fuldmagt ifm. værge’, ‘Konverteret’, ‘Myndighedshenvend.’, ‘Orientering’, ‘Returpost’, ‘Ringeaktivitet’, ‘Skriftlig henvend.’, ‘Telefonisk henvend.’], notat: str, lock=None) -> None
Creates a kundekontakt on the given FP and aftaler.
Args:
session: The SAP session to preform the action.
fp: The forretningspartner number.
aftaler: A list of aftaler to put the kundekontakt on. If empty or None the kundekontakt will be created on fp-level.
art: The art of the kundekontakt.
notat: The text of the kundekontakt.
lock: A threading.Lock object to allow this function to run properly when multithreaded. Defaults to None.
Raises:
RuntimeError: If the kundekontakt wasn't created.