Skip to content
Snippets Groups Projects
Commit a2a4e093 authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

Merge branch '1056978_FixAddressCompletionOverwritesStreet' into '2020.1.2'

[Projekt: Entwicklung - Neon][TicketNr.: 1056978][Automatische Adressbefüllung überschreibt Straße]

See merge request xrm/basic!239
parents fdd402ac 8d59d32c
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,6 @@
<mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/address/mandatoryProcess.js</mandatoryProcess>
<textInputAllowed v="true" />
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/address/stateProcess.js</stateProcess>
<valueProcess>%aditoprj%/entity/Address_entity/entityfields/address/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Address_entity/entityfields/address/displayValueProcess.js</displayValueProcess>
<onValueChange>%aditoprj%/entity/Address_entity/entityfields/address/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
......
import("system.vars");
import("system.result");
// Needed for instant refresh if set by neon.setFieldValue
// use the code if address webservice is active
//result.string(vars.get("$field.ADDRESS"));
\ No newline at end of file
import("system.result");
import("WsValidation_lib");
import("system.vars");
// use the code if address webservice is active
//result.string(WsValidationUtils.valueFromJSON(vars.get("$this.value")));
\ No newline at end of file
import("system.vars");
import("WsValidation_lib");
WsValidationFieldUtils.wsValueProcess(WsValidationType.get().TYPE_STREET_NOMINATIM, "$field.ADDRESS");
\ No newline at end of file
if(!vars.get("$this.value"))
WsValidationFieldUtils.wsValueProcess(WsValidationType.get().TYPE_STREET_NOMINATIM, "$field.ADDRESS");
\ 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