Calling Page through Web Service, which triggers fire

jwilder
Member Posts: 263
A little known fact about consuming a page webservice is that certain triggers do fire even though you are calling the page through web services. I am really looking for more info or documentation on which triggers fire and what is allowed in each trigger when called via web services.
Here's what I know:
OnOpenPage - works normally. You can insert records, raise errors, create temp tables etc...
OnAfterGetRecord - can be used for calculations or calling other functions but not database activity. You can put an error statement in this trigger and it will not even throw an error. I have not been able to write to the database in this trigger not even a temp table.
Anyone have anymore info on this?
Here's what I know:
OnOpenPage - works normally. You can insert records, raise errors, create temp tables etc...
OnAfterGetRecord - can be used for calculations or calling other functions but not database activity. You can put an error statement in this trigger and it will not even throw an error. I have not been able to write to the database in this trigger not even a temp table.
Anyone have anymore info on this?
Jason Wilder
jwilder@stonewallkitchen.com
jwilder@stonewallkitchen.com
0
Answers
-
Triggers in sequence
Read/ReadMultiple :
OnOpenPage
OnNextRecord
OnAfterGetRecord
Insert :
Page : OnOpenPage
Page: OnNewRecord
Table: PrimaryKey OnValidate
Page: PrimaryKey OnValidate
Page: OnInserRecord
Table: Insert
Table OtherFields OnValidate
Page: OtherFields OnValidate
Page: OnModifyRecord
Table: Modify0 -
Modify:
Page: On open page
Table: Field OnValidate
Page: Field OnValidate
Page: OnModifyRecord
Table: Mofidy0 -
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