diff --git a/entity/Order_entity/Order_entity.aod b/entity/Order_entity/Order_entity.aod index bfbbbc2ee17ab039a9cc90350dc19a069c6320bb..88a195359f9b9da45e5eeaa8de5b0f9e0ad6a3d4 100644 --- a/entity/Order_entity/Order_entity.aod +++ b/entity/Order_entity/Order_entity.aod @@ -67,7 +67,6 @@ <mandatory v="true" /> <valueProcess>%aditoprj%/entity/Order_entity/entityfields/contact_id/valueProcess.js</valueProcess> <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/contact_id/displayValueProcess.js</displayValueProcess> - <onValueChange>%aditoprj%/entity/Order_entity/entityfields/contact_id/onValueChange.js</onValueChange> <onValueChangeTypes> <element>MASK</element> </onValueChangeTypes> diff --git a/entity/Order_entity/entityfields/contact_id/onValueChange.js b/entity/Order_entity/entityfields/contact_id/onValueChange.js deleted file mode 100644 index 38d1cb778cfbcc7a0cf5d1bc0a55f142e965f213..0000000000000000000000000000000000000000 --- a/entity/Order_entity/entityfields/contact_id/onValueChange.js +++ /dev/null @@ -1,17 +0,0 @@ -import("Sql_lib"); -import("system.neon"); -import("system.vars"); -import("Util_lib"); -import("Entity_lib"); - -var contactid = vars.get("local.value"); - -var relData = newSelect("ISOLANGUAGE") - .from("CONTACT") - .whereIfSet("CONTACT.CONTACTID", contactid) - .cell(true); - -if(relData) - vars.set("$field.ISOLANGUAGE", relData); - -neon.setFieldValue("$field.OBJECT_ROWID", null) \ No newline at end of file