details:   https://code.openbravo.com/erp/devel/pi/rev/7a2993961171
changeset: 24150:7a2993961171
user:      Atul Gaware <atul.gaware <at> openbravo.com>
date:      Thu Jul 31 22:31:26 2014 +0530
summary:   Fixes Issue 26930:Balance Sheet, P&L Rpt should show legal name of 
org
instead of name

diffstat:

 src/org/openbravo/erpCommon/ad_reports/Organization_data.xsql |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 286896a13002 -r 7a2993961171 
src/org/openbravo/erpCommon/ad_reports/Organization_data.xsql
--- a/src/org/openbravo/erpCommon/ad_reports/Organization_data.xsql     Fri Aug 
01 12:37:37 2014 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/Organization_data.xsql     Thu Jul 
31 22:31:26 2014 +0530
@@ -46,7 +46,7 @@
    <SqlMethod name="selectOrgName" type="preparedStatement" return="string" 
default="">
       <SqlMethodComment></SqlMethodComment>
       <Sql>
-        SELECT NAME FROM AD_ORG
+        SELECT COALESCE(SOCIAL_NAME, NAME) AS NAME FROM AD_ORG
         WHERE AD_ORG_ID = ?
       </Sql>
       <Parameter name="org"/>

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to