It seems to me that page web services with a source table which primary key consists of more than one field do not include the "entity_filter" parameter in the ReadMultiple method. Any ideas of how to filter records in this ws?
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.
I didn't try anything yet, because of the missing entity_filter parameter in the ReadMultiple method (like in the attaches screenshot). I figured to check it out with the pro's first before I jump head first into trouble.
I have never seen something like that before - it looks like you have no primary key (since you have no Read method and no filters in ReadMultiple)
Can you post the table definition (showing fields, types and the key definitions)
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.
I found the source of the problem. The page didn't have any Container, Group or Fields defined (I simply forgot). After adding the mentioned objects everything is back to normal.
I discovered it by publishing the default warehouse employees page (7328) as a service where everything was in place as it should be. Only my page which had the same source table (warehouse employees) had those things missing.
Answers
The Read function takes all the primary fields (in this case Code, City)
and the ReadMultiple can be used like normally:
Can you post some more info about what you do differently?
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 for the reply. I'll try it.
Regards!
Can you post the table definition (showing fields, types and the key definitions)
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.
I found the source of the problem. The page didn't have any Container, Group or Fields defined (I simply forgot). After adding the mentioned objects everything is back to normal.
I discovered it by publishing the default warehouse employees page (7328) as a service where everything was in place as it should be. Only my page which had the same source table (warehouse employees) had those things missing.
May be helpfull for future reference...
Thanks for the time!