IDEMPIERE-683 window "invoice schedule" not shows records in Report. Base on patch from Richard Morales Herrera.
This commit is contained in:
parent
1e00ab52ff
commit
58effe2266
|
@ -423,9 +423,6 @@ public class DataEngine
|
|||
groupByColumns.add(m_synonym+".Name");
|
||||
orderName = m_synonym + "Name";
|
||||
// => x JOIN AD_Ref_List A ON (x.KeyColumn=A.Value AND A.AD_Reference_ID=123)
|
||||
if (IsMandatory)
|
||||
sqlFROM.append(" INNER JOIN ");
|
||||
else
|
||||
sqlFROM.append(" LEFT OUTER JOIN ");
|
||||
sqlFROM.append("AD_Ref_List ").append(m_synonym).append(" ON (")
|
||||
.append(lookupSQL).append("=").append(m_synonym).append(".Value")
|
||||
|
@ -440,17 +437,11 @@ public class DataEngine
|
|||
|
||||
// LEFT OUTER JOIN AD_Ref_List XA ON (AD_Table.EntityType=XA.Value AND XA.AD_Reference_ID=245)
|
||||
// LEFT OUTER JOIN AD_Ref_List_Trl A ON (XA.AD_Ref_List_ID=A.AD_Ref_List_ID AND A.AD_Language='de_DE')
|
||||
if (IsMandatory)
|
||||
sqlFROM.append(" INNER JOIN ");
|
||||
else
|
||||
sqlFROM.append(" LEFT OUTER JOIN ");
|
||||
sqlFROM.append(" AD_Ref_List X").append(m_synonym).append(" ON (")
|
||||
.append(lookupSQL).append("=X")
|
||||
.append(m_synonym).append(".Value AND X").append(m_synonym).append(".AD_Reference_ID=").append(AD_Reference_Value_ID)
|
||||
.append(")");
|
||||
if (IsMandatory)
|
||||
sqlFROM.append(" INNER JOIN ");
|
||||
else
|
||||
sqlFROM.append(" LEFT OUTER JOIN ");
|
||||
sqlFROM.append(" AD_Ref_List_Trl ").append(m_synonym).append(" ON (X")
|
||||
.append(m_synonym).append(".AD_Ref_List_ID=").append(m_synonym).append(".AD_Ref_List_ID")
|
||||
|
|
Loading…
Reference in New Issue