Hi All,
How do i pass the filtered records to a record variable in reports.
I am using Sales Invoice line table in a report and it is used for filtering purpose before taking the report. I am using a record variable of Sales Invoice Line ie recSalesInvLine.
Whatever filterations i have made , i have to transfer it in the record variable. for ex if i have given the filterations for date and "sell to customer No" before taking the report , recSalesInvLine also should also be filtered with date and "sell to customer No" .
I tried by using the code recSalesInvLine : = "Sales Invoice line" . in the Sales Invoice Line, Header section, But i am getting all the records . Filteration is not taking place.
Can anybody help me to solve this issue.
Thanks in advance
0
Answers
and...don't use this in onaftergetrecord...use it after you have put all necessary filters to your variable
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Basically you have to copy your record variable into another variable and pass that variable to the report.
My Blog - nav.education
its working fine?
which version u r using?
in which section trigger did you write code?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Regards
y did u get problem before?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
the values will assigning after applying filter.
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
sorry, don't understand you :-k
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
he was assigning the variable means values
the values are assigning after applying filter
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Try this..
And use these two variables to filter the record recSalesInvLine .
Regards!
My problem is solved by using the Copyfilter option.