Fix error in previous commit
FR [ 2391399 ] Create dunning run should allow filtering by org Thanks Teo for catching.
This commit is contained in:
parent
dc052e6847
commit
b8d7f60427
|
@ -332,7 +332,7 @@ public class DunningRunCreate extends SvrProcess
|
||||||
if (p_OnlySOTrx)
|
if (p_OnlySOTrx)
|
||||||
sql += " AND IsReceipt='Y'";
|
sql += " AND IsReceipt='Y'";
|
||||||
if ( p_AD_Org_ID != 0 )
|
if ( p_AD_Org_ID != 0 )
|
||||||
sql += " AND i.AD_Org_ID=" + p_AD_Org_ID;
|
sql += " AND p.AD_Org_ID=" + p_AD_Org_ID;
|
||||||
|
|
||||||
int count = 0;
|
int count = 0;
|
||||||
PreparedStatement pstmt = null;
|
PreparedStatement pstmt = null;
|
||||||
|
|
Loading…
Reference in New Issue