BaanTech
1st November 2002, 17:10
Hi,
We are trying to limit records shown in a new select session to
the parameters defined by the user in the front end and based
on specific values in the main table (tdpur941) and related tables
(tdpur940). tdpur941 (lines) references tdpur940 (header) at the order number.
I can handle one filter through the use query extension to add an additional filter to show lines only where tdpur941.soli = 0. (Sales Order Line = 0)
What I now need to do is add additional 'show' filters based on the customer range (where the value is stored in tdpur940) and the delivery date range (where the value is stored in tdpur941).
(Values come from front end entries)
How do I select additional tables via query.extension and how do I filter via ranges.
If I can't do this where do you suggest I put my new select ? (Can I do something like main.table.io, before.read).
What I need is:
select 940, 941
where 941.soli = 0
and 940 supplier equals supplier determined in previous form
and 940 customer inrange entered in previous form
and 941 delivery date inrange entered in previous form
Note: All previous form values are imported where needed.
I know about query.extend, but we are on IVc3 and this approach
does not seem to be an available option.
Thanks.
BaanTech
We are trying to limit records shown in a new select session to
the parameters defined by the user in the front end and based
on specific values in the main table (tdpur941) and related tables
(tdpur940). tdpur941 (lines) references tdpur940 (header) at the order number.
I can handle one filter through the use query extension to add an additional filter to show lines only where tdpur941.soli = 0. (Sales Order Line = 0)
What I now need to do is add additional 'show' filters based on the customer range (where the value is stored in tdpur940) and the delivery date range (where the value is stored in tdpur941).
(Values come from front end entries)
How do I select additional tables via query.extension and how do I filter via ranges.
If I can't do this where do you suggest I put my new select ? (Can I do something like main.table.io, before.read).
What I need is:
select 940, 941
where 941.soli = 0
and 940 supplier equals supplier determined in previous form
and 940 customer inrange entered in previous form
and 941 delivery date inrange entered in previous form
Note: All previous form values are imported where needed.
I know about query.extend, but we are on IVc3 and this approach
does not seem to be an available option.
Thanks.
BaanTech