Nav 2009 web service with asp.net flowfilter error

sunder
Member Posts: 2
Hi
Im using navision 2009 web service with Asp.net 2008 and fetching records from Item table. while running page its giving error
Server Error in '/Nav2009WebUI' Application.
The Location Filter field in the Item table must be a FlowField.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Services.Protocols.SoapException: The Location Filter field in the Item table must be a FlowField.
Source Error:
Line 123: [return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
Line 124: public Item[] ReadMultiple([System.Xml.Serialization.XmlElementAttribute("filter")] Item_Filter[] filter, string bookmarkKey, int setSize) {
Line 125: object[] results = this.Invoke("ReadMultiple", new object[] {
Line 126: filter,
Line 127: bookmarkKey,
Advance thanks for giving a solution on this.
Im using navision 2009 web service with Asp.net 2008 and fetching records from Item table. while running page its giving error
Server Error in '/Nav2009WebUI' Application.
The Location Filter field in the Item table must be a FlowField.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Services.Protocols.SoapException: The Location Filter field in the Item table must be a FlowField.
Source Error:
Line 123: [return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
Line 124: public Item[] ReadMultiple([System.Xml.Serialization.XmlElementAttribute("filter")] Item_Filter[] filter, string bookmarkKey, int setSize) {
Line 125: object[] results = this.Invoke("ReadMultiple", new object[] {
Line 126: filter,
Line 127: bookmarkKey,
Advance thanks for giving a solution on this.
0
Comments
-
it seems that there is some code like
CALCIELDS("Location Filter");
in the process which runs in NAV...0 -
I tried adding a FlowFilter to a page so that it could be used from a web service to calculate a flowfield; I got the same error. Following is the response from Microsoft.Fields of type FlowFilter cannot be added as controls to a page - the new server doesn't support that. But ALL table fields, including the FlowFilter fields, are exposed in the Filter Pane, and thus it is possible to use all table fields for filtering.
WebServices limit the fields a user can filter on to those that are shown on the page as the controls. This means it is impossible in the current version to use FlowFilter fields for filtering from WebServices applications.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions