Skip to content
Snippets Groups Projects
Commit d2f324ee authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

order: reset objectrowid on contact_id change

parent 339e783a
No related branches found
No related tags found
No related merge requests found
import("system.neon");
import("system.vars");
import("system.db");
import("Util_lib");
......@@ -8,5 +9,7 @@ if(contactid != "")
{
var relData = db.array(db.ROW, "select ISOLANGUAGE from CONTACT where CONTACTID = '" + contactid + "'");
if(relData[0] != "") vars.set("$field.ISOLANGUAGE", relData[0]);
}
\ No newline at end of file
if(relData[0] != "")
vars.set("$field.ISOLANGUAGE", relData[0]);
}
neon.setFieldValue("$field.OBJECT_ROWID", null)
\ No newline at end of file
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