Buggy code:
public class PaySelect { public int m_WindowNo = 0 ; public DecimalFormat m_format = DisplayType . getNumberFormat ( Amount ) ; private BigDecimal m_bankBalance = new BigDecimal ( 0.0 ) ; private String m_sql ; private String m_sqlline ; public int m_noSelected = 0 ; private int m_AD_Client_ID = 0 ; public boolean m_isLocked = false ; public MPaySelection m_ps = null ; public static CLogger log = CLogger . getCLogger ( PaySelect . class ) ; public static final int C_OPEN_AMT = 9 ; public static final int C_PAY_AMT = 7 ; public static final int C_IDSP = 11 ; protected ArrayList < Integer > selectedPR = new ArrayList < Integer > ( ) ; protected ArrayList < Integer > selectedPRL = new ArrayList < Integer > ( ) ; public ArrayList < PaySelect . BankInfo > getBankAccountData ( ) { } public ArrayList < KeyNamePair > getBPartnerData ( ) { } public void prepareTable ( IMiniTable miniTable ) { } public ArrayList < ValueNamePair > getPaymentRuleData ( PaySelect . BankInfo bi ) { } public void loadTableInfo ( PaySelect . BankInfo bi , Timestamp payDate , ValueNamePair paymentRule , boolean onlyDue , KeyNamePair bpartner , KeyNamePair docType , IMiniTable miniTable ) { } public String calculateSelection ( IMiniTable miniTable ) { } public Trx trx = null ; public void generatePaySelect ( IMiniTable miniTable , ValueNamePair paymentRule , Timestamp payDate , PaySelect . BankInfo bi , String payDesription ) { } public class BankInfo { public BankInfo ( int newC_BankAccount_ID , int newC_Currency_ID , String newName , String newCurrency , BigDecimal newBalance , boolean newTransfers ) { } int C_BankAccount_ID ; int C_Currency_ID ; String Name ; public String Currency ; public BigDecimal Balance ; boolean Transfers ; public String toString ( ) { } } public void prepareTablePaymentRequest ( IMiniTable miniTable ) { } public ArrayList < KeyNamePair > getPaymentRequestData ( ) { } public void loadTableInfoPR ( PaySelect . BankInfo bi , Timestamp payDate , ValueNamePair paymentRule , KeyNamePair bpartner , KeyNamePair paymentRequest , IMiniTable miniTable ) { } public void prepareTablePaymentRequestLine ( IMiniTable miniTable ) { Properties ctx = Env . getCtx ( ) ; <START_BUG> m_sqlline = miniTable . prepareTable ( new ColumnInfo [ ] { new ColumnInfo ( "<seq2seq4repair_space>" , "prl.LVE_PaymentRequestLine_ID" , IDColumn . class , false , false , null ) , new ColumnInfo ( Msg . translate ( ctx , "C_BPartner_ID" ) , "bp.Name" , KeyNamePair . class , true , false , "bp.C_BPartner_ID" ) , new ColumnInfo ( Msg . translate ( ctx , "C_DocType_ID" ) , "dt.Name" , KeyNamePair . class , true , false , "COALESCE(ci.C_DocType_ID,co.C_DocType_ID,j.C_DocType_ID)" ) , new ColumnInfo ( Msg . translate ( ctx , "DocumentNo" ) , "COALESCE(COALESCE(ci.DocumentNo,co.DocumentNo),jb.DocumentNo<seq2seq4repair_space>||<seq2seq4repair_space>'<seq2seq4repair_space>'<seq2seq4repair_space>||<seq2seq4repair_space>jl.Line)" , String . class ) , new ColumnInfo ( Msg . translate ( ctx , "DueDate" ) , "prl.DueDate" , Timestamp . class , true , true , null ) , new ColumnInfo ( Msg . translate ( ctx , "AccountNo" ) , "bpa.AccountNo" , String . class ) , new ColumnInfo ( Msg . translate ( ctx , "GrandTotal" ) , "COALESCE(COALESCE(ci.GrandTotal,co.GrandTotal),jl.AmtSourceDR-jl.AmtSourceCR,prl.PayAmt)" , BigDecimal . class ) , new ColumnInfo ( Msg . getMsg ( ctx , "AmountPay" ) , "prl.PayAmt" , BigDecimal . class ) } , ( "LVE_PaymentRequestLine<seq2seq4repair_space>prl<seq2seq4repair_space>" + ( ( ( ( ( ( ( ( ( ( ( "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_Invoice<seq2seq4repair_space>ci<seq2seq4repair_space>ON<seq2seq4repair_space>(prl.C_Invoice_ID<seq2seq4repair_space>=<seq2seq4repair_space>ci.C_Invoice_ID)<seq2seq4repair_space>" + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_Order<seq2seq4repair_space>co<seq2seq4repair_space>ON<seq2seq4repair_space>(prl.C_Order_ID<seq2seq4repair_space>=<seq2seq4repair_space>co.C_Order_ID)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>GL_JournalLine<seq2seq4repair_space>jl<seq2seq4repair_space>ON<seq2seq4repair_space>(prl.GL_JournalLine_ID<seq2seq4repair_space>=<seq2seq4repair_space>jl.GL_JournalLine_ID)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>GL_Journal<seq2seq4repair_space>j<seq2seq4repair_space>ON<seq2seq4repair_space>(jl.GL_Journal_ID<seq2seq4repair_space>=<seq2seq4repair_space>j.GL_Journal_ID)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>GL_JournalBatch<seq2seq4repair_space>jb<seq2seq4repair_space>ON<seq2seq4repair_space>(jb.GL_JournalBatch_ID<seq2seq4repair_space>=<seq2seq4repair_space>j.GL_JournalBatch_ID)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_BPartner<seq2seq4repair_space>bp<seq2seq4repair_space>ON<seq2seq4repair_space>(bp.C_BPartner_ID<seq2seq4repair_space>=<seq2seq4repair_space>ci.C_BPartner_ID<seq2seq4repair_space>OR<seq2seq4repair_space>bp.C_BPartner_ID<seq2seq4repair_space>=<seq2seq4repair_space>co.C_BPartner_ID<seq2seq4repair_space>OR<seq2seq4repair_space>bp.C_BPartner_ID<seq2seq4repair_space>=<seq2seq4repair_space>jl.C_BPartner_ID<seq2seq4repair_space>OR<seq2seq4repair_space>bp.C_BPartner_ID<seq2seq4repair_space>=<seq2seq4repair_space>prl.C_BPartner_ID)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>(SELECT<seq2seq4repair_space>MAX(bpa.AccountNo)<seq2seq4repair_space>AccountNo,<seq2seq4repair_space>bpa.C_BPartner_ID<seq2seq4repair_space>" ) + "<seq2seq4repair_space>FROM<seq2seq4repair_space>C_BP_BankAccount<seq2seq4repair_space>bpa<seq2seq4repair_space>WHERE<seq2seq4repair_space>bpa.IsActive<seq2seq4repair_space>=<seq2seq4repair_space>'Y'<seq2seq4repair_space>" ) + "<seq2seq4repair_space>AND<seq2seq4repair_space>bpa.IsACH<seq2seq4repair_space>=<seq2seq4repair_space>'Y'<seq2seq4repair_space>" ) + "<seq2seq4repair_space>GROUP<seq2seq4repair_space>BY<seq2seq4repair_space>bpa.C_BPartner_ID)<seq2seq4repair_space>bpa" ) + "<seq2seq4repair_space>ON<seq2seq4repair_space>(bpa.C_BPartner_ID<seq2seq4repair_space>=<seq2seq4repair_space>bp.C_BPartner_ID)" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_DocType<seq2seq4repair_space>dt<seq2seq4repair_space>ON<seq2seq4repair_space>((dt.C_DocType_ID<seq2seq4repair_space>=<seq2seq4repair_space>ci.C_DocType_ID)<seq2seq4repair_space>OR<seq2seq4repair_space>(dt.C_DocType_ID<seq2seq4repair_space>=<seq2seq4repair_space>co.C_DocType_ID)<seq2seq4repair_space>OR<seq2seq4repair_space>(dt.C_DocType_ID<seq2seq4repair_space>=<seq2seq4repair_space>j.C_DocType_ID)<seq2seq4repair_space>)" ) ) , ( "<seq2seq4repair_space>(ci.IsInDispute<seq2seq4repair_space>=<seq2seq4repair_space>'N'<seq2seq4repair_space>OR<seq2seq4repair_space>ci.C_Invoice_ID<seq2seq4repair_space>IS<seq2seq4repair_space>NULL)<seq2seq4repair_space>" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<seq2seq4repair_space>AND<seq2seq4repair_space>(prl.IsPrepared=<seq2seq4repair_space>'N'<seq2seq4repair_space>OR<seq2seq4repair_space>(NOT<seq2seq4repair_space>EXISTS<seq2seq4repair_space>(SELECT<seq2seq4repair_space>1<seq2seq4repair_space>" + "<seq2seq4repair_space>FROM<seq2seq4repair_space>C_PaySelectionLine<seq2seq4repair_space>psl<seq2seq4repair_space>" ) + "INNER<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_PaySelectionCheck<seq2seq4repair_space>psc<seq2seq4repair_space>ON<seq2seq4repair_space>(psc.C_PaySelectionCheck_ID<seq2seq4repair_space>=<seq2seq4repair_space>psl.C_PaySelectionCheck_ID)<seq2seq4repair_space>" ) + "INNER<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_Payment<seq2seq4repair_space>p<seq2seq4repair_space>ON<seq2seq4repair_space>(p.C_Payment_ID<seq2seq4repair_space>=<seq2seq4repair_space>psc.C_Payment_ID)<seq2seq4repair_space>" ) + "WHERE<seq2seq4repair_space>" ) + "p.DocStatus<seq2seq4repair_space>IN<seq2seq4repair_space>('CO','CL')<seq2seq4repair_space>" ) + "AND<seq2seq4repair_space>psl.LVE_PaymentRequestLine_ID<seq2seq4repair_space>=<seq2seq4repair_space>prl.LVE_PaymentRequestLine_ID<seq2seq4repair_space>)<seq2seq4repair_space>AND<seq2seq4repair_space>prl.IsPrepared=<seq2seq4repair_space>'Y')<seq2seq4repair_space>)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>AND<seq2seq4repair_space>NOT<seq2seq4repair_space>EXISTS<seq2seq4repair_space>(SELECT<seq2seq4repair_space>1<seq2seq4repair_space>FROM<seq2seq4repair_space>C_PaySelectionLine<seq2seq4repair_space>psl" ) + "<seq2seq4repair_space>INNER<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_PaySelectionCheck<seq2seq4repair_space>psc<seq2seq4repair_space>ON<seq2seq4repair_space>(psl.C_PaySelectionCheck_ID=psc.C_PaySelectionCheck_ID)" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>OUTER<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_Payment<seq2seq4repair_space>pmt<seq2seq4repair_space>ON<seq2seq4repair_space>(pmt.C_Payment_ID=psc.C_Payment_ID)" ) + "<seq2seq4repair_space>WHERE<seq2seq4repair_space>(ci.C_Invoice_ID=psl.C_Invoice_ID<seq2seq4repair_space>" ) + "<seq2seq4repair_space>OR<seq2seq4repair_space>co.C_Order_ID<seq2seq4repair_space>=<seq2seq4repair_space>psl.C_Order_ID<seq2seq4repair_space>" ) + "<seq2seq4repair_space>OR<seq2seq4repair_space>jl.GL_JournalLine_ID<seq2seq4repair_space>=<seq2seq4repair_space>psl.GL_JournalLine_ID)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>AND<seq2seq4repair_space>psl.IsActive='Y'" ) + "<seq2seq4repair_space>AND<seq2seq4repair_space>(pmt.DocStatus<seq2seq4repair_space>IS<seq2seq4repair_space>NULL<seq2seq4repair_space>OR<seq2seq4repair_space>pmt.DocStatus<seq2seq4repair_space>NOT<seq2seq4repair_space>IN<seq2seq4repair_space>('VO','RE'))" ) + "<seq2seq4repair_space>AND<seq2seq4repair_space>psl.differenceamt<seq2seq4repair_space>=<seq2seq4repair_space>0.0)" ) ) , true , "prl" ) ; <END_BUG> } public void loadTableInfoPRL ( KeyNamePair bpartner , IMiniTable miniTable ) { } protected void setValueFromBuffer ( IMiniTable paymentRequestLine ) { } private boolean isSelect ( int m_Record_ID ) { } public void generatePaySelectFromPR ( IMiniTable miniTable , ValueNamePair paymentRule , Timestamp payDate , PaySelect . BankInfo bi , String payDesription ) { } }

Fix:
m_sqlline = miniTable . prepareTable ( new ColumnInfo [ ] { new ColumnInfo ( "<seq2seq4repair_space>" , "prl.LVE_PaymentRequestLine_ID" , IDColumn . class , false , false , null ) , new ColumnInfo ( Msg . translate ( ctx , "C_BPartner_ID" ) , "bp.Name" , KeyNamePair . class , true , false , "bp.C_BPartner_ID" ) , new ColumnInfo ( Msg . translate ( ctx , "C_DocType_ID" ) , "dt.Name" , KeyNamePair . class , true , false , "COALESCE(ci.C_DocType_ID,co.C_DocType_ID,j.C_DocType_ID)" ) , new ColumnInfo ( Msg . translate ( ctx , "DocumentNo" ) , "COALESCE(COALESCE(ci.DocumentNo,co.DocumentNo),jb.DocumentNo<seq2seq4repair_space>||<seq2seq4repair_space>'<seq2seq4repair_space>'<seq2seq4repair_space>||<seq2seq4repair_space>jl.Line)" , String . class ) , new ColumnInfo ( Msg . translate ( ctx , "DueDate" ) , "prl.DueDate" , Timestamp . class , true , true , null ) , new ColumnInfo ( Msg . translate ( ctx , "AccountNo" ) , "bpa.AccountNo" , String . class ) , new ColumnInfo ( Msg . translate ( ctx , "GrandTotal" ) , "COALESCE(COALESCE(ci.GrandTotal,co.GrandTotal),jl.AmtSourceCR-jl.AmtSourceDR,prl.PayAmt)" , BigDecimal . class ) , new ColumnInfo ( Msg . getMsg ( ctx , "AmountPay" ) , "prl.PayAmt" , BigDecimal . class ) } , ( "LVE_PaymentRequestLine<seq2seq4repair_space>prl<seq2seq4repair_space>" + ( ( ( ( ( ( ( ( ( ( ( "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_Invoice<seq2seq4repair_space>ci<seq2seq4repair_space>ON<seq2seq4repair_space>(prl.C_Invoice_ID<seq2seq4repair_space>=<seq2seq4repair_space>ci.C_Invoice_ID)<seq2seq4repair_space>" + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_Order<seq2seq4repair_space>co<seq2seq4repair_space>ON<seq2seq4repair_space>(prl.C_Order_ID<seq2seq4repair_space>=<seq2seq4repair_space>co.C_Order_ID)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>GL_JournalLine<seq2seq4repair_space>jl<seq2seq4repair_space>ON<seq2seq4repair_space>(prl.GL_JournalLine_ID<seq2seq4repair_space>=<seq2seq4repair_space>jl.GL_JournalLine_ID)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>GL_Journal<seq2seq4repair_space>j<seq2seq4repair_space>ON<seq2seq4repair_space>(jl.GL_Journal_ID<seq2seq4repair_space>=<seq2seq4repair_space>j.GL_Journal_ID)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>GL_JournalBatch<seq2seq4repair_space>jb<seq2seq4repair_space>ON<seq2seq4repair_space>(jb.GL_JournalBatch_ID<seq2seq4repair_space>=<seq2seq4repair_space>j.GL_JournalBatch_ID)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_BPartner<seq2seq4repair_space>bp<seq2seq4repair_space>ON<seq2seq4repair_space>(bp.C_BPartner_ID<seq2seq4repair_space>=<seq2seq4repair_space>ci.C_BPartner_ID<seq2seq4repair_space>OR<seq2seq4repair_space>bp.C_BPartner_ID<seq2seq4repair_space>=<seq2seq4repair_space>co.C_BPartner_ID<seq2seq4repair_space>OR<seq2seq4repair_space>bp.C_BPartner_ID<seq2seq4repair_space>=<seq2seq4repair_space>jl.C_BPartner_ID<seq2seq4repair_space>OR<seq2seq4repair_space>bp.C_BPartner_ID<seq2seq4repair_space>=<seq2seq4repair_space>prl.C_BPartner_ID)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>(SELECT<seq2seq4repair_space>MAX(bpa.AccountNo)<seq2seq4repair_space>AccountNo,<seq2seq4repair_space>bpa.C_BPartner_ID<seq2seq4repair_space>" ) + "<seq2seq4repair_space>FROM<seq2seq4repair_space>C_BP_BankAccount<seq2seq4repair_space>bpa<seq2seq4repair_space>WHERE<seq2seq4repair_space>bpa.IsActive<seq2seq4repair_space>=<seq2seq4repair_space>'Y'<seq2seq4repair_space>" ) + "<seq2seq4repair_space>AND<seq2seq4repair_space>bpa.IsACH<seq2seq4repair_space>=<seq2seq4repair_space>'Y'<seq2seq4repair_space>" ) + "<seq2seq4repair_space>GROUP<seq2seq4repair_space>BY<seq2seq4repair_space>bpa.C_BPartner_ID)<seq2seq4repair_space>bpa" ) + "<seq2seq4repair_space>ON<seq2seq4repair_space>(bpa.C_BPartner_ID<seq2seq4repair_space>=<seq2seq4repair_space>bp.C_BPartner_ID)" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_DocType<seq2seq4repair_space>dt<seq2seq4repair_space>ON<seq2seq4repair_space>((dt.C_DocType_ID<seq2seq4repair_space>=<seq2seq4repair_space>ci.C_DocType_ID)<seq2seq4repair_space>OR<seq2seq4repair_space>(dt.C_DocType_ID<seq2seq4repair_space>=<seq2seq4repair_space>co.C_DocType_ID)<seq2seq4repair_space>OR<seq2seq4repair_space>(dt.C_DocType_ID<seq2seq4repair_space>=<seq2seq4repair_space>j.C_DocType_ID)<seq2seq4repair_space>)" ) ) , ( "<seq2seq4repair_space>(ci.IsInDispute<seq2seq4repair_space>=<seq2seq4repair_space>'N'<seq2seq4repair_space>OR<seq2seq4repair_space>ci.C_Invoice_ID<seq2seq4repair_space>IS<seq2seq4repair_space>NULL)<seq2seq4repair_space>" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<seq2seq4repair_space>AND<seq2seq4repair_space>(prl.IsPrepared=<seq2seq4repair_space>'N'<seq2seq4repair_space>OR<seq2seq4repair_space>(NOT<seq2seq4repair_space>EXISTS<seq2seq4repair_space>(SELECT<seq2seq4repair_space>1<seq2seq4repair_space>" + "<seq2seq4repair_space>FROM<seq2seq4repair_space>C_PaySelectionLine<seq2seq4repair_space>psl<seq2seq4repair_space>" ) + "INNER<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_PaySelectionCheck<seq2seq4repair_space>psc<seq2seq4repair_space>ON<seq2seq4repair_space>(psc.C_PaySelectionCheck_ID<seq2seq4repair_space>=<seq2seq4repair_space>psl.C_PaySelectionCheck_ID)<seq2seq4repair_space>" ) + "INNER<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_Payment<seq2seq4repair_space>p<seq2seq4repair_space>ON<seq2seq4repair_space>(p.C_Payment_ID<seq2seq4repair_space>=<seq2seq4repair_space>psc.C_Payment_ID)<seq2seq4repair_space>" ) + "WHERE<seq2seq4repair_space>" ) + "p.DocStatus<seq2seq4repair_space>IN<seq2seq4repair_space>('CO','CL')<seq2seq4repair_space>" ) + "AND<seq2seq4repair_space>psl.LVE_PaymentRequestLine_ID<seq2seq4repair_space>=<seq2seq4repair_space>prl.LVE_PaymentRequestLine_ID<seq2seq4repair_space>)<seq2seq4repair_space>AND<seq2seq4repair_space>prl.IsPrepared=<seq2seq4repair_space>'Y')<seq2seq4repair_space>)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>AND<seq2seq4repair_space>NOT<seq2seq4repair_space>EXISTS<seq2seq4repair_space>(SELECT<seq2seq4repair_space>1<seq2seq4repair_space>FROM<seq2seq4repair_space>C_PaySelectionLine<seq2seq4repair_space>psl" ) + "<seq2seq4repair_space>INNER<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_PaySelectionCheck<seq2seq4repair_space>psc<seq2seq4repair_space>ON<seq2seq4repair_space>(psl.C_PaySelectionCheck_ID=psc.C_PaySelectionCheck_ID)" ) + "<seq2seq4repair_space>LEFT<seq2seq4repair_space>OUTER<seq2seq4repair_space>JOIN<seq2seq4repair_space>C_Payment<seq2seq4repair_space>pmt<seq2seq4repair_space>ON<seq2seq4repair_space>(pmt.C_Payment_ID=psc.C_Payment_ID)" ) + "<seq2seq4repair_space>WHERE<seq2seq4repair_space>(ci.C_Invoice_ID=psl.C_Invoice_ID<seq2seq4repair_space>" ) + "<seq2seq4repair_space>OR<seq2seq4repair_space>co.C_Order_ID<seq2seq4repair_space>=<seq2seq4repair_space>psl.C_Order_ID<seq2seq4repair_space>" ) + "<seq2seq4repair_space>OR<seq2seq4repair_space>jl.GL_JournalLine_ID<seq2seq4repair_space>=<seq2seq4repair_space>psl.GL_JournalLine_ID)<seq2seq4repair_space>" ) + "<seq2seq4repair_space>AND<seq2seq4repair_space>psl.IsActive='Y'" ) + "<seq2seq4repair_space>AND<seq2seq4repair_space>(pmt.DocStatus<seq2seq4repair_space>IS<seq2seq4repair_space>NULL<seq2seq4repair_space>OR<seq2seq4repair_space>pmt.DocStatus<seq2seq4repair_space>NOT<seq2seq4repair_space>IN<seq2seq4repair_space>('VO','RE'))" ) + "<seq2seq4repair_space>AND<seq2seq4repair_space>psl.differenceamt<seq2seq4repair_space>=<seq2seq4repair_space>0.0)" ) ) , true , "prl" ) ;