Skip to content
Snippets Groups Projects
Commit c72ea3c6 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

#1062047-FehlerBearbeitungMitarbeiter Anzeige der E-Mail und Behebung des Fehlers beim Setzen

parent ee1299a2
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ if ((vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW || vars.get("$sys.r
neon.setFieldValues({
"$field.FIRSTNAME" : name[0] || "",
"$field.LASTNAME" : name[1] || "",
"$field.EMAIL_ADDRESS" : name[2] || "",
"$field.EMAIL_ADDRESS" : name[2] || vars.get("$field.EMAIL_ADDRESS") || "",
"$field.TITLE" : username
});
}
\ No newline at end of file
......@@ -6,7 +6,7 @@ import("system.result");
import("Sql_lib");
var contactId = vars.get("$field.CONTACT_ID");
if (contactId && (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_EDIT || vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW))
if (contactId)
{
var addresses = newSelect("ADDR, ADDR")
.from("COMMUNICATION")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment