Item's Web Service Consumption Problem

Purvesh_MaisuriaPurvesh_Maisuria Member Posts: 71
edited 2012-05-19 in NAV Three Tier
Hello Experts,

I consumed item web service, In the field "Price Profit Calculation" value is Profit=Price-Cost. Now my web service is display like Profit_x003D_Price_Cost. How can i convert to value like Profit=Price-Cost.

I know that x003D is the ASCII of '=', But what about '_' ???

If anyone have knowledge about the same the please share your knowledge.

Thanks & Regards,
Purvesh Maisuria.

Comments

  • sharadsharad Member Posts: 112
    I think "_" is equal to space.

    Try
    Sharad Gupta
    Navision Technical Consultant & .Net Developer
  • Purvesh_MaisuriaPurvesh_Maisuria Member Posts: 71
    Hello Sharad,

    I know that '_' is use for multiple characters like '.' (DOT), ' ' (SPACE) , ' - ' (Minus), Etc.

    My Question was : How can i identify '_' s' value ??? Because Its can be is replace with more than 1 value of above.

    Ex : 1. Profit=Price-Cost
    Value of Web Service is : Profit_x003D_Price_Cost
    here '_' replaced with '-'
    2. "No."
    Value of Web Service is : No_
    here '_' replaced with '.'

    Thanks & Regards,
    Purvesh Maisuria.
  • kinekine Member Posts: 12,562
    I think that problem is somewhere else. The field names in the webservice are not the correct thing to display to end-user. I recommend to think of better solution how to get the captions to display.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.