Answers.Body: <p>It was indeed a bug (filed here: <a href="http://issues.civicrm.org/jira/browse/CRM-18169" rel="nofollow">issues.civicrm.org/jira/browse/CRM-18169</a>).  This will be corrected in Civi 4.7.4 by this pull request: <a href="https://github.com/civicrm/civicrm-core/pull/7942" rel="nofollow">https://github.com/civicrm/civicrm-core/pull/7942</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-09T17:27:13.287Z
Answers.LastActivityDate: 2016-03-09T17:27:13.287Z
Answers.UserDisplayName: Allen Hutchison
Body: <p>Using Civi 4.7.2 (and then on 4.7.3; I thought I needed to upgrade to fix) with Drupal, I get the following error when I try to export an accounting batch to CSV:</p>
  
  <blockquote>
    <p>Fatal error: Call to undefined method
    CRM_Financial_BAO_ExportFormat_CSV::exportACCNT() in
    C:\xampp\htdocs\test\sites\all\modules\contrib\civicrm\CRM\Financial\BAO\ExportFormat\CSV.php
    on line 68</p>
  </blockquote>
  
  <p>I then tried both the Drupal and Wordpress 4.7 demos from demo.civicrm.org.  I added three of the demo contributions to a new batch and tried to export to CSV.  Both the Drupal and Wordpress demos white-screened.  </p>
  
  <p>I tried the Drupal 4.6 demo at d46.demo.civicrm.org and it successfully exported the CSV.</p>
  
  <p>Did something happen between 4.6 and 4.7 for this function?  Is this a bug that needs to be reported at <a href="https://issues.civicrm.org" rel="nofollow">https://issues.civicrm.org</a>?  </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-06T04:01:49.557Z
Comments.Text: This definitely merits a report on issues.civicrm.org.  Please list the steps to replicate the bug and reference this StackExchange question!
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-06T05:32:07.893Z
Comments.Text: Thanks @JonG. The issue has been reported: https://issues.civicrm.org/jira/browse/CRM-18169
Comments.UserDisplayName: Allen Hutchison
Tags: <issues><export><accounting><batches>
Title: Fatal error when exporting accounting batch to CSV in 4.7
ThreadText: # Fatal error when exporting accounting batch to CSV in 4.7
  
  (Asked by: username_0 on 2016-03-05)
  
  Using Civi 4.7.2 (and then on 4.7.3; I thought I needed to upgrade to fix) with Drupal, I get the following error when I try to export an accounting batch to CSV:
  
  > Fatal error: Call to undefined method
  > CRM\_Financial\_BAO\_ExportFormat\_CSV::exportACCNT() in
  > C:\xampp\htdocs\test\sites\all\modules\contrib\civicrm\CRM\Financial\BAO\ExportFormat\CSV.php
  > on line 68
  
  I then tried both the Drupal and Wordpress 4.7 demos from demo.civicrm.org. I added three of the demo contributions to a new batch and tried to export to CSV. Both the Drupal and Wordpress demos white-screened.
  
  I tried the Drupal 4.6 demo at d46.demo.civicrm.org and it successfully exported the CSV.
  
  Did something happen between 4.6 and 4.7 for this function? Is this a bug that needs to be reported at <https://issues.civicrm.org>?
  
  **Tags:** issues, export, accounting, batches
  
  > **Comments:**
  > **username_1**: This definitely merits a report on issues.civicrm.org.  Please list the steps to replicate the bug and reference this StackExchange question!  
  > **username_0**: Thanks @JonG. The issue has been reported: https://issues.civicrm.org/jira/browse/CRM-18169  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-03-09. Score: 0 | Accepted answer
  
  It was indeed a bug (filed here: [issues.civicrm.org/jira/browse/CRM-18169](http://issues.civicrm.org/jira/browse/CRM-18169)). This will be corrected in Civi 4.7.4 by this pull request: <https://github.com/civicrm/civicrm-core/pull/7942>
  
  
  ---
  
  