diff --git a/entity/Organisation_entity/entityfields/orgreport/onActionProcess.js b/entity/Organisation_entity/entityfields/orgreport/onActionProcess.js index 1e5bcbc94ce25d28f5ad566f69090b2b8098f135..5be38c8360eab84b886e95adcee6bee84f49c001 100644 --- a/entity/Organisation_entity/entityfields/orgreport/onActionProcess.js +++ b/entity/Organisation_entity/entityfields/orgreport/onActionProcess.js @@ -1,4 +1,4 @@ import("system.vars"); import("Organisation_lib"); -OrgUtils.openOrgReport(vars.get("$field.ORGANISATIONID")); \ No newline at end of file +OrgUtils.openOrgReport(vars.get("$field.CONTACTID")); \ No newline at end of file diff --git a/process/Organisation_lib/process.js b/process/Organisation_lib/process.js index fcba728823650949bd9fb79ca13dcfa8bb8dc918..ae3069a4d2e97d69214c1c028a2f281bce49ae2c 100644 --- a/process/Organisation_lib/process.js +++ b/process/Organisation_lib/process.js @@ -228,9 +228,9 @@ var activityData = activityQuery.table() /** * opens the org-report * - * @param {String} pOrgId the id of the organization + * @param {String} pContactId the contactid of the organization */ -OrgUtils.openOrgReport = function(pOrgId) +OrgUtils.openOrgReport = function(pContactId) { - neon.openContext("Organisation", "OrganisationReport_view", [pOrgId], neon.OPERATINGSTATE_VIEW, null); + neon.openContext("Organisation", "OrganisationReport_view", [pContactId], neon.OPERATINGSTATE_VIEW, null); }