sync SVN r18103
This commit is contained in:
@@ -7016,7 +7016,7 @@ Procedure GetDocumentByContPartenerAct
|
||||
CASE !Empty(m.pnNract)
|
||||
lcWhere2 = m.lcWhere2 + " and (i.nract = ?pnNrAct)" && cautare fara cont, cu numaract
|
||||
CASE !Empty(m.pcComanda)
|
||||
lcWhere2 = m.lcWhere2 + " and (UPPER(l.nrord) like '%"+ m.pcComanda + "%'OR UPPER(i.explicatia) like '%" + m.pcComanda + "%' OR UPPER(i.explicatia4) like '%" + m.pcComanda + "%' OR UPPER(i.explicatia5) like '%" + pcComanda + "%')" && cautare fara cont, cu comanda
|
||||
lcWhere2 = m.lcWhere2 + " and (UPPER(l.nrord) like '%'||?pcComanda||'%' OR UPPER(i.explicatia) like '%'||?pcComanda||'%' OR UPPER(i.explicatia4) like '%'||?pcComanda||'%' OR UPPER(i.explicatia5) like '%'||?pcComanda||'%')" && cautare fara cont, cu comanda
|
||||
ENDCASE
|
||||
|
||||
lcWhere1 = m.lcWhere2 + IIF(!Empty(m.pcContPartener), " and i.cont = ?pcContPartener", "")
|
||||
|
||||
Reference in New Issue
Block a user