\newkomavar{transaction}
\newkomavar[\lieferschein{}~\nr]{delivery}
\newkomavar[\angebot{}~\nr]{quote}
+\newkomavar{orderID}
+\newkomavar{projectID}
\usepackage{geometry}
\ansprechpartner&\usekomavar{fromname}
\ifkomavarempty{fromphone}{}{\\\textTelefon&\usekomavar{fromphone}}
\ifkomavarempty{fromemail}{}{\\\textEmail&\usekomavar{fromemail}}
+ \ifkomavarempty{projectID}{}{\\\projektnummer&\usekomavar{projectID}}
+ \ifkomavarempty{orderID}{}{\\\auftragsnummer&\usekomavar{orderID}}
\end{tabularx}
}
\removereffields