Answers.Body: <p>I assume you're not asking how to customize reports in general, but what customization you can make to get your desired results.</p>
  
  <p>You can use the <code>alterDisplay()</code> function to modify the output of your report.  Check out <code>CRM_Core_PseudoConstact</code> and its methods (<code>getKey</code>, <code>getLabel</code>, <code>getName</code>) one of those is likely to do it for you.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-11T18:00:24.747Z
Answers.LastActivityDate: 2015-12-11T18:00:24.747Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I am using custom fields to store additional (cost accounting) data for contributions. Using the bookkeeping transactions report, I am able to export the data.</p>
  
  <p>However, when we are trying to import the data into the legacy accounting system, it does not accept the option's long name for import, but only the key value, which is stored in the custom field option value.</p>
  
  <p>How can I customize the bookkeeping transactions report, in order to make it print the custom field option value instead of name/label?</p>
  
  <p>Any hint is highly appreciated!</p>
  
  <p>Cheers, Detlev</p>
  
Tags: <custom-fields><civireport><custom-reports>
Title: Customize Bookkeeping Transactions Report: Print custom field option value instead of name/label
ThreadText: # Customize Bookkeeping Transactions Report: Print custom field option value instead of name/label
  
  (Asked by: username_0 on 2015-12-09)
  
  I am using custom fields to store additional (cost accounting) data for contributions. Using the bookkeeping transactions report, I am able to export the data.
  
  However, when we are trying to import the data into the legacy accounting system, it does not accept the option's long name for import, but only the key value, which is stored in the custom field option value.
  
  How can I customize the bookkeeping transactions report, in order to make it print the custom field option value instead of name/label?
  
  Any hint is highly appreciated!
  
  Cheers, username_0
  
  **Tags:** custom-fields, civireport, custom-reports
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-12-11. Score: 1
  
  I assume you're not asking how to customize reports in general, but what customization you can make to get your desired results.
  
  You can use the `alterDisplay()` function to modify the output of your report. Check out `CRM_Core_PseudoConstact` and its methods (`getKey`, `getLabel`, `getName`) one of those is likely to do it for you.
  
  
  ---
  
  