bpanda
24th June 2015, 11:59
Hello All,
How does Baan filter option works on all sessions.
If query.extend.where() or query.extension are used in all cases?
I have a customized session which is based on whinh225.
I have to display the records of whinh225, but there is a filter.
I need to check another table from there based on one field condition (xx1) I'll get all the key fields of whinnh225 and show those records on the session.
Below is my code, which is working but very slow if records are more that 1-2 lakhs.
Please check this & suggest me if this query can be optimized to perform faster.
qury.str = " exists (select whxxx133._index1" &
" from whxxx133" &
" where whxxx133._index5 = {:xx1,:whinh225.oorg,:whinh225.orno,:whinh225.oset," &
" :whinh225.pono,:whinh225.seqn,:whinh225.sern})"
query.extend.where(qury.str)
Thanks & Regards
Biswajyoti Panda
How does Baan filter option works on all sessions.
If query.extend.where() or query.extension are used in all cases?
I have a customized session which is based on whinh225.
I have to display the records of whinh225, but there is a filter.
I need to check another table from there based on one field condition (xx1) I'll get all the key fields of whinnh225 and show those records on the session.
Below is my code, which is working but very slow if records are more that 1-2 lakhs.
Please check this & suggest me if this query can be optimized to perform faster.
qury.str = " exists (select whxxx133._index1" &
" from whxxx133" &
" where whxxx133._index5 = {:xx1,:whinh225.oorg,:whinh225.orno,:whinh225.oset," &
" :whinh225.pono,:whinh225.seqn,:whinh225.sern})"
query.extend.where(qury.str)
Thanks & Regards
Biswajyoti Panda