Options

Handle Warning Message In ASP.NET

philipuskdphilipuskd Member Posts: 36
edited 2011-10-28 in NAV Three Tier
when the data changed in RTC or Classic client, there are warning that need user confirmations. e.g. when changing the Sell-to Customer No., the system will ask wether we want to change the Bill-to Customer No., Currency Code, Credit Limit warning etc.

is there any way webservice and ASP.NET handle the warning message or the webservice will ignore this messages? in most cases I've tried, modifying Sell-to Customer No. on existing SO in Cronus Database (ID version) will end-up in error.

is this the limitation of webservice that they cannot handle warnings with UIs in NAV triggers?

Comments

  • Options
    kinekine Member Posts: 12,562
    Of course, yes, it is the limit. There are no callbacks. You can only call the function, and it ends with error or ends. Nothing more, it cannot "call back" when some input is needed. Confirm in the function will give you error. You need to change the code in NAV and use GUIALLOWED variable to skip the confirm and use the true or false way automatically.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.