diff --git a/entity/Organisation_entity/entityfields/organisation_report_data/valueProcess.js b/entity/Organisation_entity/entityfields/organisation_report_data/valueProcess.js index 83e68135601c412aa0c26368f31bcc5e3f14a18f..9dafd51d0b1c399e094c6cf45f8e290128438f48 100644 --- a/entity/Organisation_entity/entityfields/organisation_report_data/valueProcess.js +++ b/entity/Organisation_entity/entityfields/organisation_report_data/valueProcess.js @@ -2,7 +2,7 @@ import("system.vars"); import("system.result"); import("Organisation_lib"); -var reportData = OrgUtils.buildOrgReport(vars.get("$field.ORGANISATIONID")) +var reportData = OrgUtils.buildOrgReport(vars.get("$field.ORGANISATIONID"), vars.get("$field.CONTACTID")) if (reportData != null) { result.string(reportData[1]); diff --git a/entity/Organisation_entity/entityfields/orgreport/onActionProcess.js b/entity/Organisation_entity/entityfields/orgreport/onActionProcess.js index 64b6512c914e4f9780e7fed52e243774c74e0aa8..1e5bcbc94ce25d28f5ad566f69090b2b8098f135 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"), vars.get("$field.CONTACTID")); \ No newline at end of file +OrgUtils.openOrgReport(vars.get("$field.ORGANISATIONID")); \ No newline at end of file