Hi All
The Item Ledger Entry table we have a field "Issued For".The Issued For field we have given the data like this For Eg: Branch Transfer from Bangalore,Branch Transfer from Hyderabad,Mechanical,Grinding Etc ..
I have a report using this same filed "Issued For ".but i need to filter the records like this
@*BR.TRFR* in the Reports .How can i use the same filteration in the reports .
I have given the code like this
recItemLedgerEntry.SETFILTER(recItemLedgerEntry."Issued For",'<>%1','
@*BR.TRFR*');
But this is not working in the reports!
Please help me out !!!
Thanks
Subha
Comments
But my report to filter the records without the branch transfer details from Issued For
field .I need to filter with the field issied for with <>%1 ,BR.TRFR.
Thanks
Subha
SETFILTER(Issued For",'<>%1','*BR.TRFR*');
the guy telling you, i think he has not used it before posting either it can't be possible if you will try it on object designer will not work but you can try to help of Mark Or Unmark to do for it.
right. but in report you can skip these records that r lying in SETFILTER without '<>%1'.
The problem here is not code, the problem is that you have not solved the business requirement of the customer correctly.
Sorry !
This will not work.
Use CurrReport.SKIP function to skip those records which you want.
hi,
try this one..
SETFILTER(Issued For",'<>%1','@*BR*TR*FR*');
this will work if 'Issued For' field is a Text or code data type only.....
So I suggest you don't place the filter on some variable in your report, but on the dataitem (aka a record) iterating those ledger entries.
I encourage you to read and reread your requests. We have NO knowledge of your situation, just describe the problem as best as you can, so we can help you the best way we can
|To-Increase|