Skip to content
Snippets Groups Projects
Commit 44dce9b1 authored by b.ulrich's avatar b.ulrich
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1046799][Firma - Kundenstammblatt -...

[Projekt: Entwicklung - Neon][TicketNr.: 1046799][Firma - Kundenstammblatt - Aktivitäten werden doppelt angedruckt]
parent e98a9979
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ OrgUtils.openOrgReport = function(pOrgId)
.from("ACTIVITY")
.join("ACTIVITYLINK", "ACTIVITYLINK.ACTIVITY_ID = ACTIVITYID")
.join("CONTACT", "ACTIVITYLINK.OBJECT_ROWID = CONTACTID")
.leftJoin("PERSON", "CONTACT.PERSON_ID = PERSONID")
.rightJoin("PERSON", "CONTACT.PERSON_ID = PERSONID")
.where("CONTACT.ORGANISATION_ID", pOrgId) //= all activities linked to the organization or an employee
.orderBy("ENTRYDATE desc")
.table();
......
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