sync SVN r18103

This commit is contained in:
2026-09-14 23:27:59 +03:00
parent 6d339c932e
commit 5d92550f0d
3 changed files with 241 additions and 9 deletions

View File

@@ -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", "")