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

preset OrganisationId_param on OrganisationAndContactAddress provider

parent 43ba7a51
No related branches found
No related tags found
No related merge requests found
......@@ -232,6 +232,8 @@
</entityParameter>
<entityParameter>
<name>OrganisationId_param</name>
<title></title>
<valueProcess>%aditoprj%/entity/Address_entity/entityfields/organisationandcontactaddresses/children/organisationid_param/valueProcess.js</valueProcess>
<expose v="true" />
</entityParameter>
<entityParameter>
......
import("system.db");
import("system.result");
import("Sql_lib");
result.string(db.cell(SqlCondition.begin()
.andPrepareVars("CONTACT.CONTACTID", "$param.ContactId_param")
.buildSql("select ORGANISATION_ID from CONTACT", "1=2")));
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