CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • CiviCase QA/Audit Report
Pages: [1]

Author Topic: CiviCase QA/Audit Report  (Read 1915 times)

davidh

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal 7
  • MySQL version: 5.1.41
  • PHP version: 3.2.4???
CiviCase QA/Audit Report
August 11, 2011, 06:12:12 am
We have managed to setup and are running CiviCase (trial at present) but I have read that activitysets can be used in the Audit report ??? I have looked for an example of how you would writ this into your configuration file but so far all I can get is the title to show up...

Does any one have an example of how to write this in please>>>>

Many thanks in advance...

TTFN

David

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CiviCase QA/Audit Report
August 13, 2011, 11:39:22 am
Copy and paste the one you have for standard_timeline directly after itself into the file, and change the name and label, and then adjust/remove the ActivityType entries to match what you want for this second set. You can have multiple sets.

...
<ActivitySets>
  <ActivitySet>
    <name>standard_timeline</name>
      ...
  </ActivitySet>
  <ActivitySet>
    <name>something_for_audit_report</name>
     ...
  </ActivitySet>

</ActivitySets>   

davidh

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal 7
  • MySQL version: 5.1.41
  • PHP version: 3.2.4???
Re: CiviCase QA/Audit Report
September 16, 2011, 01:05:48 am
Thank you demeritcowboy... I have followed your example

<ActivitySets>
  <ActivitySet>
    <name>standard_timeline</name>
      ...
  </ActivitySet>
  <ActivitySet>
    <name>something_for_audit_report</name>
     ...
  </ActivitySet>
</ActivitySets>

and it shows up in both the timeline and audit report dropdown menus but when I run the report I get a load of error messages... sample below... any ideas or could you post a little bit more of the example please... :)

Many thanks in advance

David

Notice: Undefined property: CRM_Core_DAO::$targetID in CRM_Case_XMLProcessor_Report->getActivity() (line 316 of C:\xampp\htdocs\lchscmd7\sites\all\modules\lchscm\CRM\Case\XMLProcessor\Report.php).
Notice: Undefined property: CRM_Core_DAO::$assigneeID in CRM_Case_XMLProcessor_Report->getActivity() (line 399 of C:\xampp\htdocs\lchscmd7\sites\all\modules\lchscm\CRM\Case\XMLProcessor\Report.php).
Notice: Undefined property: CRM_Core_DAO::$targetID in CRM_Case_XMLProcessor_Report->getActivity() (line 316 of C:\xampp\htdocs\lchscmd7\sites\all\modules\lchscm\CRM\Case\XMLProcessor\Report.php).
Notice: Undefined property: CRM_Core_DAO::$assigneeID in CRM_Case_XMLProcessor_Report->getActivity() (line 399 of C:\xampp\htdocs\lchscmd7\sites\all\modules\lchscm\CRM\Case\XMLProcessor\Report.php).
Notice: Undefined property: CRM_Core_DAO::$targetID in CRM_Case_XMLProcessor_Report->getActivity() (line 316 of C:\xampp\htdocs\lchscmd7\sites\all\modules\lchscm\CRM\Case\XMLProcessor\Report.php).
Notice: Undefined property: CRM_Core_DAO::$assigneeID in CRM_Case_XMLProcessor_Report->getActivity() (line 399 of C:\xampp\htdocs\lchscmd7\sites\all\modules\lchscm\CRM\Case\XMLProcessor\Report.php).
Notice: Undefined property: CRM_Core_DAO::$targetID in CRM_Case_XMLProcessor_Report->getActivity() (line 316 of C:\xampp\htdocs\lchscmd7\sites\all\modules\lchscm\CRM\Case\XMLProcessor\Report.php).

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CiviCase QA/Audit Report
September 16, 2011, 07:47:48 am
I think technically it's not an error just the code could be improved to handle blank data. A workaround for now is to turn minor warnings off or log them to a file instead of the screen. See
http://www.php.net/manual/en/errorfunc.configuration.php

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CiviCase QA/Audit Report
September 18, 2011, 12:15:40 pm
This is fixed in trunk r36196

davidh

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal 7
  • MySQL version: 5.1.41
  • PHP version: 3.2.4???
Re: CiviCase QA/Audit Report
September 29, 2011, 03:57:05 am
Many thanks demeritcowboy that has really helped and is most appreciated  ;D ;D

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • CiviCase QA/Audit Report

This forum was archived on 2017-11-26.