Fix error in previous commit

FR [ 2391399 ] Create dunning run should allow filtering by org
Thanks Teo for catching.
This commit is contained in:
phib 2008-12-09 11:12:24 +00:00
parent dc052e6847
commit b8d7f60427
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ public class DunningRunCreate extends SvrProcess
if (p_OnlySOTrx)
sql += " AND IsReceipt='Y'";
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;
PreparedStatement pstmt = null;