Page extension webservice with param of Option datatype

Jaap
Jaap Member Posts: 7
edited 2011-11-08 in NAV Three Tier
Hello,

If I create a page extension webservice with a parameter of the Option datatype then on the proxy on the .NET side it is just an int instead of an enum, like it is done with regular properties on entities.
Somebody any idea why? Or is this just an ommission of NAV?

Regards, Jaap

Comments

  • Jaap
    Jaap Member Posts: 7
    And I just found that when I expose that Option parameter as a Var, that then the string type is used on the .NET side.
    Very inconsistent!

    Regards, Jaap