IDEMPIERE-6137 Payment Rule does not appear in reports from Sales Order (#2347)
This commit is contained in:
parent
42e998ff7d
commit
39fff47de6
|
|
@ -16,6 +16,8 @@
|
|||
*****************************************************************************/
|
||||
package org.compiere.print;
|
||||
|
||||
import static org.compiere.model.SystemIDs.REFERENCE_PAYMENTRULE;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Clob;
|
||||
|
|
@ -513,6 +515,8 @@ public class DataEngine
|
|||
else if (DisplayType.isList(AD_Reference_ID)
|
||||
|| (AD_Reference_ID == DisplayType.Button && AD_Reference_Value_ID != 0))
|
||||
{
|
||||
if (AD_Reference_ID == DisplayType.Payment)
|
||||
AD_Reference_Value_ID = REFERENCE_PAYMENTRULE;
|
||||
if (ColumnSQL.length() > 0)
|
||||
{
|
||||
lookupSQL = ColumnSQL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue