change PR Group and Stor Loc
This commit is contained in:
@ -437,6 +437,7 @@ class PrAdapter extends Adapter {
|
||||
qryBase += "from vw_pr v ";
|
||||
qryBase += "left join tbl_pr p on p._idx = v.id ";
|
||||
qryBase += "left join tbl_currency c on c._idx = p.currency_id ";
|
||||
qryBase += "left join tbl_justification j on j._idx = v.idxjustification ";
|
||||
let qry = qryBase;
|
||||
qry +=
|
||||
"where (trim(v.trxidpr) like '%" +
|
||||
@ -453,7 +454,7 @@ class PrAdapter extends Adapter {
|
||||
qry += "and " + swherenik + " ";
|
||||
}
|
||||
if (sdivision) {
|
||||
qry += "and " + sdivision + " ";
|
||||
qry += "and j.division = '" + division + "' ";
|
||||
}
|
||||
// qry += "order by id asc limit " + offset + ", " + limit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user