Skip to content
Snippets Groups Projects
Commit 889b5253 authored by Alexander Vögl's avatar Alexander Vögl
Browse files

Organisation-Report Fix

parent 354647f8
No related branches found
No related tags found
No related merge requests found
import("system.vars"); import("system.vars");
import("Organisation_lib"); import("Organisation_lib");
OrgUtils.openOrgReport(vars.get("$field.ORGANISATIONID")); OrgUtils.openOrgReport(vars.get("$field.CONTACTID"));
\ No newline at end of file \ No newline at end of file
...@@ -228,9 +228,9 @@ var activityData = activityQuery.table() ...@@ -228,9 +228,9 @@ var activityData = activityQuery.table()
/** /**
* opens the org-report * 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);
} }
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