Page triggers OnValidate are not fired from web service?

mbj
Member Posts: 63
Hi all
I have upgraded to Nav 2009 SP1 and my OnValidate triggers are not fired anymore?
Only the triggers on the tables are still fired - but i have to use the page triggers to simulate the CurrFieldNo.
It worked in Nav 2009 SP0.
I have upgraded to Nav 2009 SP1 and my OnValidate triggers are not fired anymore?
Only the triggers on the tables are still fired - but i have to use the page triggers to simulate the CurrFieldNo.
It worked in Nav 2009 SP0.
0
Comments
-
Because there is nothing like "Active field" when calling webservice, you cannot do that. Do not forget that the validation is called when you are updating whole record, there is no "active field" in this process, onvalidate is not called field by field when they are changed, but in batch when the Update is called and they are called in order of the fields on the page.0
-
Yes i know the validate triggers on tables are fired i order of the fields on the page(good). But the onvalidate triggers on pages are now disabled in SP1 when calling from web service.
Then I have to change code, when upgrading from SP0 to SP1.0 -
kine wrote:in order of the fields on the page.0
-
No, they could not be evaluated in this order, because the validation is on NAV side and the whole process is triggered with the one call to the Update method, which just pass some XML and there is no "order of assigning the fields"... ;-)0
-
kine wrote:which just pass some XML and there is no "order of assigning the fields"... ;-)
I hope to "de-noob" myself about webservices soon
Thanks for now!0 -
You got it... you know, page is only "camouflaged" xmlport with some additional features...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