Skip to content

Commit

Permalink
IDEMPIERE-6137 Payment Rule does not appear in reports from Sales Ord…
Browse files Browse the repository at this point in the history
…er (#2347)
  • Loading branch information
CarlosRuiz-globalqss committed May 6, 2024
1 parent 881e758 commit a121f7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions org.adempiere.base/src/org/compiere/print/DataEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -512,6 +514,8 @@ else if (AD_Reference_ID == DisplayType.Table
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;
Expand Down

0 comments on commit a121f7e

Please sign in to comment.