<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Error in report for custom values (Thread)</title><description> Hi,  Im generating report which includes a custom value and followed the instruction,  https://www.inflectra.com/Support/KnowledgeBase/KB369.aspx   i managed to get the report from the custom fields, however with the one using for the Date data type, its showing error  Heres the error message in the Event Log  Messages: An error occurred while reading from the store providers data reader. See the inner exception for details. [System.Data.EntityCommandExecutionException] Conversion failed when converting the nvarchar value 2020-03-11T13:00:00.000 to data type int. [System.Data.SqlClient.SqlException]  at APPLICATION.Business.ReportManager.ReportCustomSection_ExecuteSQL(Int32 projectId, Int32 projectGroupId, String sql, UpdateBackgroundProcessStatus updateBackgroundProcessStatus, Int32 progress, Int32 numberOfRecords)     My suspect is with the conversion from Date type to Int32 or something like that  Anyone knows how to fix this?  Many thanks </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spirateam/reports/2157.aspx</link><item><guid isPermaLink="false">threadId=2157</guid><author>Tung Nguyen (tran.nguyen@transport.nsw.gov.au)</author><title>Error in report for custom values</title><description> Hi,  Im generating report which includes a custom value and followed the instruction,  https://www.inflectra.com/Support/KnowledgeBase/KB369.aspx   i managed to get the report from the custom fields, however with the one using for the Date data type, its showing error  Heres the error message in the Event Log  Messages: An error occurred while reading from the store providers data reader. See the inner exception for details. [System.Data.EntityCommandExecutionException] Conversion failed when converting the nvarchar value 2020-03-11T13:00:00.000 to data type int. [System.Data.SqlClient.SqlException]  at APPLICATION.Business.ReportManager.ReportCustomSection_ExecuteSQL(Int32 projectId, Int32 projectGroupId, String sql, UpdateBackgroundProcessStatus updateBackgroundProcessStatus, Int32 progress, Int32 numberOfRecords)     My suspect is with the conversion from Date type to Int32 or something like that  Anyone knows how to fix this?  Many thanks </description><pubDate>Wed, 18 Mar 2020 00:50:07 -0400</pubDate><a10:updated>2020-03-20T00:31:25-04:00</a10:updated><link>/Support/Forum/spirateam/reports/2157.aspx</link></item><item><guid isPermaLink="false">messageId=3747</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> For those curious about this issue:   You only need the join onto the custom property values entity</title><description> For those curious about this issue:   You only need the join onto the custom property values entity if you have a list or multi-list property. For simple values (text, numeric, dates), the data is in the main entity itself (i.e. Custom_XX contains the value itself)  </description><pubDate>Thu, 19 Mar 2020 11:43:34 -0400</pubDate><a10:updated>2020-03-19T11:43:34-04:00</a10:updated><link>/Support/Forum/spirateam/reports/2157.aspx#reply3747</link></item><item><guid isPermaLink="false">messageId=3748</guid><author>Tung Nguyen (tran.nguyen@transport.nsw.gov.au)</author><title> Hi David, I think this info may confuse people and lead to misunderstanding. From the KB link I sha</title><description> Hi David, I think this info may confuse people and lead to misunderstanding. From the KB link I shared which I assume we have to cast all custom fields to get the actual data instead of its ID    However it will not include the display names of any custom list fields, only text ones. Custom list fields will display just the ID of the value, not the display name.  To display the name, we will need to join the  R_CustomListValues  entity to the result  Thanks, </description><pubDate>Fri, 20 Mar 2020 00:31:25 -0400</pubDate><a10:updated>2020-03-20T00:31:25-04:00</a10:updated><link>/Support/Forum/spirateam/reports/2157.aspx#reply3748</link></item></channel></rss>