Hello All,
By using WEB SERVICE filter concept, I know how to filter data by applying filters one at a time. I tried same to apply multiple filters. But, unable to do.
Please, help me regarding.
Thanks in Adv.
Ravi_Thakkar
Ahmedabad, Gujarat, India
E Mail :
ravi.thakkar@hotmail.com 0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I will go through it and will let you know.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
While binding the result of READMULTIPLE to GRIDVIEW control dataset, It will only allow to pass only one element of array as a parameter of READMULTIPLE method. Code is as follows. How to assign whole array in this service method?
Can you help me in this??????
Thanks in Adv.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
is not enough?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
And then also, READMULTIPLE syntax is as in attachment. That is not allowing one parameter to this method.
Please, suggest.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Please suggest.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thank you very much. Your suggested code worked nicely for me also.
Really a nice help. =D> =D> =D> =D>
Thanks for your instant and kind support.
I really appreciate.
Thanks again.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
If yes then How?
I tried for it, Here, TableNo field is of Integer part. As a result it is not binding any data in Grid.
If I am using "<36" (Records having TableNo less than 36) or ">36" (Records having TableNo greater than 36) then filter works correctly.
So If I want all records having TableNo 36 then what to do?
Please, suggest.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
"=36"
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Yes, I have already tried for that. But of no use.
Any suggestion?
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
Following is my code.
As I discussed previously,
I am getting this error in above code
"You cannot enter '*' in Integer."
That means it's not allow to insert this code So, please help me in above.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
ApplicationApprovalEntries_ref.ApplicationApprovalEntries_Filter ApplicationApprovalEntries_Filter = new ApplicationApprovalEntries_ref.ApplicationApprovalEntries_Filter();
ApplicationApprovalEntries_Filter.Field = ApplicationApprovalEntries_ref.ApplicationApprovalEntries_Fields.Sequence_No;
ApplicationApprovalEntries_Filter.Criteria = "*";
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Here, SEQUENCE NO is the Integer type of field.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Thanks a lot.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
I have one field in Table "Date"
From web user will enter "Satrting Date" and "Ending Date".
I want to filter the "Date" field data in the Range of "Starting Date" and "Ending Date".
How to do that?
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
StartingDate..EndingDate
and it wored for me.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
I am having problem with filtering of OPTION type field.
I have one field "Type" having options " ,Open, Closed"
Now, I want to filter data having "Type" value "".
I tried using, IN NAV it is filtering the data. But, on web not.
What could be the solution?
or may be I am wrong.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
But, not worked.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
Actually it supposes working by apply in Type._blank_.ToString(), Type.Open.ToString(), and Type.Closed.ToString() for your case, but it seems doesn't works for _blank_. Anyway, "''" will do for now.
I did try for it.
But got the Exception as,
"The filter ''' is invalid. An apostrophe (') is missing in the filter in the Payment Status field in the Purch. Inv. Header table."
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
"''", 2 single quotes ('') within 1 double quote ("").
=> Like this, " ' ' ", trim the space, get it?
I also tried for it.
Dint work.
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com
It works for me, you could probably narrow down your problem, put something like below without binding it to GridView,
Check your VS "Locals" to see if the records of "posted" are what you intended. Hope this helps.