modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_DATASET_TABLE.xml
author Carlos Aristu <carlos.aristu@openbravo.com>
Mon, 14 Dec 2015 16:26:16 +0100
changeset 28129 7c6686c84928
parent 9091 c4f1a5c7d7c2
permissions -rw-r--r--
fixes issue 31676: Some values are not shown in XLS format using MS Office

The detect cell type feature was not working properly for BigInteger values in Office after the Jasper Library Upgrade. A personalized format was applied causing the data not be shown when opening the report.

To solve this problem the detect cell type feature has been disabled. This way, by default, all the values in the XLS will be exported as strings.

This default configuration can be overriden at report level. As an example, the General Ledger Report and Trial Balance report have been updated properly. With this configuration, those reports are now using number formatting for the cells showing the BigDecimal values.
harpreet@9091
     1
<?xml version='1.0' encoding='UTF-8'?>
harpreet@9091
     2
<data>
harpreet@9091
     3
<!--6A2870B4432F4771A6B5144B08F0CDC5--><AD_DATASET_TABLE>
harpreet@9091
     4
<!--6A2870B4432F4771A6B5144B08F0CDC5-->  <AD_DATASET_TABLE_ID><![CDATA[6A2870B4432F4771A6B5144B08F0CDC5]]></AD_DATASET_TABLE_ID>
harpreet@9091
     5
<!--6A2870B4432F4771A6B5144B08F0CDC5-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9091
     6
<!--6A2870B4432F4771A6B5144B08F0CDC5-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9091
     7
<!--6A2870B4432F4771A6B5144B08F0CDC5-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
harpreet@9091
     8
<!--6A2870B4432F4771A6B5144B08F0CDC5-->  <AD_DATASET_ID><![CDATA[0]]></AD_DATASET_ID>
harpreet@9091
     9
<!--6A2870B4432F4771A6B5144B08F0CDC5-->  <AD_TABLE_ID><![CDATA[8EE7634FA71B40FDB9ADF85374264BF6]]></AD_TABLE_ID>
harpreet@9091
    10
<!--6A2870B4432F4771A6B5144B08F0CDC5-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
harpreet@9091
    11
<!--6A2870B4432F4771A6B5144B08F0CDC5-->  <WHERECLAUSE><![CDATA[obcql_widget_query_id in (select obcql_widget_query_id from obcql_widget_query wq, obkmo_widget_class wc where wc.ad_module_id in (:moduleid) and wq.obkmo_widget_class_id = wc.obkmo_widget_class_id)]]></WHERECLAUSE>
harpreet@9091
    12
<!--6A2870B4432F4771A6B5144B08F0CDC5-->  <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO>
harpreet@9091
    13
<!--6A2870B4432F4771A6B5144B08F0CDC5-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
harpreet@9091
    14
<!--6A2870B4432F4771A6B5144B08F0CDC5-->  <AD_MODULE_ID><![CDATA[0A060B2AF1974E8EAA8DB61388E9AECC]]></AD_MODULE_ID>
harpreet@9091
    15
<!--6A2870B4432F4771A6B5144B08F0CDC5--></AD_DATASET_TABLE>
harpreet@9091
    16
harpreet@9091
    17
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727--><AD_DATASET_TABLE>
harpreet@9091
    18
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727-->  <AD_DATASET_TABLE_ID><![CDATA[FB71B460D2DA4B0C8EA8EB9C6FB65727]]></AD_DATASET_TABLE_ID>
harpreet@9091
    19
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9091
    20
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9091
    21
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
harpreet@9091
    22
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727-->  <AD_DATASET_ID><![CDATA[0]]></AD_DATASET_ID>
harpreet@9091
    23
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727-->  <AD_TABLE_ID><![CDATA[87AB97C7EED3429BBEFE9EF28EFACC08]]></AD_TABLE_ID>
harpreet@9091
    24
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
harpreet@9091
    25
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727-->  <WHERECLAUSE><![CDATA[obkmo_widget_class_id in (select obkmo_widget_class_id from obkmo_widget_class where ad_module_id in (:moduleid))]]></WHERECLAUSE>
harpreet@9091
    26
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727-->  <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO>
harpreet@9091
    27
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
harpreet@9091
    28
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727-->  <AD_MODULE_ID><![CDATA[0A060B2AF1974E8EAA8DB61388E9AECC]]></AD_MODULE_ID>
harpreet@9091
    29
<!--FB71B460D2DA4B0C8EA8EB9C6FB65727--></AD_DATASET_TABLE>
harpreet@9091
    30
harpreet@9091
    31
</data>